Use new plural formula.

This commit is contained in:
Andrius Štikonas 2011-11-11 15:54:15 +00:00
parent 6a02093fed
commit c1adc872ff
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ for dir in `ls`; do
echo -e $RED"$dir/$po"$ENDCOLOR
msginit -i "$file" -o "$podir/$po" --no-translator
svn add "$podir/$po"
sed -ie 's/\"Plural-Forms: nplurals=3; plural=(n%10==1 \&\& n%100!=11 ? 0 : n%10>=2 \&\& (n"/\"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n%10==1 \&\& n%100!=11 ? 1 : n%\"/
s/\"%100<10 || n%100>=20) ? 1 : 2);\\n\"/"10>=2 \&\& (n%100<10 || n%100>=20) ? 2 : 3);\\n\"/
sed -ie 's/\"Plural-Forms: nplurals=3; plural=(n%10==1 \&\& n%100!=11 ? 0 : n%10>=2 \&\& (n"/"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n%10>=2 \&\& (n%100<10 || n"/
s/\"%100<10 || n%100>=20) ? 1 : 2);\\n\"/"%100>=20) ? 1 : n%10==0 || (n%100>10 \&\& n%100<20) ? 2 : 3);\\n"/
/\"Language: lt\\n\"/d' "$podir/$po"
rm "$podir/$po"e
fi