diff options
author | Friendika <info@friendika.com> | 2011-05-10 22:22:05 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-10 22:22:05 -0700 |
commit | 5903ea38f34bef5d47d1ba76f26c802b3112de70 (patch) | |
tree | 13694859c04ff633755d34594ae2d473a93f939f /util | |
parent | d0a86d933f99832ffa2f081a619308e173911f8a (diff) | |
download | volse-hubzilla-5903ea38f34bef5d47d1ba76f26c802b3112de70.tar.gz volse-hubzilla-5903ea38f34bef5d47d1ba76f26c802b3112de70.tar.bz2 volse-hubzilla-5903ea38f34bef5d47d1ba76f26c802b3112de70.zip |
@fabrixxm fix for po2php, manually patched
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 34e99d1ab..239eafb5f 100644 --- a/util/po2php.php +++ b/util/po2php.php @@ -35,7 +35,7 @@ function po2php_run($argv, $argc) { 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]*); *plural=(.*)[;\\\\]|", $l, $match); $cond = str_replace('n','$n',$match[2]); $out .= 'function string_plural_select($n){'."\n"; $out .= ' return '.$cond.';'."\n"; |