From: est31 Date: Tue, 1 Sep 2015 23:34:37 +0000 (+0200) Subject: Don't add line number to comment when running updatepo.sh X-Git-Tag: 0.4.14~739 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=94961b3364f76d5861913af321e9be6200d080b3;p=oweals%2Fminetest.git Don't add line number to comment when running updatepo.sh Otherwise, this updates all .po files for all line numbers that changed since the last time updatepo.sh was run. We still add the filename, but this information shouldn't change too often. xgettext beginning with 0.18.4 supports this feature. --- diff --git a/util/updatepo.sh b/util/updatepo.sh index 1fc723373..f4a401f2c 100755 --- a/util/updatepo.sh +++ b/util/updatepo.sh @@ -50,7 +50,7 @@ cd .. potfile=po/minetest.pot xgettext --package-name=minetest \ --sort-by-file \ - --add-location \ + --add-location=file \ --keyword=N_ \ --keyword=wgettext \ --keyword=fgettext \