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
@ -302,7 +302,11 @@ class gettext_reader {
|
||||
$string = str_replace('nplurals',"\$total",$string);
|
||||
$string = str_replace("n",$n,$string);
|
||||
$string = str_replace('plural',"\$plural",$string);
|
||||
|
||||
|
||||
# poEdit doesn't put any semicolons, which
|
||||
# results in parse error in eval
|
||||
$string .= ';';
|
||||
|
||||
$total = 0;
|
||||
$plural = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user