From 94961b3364f76d5861913af321e9be6200d080b3 Mon Sep 17 00:00:00 2001 From: est31 Date: Wed, 2 Sep 2015 01:34:37 +0200 Subject: [PATCH] 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. --- util/updatepo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/updatepo.sh b/util/updatepo.sh index 1fc72337..f4a401f2 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 \