aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-09-02 01:34:37 +0200
committerest31 <MTest31@outlook.com>2015-09-02 01:34:37 +0200
commit94961b3364f76d5861913af321e9be6200d080b3 (patch)
tree2f60f79716faf3eabca08891fdbd38f7c2f22614
parente511282d78a844af24602791cd3cab9aa6e6996d (diff)
downloadminetest-94961b3364f76d5861913af321e9be6200d080b3.tar.gz
minetest-94961b3364f76d5861913af321e9be6200d080b3.tar.bz2
minetest-94961b3364f76d5861913af321e9be6200d080b3.zip
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.
-rwxr-xr-xutil/updatepo.sh2
1 files changed, 1 insertions, 1 deletions
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 \