ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/user_strings.cpp
Revision: 1.17
Committed: 2005-11-20T21:58:30Z (18 years, 11 months ago) by gbeauche
Branch: MAIN
CVS Tags: nigel-build-17
Changes since 1.16: +1 -1 lines
Log Message:
GUI cosmetics: translation cache size is expressed in Kilo Bytes (KB)

File Contents

# User Rev Content
1 cebix 1.1 /*
2 cebix 1.2 * user_strings.cpp - Common localizable strings
3 cebix 1.1 *
4 gbeauche 1.14 * Basilisk II (C) 1997-2005 Christian Bauer
5 cebix 1.1 *
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 cebix 1.2 #define ELLIPSIS "\xE2\x80\xA6"
38 cebix 1.1 #else
39 cebix 1.2 #define ELLIPSIS "..."
40 cebix 1.1 #endif
41    
42    
43 cebix 1.2 // Common string definitions
44     user_string_def common_strings[] = {
45 cebix 1.1 {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 cebix 1.2 {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 cebix 1.1
79     {STR_PREFS_TITLE, "Basilisk II Settings"},
80     {STR_PREFS_MENU, "Settings"},
81 cebix 1.2 {STR_PREFS_ITEM_ABOUT, "About Basilisk II" ELLIPSIS},
82 cebix 1.1 {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 cebix 1.2
86     {STR_NONE_LAB, "<none>"},
87 cebix 1.1
88     {STR_VOLUMES_PANE_TITLE, "Volumes"},
89     {STR_VOLUMES_CTRL, "Mac Volumes"},
90 cebix 1.2 {STR_ADD_VOLUME_BUTTON, "Add" ELLIPSIS},
91     {STR_CREATE_VOLUME_BUTTON, "Create" ELLIPSIS},
92     {STR_EDIT_VOLUME_BUTTON, "Edit" ELLIPSIS},
93 cebix 1.1 {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 cebix 1.3 {STR_EXTFS_CTRL, "Host Root"},
102 cebix 1.1 {STR_DEVICE_CTRL, "Device"},
103     {STR_UNIT_CTRL, "Unit"},
104     {STR_ADD_VOLUME_TITLE, "Add Volume"},
105     {STR_CREATE_VOLUME_TITLE, "Create Hardfile"},
106     {STR_EDIT_VOLUME_TITLE, "Edit Volume"},
107     {STR_HARDFILE_SIZE_CTRL, "Size (MB)"},
108     {STR_VOL_READONLY_CTRL, "Read-Only"},
109     {STR_VOL_TYPE_CTRL, "Type"},
110     {STR_VOL_FILE_LAB, "File"},
111     {STR_VOL_DEVICE_LAB, "Device"},
112     {STR_VOL_OPENFLAGS_CTRL, "Open Flags"},
113     {STR_VOL_STARTBLOCK_CTRL, "Start Block"},
114     {STR_VOL_SIZE_CTRL, "Size (Blocks)"},
115     {STR_VOL_BLOCKSIZE_CTRL, "Block Size"},
116     {STR_VOL_FILE_CTRL, "File"},
117    
118     {STR_SCSI_PANE_TITLE, "SCSI"},
119     {STR_SCSI_ID_0, "ID 0"},
120     {STR_SCSI_ID_1, "ID 1"},
121     {STR_SCSI_ID_2, "ID 2"},
122     {STR_SCSI_ID_3, "ID 3"},
123     {STR_SCSI_ID_4, "ID 4"},
124     {STR_SCSI_ID_5, "ID 5"},
125     {STR_SCSI_ID_6, "ID 6"},
126    
127     {STR_GRAPHICS_SOUND_PANE_TITLE, "Graphics/Sound"},
128     {STR_GRAPHICS_CTRL, "Graphics"},
129     {STR_VIDEO_TYPE_CTRL, "Video Type"},
130     {STR_WINDOW_LAB, "Window"},
131     {STR_FULLSCREEN_LAB, "Fullscreen"},
132     {STR_PIP_LAB, "PIP"},
133     {STR_FRAMESKIP_CTRL, "Window Refresh Rate"},
134     {STR_REF_5HZ_LAB, "5 Hz"},
135     {STR_REF_7_5HZ_LAB, "7.5 Hz"},
136     {STR_REF_10HZ_LAB, "10 Hz"},
137     {STR_REF_15HZ_LAB, "15 Hz"},
138     {STR_REF_30HZ_LAB, "30 Hz"},
139     {STR_REF_60HZ_LAB, "60 Hz"},
140 cebix 1.7 {STR_REF_DYNAMIC_LAB, "Dynamic"},
141 cebix 1.1 {STR_DISPLAY_X_CTRL, "Width"},
142     {STR_DISPLAY_Y_CTRL, "Height"},
143 cebix 1.2 {STR_SIZE_384_LAB, "384"},
144     {STR_SIZE_480_LAB, "480"},
145     {STR_SIZE_512_LAB, "512"},
146     {STR_SIZE_600_LAB, "600"},
147     {STR_SIZE_640_LAB, "640"},
148     {STR_SIZE_768_LAB, "768"},
149     {STR_SIZE_800_LAB, "800"},
150     {STR_SIZE_1024_LAB, "1024"},
151     {STR_SIZE_MAX_LAB, "Maximum"},
152 cebix 1.1 {STR_COLOR_DEPTH_CTRL, "Color Depth"},
153     {STR_1_BIT_LAB, "B/W (1 Bit)"},
154     {STR_2_BIT_LAB, "4 (2 Bit)"},
155     {STR_4_BIT_LAB, "16 (4 Bit)"},
156     {STR_8_BIT_LAB, "256 (8 Bit)"},
157     {STR_15_BIT_LAB, "Thousands (15 Bit)"},
158     {STR_24_BIT_LAB, "Millions (24 Bit)"},
159     {STR_SCREEN_MODE_CTRL, "Screen Mode"},
160     {STR_8_BIT_640x480_LAB, "640x480, 8 Bit"},
161     {STR_8_BIT_800x600_LAB, "800x600, 8 Bit"},
162     {STR_8_BIT_1024x768_LAB, "1024x768, 8 Bit"},
163     {STR_8_BIT_1152x900_LAB, "1152x900, 8 Bit"},
164     {STR_8_BIT_1280x1024_LAB, "1280x1024, 8 Bit"},
165     {STR_8_BIT_1600x1200_LAB, "1600x1200, 8 Bit"},
166     {STR_15_BIT_640x480_LAB, "640x480, 15 Bit"},
167     {STR_15_BIT_800x600_LAB, "800x600, 15 Bit"},
168     {STR_15_BIT_1024x768_LAB, "1024x768, 15 Bit"},
169     {STR_15_BIT_1152x900_LAB, "1152x900, 15 Bit"},
170     {STR_15_BIT_1280x1024_LAB, "1280x1024, 15 Bit"},
171     {STR_15_BIT_1600x1200_LAB, "1600x1200, 15 Bit"},
172     {STR_24_BIT_640x480_LAB, "640x480, 24 Bit"},
173     {STR_24_BIT_800x600_LAB, "800x600, 24 Bit"},
174     {STR_24_BIT_1024x768_LAB, "1024x768, 24 Bit"},
175     {STR_24_BIT_1152x900_LAB, "1152x900, 24 Bit"},
176     {STR_24_BIT_1280x1024_LAB, "1280x1024, 24 Bit"},
177     {STR_24_BIT_1600x1200_LAB, "1600x1200, 24 Bit"},
178     {STR_SOUND_CTRL, "Sound"},
179     {STR_NOSOUND_CTRL, "Disable Sound Output"},
180    
181     {STR_SERIAL_NETWORK_PANE_TITLE, "Serial/Network"},
182     {STR_SERIALA_CTRL, "Modem Port"},
183     {STR_SERIALB_CTRL, "Printer Port"},
184     {STR_ISPAR_CTRL, "Parallel Device"},
185     {STR_ETHER_ENABLE_CTRL, "Enable Ethernet"},
186     {STR_ETHERNET_IF_CTRL, "Ethernet Interface"},
187 cebix 1.10 {STR_UDPTUNNEL_CTRL, "Tunnel MacOS Networking over UDP"},
188 cebix 1.9 {STR_UDPPORT_CTRL, "UDP Port Number"},
189 cebix 1.1
190     {STR_MEMORY_MISC_PANE_TITLE, "Memory/Misc"},
191 gbeauche 1.16 {STR_RAMSIZE_CTRL, "MacOS RAM Size (MB)"},
192     {STR_RAMSIZE_2MB_LAB, "2"},
193     {STR_RAMSIZE_4MB_LAB, "4"},
194     {STR_RAMSIZE_8MB_LAB, "8"},
195     {STR_RAMSIZE_16MB_LAB, "16"},
196     {STR_RAMSIZE_32MB_LAB, "32"},
197     {STR_RAMSIZE_64MB_LAB, "64"},
198     {STR_RAMSIZE_128MB_LAB, "128"},
199     {STR_RAMSIZE_256MB_LAB, "256"},
200     {STR_RAMSIZE_512MB_LAB, "512"},
201     {STR_RAMSIZE_1024MB_LAB, "1024"},
202 cebix 1.1 {STR_RAMSIZE_SLIDER, "MacOS RAM Size:"},
203     {STR_RAMSIZE_FMT, "%ld MB"},
204     {STR_MODELID_CTRL, "Mac Model ID"},
205     {STR_MODELID_5_LAB, "Mac IIci (MacOS 7.x)"},
206     {STR_MODELID_14_LAB, "Quadra 900 (MacOS 8.x)"},
207 cebix 1.5 {STR_CPU_CTRL, "CPU Type"},
208     {STR_CPU_68020_LAB, "68020"},
209     {STR_CPU_68020_FPU_LAB, "68020 with FPU"},
210     {STR_CPU_68030_LAB, "68030"},
211     {STR_CPU_68030_FPU_LAB, "68030 with FPU"},
212     {STR_CPU_68040_LAB, "68040"},
213 cebix 1.1 {STR_ROM_FILE_CTRL, "ROM File"},
214    
215 gbeauche 1.12 {STR_JIT_PANE_TITLE, "JIT Compiler"},
216     {STR_JIT_CTRL, "Enable JIT Compiler"},
217     {STR_JIT_FPU_CTRL, "Compile FPU Instructions"},
218 gbeauche 1.17 {STR_JIT_CACHE_SIZE_CTRL, "Translation Cache Size (KB)"},
219 gbeauche 1.12 {STR_JIT_CACHE_SIZE_2MB_LAB, "2048"},
220     {STR_JIT_CACHE_SIZE_4MB_LAB, "4096"},
221     {STR_JIT_CACHE_SIZE_8MB_LAB, "8192"},
222     {STR_JIT_CACHE_SIZE_16MB_LAB, "16384"},
223     {STR_JIT_LAZY_CINV_CTRL, "Enable lazy invalidation of translation cache"},
224 gbeauche 1.15 {STR_JIT_FOLLOW_CONST_JUMPS, "Translate through constant jumps (inline blocks)"},
225 gbeauche 1.12
226 cebix 1.1 {STR_WINDOW_TITLE, "Basilisk II"},
227     {STR_WINDOW_TITLE_FROZEN, "Basilisk II *** FROZEN ***"},
228     {STR_WINDOW_MENU, "Basilisk II"},
229 cebix 1.2 {STR_WINDOW_ITEM_ABOUT, "About Basilisk II" ELLIPSIS},
230 cebix 1.1 {STR_WINDOW_ITEM_REFRESH, "Refresh Rate"},
231     {STR_WINDOW_ITEM_MOUNT, "Mount"},
232     {STR_SUSPEND_WINDOW_TITLE, "Basilisk II suspended. Press space to reactivate."},
233 cebix 1.3
234     {STR_EXTFS_NAME, "Host Directory Tree"},
235     {STR_EXTFS_VOLUME_NAME, "Host"},
236 cebix 1.1
237     {-1, NULL} // End marker
238     };