ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/user_strings.cpp
Revision: 1.12
Committed: 2008-01-01T09:47:38Z (16 years, 10 months ago) by gbeauche
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
Log Message:
Happy New Year!

File Contents

# Content
1 /*
2 * user_strings.cpp - Localizable strings
3 *
4 * SheepShaver (C) 1997-2008 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 /*
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 SheepShaver.
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, "SheepShaver V%d.%d"},
46 {STR_ABOUT_TEXT2, "by Christian Bauer and Mar\"c\" Hellwig"},
47 {STR_READING_ROM_FILE, "Reading ROM file...\n"},
48 {STR_SHELL_ERROR_PREFIX, "ERROR: %s\n"},
49 {STR_GUI_ERROR_PREFIX, "SheepShaver error:\n%s"},
50 {STR_ERROR_ALERT_TITLE, "SheepShaver Error"},
51 {STR_SHELL_WARNING_PREFIX, "WARNING: %s\n"},
52 {STR_GUI_WARNING_PREFIX, "SheepShaver warning:\n%s"},
53 {STR_WARNING_ALERT_TITLE, "SheepShaver Warning"},
54 {STR_NOTICE_ALERT_TITLE, "SheepShaver Notice"},
55 {STR_ABOUT_TITLE, "About SheepShaver"},
56 {STR_OK_BUTTON, "OK"},
57 {STR_START_BUTTON, "Start"},
58 {STR_QUIT_BUTTON, "Quit"},
59 {STR_CANCEL_BUTTON, "Cancel"},
60 {STR_IGNORE_BUTTON, "Ignore"},
61
62 {STR_NOT_ENOUGH_MEMORY_ERR, "Your computer does not have enough memory to run SheepShaver."},
63 {STR_NO_KERNEL_DATA_ERR, "Cannot create Kernel Data area: %s (%08x)."},
64 {STR_NO_ROM_FILE_ERR, "Cannot open ROM file."},
65 {STR_RAM_HIGHER_THAN_ROM_ERR, "RAM area higher than ROM area. Try to decrease the MacOS RAM size."},
66 {STR_ROM_FILE_READ_ERR, "Cannot read ROM file."},
67 {STR_ROM_SIZE_ERR, "Invalid ROM file size. SheepShaver requires a 4MB PCI PowerMac ROM."},
68 {STR_UNSUPPORTED_ROM_TYPE_ERR, "Unsupported ROM type."},
69 {STR_POWER_INSTRUCTION_ERR, "Your Mac program is using POWER instructions which are not supported by SheepShaver.\n(pc %p, sp %p, opcode %08lx)"},
70 {STR_MEM_ACCESS_ERR, "Your Mac program made an illegal %s %s access to address %p.\n(pc %p, 68k pc %p, sp %p)"},
71 {STR_MEM_ACCESS_READ, "read"},
72 {STR_MEM_ACCESS_WRITE, "write"},
73 {STR_UNKNOWN_SEGV_ERR, "Your Mac program did something terribly stupid.\n(pc %p, 68k pc %p, sp %p, opcode %08lx)"},
74 {STR_NO_NAME_REGISTRY_ERR, "Cannot find Name Registry. Giving up."},
75 {STR_FULL_SCREEN_ERR, "Cannot open full screen display: %s (%08x)."},
76 {STR_SCSI_BUFFER_ERR, "Cannot allocate SCSI buffer (requested %d bytes). Giving up."},
77 {STR_SCSI_SG_FULL_ERR, "SCSI scatter/gather table full. Giving up."},
78
79 {STR_SMALL_RAM_WARN, "Selected less than 8MB Mac RAM, using 8MB."},
80 {STR_CANNOT_UNMOUNT_WARN, "The volume '%s' could not be unmounted. SheepShaver will not use it."},
81 {STR_CREATE_VOLUME_WARN, "Cannot create hardfile (%s)."},
82
83 {STR_PREFS_TITLE, "SheepShaver Settings"},
84 {STR_PREFS_MENU, "Settings"},
85 {STR_PREFS_ITEM_ABOUT, "About SheepShaver" ELLIPSIS},
86 {STR_PREFS_ITEM_START, "Start SheepShaver"},
87 {STR_PREFS_ITEM_ZAP_PRAM, "Zap PRAM File"},
88 {STR_PREFS_ITEM_QUIT, "Quit SheepShaver"},
89
90 {STR_NONE_LAB, "<none>"},
91
92 {STR_VOLUMES_PANE_TITLE, "Volumes"},
93 {STR_ADD_VOLUME_BUTTON, "Add" ELLIPSIS},
94 {STR_CREATE_VOLUME_BUTTON, "Create" ELLIPSIS},
95 {STR_REMOVE_VOLUME_BUTTON, "Remove"},
96 {STR_ADD_VOLUME_PANEL_BUTTON, "Add"},
97 {STR_CREATE_VOLUME_PANEL_BUTTON, "Create"},
98 {STR_CDROM_DRIVE_CTRL, "CD-ROM Drive"},
99 {STR_BOOTDRIVER_CTRL, "Boot From"},
100 {STR_BOOT_ANY_LAB, "Any"},
101 {STR_BOOT_CDROM_LAB, "CD-ROM"},
102 {STR_NOCDROM_CTRL, "Disable CD-ROM Driver"},
103 {STR_ADD_VOLUME_TITLE, "Add Volume"},
104 {STR_CREATE_VOLUME_TITLE, "Create Hardfile"},
105 {STR_HARDFILE_SIZE_CTRL, "Size (MB)"},
106
107 {STR_GRAPHICS_SOUND_PANE_TITLE, "Graphics/Sound"},
108 {STR_FRAMESKIP_CTRL, "Window Refresh Rate"},
109 {STR_REF_5HZ_LAB, "5 Hz"},
110 {STR_REF_7_5HZ_LAB, "7.5 Hz"},
111 {STR_REF_10HZ_LAB, "10 Hz"},
112 {STR_REF_15HZ_LAB, "15 Hz"},
113 {STR_REF_30HZ_LAB, "30 Hz"},
114 {STR_REF_60HZ_LAB, "60 Hz"},
115 {STR_REF_DYNAMIC_LAB, "Dynamic"},
116 {STR_GFXACCEL_CTRL, "QuickDraw Acceleration"},
117 {STR_8_BIT_CTRL, "8 Bit"},
118 {STR_16_BIT_CTRL, "15 Bit"},
119 {STR_32_BIT_CTRL, "32 Bit"},
120 {STR_W_640x480_CTRL, "Window 640x480"},
121 {STR_W_800x600_CTRL, "Window 800x600"},
122 {STR_640x480_CTRL, "Fullscreen 640x480"},
123 {STR_800x600_CTRL, "Fullscreen 800x600"},
124 {STR_1024x768_CTRL, "Fullscreen 1024x768"},
125 {STR_1152x768_CTRL, "Fullscreen 1152x768"},
126 {STR_1152x900_CTRL, "Fullscreen 1152x900"},
127 {STR_1280x1024_CTRL, "Fullscreen 1280x1024"},
128 {STR_1600x1200_CTRL, "Fullscreen 1600x1200"},
129 {STR_VIDEO_MODE_CTRL, "Enabled Video Modes"},
130 {STR_FULLSCREEN_CTRL, "Fullscreen"},
131 {STR_WINDOW_CTRL, "Window"},
132 {STR_VIDEO_TYPE_CTRL, "Video Type"},
133 {STR_DISPLAY_X_CTRL, "Width"},
134 {STR_DISPLAY_Y_CTRL, "Height"},
135 {STR_SIZE_384_LAB, "384"},
136 {STR_SIZE_480_LAB, "480"},
137 {STR_SIZE_512_LAB, "512"},
138 {STR_SIZE_600_LAB, "600"},
139 {STR_SIZE_640_LAB, "640"},
140 {STR_SIZE_768_LAB, "768"},
141 {STR_SIZE_800_LAB, "800"},
142 {STR_SIZE_1024_LAB, "1024"},
143 {STR_SIZE_MAX_LAB, "Maximum"},
144 {STR_NOSOUND_CTRL, "Disable Sound Output"},
145
146 {STR_SERIAL_NETWORK_PANE_TITLE, "Serial/Network"},
147 {STR_SERPORTA_CTRL, "Modem Port"},
148 {STR_SERPORTB_CTRL, "Printer Port"},
149 {STR_NONET_CTRL, "Disable Ethernet"},
150 {STR_ETHERNET_IF_CTRL, "Ethernet Interface"},
151
152 {STR_MEMORY_MISC_PANE_TITLE, "Memory/Misc"},
153 {STR_RAMSIZE_CTRL, "MacOS RAM Size (MB)"},
154 {STR_RAMSIZE_4MB_LAB, "4"},
155 {STR_RAMSIZE_8MB_LAB, "8"},
156 {STR_RAMSIZE_16MB_LAB, "16"},
157 {STR_RAMSIZE_32MB_LAB, "32"},
158 {STR_RAMSIZE_64MB_LAB, "64"},
159 {STR_RAMSIZE_128MB_LAB, "128"},
160 {STR_RAMSIZE_256MB_LAB, "256"},
161 {STR_RAMSIZE_512MB_LAB, "512"},
162 {STR_RAMSIZE_1024MB_LAB, "1024"},
163 {STR_RAMSIZE_SLIDER, "MacOS RAM Size:"},
164 {STR_RAMSIZE_FMT, "%d MB"},
165 {STR_IGNORESEGV_CTRL, "Ignore Illegal Memory Accesses"},
166 {STR_IDLEWAIT_CTRL, "Don't Use CPU When Idle"},
167 {STR_ROM_FILE_CTRL, "ROM File"},
168
169 {STR_JIT_PANE_TITLE, "JIT Compiler"},
170 {STR_JIT_CTRL, "Enable JIT Compiler"},
171 {STR_JIT_68K_CTRL, "Enable built-in 68k DR Emulator (EXPERIMENTAL)"},
172
173 {STR_WINDOW_TITLE, "SheepShaver"},
174 {STR_WINDOW_TITLE_FROZEN, "SheepShaver *** FROZEN ***"},
175 {STR_WINDOW_MENU, "SheepShaver"},
176 {STR_WINDOW_ITEM_ABOUT, "About SheepShaver" ELLIPSIS},
177 {STR_WINDOW_ITEM_REFRESH, "Refresh Rate"},
178 {STR_WINDOW_ITEM_MOUNT, "Mount"},
179
180 {STR_SOUND_IN_NAME, "\010Built-In"},
181
182 {STR_EXTFS_NAME, "Host Directory Tree"},
183 {STR_EXTFS_VOLUME_NAME, "Host"},
184
185 {-1, NULL} // End marker
186 };