Fix plural form parsing. Props nbachiyski. fixes #3577
git-svn-id: https://develop.svn.wordpress.org/trunk@4736 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e8967ab756
commit
51eab57361
|
@ -303,6 +303,10 @@ class gettext_reader {
|
||||||
$string = str_replace("n",$n,$string);
|
$string = str_replace("n",$n,$string);
|
||||||
$string = str_replace('plural',"\$plural",$string);
|
$string = str_replace('plural',"\$plural",$string);
|
||||||
|
|
||||||
|
# poEdit doesn't put any semicolons, which
|
||||||
|
# results in parse error in eval
|
||||||
|
$string .= ';';
|
||||||
|
|
||||||
$total = 0;
|
$total = 0;
|
||||||
$plural = 0;
|
$plural = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue