ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/user_strings.cpp
Revision: 1.2
Committed: 1999-10-12T20:00:47Z (25 years, 1 month ago) by cebix
Branch: MAIN
Changes since 1.1: +23 -96 lines
Log Message:
- disk insertions are now checked for by the 60Hz interrupt routine
- localizable strings are split into a common and a platform-specific set
- fixed bug in CR->LF translation in AmigaOS/clip_amiga.cpp

File Contents

# Content
1 /*
2 * user_strings.cpp - Common 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 /*
22 * NOTES:
23 *
24 * This should only be used for user-interface related messages that must be
25 * translated or transcibed for localized versions of Basilisk.
26 * It should NOT be used for:
27 * - file names
28 * - names of threads, areas, ports, semaphores, drivers, views and other "invisible" names
29 * - debugging messages
30 * - error messages that only go to the shell ("FATAL"/"WARNING", those are really debugging messages)
31 */
32
33 #include "sysdeps.h"
34 #include "user_strings.h"
35
36 #ifdef __BEOS__
37 #define ELLIPSIS "\xE2\x80\xA6"
38 #else
39 #define ELLIPSIS "..."
40 #endif
41
42
43 // Common string definitions
44 user_string_def common_strings[] = {
45 {STR_ABOUT_TEXT1, "Basilisk II V%d.%d"},
46 {STR_ABOUT_TEXT2, "by Christian Bauer et al."},
47 {STR_READING_ROM_FILE, "Reading ROM file...\n"},
48 {STR_SHELL_ERROR_PREFIX, "ERROR: %s\n"},
49 {STR_GUI_ERROR_PREFIX, "Basilisk II error:\n%s"},
50 {STR_ERROR_ALERT_TITLE, "Basilisk II Error"},
51 {STR_SHELL_WARNING_PREFIX, "WARNING: %s\n"},
52 {STR_GUI_WARNING_PREFIX, "Basilisk II warning:\n%s"},
53 {STR_WARNING_ALERT_TITLE, "Basilisk II Warning"},
54 {STR_NOTICE_ALERT_TITLE, "Basilisk II Notice"},
55 {STR_ABOUT_TITLE, "About Basilisk II"},
56 {STR_OK_BUTTON, "OK"},
57 {STR_START_BUTTON, "Start"},
58 {STR_QUIT_BUTTON, "Quit"},
59 {STR_CANCEL_BUTTON, "Cancel"},
60
61 {STR_NO_MEM_ERR, "Not enough free memory."},
62 {STR_NOT_ENOUGH_MEMORY_ERR, "Your computer does not have enough memory to run Basilisk II."},
63 {STR_NO_RAM_AREA_ERR, "Not enough memory to create RAM area."},
64 {STR_NO_ROM_AREA_ERR, "Not enough memory to create ROM area."},
65 {STR_NO_ROM_FILE_ERR, "Cannot open ROM file."},
66 {STR_ROM_FILE_READ_ERR, "Cannot read ROM file."},
67 {STR_ROM_SIZE_ERR, "Invalid ROM file size. Basilisk II requires a 512K or 1MB MacII ROM."},
68 {STR_UNSUPPORTED_ROM_TYPE_ERR, "Unsupported ROM type."},
69 {STR_OPEN_WINDOW_ERR, "Cannot open Mac window."},
70 {STR_OPEN_SCREEN_ERR, "Cannot open Mac screen."},
71 {STR_SCSI_BUFFER_ERR, "Cannot allocate SCSI buffer (requested %d bytes). Giving up."},
72 {STR_SCSI_SG_FULL_ERR, "SCSI scatter/gather table full. Giving up."},
73
74 {STR_SMALL_RAM_WARN, "Selected less than 1MB Mac RAM, using 1MB."},
75 {STR_CREATE_VOLUME_WARN, "Cannot create hardfile (%s)."},
76 {STR_VOLUME_IS_MOUNTED_WARN, "The volume '%s' is mounted. Basilisk II will try to unmount it."},
77 {STR_CANNOT_UNMOUNT_WARN, "The volume '%s' could not be unmounted. Basilisk II will not use it."},
78
79 {STR_PREFS_TITLE, "Basilisk II Settings"},
80 {STR_PREFS_MENU, "Settings"},
81 {STR_PREFS_ITEM_ABOUT, "About Basilisk II" ELLIPSIS},
82 {STR_PREFS_ITEM_START, "Start Basilisk II"},
83 {STR_PREFS_ITEM_ZAP_PRAM, "Zap PRAM File"},
84 {STR_PREFS_ITEM_QUIT, "Quit Basilisk II"},
85
86 {STR_NONE_LAB, "<none>"},
87
88 {STR_VOLUMES_PANE_TITLE, "Volumes"},
89 {STR_VOLUMES_CTRL, "Mac Volumes"},
90 {STR_ADD_VOLUME_BUTTON, "Add" ELLIPSIS},
91 {STR_CREATE_VOLUME_BUTTON, "Create" ELLIPSIS},
92 {STR_EDIT_VOLUME_BUTTON, "Edit" ELLIPSIS},
93 {STR_REMOVE_VOLUME_BUTTON, "Remove"},
94 {STR_ADD_VOLUME_PANEL_BUTTON, "Add"},
95 {STR_CREATE_VOLUME_PANEL_BUTTON, "Create"},
96 {STR_CDROM_DRIVE_CTRL, "CD-ROM Drive"},
97 {STR_BOOTDRIVER_CTRL, "Boot From"},
98 {STR_BOOT_ANY_LAB, "Any"},
99 {STR_BOOT_CDROM_LAB, "CD-ROM"},
100 {STR_NOCDROM_CTRL, "Disable CD-ROM Driver"},
101 {STR_DEVICE_CTRL, "Device"},
102 {STR_UNIT_CTRL, "Unit"},
103 {STR_ADD_VOLUME_TITLE, "Add Volume"},
104 {STR_CREATE_VOLUME_TITLE, "Create Hardfile"},
105 {STR_EDIT_VOLUME_TITLE, "Edit Volume"},
106 {STR_HARDFILE_SIZE_CTRL, "Size (MB)"},
107 {STR_VOL_READONLY_CTRL, "Read-Only"},
108 {STR_VOL_TYPE_CTRL, "Type"},
109 {STR_VOL_FILE_LAB, "File"},
110 {STR_VOL_DEVICE_LAB, "Device"},
111 {STR_VOL_OPENFLAGS_CTRL, "Open Flags"},
112 {STR_VOL_STARTBLOCK_CTRL, "Start Block"},
113 {STR_VOL_SIZE_CTRL, "Size (Blocks)"},
114 {STR_VOL_BLOCKSIZE_CTRL, "Block Size"},
115 {STR_VOL_FILE_CTRL, "File"},
116
117 {STR_SCSI_PANE_TITLE, "SCSI"},
118 {STR_SCSI_ID_0, "ID 0"},
119 {STR_SCSI_ID_1, "ID 1"},
120 {STR_SCSI_ID_2, "ID 2"},
121 {STR_SCSI_ID_3, "ID 3"},
122 {STR_SCSI_ID_4, "ID 4"},
123 {STR_SCSI_ID_5, "ID 5"},
124 {STR_SCSI_ID_6, "ID 6"},
125
126 {STR_GRAPHICS_SOUND_PANE_TITLE, "Graphics/Sound"},
127 {STR_GRAPHICS_CTRL, "Graphics"},
128 {STR_VIDEO_TYPE_CTRL, "Video Type"},
129 {STR_WINDOW_LAB, "Window"},
130 {STR_FULLSCREEN_LAB, "Fullscreen"},
131 {STR_PIP_LAB, "PIP"},
132 {STR_FRAMESKIP_CTRL, "Window Refresh Rate"},
133 {STR_REF_5HZ_LAB, "5 Hz"},
134 {STR_REF_7_5HZ_LAB, "7.5 Hz"},
135 {STR_REF_10HZ_LAB, "10 Hz"},
136 {STR_REF_15HZ_LAB, "15 Hz"},
137 {STR_REF_30HZ_LAB, "30 Hz"},
138 {STR_REF_60HZ_LAB, "60 Hz"},
139 {STR_DISPLAY_X_CTRL, "Width"},
140 {STR_DISPLAY_Y_CTRL, "Height"},
141 {STR_SIZE_384_LAB, "384"},
142 {STR_SIZE_480_LAB, "480"},
143 {STR_SIZE_512_LAB, "512"},
144 {STR_SIZE_600_LAB, "600"},
145 {STR_SIZE_640_LAB, "640"},
146 {STR_SIZE_768_LAB, "768"},
147 {STR_SIZE_800_LAB, "800"},
148 {STR_SIZE_1024_LAB, "1024"},
149 {STR_SIZE_MAX_LAB, "Maximum"},
150 {STR_COLOR_DEPTH_CTRL, "Color Depth"},
151 {STR_1_BIT_LAB, "B/W (1 Bit)"},
152 {STR_2_BIT_LAB, "4 (2 Bit)"},
153 {STR_4_BIT_LAB, "16 (4 Bit)"},
154 {STR_8_BIT_LAB, "256 (8 Bit)"},
155 {STR_15_BIT_LAB, "Thousands (15 Bit)"},
156 {STR_24_BIT_LAB, "Millions (24 Bit)"},
157 {STR_SCREEN_MODE_CTRL, "Screen Mode"},
158 {STR_8_BIT_640x480_LAB, "640x480, 8 Bit"},
159 {STR_8_BIT_800x600_LAB, "800x600, 8 Bit"},
160 {STR_8_BIT_1024x768_LAB, "1024x768, 8 Bit"},
161 {STR_8_BIT_1152x900_LAB, "1152x900, 8 Bit"},
162 {STR_8_BIT_1280x1024_LAB, "1280x1024, 8 Bit"},
163 {STR_8_BIT_1600x1200_LAB, "1600x1200, 8 Bit"},
164 {STR_15_BIT_640x480_LAB, "640x480, 15 Bit"},
165 {STR_15_BIT_800x600_LAB, "800x600, 15 Bit"},
166 {STR_15_BIT_1024x768_LAB, "1024x768, 15 Bit"},
167 {STR_15_BIT_1152x900_LAB, "1152x900, 15 Bit"},
168 {STR_15_BIT_1280x1024_LAB, "1280x1024, 15 Bit"},
169 {STR_15_BIT_1600x1200_LAB, "1600x1200, 15 Bit"},
170 {STR_24_BIT_640x480_LAB, "640x480, 24 Bit"},
171 {STR_24_BIT_800x600_LAB, "800x600, 24 Bit"},
172 {STR_24_BIT_1024x768_LAB, "1024x768, 24 Bit"},
173 {STR_24_BIT_1152x900_LAB, "1152x900, 24 Bit"},
174 {STR_24_BIT_1280x1024_LAB, "1280x1024, 24 Bit"},
175 {STR_24_BIT_1600x1200_LAB, "1600x1200, 24 Bit"},
176 {STR_SOUND_CTRL, "Sound"},
177 {STR_AHI_MODE_CTRL, "AHI Mode"},
178 {STR_NOSOUND_CTRL, "Disable Sound Output"},
179
180 {STR_SERIAL_NETWORK_PANE_TITLE, "Serial/Network"},
181 {STR_SERIALA_CTRL, "Modem Port"},
182 {STR_SERIALB_CTRL, "Printer Port"},
183 {STR_ISPAR_CTRL, "Parallel Device"},
184 {STR_ETHER_ENABLE_CTRL, "Enable Ethernet"},
185 {STR_ETHERNET_IF_CTRL, "Ethernet Interface"},
186
187 {STR_MEMORY_MISC_PANE_TITLE, "Memory/Misc"},
188 {STR_RAMSIZE_SLIDER, "MacOS RAM Size:"},
189 {STR_RAMSIZE_FMT, "%ld MB"},
190 {STR_MODELID_CTRL, "Mac Model ID"},
191 {STR_MODELID_5_LAB, "Mac IIci (MacOS 7.x)"},
192 {STR_MODELID_14_LAB, "Quadra 900 (MacOS 8.x)"},
193 {STR_ROM_FILE_CTRL, "ROM File"},
194 {STR_KEYCODES_CTRL, "Use Raw Keycodes"},
195 {STR_KEYCODE_FILE_CTRL, "Keycode Translation File"},
196
197 {STR_WINDOW_TITLE, "Basilisk II"},
198 {STR_WINDOW_TITLE_FROZEN, "Basilisk II *** FROZEN ***"},
199 {STR_WINDOW_MENU, "Basilisk II"},
200 {STR_WINDOW_ITEM_ABOUT, "About Basilisk II" ELLIPSIS},
201 {STR_WINDOW_ITEM_REFRESH, "Refresh Rate"},
202 {STR_WINDOW_ITEM_MOUNT, "Mount"},
203 {STR_SUSPEND_WINDOW_TITLE, "Basilisk II suspended. Press space to reactivate."},
204
205 {-1, NULL} // End marker
206 };