]> git.mxchange.org Git - friendica.git/commitdiff
Make transifex happy
authorfabrixxm <fabrix.xm@gmail.com>
Thu, 23 Jan 2014 09:02:18 +0000 (10:02 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Thu, 23 Jan 2014 09:02:18 +0000 (10:02 +0100)
transifex no more accept message.po with "Plural-Forms" commented out. now the line is completely removed.

util/run_xgettext.sh

index 554bba8472534e56822bfacd954532ca804112e3..bd6bd8d7ff7dc7c0e0e72ddbea208e7a478fd963 100755 (executable)
@@ -63,7 +63,7 @@ then
        sed -i "s/PACKAGE VERSION//g" "$OUTFILE"
        sed -i "s/PACKAGE/Friendica $ADDONNAME addon/g" "$OUTFILE"
        sed -i "s/CHARSET/UTF-8/g" "$OUTFILE"
-       sed -i "s/^\"Plural-Forms/#\"Plural-Forms/g" "$OUTFILE"
+       sed -i "s/^\"Plural-Forms.$//g" "$OUTFILE"
 else
        sed -i "s/SOME DESCRIPTIVE TITLE./FRIENDICA Distributed Social Network/g" "$OUTFILE"
        sed -i "s/YEAR THE PACKAGE'S COPYRIGHT HOLDER/2010, 2011, 2012, 2013 the Friendica Project/g" "$OUTFILE"
@@ -71,7 +71,7 @@ else
        sed -i "s/PACKAGE VERSION/$F9KVERSION/g" "$OUTFILE"
        sed -i "s/PACKAGE/Friendica/g" "$OUTFILE"
        sed -i "s/CHARSET/UTF-8/g" "$OUTFILE"
-       sed -i "s/^\"Plural-Forms/#\"Plural-Forms/g" "$OUTFILE"
+       sed -i "s/^\"Plural-Forms.$//g" "$OUTFILE"
 fi
 
 echo "done."