Update po script for 2.4.0
This commit is contained in:
parent
e8e2d43cfd
commit
028c51b6a8
|
@ -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";\
|
||||
|
|
Loading…
Reference in New Issue