mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +02:00
Change locale/update_po_files.sh so it doesn't wrap lines...
... as requested by Phroneris, Japanese translator
This commit is contained in:
parent
770ac108f2
commit
1f68da2fae
@ -39,8 +39,8 @@ nb
|
||||
nl
|
||||
oc
|
||||
pl
|
||||
pt_PT
|
||||
pt_BR
|
||||
pt_PT
|
||||
ro
|
||||
ru
|
||||
sk
|
||||
|
@ -7,6 +7,7 @@ for path in ../modules/mod-* ../libraries/lib-* ../include ../src ; do
|
||||
done | LANG=c sort | \
|
||||
sed -E 's/\.\.\///g' |\
|
||||
xargs xgettext \
|
||||
--no-wrap \
|
||||
--default-domain=audacity \
|
||||
--directory=.. \
|
||||
--keyword=_ --keyword=XO --keyword=XC:1,2c --keyword=XXO --keyword=XXC:1,2c --keyword=XP:1,2 --keyword=XPC:1,2,4c \
|
||||
@ -21,6 +22,7 @@ echo ";; Adding nyquist files to audacity.pot"
|
||||
for path in ../plug-ins ; do find $path -name \*.ny -not -name rms.ny; done | LANG=c sort | \
|
||||
sed -E 's/\.\.\///g' |\
|
||||
xargs xgettext \
|
||||
--no-wrap \
|
||||
--default-domain=audacity \
|
||||
--directory=.. \
|
||||
--keyword=_ --keyword=_C:1,2c --keyword=ngettext:1,2 --keyword=ngettextc:1,2,4c \
|
||||
@ -41,7 +43,7 @@ for i in *.po; do
|
||||
done
|
||||
echo ";; Updating the .po files"
|
||||
sed 's/.*/echo "msgmerge --lang=& &.po audacity.pot -o &.po";\
|
||||
msgmerge --lang=& &.po audacity.pot -o &.po;/g' LINGUAS | bash
|
||||
msgmerge --no-wrap --lang=& &.po audacity.pot -o &.po;/g' LINGUAS | bash
|
||||
echo ";; Removing '#~|' (which confuse Windows version of msgcat)"
|
||||
for i in *.po; do
|
||||
sed '/^#~|/d' $i > TEMP; mv TEMP $i
|
||||
|
Loading…
x
Reference in New Issue
Block a user