hid_to_vpad/updatelang.sh
Maschell 69a99a92e1 Added Brazilian Portuguese translations (thanks AlanLC), updated updatelang.sh script
- changing order in lang files
- fixed comment on english.lang
2017-05-08 17:23:14 +02:00

10 lines
406 B
Bash

#! /bin/bash
#
find . -iname "*.cpp" | xargs xgettext --no-wrap -o languages/english.lang -j --no-location --omit-header
find . -iname "*.cpp" | xargs xgettext --no-wrap -o languages/english.lang -j --omit-header --sort-by-file
for fn in `find languages/*.lang`; do
if [ "$fn" != "languages/english.lang" ]; then
msgmerge --output-file=$fn $fn languages/english.lang --no-wrap
fi
done