# HG changeset patch # User Daniel Atallah # Date 1275534502 0 # Node ID c43570e34d814f67d1b66c210cad5d6847be249f # Parent f87a1844aff005d5f44e3f803c8cdaf25c5a9108 Make sure that the translations in the installer are displayed sorted. diff -r f87a1844aff0 -r c43570e34d81 Makefile.mingw --- 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,\},/\"/" \