diff options
author | zotlabs <mike@macgirvin.com> | 2019-04-15 20:53:44 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-04-15 20:53:44 -0700 |
commit | df5a1c59e6d2a0921de177aabacbee674d7385da (patch) | |
tree | 659c8b64743ac4cb894820eaa0f3ca47329b13d3 /util/po2php.php | |
parent | 0615709a7ab7bba66b2a07d593e84a35ed083edb (diff) | |
parent | 71f17a233e29a45304f43ee2329bfff1865c6917 (diff) | |
download | volse-hubzilla-df5a1c59e6d2a0921de177aabacbee674d7385da.tar.gz volse-hubzilla-df5a1c59e6d2a0921de177aabacbee674d7385da.tar.bz2 volse-hubzilla-df5a1c59e6d2a0921de177aabacbee674d7385da.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'util/po2php.php')
-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"; |