diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-02-25 15:53:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-02-25 15:53:27 +0000 |
commit | c9f1086327a39f7e69397fe28fcc2471a1e94a11 (patch) | |
tree | 282c131a28a654ed674778e7c9a11864a2e18054 /includes | |
parent | 72b60ed444c3318abbbe338c37d50486bab4ff6a (diff) | |
download | brdo-c9f1086327a39f7e69397fe28fcc2471a1e94a11.tar.gz brdo-c9f1086327a39f7e69397fe28fcc2471a1e94a11.tar.bz2 |
- Patch #685908 by Gábor Hojtsy: fixed msgctxts not being in the right place.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/locale.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index d1343dcbc..f9c1481d1 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -1321,10 +1321,10 @@ function _locale_export_po_generate($language = NULL, $strings = array(), $heade if ($string['comment']) { $output .= '#: ' . $string['comment'] . "\n"; } - $output .= 'msgid ' . _locale_export_string($string['source']); if (!empty($string['context'])) { $output .= 'msgctxt ' . _locale_export_string($string['context']); } + $output .= 'msgid ' . _locale_export_string($string['source']); if (!empty($string['plural'])) { $plural = $string['plural']; $output .= 'msgid_plural ' . _locale_export_string($strings[$plural]['source']); @@ -2068,4 +2068,3 @@ function locale_get_localized_date_format($languages) { return $formats; } - |