diff options
Diffstat (limited to 'util/run_xgettext.sh')
-rwxr-xr-x | util/run_xgettext.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/util/run_xgettext.sh b/util/run_xgettext.sh index 432e0f717..3be355c44 100755 --- a/util/run_xgettext.sh +++ b/util/run_xgettext.sh @@ -67,6 +67,7 @@ then sed -i "s/PACKAGE VERSION//g" "$OUTFILE" sed -i "s/PACKAGE/RedMatrix $ADDONNAME addon/g" "$OUTFILE" sed -i "s/CHARSET/UTF-8/g" "$OUTFILE" + sed -i '/^\"Plural-Forms/d' "$OUTFILE" else sed -i "s/SOME DESCRIPTIVE TITLE./Red Matrix Project/g" "$OUTFILE" sed -i "s/YEAR THE PACKAGE'S COPYRIGHT HOLDER/2012-2014 the Red Matrix Project/g" "$OUTFILE" @@ -74,8 +75,10 @@ else sed -i "s/PACKAGE VERSION/$F9KVERSION/g" "$OUTFILE" sed -i "s/PACKAGE/Red/g" "$OUTFILE" sed -i "s/CHARSET/UTF-8/g" "$OUTFILE" + sed -i '/^\"Plural-Forms/d' "$OUTFILE" fi -grep -v "Plural-Forms:" $OUTFILE > tmpout -mv tmpout $OUTFILE +#grep -v "Plural-Forms:" $OUTFILE > tmpout +#mv tmpout $OUTFILE + echo "done." |