2017-04-14 13:10:57 +02:00
|
|
|
#! /bin/bash
|
|
|
|
#
|
2017-10-10 21:05:57 +02:00
|
|
|
find . -iname "*.cpp" -or -iname "*.c" | xargs xgettext --no-wrap -ktr -ktrNOOP -o languages/english.lang -j --no-location --omit-header
|
|
|
|
echo "Updated lang"
|
|
|
|
find . -iname "*.cpp" -or -iname "*.c" | xargs xgettext --no-wrap -ktr -ktrNOOP -o languages/english.lang -j --omit-header --sort-by-file
|
|
|
|
|
|
|
|
|
2017-04-14 13:10:57 +02:00
|
|
|
for fn in `find languages/*.lang`; do
|
|
|
|
if [ "$fn" != "languages/english.lang" ]; then
|
2017-10-10 21:05:57 +02:00
|
|
|
echo "Updated $fn"
|
2017-05-07 14:36:52 +02:00
|
|
|
msgmerge --output-file=$fn $fn languages/english.lang --no-wrap
|
2017-04-14 13:10:57 +02:00
|
|
|
fi
|
|
|
|
|
2017-10-10 21:05:57 +02:00
|
|
|
done
|