diff options
author | Max Kostikov <max@kostikov.co> | 2019-04-15 12:55:34 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-04-15 12:55:34 +0200 |
commit | 91e96b231482718265307af0fd8c39e040954d4e (patch) | |
tree | e78012ebbe72485a25fd0d9c2504f4ccd423f568 /util | |
parent | 4cb5efc2779f31a41c31dc91f22f711cbac0e603 (diff) | |
parent | c2ee7cbff517fec3d54a1c18f7d5a75687ac878c (diff) | |
download | volse-hubzilla-91e96b231482718265307af0fd8c39e040954d4e.tar.gz volse-hubzilla-91e96b231482718265307af0fd8c39e040954d4e.tar.bz2 volse-hubzilla-91e96b231482718265307af0fd8c39e040954d4e.zip |
Merge branch 'dev' into 'dev'
Update Russian translation
See merge request hubzilla/core!1590
Diffstat (limited to 'util')
-rw-r--r-- | util/po2php.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/po2php.php b/util/po2php.php index 9ffcb64c4..73d9b454e 100644 --- a/util/po2php.php +++ b/util/po2php.php @@ -52,7 +52,7 @@ function po2php_run($argc,$argv) { if ($l[0]=="#") $l=""; if (substr($l,0,15)=='"Plural-Forms: '){ $match=Array(); - preg_match("|nplurals=([0-9]*); *plural=(.*)[;\\\\]|", $l, $match); + preg_match("|nplurals=([0-9]*);\s*plural=(.*)[;\\\\]|", $l, $match); $cond = str_replace('n','$n',$match[2]); $out .= 'if(! function_exists("' . 'string_plural_select_' . $lang .'")) {' . "\n"; $out .= 'function string_plural_select_' . $lang . '($n){'."\n"; |