diff options
Diffstat (limited to 'util/run_xgettext.sh')
-rwxr-xr-x | util/run_xgettext.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/run_xgettext.sh b/util/run_xgettext.sh index 3eca8a8b3..9402546a8 100755 --- a/util/run_xgettext.sh +++ b/util/run_xgettext.sh @@ -16,12 +16,12 @@ if [ $ADDONMODE ] then cd "$FULLPATH/../addon/$ADDONNAME" mkdir -p "$FULLPATH/../addon/$ADDONNAME/lang/C" - OUTFILE="$FULLPATH/../addon/$ADDONNAME/lang/C/messages.po" + OUTFILE="$FULLPATH/../addon/$ADDONNAME/lang/C/hmessages.po" FINDSTARTDIR="." FINDOPTS= else cd "$FULLPATH/../view/en/" - OUTFILE="$FULLPATH/messages.po" + OUTFILE="$FULLPATH/hmessages.po" FINDSTARTDIR="../../" # skip addon folder FINDOPTS="-wholename */addon -prune -o" @@ -65,12 +65,12 @@ then sed -i "s/YEAR THE PACKAGE'S COPYRIGHT HOLDER//g" "$OUTFILE" sed -i "s/FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.//g" "$OUTFILE" sed -i "s/PACKAGE VERSION//g" "$OUTFILE" - sed -i "s/PACKAGE/RedMatrix $ADDONNAME addon/g" "$OUTFILE" + sed -i "s/PACKAGE/Hubzilla $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" + sed -i "s/SOME DESCRIPTIVE TITLE./Hubzilla Project/g" "$OUTFILE" + sed -i "s/YEAR THE PACKAGE'S COPYRIGHT HOLDER/2012-2014 the Hubzilla Project/g" "$OUTFILE" sed -i "s/FIRST AUTHOR <EMAIL@ADDRESS>, YEAR./Mike Macgirvin, 2012/g" "$OUTFILE" sed -i "s/PACKAGE VERSION/$F9KVERSION/g" "$OUTFILE" sed -i "s/PACKAGE/Red/g" "$OUTFILE" |