Subject: | gettext_pp.pm can not parse Russian plural forms |
The russian plural forms:
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%
Show quoted text
10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
To fix this problem change gettext_pp.pm at line 695 .. 696 from:
----------------------------------------------------------------------
$code =~
s/([^_a-zA-Z0-9]|\A)([_a-z][_A-Za-z0-9]*)([^_a-
zA-Z0-9])/$1\$$2$3/g;
----------------------------------------------------------------------
to:
----------------------------------------------------------------------
$code =~
s/\b n \b/\$n/xg;
----------------------------------------------------------------------