diff options
author | Sadie Powell <sadie@witchery.services> | 2023-02-19 11:05:49 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2023-02-19 11:12:37 +0000 |
commit | a5d4aa582195a3037be1bc5c05fcd1067980676a (patch) | |
tree | d2823bdfe64f441bb7bac63abe78b8ae49d6cba3 /language/update.sh | |
parent | 9b583961b04761f753838e05ee15669439ff60da (diff) |
Remove line numbers from the translation files.
The translations are updated so infrequently that these always
change a bunch and it makes reading the diffs really hard.
Diffstat (limited to 'language/update.sh')
-rwxr-xr-x | language/update.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/language/update.sh b/language/update.sh index 279ed3d81..de4fd0555 100755 --- a/language/update.sh +++ b/language/update.sh @@ -4,13 +4,14 @@ rm -f anope.pot touch anope.pot cd .. -FILES=`find ./ -name *.cpp -o -name *.h -o -name *.conf | grep -v /modules/third/` +FILES=`find ./ -name *.cpp -o -name *.h -o -name *.conf | grep -v /docs/ | grep -v /modules/third/` xgettext -E -C -s -d Anope -j -o language/anope.pot --from-code=utf-8 --keyword --keyword=_ $FILES cd - for f in *.po do - msgmerge -v -s -U $f `echo $f | cut -d'.' -f1`.pot + echo "Merging $f" + msgmerge --no-location --no-wrap --sort-output --update --verbose $f `echo $f | cut -d'.' -f1`.pot done rm -f *~ |