comparison Makefile.mingw @ 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 62f0988c666c
children
comparison
equal deleted inserted replaced
30577:f87a1844aff0 30578:c43570e34d81
105 105
106 generate_installer_includes: create_release_install_dir pidgin/win32/nsis/gtk-runtime-$(GTK_BUNDLE_VERSION).zip debug_symbols_zip $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/nsis_translations.desktop 106 generate_installer_includes: create_release_install_dir pidgin/win32/nsis/gtk-runtime-$(GTK_BUNDLE_VERSION).zip debug_symbols_zip $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/nsis_translations.desktop
107 rm -f pidgin/win32/nsis/pidgin-translations.nsh pidgin/win32/nsis/pidgin-spellcheck.nsh pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh 107 rm -f pidgin/win32/nsis/pidgin-translations.nsh pidgin/win32/nsis/pidgin-spellcheck.nsh pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh
108 find $(STRIPPED_RELEASE_DIR)/locale -maxdepth 1 -mindepth 1 \ 108 find $(STRIPPED_RELEASE_DIR)/locale -maxdepth 1 -mindepth 1 \
109 -exec basename {} ';' \ 109 -exec basename {} ';' \
110 | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \ 110 | LC_ALL=C sort | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \
111 > pidgin/win32/nsis/pidgin-translations.nsh 111 > pidgin/win32/nsis/pidgin-translations.nsh
112 #Convert the available.lst lines to "!insertmacro SPELLCHECK_SECTION lang lang_name lang_file" 112 #Convert the available.lst lines to "!insertmacro SPELLCHECK_SECTION lang lang_name lang_file"
113 sed -e "/^#/d" -e "s/^[^,]\{1,\},[^,]\{1,\},/\"/" \ 113 sed -e "/^#/d" -e "s/^[^,]\{1,\},[^,]\{1,\},/\"/" \
114 -e "s/,/\"\ \"/" -e "s/,/\"\ \"/" -e "s/[\ \t]*$$/\"/" \ 114 -e "s/,/\"\ \"/" -e "s/,/\"\ \"/" -e "s/[\ \t]*$$/\"/" \
115 -e "s/^/\!insertmacro\ SPELLCHECK_SECTION\ /" \ 115 -e "s/^/\!insertmacro\ SPELLCHECK_SECTION\ /" \