From 570d203bb5b0b409bf6632c8c1dce7fdcefc8de7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 5 Oct 2004 20:09:47 +0000 Subject: - Patch #11312 by Killes: rebuild the menu after importing a PO file. --- includes/locale.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') 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' => "$lang", '%number' => $additions, '%update' => $updates))); return TRUE; -- cgit v1.2.3