diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/locale.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index a1cbed4d5..76861bae7 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -650,8 +650,8 @@ function _locale_import_read_po($op, $file, $mode = NULL, $lang = NULL, $group = } } - // End of PO file, flush last entry - if (!empty($current) && !empty($current['msgstr'])) { + // End of PO file, flush last entry. + if (($context == "MSGSTR") || ($context == "MSGSTR_ARR")) { _locale_import_one_string($op, $current, $mode, $lang, $file, $group); } elseif ($context != "COMMENT") { |