Révision 6331c987
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/i18n/i18n_string/i18n_string.pages.inc | ||
---|---|---|
398 | 398 |
// Invoke locale submission. |
399 | 399 |
locale_translate_edit_form_submit($form, $form_state); |
400 | 400 |
$lid = $form_state['values']['lid']; |
401 |
$i18n_string_object = i18n_string_get_by_lid($lid); |
|
402 |
$i18n_string_object->cache_reset(); |
|
401 | 403 |
foreach ($form_state['values']['translations'] as $key => $value) { |
402 | 404 |
if (!empty($value)) { |
403 | 405 |
// An update has been made, so we assume the translation is now current. |
Formats disponibles : Unified diff
Weekly update of contrib modules