ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/user_strings.cpp
Revision: 1.6
Committed: 2000-04-10T18:52:31Z (24 years, 7 months ago) by cebix
Branch: MAIN
Changes since 1.5: +1 -1 lines
Log Message:
- updated copyright info: 1999->2000

File Contents

# User Rev Content
1 cebix 1.1 /*
2 cebix 1.2 * user_strings.cpp - Common localizable strings
3 cebix 1.1 *
4 cebix 1.6 * Basilisk II (C) 1997-2000 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     {STR_DISPLAY_X_CTRL, "Width"},
141     {STR_DISPLAY_Y_CTRL, "Height"},
142 cebix 1.2 {STR_SIZE_384_LAB, "384"},
143     {STR_SIZE_480_LAB, "480"},
144     {STR_SIZE_512_LAB, "512"},
145     {STR_SIZE_600_LAB, "600"},
146     {STR_SIZE_640_LAB, "640"},
147     {STR_SIZE_768_LAB, "768"},
148     {STR_SIZE_800_LAB, "800"},
149     {STR_SIZE_1024_LAB, "1024"},
150     {STR_SIZE_MAX_LAB, "Maximum"},
151 cebix 1.1 {STR_COLOR_DEPTH_CTRL, "Color Depth"},
152     {STR_1_BIT_LAB, "B/W (1 Bit)"},
153     {STR_2_BIT_LAB, "4 (2 Bit)"},
154     {STR_4_BIT_LAB, "16 (4 Bit)"},
155     {STR_8_BIT_LAB, "256 (8 Bit)"},
156     {STR_15_BIT_LAB, "Thousands (15 Bit)"},
157     {STR_24_BIT_LAB, "Millions (24 Bit)"},
158     {STR_SCREEN_MODE_CTRL, "Screen Mode"},
159     {STR_8_BIT_640x480_LAB, "640x480, 8 Bit"},
160     {STR_8_BIT_800x600_LAB, "800x600, 8 Bit"},
161     {STR_8_BIT_1024x768_LAB, "1024x768, 8 Bit"},
162     {STR_8_BIT_1152x900_LAB, "1152x900, 8 Bit"},
163     {STR_8_BIT_1280x1024_LAB, "1280x1024, 8 Bit"},
164     {STR_8_BIT_1600x1200_LAB, "1600x1200, 8 Bit"},
165     {STR_15_BIT_640x480_LAB, "640x480, 15 Bit"},
166     {STR_15_BIT_800x600_LAB, "800x600, 15 Bit"},
167     {STR_15_BIT_1024x768_LAB, "1024x768, 15 Bit"},
168     {STR_15_BIT_1152x900_LAB, "1152x900, 15 Bit"},
169     {STR_15_BIT_1280x1024_LAB, "1280x1024, 15 Bit"},
170     {STR_15_BIT_1600x1200_LAB, "1600x1200, 15 Bit"},
171     {STR_24_BIT_640x480_LAB, "640x480, 24 Bit"},
172     {STR_24_BIT_800x600_LAB, "800x600, 24 Bit"},
173     {STR_24_BIT_1024x768_LAB, "1024x768, 24 Bit"},
174     {STR_24_BIT_1152x900_LAB, "1152x900, 24 Bit"},
175     {STR_24_BIT_1280x1024_LAB, "1280x1024, 24 Bit"},
176     {STR_24_BIT_1600x1200_LAB, "1600x1200, 24 Bit"},
177     {STR_SOUND_CTRL, "Sound"},
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 cebix 1.5 {STR_CPU_CTRL, "CPU Type"},
194     {STR_CPU_68020_LAB, "68020"},
195     {STR_CPU_68020_FPU_LAB, "68020 with FPU"},
196     {STR_CPU_68030_LAB, "68030"},
197     {STR_CPU_68030_FPU_LAB, "68030 with FPU"},
198     {STR_CPU_68040_LAB, "68040"},
199 cebix 1.1 {STR_ROM_FILE_CTRL, "ROM File"},
200    
201     {STR_WINDOW_TITLE, "Basilisk II"},
202     {STR_WINDOW_TITLE_FROZEN, "Basilisk II *** FROZEN ***"},
203     {STR_WINDOW_MENU, "Basilisk II"},
204 cebix 1.2 {STR_WINDOW_ITEM_ABOUT, "About Basilisk II" ELLIPSIS},
205 cebix 1.1 {STR_WINDOW_ITEM_REFRESH, "Refresh Rate"},
206     {STR_WINDOW_ITEM_MOUNT, "Mount"},
207     {STR_SUSPEND_WINDOW_TITLE, "Basilisk II suspended. Press space to reactivate."},
208 cebix 1.3
209     {STR_EXTFS_NAME, "Host Directory Tree"},
210     {STR_EXTFS_VOLUME_NAME, "Host"},
211 cebix 1.1
212     {-1, NULL} // End marker
213     };