Opened 6 years ago
Closed 6 years ago
#3577 closed defect (bug) (fixed)
gettext.php breaks on poedit plural po files
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.1 |
| Component: | General | Version: | 2.1 |
| Severity: | normal | Keywords: | patch bg|has-patch i18n |
| Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.

(In [4736]) Fix plural form parsing. Props nbachiyski. fixes #3577