mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 07:35:51 +01:00
Update Script update_po_files.sh
This commit is contained in:
@@ -10,7 +10,7 @@ xargs xgettext \
|
||||
--add-location=file \
|
||||
--copyright-holder='Audacity Team' \
|
||||
--package-name="audacity" \
|
||||
--package-version='2.4.0' \
|
||||
--package-version='2.4.2' \
|
||||
--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.4.0' \
|
||||
--package-version='2.4.2' \
|
||||
--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.4.0\\n"' $i
|
||||
sed -i '/^"Project-Id-Version:/c\"Project-Id-Version: audacity 2.4.2\\n"' $i
|
||||
done
|
||||
echo ";; Updating the .po files"
|
||||
sed 's/.*/echo "msgmerge --lang=& &.po audacity.pot -o &.po";\
|
||||
|
||||
Reference in New Issue
Block a user