Révision 503b3f7b
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/l10n_update/l10n_update.locale.inc | ||
---|---|---|
46 | 46 |
drupal_set_message(t('The translation file %filename appears to have a missing or malformed header.', array('%filename' => $file->filename)), 'error'); |
47 | 47 |
} |
48 | 48 |
|
49 |
// Clear cache and force refresh of JavaScript translations. |
|
50 |
_locale_invalidate_js($langcode); |
|
51 |
cache_clear_all('locale:', 'cache', TRUE); |
|
52 |
|
|
53 |
// Rebuild the menu, strings may have changed. |
|
54 |
menu_rebuild(); |
|
55 |
|
|
56 | 49 |
watchdog('locale', 'Imported %file into %locale: %number new strings added, %update updated and %delete removed.', array('%file' => $file->filename, '%locale' => $langcode, '%number' => $additions, '%update' => $updates, '%delete' => $deletes)); |
57 | 50 |
if ($skips) { |
58 | 51 |
watchdog('locale', '@count disallowed HTML string(s) in %file', array('@count' => $skips, '%file' => $file->uri), WATCHDOG_WARNING); |
Formats disponibles : Unified diff
Weekly update of contrib modules