summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Atallah <datallah@pidgin.im>2010-06-03 03:08:22 +0000
committerDaniel Atallah <datallah@pidgin.im>2010-06-03 03:08:22 +0000
commit5164f592306ebda56226c415689bdfa60db3ee0e (patch)
treeb84ffbce18a8d42ea3484d517f607671fd6cf7ca
parent0157f689537730cd35155c26d3ce164811f86481 (diff)
downloadpidgin-5164f592306ebda56226c415689bdfa60db3ee0e.tar.gz
Make sure that the translations in the installer are displayed sorted.
-rw-r--r--Makefile.mingw2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.mingw b/Makefile.mingw
index 3527384bd7..514912e6d9 100644
--- a/Makefile.mingw
+++ b/Makefile.mingw
@@ -107,7 +107,7 @@ generate_installer_includes: create_release_install_dir pidgin/win32/nsis/gtk-ru
rm -f pidgin/win32/nsis/pidgin-translations.nsh pidgin/win32/nsis/pidgin-spellcheck.nsh pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh
find $(STRIPPED_RELEASE_DIR)/locale -maxdepth 1 -mindepth 1 \
-exec basename {} ';' \
- | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \
+ | LC_ALL=C sort | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \
> pidgin/win32/nsis/pidgin-translations.nsh
#Convert the available.lst lines to "!insertmacro SPELLCHECK_SECTION lang lang_name lang_file"
sed -e "/^#/d" -e "s/^[^,]\{1,\},[^,]\{1,\},/\"/" \