diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-16 21:27:04 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-16 21:27:04 +0000 |
commit | 72e9496bfc2f7a962cf4f428ccab25c7a0175aaa (patch) | |
tree | af3e2ca7136c77140d9e9201e3f495a4b8e7a6da /wp-includes/gettext.php | |
parent | 04b67169db33e30f5ca63dbbafe551fdc6fb2164 (diff) | |
download | wordpress-mu-72e9496bfc2f7a962cf4f428ccab25c7a0175aaa.tar.gz wordpress-mu-72e9496bfc2f7a962cf4f428ccab25c7a0175aaa.tar.xz wordpress-mu-72e9496bfc2f7a962cf4f428ccab25c7a0175aaa.zip |
WP Merge to rev 4753
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@849 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/gettext.php')
-rw-r--r-- | wp-includes/gettext.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wp-includes/gettext.php b/wp-includes/gettext.php index ed94ca9..a35b0b9 100644 --- a/wp-includes/gettext.php +++ b/wp-includes/gettext.php @@ -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; |