aboutsummaryrefslogtreecommitdiffstats
path: root/main/project/localization/funcs.sh
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-09-14 14:03:01 +0200
committerSamuel Tardieu <sam@rfc1149.net>2013-09-14 14:03:01 +0200
commit371f6e7fe5bfc68fb208374ca108893a14b44100 (patch)
treea7c061b53344cb7c5ff0b93fd180564ad32c3336 /main/project/localization/funcs.sh
parent4a963eec929a0a12d0bd4698c45a7ff7050a721e (diff)
downloadcgeo-371f6e7fe5bfc68fb208374ca108893a14b44100.zip
cgeo-371f6e7fe5bfc68fb208374ca108893a14b44100.tar.gz
cgeo-371f6e7fe5bfc68fb208374ca108893a14b44100.tar.bz2
Rework missing translations script
Now that some languages use crowdin, translations are not necessarily in the same order as in the reference file.
Diffstat (limited to 'main/project/localization/funcs.sh')
-rw-r--r--main/project/localization/funcs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/project/localization/funcs.sh b/main/project/localization/funcs.sh
index 198fbae..c61a12e 100644
--- a/main/project/localization/funcs.sh
+++ b/main/project/localization/funcs.sh
@@ -1,5 +1,5 @@
# Utility functions for location-aware programs
getnames () {
- sed -ne 's/^.*<\(string\|plurals\)\s*name\s*=\s*"\([^\"]*\)".*$/\2/p' $1
+ sed -ne 's/^.*<\(string\|plurals\)\s*name\s*=\s*"\([^\"]*\)".*$/\2/p' $1 | sort
}