1 |
/* |
2 |
* user_strings.h - Localizable strings |
3 |
* |
4 |
* Basilisk II (C) 1997-1999 Christian Bauer |
5 |
* |
6 |
* This program is free software; you can redistribute it and/or modify |
7 |
* it under the terms of the GNU General Public License as published by |
8 |
* the Free Software Foundation; either version 2 of the License, or |
9 |
* (at your option) any later version. |
10 |
* |
11 |
* This program is distributed in the hope that it will be useful, |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
* GNU General Public License for more details. |
15 |
* |
16 |
* You should have received a copy of the GNU General Public License |
17 |
* along with this program; if not, write to the Free Software |
18 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 |
*/ |
20 |
|
21 |
#ifndef USER_STRINGS_H |
22 |
#define USER_STRINGS_H |
23 |
|
24 |
// Common string numbers |
25 |
enum { |
26 |
// General messages |
27 |
STR_ABOUT_TEXT1 = 0, |
28 |
STR_ABOUT_TEXT2, |
29 |
STR_READING_ROM_FILE, |
30 |
STR_SHELL_ERROR_PREFIX, |
31 |
STR_GUI_ERROR_PREFIX, |
32 |
STR_ERROR_ALERT_TITLE, |
33 |
STR_SHELL_WARNING_PREFIX, |
34 |
STR_GUI_WARNING_PREFIX, |
35 |
STR_WARNING_ALERT_TITLE, |
36 |
STR_NOTICE_ALERT_TITLE, |
37 |
STR_ABOUT_TITLE, |
38 |
STR_OK_BUTTON, |
39 |
STR_START_BUTTON, |
40 |
STR_QUIT_BUTTON, |
41 |
STR_CANCEL_BUTTON, |
42 |
|
43 |
// Error messages |
44 |
STR_NO_MEM_ERR = 1000, |
45 |
STR_NOT_ENOUGH_MEMORY_ERR, |
46 |
STR_NO_RAM_AREA_ERR, |
47 |
STR_NO_ROM_AREA_ERR, |
48 |
STR_NO_ROM_FILE_ERR, |
49 |
STR_ROM_FILE_READ_ERR, |
50 |
STR_ROM_SIZE_ERR, |
51 |
STR_UNSUPPORTED_ROM_TYPE_ERR, |
52 |
STR_OPEN_WINDOW_ERR, |
53 |
STR_OPEN_SCREEN_ERR, |
54 |
STR_SCSI_BUFFER_ERR, |
55 |
STR_SCSI_SG_FULL_ERR, |
56 |
|
57 |
// Warning messages |
58 |
STR_SMALL_RAM_WARN = 2000, |
59 |
STR_CREATE_VOLUME_WARN, |
60 |
STR_VOLUME_IS_MOUNTED_WARN, |
61 |
STR_CANNOT_UNMOUNT_WARN, |
62 |
|
63 |
// Preferences window |
64 |
STR_PREFS_TITLE = 3000, |
65 |
STR_PREFS_MENU = 3020, |
66 |
STR_PREFS_ITEM_ABOUT, |
67 |
STR_PREFS_ITEM_START, |
68 |
STR_PREFS_ITEM_ZAP_PRAM, |
69 |
STR_PREFS_ITEM_QUIT, |
70 |
|
71 |
STR_NONE_LAB = 3100, |
72 |
|
73 |
STR_VOLUMES_PANE_TITLE = 3200, // Volumes pane |
74 |
STR_VOLUMES_CTRL, |
75 |
STR_ADD_VOLUME_BUTTON, |
76 |
STR_CREATE_VOLUME_BUTTON, |
77 |
STR_EDIT_VOLUME_BUTTON, |
78 |
STR_REMOVE_VOLUME_BUTTON, |
79 |
STR_ADD_VOLUME_PANEL_BUTTON, |
80 |
STR_CREATE_VOLUME_PANEL_BUTTON, |
81 |
STR_CDROM_DRIVE_CTRL, |
82 |
STR_BOOTDRIVER_CTRL, |
83 |
STR_BOOT_ANY_LAB, |
84 |
STR_BOOT_CDROM_LAB, |
85 |
STR_NOCDROM_CTRL, |
86 |
STR_EXTFS_CTRL, |
87 |
STR_DEVICE_CTRL, |
88 |
STR_UNIT_CTRL, |
89 |
STR_ADD_VOLUME_TITLE, |
90 |
STR_CREATE_VOLUME_TITLE, |
91 |
STR_EDIT_VOLUME_TITLE, |
92 |
STR_HARDFILE_SIZE_CTRL, |
93 |
STR_VOL_READONLY_CTRL, |
94 |
STR_VOL_TYPE_CTRL, |
95 |
STR_VOL_FILE_LAB, |
96 |
STR_VOL_DEVICE_LAB, |
97 |
STR_VOL_OPENFLAGS_CTRL, |
98 |
STR_VOL_STARTBLOCK_CTRL, |
99 |
STR_VOL_SIZE_CTRL, |
100 |
STR_VOL_BLOCKSIZE_CTRL, |
101 |
STR_VOL_FILE_CTRL, |
102 |
|
103 |
STR_SCSI_PANE_TITLE = 3300, // SCSI pane |
104 |
STR_SCSI_ID_0 = 3301, |
105 |
STR_SCSI_ID_1 = 3302, |
106 |
STR_SCSI_ID_2 = 3303, |
107 |
STR_SCSI_ID_3 = 3304, |
108 |
STR_SCSI_ID_4 = 3305, |
109 |
STR_SCSI_ID_5 = 3306, |
110 |
STR_SCSI_ID_6 = 3307, |
111 |
|
112 |
STR_GRAPHICS_SOUND_PANE_TITLE = 3400, // Graphics/Sound pane |
113 |
STR_GRAPHICS_CTRL, |
114 |
STR_VIDEO_TYPE_CTRL, |
115 |
STR_WINDOW_LAB, |
116 |
STR_FULLSCREEN_LAB, |
117 |
STR_PIP_LAB, |
118 |
STR_FRAMESKIP_CTRL, |
119 |
STR_REF_5HZ_LAB, |
120 |
STR_REF_7_5HZ_LAB, |
121 |
STR_REF_10HZ_LAB, |
122 |
STR_REF_15HZ_LAB, |
123 |
STR_REF_30HZ_LAB, |
124 |
STR_REF_60HZ_LAB, |
125 |
STR_DISPLAY_X_CTRL, |
126 |
STR_DISPLAY_Y_CTRL, |
127 |
STR_SIZE_384_LAB, |
128 |
STR_SIZE_480_LAB, |
129 |
STR_SIZE_512_LAB, |
130 |
STR_SIZE_600_LAB, |
131 |
STR_SIZE_640_LAB, |
132 |
STR_SIZE_768_LAB, |
133 |
STR_SIZE_800_LAB, |
134 |
STR_SIZE_1024_LAB, |
135 |
STR_SIZE_MAX_LAB, |
136 |
STR_COLOR_DEPTH_CTRL, |
137 |
STR_1_BIT_LAB, |
138 |
STR_2_BIT_LAB, |
139 |
STR_4_BIT_LAB, |
140 |
STR_8_BIT_LAB, |
141 |
STR_15_BIT_LAB, |
142 |
STR_24_BIT_LAB, |
143 |
STR_SCREEN_MODE_CTRL, |
144 |
STR_8_BIT_640x480_LAB, |
145 |
STR_8_BIT_800x600_LAB, |
146 |
STR_8_BIT_1024x768_LAB, |
147 |
STR_8_BIT_1152x900_LAB, |
148 |
STR_8_BIT_1280x1024_LAB, |
149 |
STR_8_BIT_1600x1200_LAB, |
150 |
STR_15_BIT_640x480_LAB, |
151 |
STR_15_BIT_800x600_LAB, |
152 |
STR_15_BIT_1024x768_LAB, |
153 |
STR_15_BIT_1152x900_LAB, |
154 |
STR_15_BIT_1280x1024_LAB, |
155 |
STR_15_BIT_1600x1200_LAB, |
156 |
STR_24_BIT_640x480_LAB, |
157 |
STR_24_BIT_800x600_LAB, |
158 |
STR_24_BIT_1024x768_LAB, |
159 |
STR_24_BIT_1152x900_LAB, |
160 |
STR_24_BIT_1280x1024_LAB, |
161 |
STR_24_BIT_1600x1200_LAB, |
162 |
STR_SOUND_CTRL, |
163 |
STR_NOSOUND_CTRL, |
164 |
|
165 |
STR_SERIAL_NETWORK_PANE_TITLE = 3500, // Serial/Networking pane |
166 |
STR_SERIALA_CTRL, |
167 |
STR_SERIALB_CTRL, |
168 |
STR_ISPAR_CTRL, |
169 |
STR_ETHER_ENABLE_CTRL, |
170 |
STR_ETHERNET_IF_CTRL, |
171 |
|
172 |
STR_MEMORY_MISC_PANE_TITLE = 3600, // Memory/Misc pane |
173 |
STR_RAMSIZE_SLIDER, |
174 |
STR_RAMSIZE_FMT, |
175 |
STR_MODELID_CTRL, |
176 |
STR_MODELID_5_LAB, |
177 |
STR_MODELID_14_LAB, |
178 |
STR_CPU_CTRL, |
179 |
STR_CPU_68020_LAB, |
180 |
STR_CPU_68020_FPU_LAB, |
181 |
STR_CPU_68030_LAB, |
182 |
STR_CPU_68030_FPU_LAB, |
183 |
STR_CPU_68040_LAB, |
184 |
STR_ROM_FILE_CTRL, |
185 |
|
186 |
// Mac window |
187 |
STR_WINDOW_TITLE = 4000, |
188 |
STR_WINDOW_TITLE_FROZEN, |
189 |
STR_WINDOW_MENU = 4050, |
190 |
STR_WINDOW_ITEM_ABOUT, |
191 |
STR_WINDOW_ITEM_REFRESH, |
192 |
STR_WINDOW_ITEM_MOUNT, |
193 |
STR_SUSPEND_WINDOW_TITLE, |
194 |
|
195 |
// External file system |
196 |
STR_EXTFS_NAME = 5000, |
197 |
STR_EXTFS_VOLUME_NAME |
198 |
}; |
199 |
|
200 |
// Common and platform-specific string definitions |
201 |
struct user_string_def { |
202 |
int num; |
203 |
const char *str; |
204 |
}; |
205 |
|
206 |
extern user_string_def common_strings[]; |
207 |
extern user_string_def platform_strings[]; |
208 |
|
209 |
// Fetch pointer to string, given the string number |
210 |
extern const char *GetString(int num); |
211 |
|
212 |
#endif |