aboutsummaryrefslogtreecommitdiffstats
path: root/util/run_xgettext.sh
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-09 04:00:34 -0700
committerfriendica <info@friendica.com>2013-08-09 04:00:34 -0700
commit89ad8ad80f3907b3850f45e42bb70424a223ed71 (patch)
tree3c791060392008d329e012a9efc6ee1851a9494e /util/run_xgettext.sh
parentec3e3922b8da42823e6d933a6964639c4bb5634a (diff)
downloadvolse-hubzilla-89ad8ad80f3907b3850f45e42bb70424a223ed71.tar.gz
volse-hubzilla-89ad8ad80f3907b3850f45e42bb70424a223ed71.tar.bz2
volse-hubzilla-89ad8ad80f3907b3850f45e42bb70424a223ed71.zip
string parse error extracting one particular string
Diffstat (limited to 'util/run_xgettext.sh')
-rwxr-xr-xutil/run_xgettext.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/run_xgettext.sh b/util/run_xgettext.sh
index 997446818..4b4e012da 100755
--- a/util/run_xgettext.sh
+++ b/util/run_xgettext.sh
@@ -28,9 +28,9 @@ else
fi
-F9KVERSION=$(sed -n "s/.*'RED_VERSION'.*'\([0-9.]*\)'.*/\1/p" ../../boot.php);
+F9KVERSION=$(cat ../../version.inc);
-echo "Friendica version $F9KVERSION"
+echo "Red version $F9KVERSION"
OPTS=
@@ -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/Friendica $ADDONNAME addon/g" "$OUTFILE"
+ sed -i "s/PACKAGE/RedMatrix $ADDONNAME addon/g" "$OUTFILE"
sed -i "s/CHARSET/UTF-8/g" "$OUTFILE"
sed -i "s/^\"Plural-Forms/#\"Plural-Forms/g" "$OUTFILE"
else
sed -i "s/SOME DESCRIPTIVE TITLE./Red Communications Project/g" "$OUTFILE"
- sed -i "s/YEAR THE PACKAGE'S COPYRIGHT HOLDER/2013 the Friendica Project/g" "$OUTFILE"
+ sed -i "s/YEAR THE PACKAGE'S COPYRIGHT HOLDER/2013 the Red Matrix Project/g" "$OUTFILE"
sed -i "s/FIRST AUTHOR <EMAIL@ADDRESS>, YEAR./Mike Macgirvin, 2013/g" "$OUTFILE"
sed -i "s/PACKAGE VERSION/$F9KVERSION/g" "$OUTFILE"
sed -i "s/PACKAGE/Red/g" "$OUTFILE"