Mercurial > pidgin
annotate src/win32/nsis/langmacros.nsh @ 10040:81059dce3aed
[gaim-migrate @ 10999]
" Post all three of these to the sf patch tracker as
three separate patches and assign the buddy list
changes and oscar changes to me, and the
gaim_status_is_online() changes to Luke. And in the
one assigned to Luke, ask him if he could pretty please
with sugar on top check through it quickly and
commit it if it looks sensible?
--KingAnt
This adds gaim_status_is_online so that we can check
statuses as well as presences for online status. It
also changes gaim_presence_is_online to use the new
function." --Dave West
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 18 Sep 2004 23:17:38 +0000 |
parents | 0ada95df88ec |
children | 08251403c871 |
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 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
28 ; GAIM Language file Version 2 |
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 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
31 ; Startup GTK+ check |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
32 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_INSTALLER_NEEDED ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
33 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
34 ; License Page |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
35 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_LICENSE_BUTTON ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
36 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_LICENSE_BOTTOM_TEXT ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
37 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
38 ; Components Page |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
39 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_SECTION_TITLE ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
40 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_SECTION_TITLE ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
41 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_THEMES_SECTION_TITLE ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
42 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_NOTHEME_SECTION_TITLE ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
43 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_WIMP_SECTION_TITLE ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
44 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_BLUECURVE_SECTION_TITLE ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
45 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_LIGHTHOUSEBLUE_SECTION_TITLE ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
46 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_SECTION_DESCRIPTION ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
47 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_SECTION_DESCRIPTION ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
48 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_THEMES_SECTION_DESCRIPTION ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
49 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_NO_THEME_DESC ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
50 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_WIMP_THEME_DESC ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
51 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_BLUECURVE_THEME_DESC ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
52 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_LIGHTHOUSEBLUE_THEME_DESC ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
53 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
54 ; GTK+ Directory Page |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
55 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_UPGRADE_PROMPT ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
56 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
57 ; Installer Finish Page |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
58 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_FINISH_VISIT_WEB_SITE ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
59 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
60 ; Gaim Section Prompts and Texts |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
61 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_UNINSTALL_DESC ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
62 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_PROMPT_WIPEOUT ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
63 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GAIM_PROMPT_DIR_EXISTS ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
64 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
65 ; GTK+ Section Prompts |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
66 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_INSTALL_ERROR ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
67 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_BAD_INSTALL_PATH ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
68 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
69 ; GTK+ Themes section |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
70 !insertmacro GAIM_MACRO_LANGSTRING_INSERT GTK_NO_THEME_INSTALL_RIGHTS ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
71 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
72 ; Uninstall Section Prompts |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
73 !insertmacro GAIM_MACRO_LANGSTRING_INSERT un.GAIM_UNINSTALL_ERROR_1 ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
74 !insertmacro GAIM_MACRO_LANGSTRING_INSERT un.GAIM_UNINSTALL_ERROR_2 ${CUR_LANG} |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
75 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
76 !undef CUR_LANG |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
77 !macroend |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
78 |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
79 !macro GAIM_MACRO_INCLUDE_LANGFILE LANG FILE |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
80 !insertmacro GAIM_MACRO_LANGUAGEFILE_BEGIN "${LANG}" |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
81 !include "${FILE}" |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
82 !insertmacro GAIM_MACRO_LANGUAGEFILE_END |
0ada95df88ec
[gaim-migrate @ 8187]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
83 !macroend |