1 |
/* |
2 |
* user_strings.h - Localizable strings |
3 |
* |
4 |
* SheepShaver (C) 1997-2005 Christian Bauer and Marc Hellwig |
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 |
STR_IGNORE_BUTTON, |
43 |
|
44 |
// Error messages |
45 |
STR_NOT_ENOUGH_MEMORY_ERR = 1000, |
46 |
STR_NO_KERNEL_DATA_ERR, |
47 |
STR_NO_RAM_AREA_ERR, |
48 |
STR_NO_ROM_FILE_ERR, |
49 |
STR_RAM_HIGHER_THAN_ROM_ERR, |
50 |
STR_ROM_FILE_READ_ERR, |
51 |
STR_ROM_SIZE_ERR, |
52 |
STR_UNSUPPORTED_ROM_TYPE_ERR, |
53 |
STR_POWER_INSTRUCTION_ERR, |
54 |
STR_MEM_ACCESS_ERR, |
55 |
STR_MEM_ACCESS_READ, |
56 |
STR_MEM_ACCESS_WRITE, |
57 |
STR_UNKNOWN_SEGV_ERR, |
58 |
STR_NO_NAME_REGISTRY_ERR, |
59 |
STR_FULL_SCREEN_ERR, |
60 |
STR_SCSI_BUFFER_ERR, |
61 |
STR_SCSI_SG_FULL_ERR, |
62 |
|
63 |
// Warning messages |
64 |
STR_SMALL_RAM_WARN = 2000, |
65 |
STR_VOLUME_IS_MOUNTED_WARN, |
66 |
STR_CANNOT_UNMOUNT_WARN, |
67 |
STR_CREATE_VOLUME_WARN, |
68 |
|
69 |
// Preferences window |
70 |
STR_PREFS_TITLE = 3000, |
71 |
STR_PREFS_MENU = 3020, |
72 |
STR_PREFS_ITEM_ABOUT, |
73 |
STR_PREFS_ITEM_START, |
74 |
STR_PREFS_ITEM_ZAP_PRAM, |
75 |
STR_PREFS_ITEM_QUIT, |
76 |
|
77 |
STR_NONE_LAB = 3100, |
78 |
|
79 |
// Volumes pane |
80 |
STR_VOLUMES_PANE_TITLE = 3200, |
81 |
STR_ADD_VOLUME_BUTTON, |
82 |
STR_CREATE_VOLUME_BUTTON, |
83 |
STR_REMOVE_VOLUME_BUTTON, |
84 |
STR_ADD_VOLUME_PANEL_BUTTON, |
85 |
STR_CREATE_VOLUME_PANEL_BUTTON, |
86 |
STR_BOOTDRIVER_CTRL, |
87 |
STR_BOOT_ANY_LAB, |
88 |
STR_BOOT_CDROM_LAB, |
89 |
STR_NOCDROM_CTRL, |
90 |
STR_EXTFS_CTRL, |
91 |
STR_ADD_VOLUME_TITLE, |
92 |
STR_CREATE_VOLUME_TITLE, |
93 |
STR_HARDFILE_SIZE_CTRL, |
94 |
|
95 |
// Graphics pane |
96 |
STR_GRAPHICS_SOUND_PANE_TITLE = 3300, |
97 |
STR_FRAMESKIP_CTRL, |
98 |
STR_REF_5HZ_LAB, |
99 |
STR_REF_7_5HZ_LAB, |
100 |
STR_REF_10HZ_LAB, |
101 |
STR_REF_15HZ_LAB, |
102 |
STR_REF_30HZ_LAB, |
103 |
STR_REF_60HZ_LAB, |
104 |
STR_REF_DYNAMIC_LAB, |
105 |
STR_GFXACCEL_CTRL, |
106 |
STR_8_BIT_CTRL, |
107 |
STR_16_BIT_CTRL, |
108 |
STR_32_BIT_CTRL, |
109 |
STR_W_640x480_CTRL, |
110 |
STR_W_800x600_CTRL, |
111 |
STR_640x480_CTRL, |
112 |
STR_800x600_CTRL, |
113 |
STR_1024x768_CTRL, |
114 |
STR_1152x768_CTRL, |
115 |
STR_1152x900_CTRL, |
116 |
STR_1280x1024_CTRL, |
117 |
STR_1600x1200_CTRL, |
118 |
STR_VIDEO_MODE_CTRL, |
119 |
STR_FULLSCREEN_CTRL, |
120 |
STR_WINDOW_CTRL, |
121 |
STR_VIDEO_TYPE_CTRL, |
122 |
STR_DISPLAY_X_CTRL, |
123 |
STR_DISPLAY_Y_CTRL, |
124 |
STR_SIZE_384_LAB, |
125 |
STR_SIZE_480_LAB, |
126 |
STR_SIZE_512_LAB, |
127 |
STR_SIZE_600_LAB, |
128 |
STR_SIZE_640_LAB, |
129 |
STR_SIZE_768_LAB, |
130 |
STR_SIZE_800_LAB, |
131 |
STR_SIZE_1024_LAB, |
132 |
STR_SIZE_MAX_LAB, |
133 |
STR_NOSOUND_CTRL, |
134 |
|
135 |
// Serial/Network pane |
136 |
STR_SERIAL_NETWORK_PANE_TITLE = 3400, |
137 |
STR_SERPORTA_CTRL, |
138 |
STR_SERPORTB_CTRL, |
139 |
STR_NONET_CTRL, |
140 |
STR_ETHERNET_IF_CTRL, |
141 |
|
142 |
// Memory/Misc pane |
143 |
STR_MEMORY_MISC_PANE_TITLE = 3500, |
144 |
STR_RAMSIZE_CTRL, |
145 |
STR_RAMSIZE_4MB_LAB, |
146 |
STR_RAMSIZE_8MB_LAB, |
147 |
STR_RAMSIZE_16MB_LAB, |
148 |
STR_RAMSIZE_32MB_LAB, |
149 |
STR_RAMSIZE_64MB_LAB, |
150 |
STR_RAMSIZE_128MB_LAB, |
151 |
STR_RAMSIZE_256MB_LAB, |
152 |
STR_RAMSIZE_512MB_LAB, |
153 |
STR_RAMSIZE_SLIDER, |
154 |
STR_RAMSIZE_FMT, |
155 |
STR_IGNORESEGV_CTRL, |
156 |
STR_IDLEWAIT_CTRL, |
157 |
STR_ROM_FILE_CTRL, |
158 |
|
159 |
// JIT Compiler pane |
160 |
STR_JIT_PANE_TITLE = 3700, |
161 |
STR_JIT_CTRL, |
162 |
STR_JIT_68K_CTRL, |
163 |
|
164 |
// Mac window |
165 |
STR_WINDOW_TITLE = 4000, |
166 |
STR_WINDOW_TITLE_FROZEN, |
167 |
STR_WINDOW_MENU = 4050, |
168 |
STR_WINDOW_ITEM_ABOUT, |
169 |
STR_WINDOW_ITEM_REFRESH, |
170 |
STR_WINDOW_ITEM_MOUNT, |
171 |
|
172 |
// Audio |
173 |
STR_SOUND_IN_NAME = 6000, |
174 |
|
175 |
// External file system |
176 |
STR_EXTFS_NAME = 7000, |
177 |
STR_EXTFS_VOLUME_NAME |
178 |
}; |
179 |
|
180 |
// Common and platform-specific string definitions |
181 |
struct user_string_def { |
182 |
int num; |
183 |
const char *str; |
184 |
}; |
185 |
|
186 |
extern user_string_def common_strings[]; |
187 |
extern user_string_def platform_strings[]; |
188 |
|
189 |
// Fetch pointer to string, given the string number |
190 |
extern const char *GetString(int num); |
191 |
|
192 |
#endif |