annotate src/win32/nsis/langmacros.nsh @ 10708:d0d1d631ed49

[gaim-migrate @ 12297] Add some files I missed that are necessary for Gtk 2.4 support, actually commit the makefile changes to compile on Gtk 2.4, fix building with Gtk 2.6 which I broke. And some Gtk 2.2 support too, which should be considered experimental (where experimental means "almost completely broken"). Also a couple of tweaks which might make Gaim continue working after upgrading Gtk without rebuilding Gaim, but I haven't actually tested that. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 20 Mar 2005 17:37:31 +0000
parents 08251403c871
children 6a8440e9edba
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7571
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
1 ;;
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
2 ;; Windows Gaim NSIS installer language macros
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
3 ;;
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
4
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
5 !macro GAIM_MACRO_DEFAULT_STRING LABEL VALUE
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
6 !ifndef "${LABEL}"
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
7 !define "${LABEL}" "${VALUE}"
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
8 !ifdef INSERT_DEFAULT
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
9 !warning "${LANG} lang file mising ${LABEL}, using default.."
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
10 !endif
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
11 !endif
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
12 !macroend
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
13
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
14 !macro GAIM_MACRO_LANGSTRING_INSERT LABEL LANG
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
15 LangString "${LABEL}" "${LANG_${LANG}}" "${${LABEL}}"
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
16 !undef "${LABEL}"
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
17 !macroend
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
18
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
19 !macro GAIM_MACRO_LANGUAGEFILE_BEGIN LANG
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
20 !define CUR_LANG "${LANG}"
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
21 !macroend
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
22
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
23 !macro GAIM_MACRO_LANGUAGEFILE_END
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
24 !define INSERT_DEFAULT
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
25 !include "${GAIM_DEFAULT_LANGFILE}"
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
26 !undef INSERT_DEFAULT
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
27
10212
08251403c871 [gaim-migrate @ 11336]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 7571
diff changeset
28 ; GAIM Language file Version 3
7571
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
29 ; String labels should match those from the default language file.
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
30
10212
08251403c871 [gaim-migrate @ 11336]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 7571
diff changeset
31 ; Startup checks
08251403c871 [gaim-migrate @ 11336]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 7571
diff changeset
32 !insertmacro GAIM_MACRO_LANGSTRING_INSERT INSTALLER_IS_RUNNING ${CUR_LANG}
08251403c871 [gaim-migrate @ 11336]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 7571
diff changeset
33 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_IS_RUNNING ${CUR_LANG}
08251403c871 [gaim-migrate @ 11336]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 7571
diff changeset
34 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_INSTALLER_NEEDED ${CUR_LANG}
7571
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
35
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
36 ; License Page
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
37 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_LICENSE_BUTTON ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
38 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_LICENSE_BOTTOM_TEXT ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
39
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
40 ; Components Page
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
41 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_SECTION_TITLE ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
42 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_SECTION_TITLE ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
43 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_THEMES_SECTION_TITLE ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
44 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_NOTHEME_SECTION_TITLE ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
45 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_WIMP_SECTION_TITLE ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
46 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_BLUECURVE_SECTION_TITLE ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
47 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_LIGHTHOUSEBLUE_SECTION_TITLE ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
48 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_SECTION_DESCRIPTION ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
49 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_SECTION_DESCRIPTION ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
50 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_THEMES_SECTION_DESCRIPTION ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
51 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_NO_THEME_DESC ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
52 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_WIMP_THEME_DESC ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
53 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_BLUECURVE_THEME_DESC ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
54 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_LIGHTHOUSEBLUE_THEME_DESC ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
55
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
56 ; GTK+ Directory Page
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
57 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_UPGRADE_PROMPT ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
58
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
59 ; Installer Finish Page
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
60 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_FINISH_VISIT_WEB_SITE ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
61
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
62 ; Gaim Section Prompts and Texts
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
63 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_UNINSTALL_DESC ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
64 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_PROMPT_WIPEOUT ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
65 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_PROMPT_DIR_EXISTS ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
66
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
67 ; GTK+ Section Prompts
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
68 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_INSTALL_ERROR ${CUR_LANG}
10212
08251403c871 [gaim-migrate @ 11336]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 7571
diff changeset
69 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_BAD_INSTALL_PATH ${CUR_LANG}
7571
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
70
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
71 ; GTK+ Themes section
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
72 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_NO_THEME_INSTALL_RIGHTS ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
73
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
74 ; Uninstall Section Prompts
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
75 !insertmacro GAIM_MACRO_LANGSTRING_INSERT un.GAIM_UNINSTALL_ERROR_1 ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
76 !insertmacro GAIM_MACRO_LANGSTRING_INSERT un.GAIM_UNINSTALL_ERROR_2 ${CUR_LANG}
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
77
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
78 !undef CUR_LANG
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
79 !macroend
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
80
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
81 !macro GAIM_MACRO_INCLUDE_LANGFILE LANG FILE
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
82 !insertmacro GAIM_MACRO_LANGUAGEFILE_BEGIN "${LANG}"
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
83 !include "${FILE}"
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
84 !insertmacro GAIM_MACRO_LANGUAGEFILE_END
0ada95df88ec [gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
85 !macroend