diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-10-05 20:09:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-10-05 20:09:47 +0000 |
commit | 570d203bb5b0b409bf6632c8c1dce7fdcefc8de7 (patch) | |
tree | 36a443306a191d93497363de7e69cfb108ca897b | |
parent | c539391656696c47ee6f5fa65380feedc34a9539 (diff) | |
download | brdo-570d203bb5b0b409bf6632c8c1dce7fdcefc8de7.tar.gz brdo-570d203bb5b0b409bf6632c8c1dce7fdcefc8de7.tar.bz2 |
- Patch #11312 by Killes: rebuild the menu after importing a PO file.
-rw-r--r-- | includes/locale.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index dba8afb48..9568ceea0 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -255,6 +255,7 @@ function _locale_import_po($file, $lang, $mode) { // Successfull import cache_clear_all("locale:$lang"); + menu_rebuild(); drupal_set_message(t('Translation successfully imported. %number translated strings added to language, %update strings updated.', array('%number' => $additions, '%update' => $updates))); watchdog('locale', t('Translation imported into %locale, %number translated strings added to language, %update strings updated.', array('%locale' => "<em>$lang</em>", '%number' => $additions, '%update' => $updates))); return TRUE; |