From 1eca161b688d4245bff6b5aa0c60ff5257a5b764 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 29 May 2006 13:58:25 +0000 Subject: - Patch #52853 by zorac et al: fixed problem with plural formula getting lost. --- includes/locale.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/locale.inc b/includes/locale.inc index 027e838a2..4bf5b89e2 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -635,7 +635,7 @@ function _locale_import_one_string($value, $mode, $lang = NULL) { } // Current string is the header information elseif ($value['msgid'] == '') { - $hdr = _locale_import_parse_header($value); + $hdr = _locale_import_parse_header($value['msgstr']); // Get the plural formula if ($hdr["Plural-Forms"] && $p = _locale_import_parse_plural_forms($hdr["Plural-Forms"], $file->filename)) { -- cgit v1.2.3