hid_to_vpad/updatelang.sh
Maschell efe14da687 - Now using the new dynamic_lib
- fixed possible bug in memory class
- added new makro to logger
- fixed warnings in sd devoptab
2017-10-10 21:05:57 +02:00

15 lines
518 B
Bash

#! /bin/bash
#
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
for fn in `find languages/*.lang`; do
if [ "$fn" != "languages/english.lang" ]; then
echo "Updated $fn"
msgmerge --output-file=$fn $fn languages/english.lang --no-wrap
fi
done