Mercurial > pidgin.yaz
changeset 6277:77857b637a82
[gaim-migrate @ 6776]
Pass language selection to the GTK+ installer
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Tue, 22 Jul 2003 19:08:05 +0000 |
parents | 48fe16f41ac3 |
children | 14661ae901cf |
files | gaim-installer.nsi |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gaim-installer.nsi Tue Jul 22 16:50:31 2003 +0000 +++ b/gaim-installer.nsi Tue Jul 22 19:08:05 2003 +0000 @@ -80,6 +80,7 @@ !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" !define MUI_LANGDLL_REGISTRY_KEY ${GAIM_REG_KEY} !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" + !define MUI_LANGDLL_ALWAYSSHOW ;-------------------------------- ;Languages @@ -217,6 +218,9 @@ Pop $R0 Pop $R6 + ; Pass on the language we are using to GTK+ installer via registry.. + WriteRegStr HKCU "${GTK_REG_KEY}" "Installer Language" "$LANGUAGE" + StrCmp $R0 "0" have_gtk StrCmp $R0 "1" upgrade_gtk StrCmp $R0 "2" no_gtk no_gtk