[wp-trac] [WordPress Trac] #3577: gettext.php breaks on poedit
plural po files
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 14 22:43:05 GMT 2007
#3577: gettext.php breaks on poedit plural po files
------------------------+---------------------------------------------------
Reporter: nbachiyski | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.1
Component: General | Version: 2.1
Severity: normal | Keywords: patch bg|has-patch i18n
------------------------+---------------------------------------------------
poEdit doesn't put a semi-colon at the end of plural headers (even if
explicitly told so). However the standard requires them and out gettext
implementation blows with parse error (it uses eval) if a semi-colon is
missing.
So I added one ;)
P.S. There is no problem to have more than one semi-colon at the end of a
statement, so I skipped the sanity check if there actually *is* a semi-
colon at the end of the header.
--
Ticket URL: <http://trac.wordpress.org/ticket/3577>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list