diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-06-19 03:35:07 +0800 |
---|---|---|
committer | <unostar@danalan.info> | 2009-06-20 09:40:55 +0800 |
commit | 1d9f9138fb1ab67866f611a92527304a937b9ad8 (patch) | |
tree | b7ec7eed82cee7e4042477ddb0590437acf9b517 | |
parent | 39b12cb4320a3f9fd7589aa701cbea4996d974a2 (diff) |
Fix plural messages in l10n scanner - Bad typo lead to basically breaking all plural ("other") forms.
Signed-off-by: <unostar@danalan.info>
-rw-r--r-- | modules/gallery/helpers/l10n_scanner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/l10n_scanner.php b/modules/gallery/helpers/l10n_scanner.php index bae455f2..a68aa28b 100644 --- a/modules/gallery/helpers/l10n_scanner.php +++ b/modules/gallery/helpers/l10n_scanner.php @@ -125,7 +125,7 @@ class l10n_scanner_Core { && is_array($first_param) && $first_param[0] == T_CONSTANT_ENCAPSED_STRING && is_array($second_param) && $second_param[0] == T_CONSTANT_ENCAPSED_STRING) { $singular = self::_escape_quoted_string($first_param[1]); - $plural = self::_escape_quoted_string($first_param[1]); + $plural = self::_escape_quoted_string($second_param[1]); l10n_scanner::process_message(array("one" => $singular, "other" => $plural), $cache); } else { // t2() found, but inside is something which is not a string literal. |