changeset 30578:c43570e34d81

Make sure that the translations in the installer are displayed sorted.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 03 Jun 2010 03:08:22 +0000
parents f87a1844aff0
children 19c14f0fa669
files Makefile.mingw
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.mingw	Thu Jun 03 01:22:31 2010 +0000
+++ b/Makefile.mingw	Thu Jun 03 03:08:22 2010 +0000
@@ -107,7 +107,7 @@
 	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,\},/\"/" \