1 |
|
/* |
2 |
|
* user_strings.h - Localizable strings |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2001 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 |
21 |
|
#ifndef USER_STRINGS_H |
22 |
|
#define USER_STRINGS_H |
23 |
|
|
24 |
< |
// String numbers |
24 |
> |
// Common string numbers |
25 |
|
enum { |
26 |
|
// General messages |
27 |
|
STR_ABOUT_TEXT1 = 0, |
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, |
67 |
|
STR_PREFS_ITEM_START, |
68 |
|
STR_PREFS_ITEM_ZAP_PRAM, |
69 |
|
STR_PREFS_ITEM_QUIT, |
70 |
< |
STR_PREFS_MENU_FILE_GTK = 3040, |
71 |
< |
STR_PREFS_ITEM_START_GTK, |
70 |
< |
STR_PREFS_ITEM_ZAP_PRAM_GTK, |
71 |
< |
STR_PREFS_ITEM_SEPL_GTK, |
72 |
< |
STR_PREFS_ITEM_QUIT_GTK, |
73 |
< |
STR_HELP_MENU_GTK, |
74 |
< |
STR_HELP_ITEM_ABOUT_GTK, |
70 |
> |
|
71 |
> |
STR_NONE_LAB = 3100, |
72 |
|
|
73 |
|
STR_VOLUMES_PANE_TITLE = 3200, // Volumes pane |
74 |
|
STR_VOLUMES_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, |
122 |
|
STR_REF_15HZ_LAB, |
123 |
|
STR_REF_30HZ_LAB, |
124 |
|
STR_REF_60HZ_LAB, |
125 |
+ |
STR_REF_DYNAMIC_LAB, |
126 |
|
STR_DISPLAY_X_CTRL, |
127 |
|
STR_DISPLAY_Y_CTRL, |
128 |
+ |
STR_SIZE_384_LAB, |
129 |
+ |
STR_SIZE_480_LAB, |
130 |
+ |
STR_SIZE_512_LAB, |
131 |
+ |
STR_SIZE_600_LAB, |
132 |
+ |
STR_SIZE_640_LAB, |
133 |
+ |
STR_SIZE_768_LAB, |
134 |
+ |
STR_SIZE_800_LAB, |
135 |
+ |
STR_SIZE_1024_LAB, |
136 |
+ |
STR_SIZE_MAX_LAB, |
137 |
|
STR_COLOR_DEPTH_CTRL, |
138 |
|
STR_1_BIT_LAB, |
139 |
|
STR_2_BIT_LAB, |
161 |
|
STR_24_BIT_1280x1024_LAB, |
162 |
|
STR_24_BIT_1600x1200_LAB, |
163 |
|
STR_SOUND_CTRL, |
156 |
– |
STR_AHI_MODE_CTRL, |
164 |
|
STR_NOSOUND_CTRL, |
165 |
|
|
166 |
|
STR_SERIAL_NETWORK_PANE_TITLE = 3500, // Serial/Networking pane |
176 |
|
STR_MODELID_CTRL, |
177 |
|
STR_MODELID_5_LAB, |
178 |
|
STR_MODELID_14_LAB, |
179 |
+ |
STR_CPU_CTRL, |
180 |
+ |
STR_CPU_68020_LAB, |
181 |
+ |
STR_CPU_68020_FPU_LAB, |
182 |
+ |
STR_CPU_68030_LAB, |
183 |
+ |
STR_CPU_68030_FPU_LAB, |
184 |
+ |
STR_CPU_68040_LAB, |
185 |
|
STR_ROM_FILE_CTRL, |
173 |
– |
STR_KEYCODES_CTRL, |
174 |
– |
STR_KEYCODE_FILE_CTRL, |
186 |
|
|
187 |
|
// Mac window |
188 |
|
STR_WINDOW_TITLE = 4000, |
193 |
|
STR_WINDOW_ITEM_MOUNT, |
194 |
|
STR_SUSPEND_WINDOW_TITLE, |
195 |
|
|
196 |
< |
// BeOS specific messages |
197 |
< |
STR_NO_SHEEP_DRIVER_ERR = 10000, |
198 |
< |
STR_SHEEP_UP_ERR, |
199 |
< |
STR_NO_KERNEL_DATA_ERR, |
200 |
< |
STR_VOLUME_IS_MOUNTED_WARN, |
201 |
< |
STR_CANNOT_UNMOUNT_WARN, |
202 |
< |
STR_NO_NET_ADDON_WARN, |
203 |
< |
STR_NET_CONFIG_MODIFY_WARN, |
204 |
< |
STR_NET_ADDON_INIT_FAILED, |
194 |
< |
STR_NET_ADDON_CLONE_FAILED, |
195 |
< |
|
196 |
< |
// Unix specific messages |
197 |
< |
STR_NO_XSERVER_ERR = 11000, |
198 |
< |
STR_NO_XVISUAL_ERR, |
199 |
< |
STR_UNSUPP_DEPTH_ERR, |
200 |
< |
STR_NO_SHEEP_NET_DRIVER_WARN, |
201 |
< |
STR_SHEEP_NET_ATTACH_WARN, |
202 |
< |
STR_SCSI_DEVICE_OPEN_WARN, |
203 |
< |
STR_SCSI_DEVICE_NOT_SCSI_WARN, |
204 |
< |
STR_NO_AUDIO_DEV_WARN, |
205 |
< |
STR_AUDIO_FORMAT_WARN, |
206 |
< |
STR_KEYCODE_FILE_WARN, |
207 |
< |
STR_KEYCODE_VENDOR_WARN, |
208 |
< |
|
209 |
< |
// AmigaOS specific messages |
210 |
< |
STR_NO_PREPARE_EMUL_ERR = 12000, |
211 |
< |
STR_NO_GADTOOLS_LIB_ERR, |
212 |
< |
STR_NO_ASL_LIB_ERR, |
213 |
< |
STR_NO_TIMER_DEV_ERR, |
214 |
< |
STR_NO_P96_MODE_ERR, |
215 |
< |
STR_WRONG_SCREEN_DEPTH_ERR, |
216 |
< |
STR_WRONG_SCREEN_FORMAT_ERR, |
217 |
< |
STR_NOT_ETHERNET_WARN, |
218 |
< |
STR_NO_MULTICAST_WARN, |
219 |
< |
STR_NO_GTLAYOUT_LIB_WARN, |
220 |
< |
STR_NO_AHI_WARN, |
221 |
< |
STR_NO_AHI_CTRL_WARN |
196 |
> |
// External file system |
197 |
> |
STR_EXTFS_NAME = 5000, |
198 |
> |
STR_EXTFS_VOLUME_NAME |
199 |
> |
}; |
200 |
> |
|
201 |
> |
// Common and platform-specific string definitions |
202 |
> |
struct user_string_def { |
203 |
> |
int num; |
204 |
> |
const char *str; |
205 |
|
}; |
206 |
|
|
207 |
< |
extern char *GetString(int num); |
207 |
> |
extern user_string_def common_strings[]; |
208 |
> |
extern user_string_def platform_strings[]; |
209 |
> |
|
210 |
> |
// Fetch pointer to string, given the string number |
211 |
> |
extern const char *GetString(int num); |
212 |
|
|
213 |
|
#endif |