Sat, 15 May 2010 06:13:15 +0000
Allow the GTK+ Runtime to be unselected when there is no existing runtime
(but not when there is an existing runtime that is too old). This allows
"advanced" users to more easily reuse a global GTK+ runtime if they choose to
do so.
Additionally, this provides some additional alerts and hints about what to do
when downloading the GTK+ Runtime or Spellchecking dictionary fails.
Fixes #11852, #11889
| 7571 | 1 | ;; |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
2 | ;; Windows Pidgin NSIS installer language macros |
| 7571 | 3 | ;; |
| 4 | ||
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
5 | !macro PIDGIN_MACRO_DEFAULT_STRING LABEL VALUE |
| 7571 | 6 | !ifndef "${LABEL}" |
| 7 | !define "${LABEL}" "${VALUE}" | |
| 8 | !ifdef INSERT_DEFAULT | |
|
10920
f68798385106
[gaim-migrate @ 12686]
Daniel Atallah <datallah@pidgin.im>
parents:
10212
diff
changeset
|
9 | !warning "${LANG} lang file missing ${LABEL}, using default..." |
| 7571 | 10 | !endif |
| 11 | !endif | |
| 12 | !macroend | |
| 13 | ||
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
14 | !macro PIDGIN_MACRO_LANGSTRING_INSERT LABEL LANG |
| 7571 | 15 | LangString "${LABEL}" "${LANG_${LANG}}" "${${LABEL}}" |
| 16 | !undef "${LABEL}" | |
| 17 | !macroend | |
| 18 | ||
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
19 | !macro PIDGIN_MACRO_LANGUAGEFILE_BEGIN LANG |
| 7571 | 20 | !define CUR_LANG "${LANG}" |
| 21 | !macroend | |
| 22 | ||
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
23 | !macro PIDGIN_MACRO_LANGUAGEFILE_END |
| 7571 | 24 | !define INSERT_DEFAULT |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
25 | !include "${PIDGIN_DEFAULT_LANGFILE}" |
| 7571 | 26 | !undef INSERT_DEFAULT |
| 27 | ||
|
15856
322e0965615f
Add support for registering URI handlers to the windows installer.
Daniel Atallah <datallah@pidgin.im>
parents:
15805
diff
changeset
|
28 | ; Pidgin Language file Version 3 |
| 7571 | 29 | ; String labels should match those from the default language file. |
| 30 | ||
|
10212
9a9c18b72773
[gaim-migrate @ 11336]
Herman Bloggs <herman@bluedigits.com>
parents:
7571
diff
changeset
|
31 | ; Startup checks |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
32 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT INSTALLER_IS_RUNNING ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
33 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_IS_RUNNING ${CUR_LANG} |
| 7571 | 34 | |
| 35 | ; License Page | |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
36 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_LICENSE_BUTTON ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
37 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_LICENSE_BOTTOM_TEXT ${CUR_LANG} |
| 7571 | 38 | |
| 39 | ; Components Page | |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
40 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_SECTION_TITLE ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
41 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT GTK_SECTION_TITLE ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
42 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_SHORTCUTS_SECTION_TITLE ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
43 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_DESKTOP_SHORTCUT_SECTION_TITLE ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
44 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_STARTMENU_SHORTCUT_SECTION_TITLE ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
45 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_SECTION_DESCRIPTION ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
46 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT GTK_SECTION_DESCRIPTION ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
47 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_SHORTCUTS_SECTION_DESCRIPTION ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
48 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_DESKTOP_SHORTCUT_DESC ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
49 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_STARTMENU_SHORTCUT_DESC ${CUR_LANG} |
|
29634
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
29506
diff
changeset
|
50 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT DEBUG_SYMBOLS_SECTION_TITLE ${CUR_LANG} |
|
29818
ba5a3e226f5d
Finish up win32 gtkspell 2.0.16 / enchant support (mostly in the installer)
Daniel Atallah <datallah@pidgin.im>
parents:
29763
diff
changeset
|
51 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT TRANSLATIONS_SECTION_TITLE ${CUR_LANG} |
| 7571 | 52 | |
| 53 | ; Installer Finish Page | |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
54 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_FINISH_VISIT_WEB_SITE ${CUR_LANG} |
| 7571 | 55 | |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
56 | ; Pidgin Section Prompts and Texts |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
57 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_PROMPT_CONTINUE_WITHOUT_UNINSTALL ${CUR_LANG} |
| 7571 | 58 | |
|
15856
322e0965615f
Add support for registering URI handlers to the windows installer.
Daniel Atallah <datallah@pidgin.im>
parents:
15805
diff
changeset
|
59 | ; URI Handler section |
|
322e0965615f
Add support for registering URI handlers to the windows installer.
Daniel Atallah <datallah@pidgin.im>
parents:
15805
diff
changeset
|
60 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT URI_HANDLERS_SECTION_TITLE ${CUR_LANG} |
|
322e0965615f
Add support for registering URI handlers to the windows installer.
Daniel Atallah <datallah@pidgin.im>
parents:
15805
diff
changeset
|
61 | |
| 7571 | 62 | ; Uninstall Section Prompts |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
63 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT un.PIDGIN_UNINSTALL_ERROR_1 ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
64 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT un.PIDGIN_UNINSTALL_ERROR_2 ${CUR_LANG} |
| 7571 | 65 | |
|
11578
70230c5dded2
[gaim-migrate @ 13847]
Daniel Atallah <datallah@pidgin.im>
parents:
10920
diff
changeset
|
66 | ; Spellcheck Section Prompts |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
67 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_SPELLCHECK_SECTION_TITLE ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
68 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_SPELLCHECK_ERROR ${CUR_LANG} |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
69 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_SPELLCHECK_SECTION_DESCRIPTION ${CUR_LANG} |
|
11578
70230c5dded2
[gaim-migrate @ 13847]
Daniel Atallah <datallah@pidgin.im>
parents:
10920
diff
changeset
|
70 | |
|
29763
28f8c86acf66
Various win32 installer fixes
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
71 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_DEBUGSYMBOLS_ERROR ${CUR_LANG} |
|
28f8c86acf66
Various win32 installer fixes
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
72 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_GTK_DOWNLOAD_ERROR ${CUR_LANG} |
|
28f8c86acf66
Various win32 installer fixes
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
73 | |
|
30260
a2765eb04fde
Allow the GTK+ Runtime to be unselected when there is no existing runtime
Daniel Atallah <datallah@pidgin.im>
parents:
29818
diff
changeset
|
74 | !insertmacro PIDGIN_MACRO_LANGSTRING_INSERT PIDGIN_PROMPT_FORCE_NO_GTK ${CUR_LANG} |
|
a2765eb04fde
Allow the GTK+ Runtime to be unselected when there is no existing runtime
Daniel Atallah <datallah@pidgin.im>
parents:
29818
diff
changeset
|
75 | |
| 7571 | 76 | !undef CUR_LANG |
| 77 | !macroend | |
| 78 | ||
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
79 | !macro PIDGIN_MACRO_INCLUDE_LANGFILE LANG FILE |
|
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
80 | !insertmacro PIDGIN_MACRO_LANGUAGEFILE_BEGIN "${LANG}" |
| 7571 | 81 | !include "${FILE}" |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
82 | !insertmacro PIDGIN_MACRO_LANGUAGEFILE_END |
| 7571 | 83 | !macroend |