Update po script for 2.4.0

This commit is contained in:
James Crook 2020-04-08 19:41:04 +01:00
parent e8e2d43cfd
commit 028c51b6a8
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ xargs xgettext \
--add-location=file \
--copyright-holder='Audacity Team' \
--package-name="audacity" \
--package-version='2.3.3' \
--package-version='2.4.0' \
--msgid-bugs-address="audacity-translation@lists.sourceforge.net" \
--add-location=file -L C -o audacity.pot
echo ";; Adding nyquist files to audacity.pot"
@ -24,12 +24,12 @@ xargs xgettext \
--add-location=file \
--copyright-holder='Audacity Team' \
--package-name="audacity" \
--package-version='2.3.3' \
--package-version='2.4.0' \
--msgid-bugs-address="audacity-translation@lists.sourceforge.net" \
--add-location=file -L Lisp -j -o audacity.pot
echo ";; Updating the .po files - Updating Project-Id-Version"
for i in *.po; do
sed -i '/^"Project-Id-Version:/c\"Project-Id-Version: audacity 2.3.3\\n"' $i
sed -i '/^"Project-Id-Version:/c\"Project-Id-Version: audacity 2.4.0\\n"' $i
done
echo ";; Updating the .po files"
sed 's/.*/echo "msgmerge --lang=& &.po audacity.pot -o &.po";\