diff options
| author | 2015-01-08 21:32:21 +0100 | |
|---|---|---|
| committer | 2015-01-08 21:32:21 +0100 | |
| commit | b23fc3187cb90800aad6417badf7822a8d280b74 (patch) | |
| tree | 3b757a544dfb0239bd119b953c316d27860f70cf | |
| parent | 19dfef8b49f78e898ea5841869ff80cc351724bc (diff) | |
Fix translation bug
A path registered after initialization must be loaded.
| -rw-r--r-- | app/i18n/en/admin.php | 1 | ||||
| -rw-r--r-- | app/i18n/fr/admin.php | 1 | ||||
| -rw-r--r-- | lib/Minz/Translate.php | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/app/i18n/en/admin.php b/app/i18n/en/admin.php index 83c06bfb4..6a89d4a31 100644 --- a/app/i18n/en/admin.php +++ b/app/i18n/en/admin.php @@ -104,6 +104,7 @@ return array( ), 'extensions' => array( 'empty_list' => 'There is no installed extension', + 'no_configure_view' => 'This extension cannot be configured.', 'system' => 'System extension (you have no rights on it)', 'title' => 'Extensions', ), diff --git a/app/i18n/fr/admin.php b/app/i18n/fr/admin.php index b16e2be54..2e879da61 100644 --- a/app/i18n/fr/admin.php +++ b/app/i18n/fr/admin.php @@ -104,6 +104,7 @@ return array( ), 'extensions' => array( 'empty_list' => 'Il n’y a aucune extension installée.', + 'no_configure_view' => 'Cette extension ne peut pas être configurée.', 'system' => 'Extension système (vous n’avez aucun droit dessus)', 'title' => 'Extensions', ), diff --git a/lib/Minz/Translate.php b/lib/Minz/Translate.php index d8ce2a0f7..baddcb424 100644 --- a/lib/Minz/Translate.php +++ b/lib/Minz/Translate.php @@ -85,6 +85,7 @@ class Minz_Translate { } self::$path_list[] = $path; + self::loadLang($path); } /** |
