ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/user_strings.cpp
Revision: 1.9
Committed: 2005-11-27T23:54:26Z (18 years, 11 months ago) by gbeauche
Branch: MAIN
Changes since 1.8: +3 -0 lines
Log Message:
Build Windows GUI with GTK

File Contents

# User Rev Content
1 cebix 1.1 /*
2     * user_strings.cpp - Localizable strings
3     *
4 gbeauche 1.6 * SheepShaver (C) 1997-2005 Christian Bauer and Marc Hellwig
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 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 gbeauche 1.9 {STR_NONE_LAB, "<none>"},
91    
92 cebix 1.1 {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_BOOTDRIVER_CTRL, "Boot From"},
99     {STR_BOOT_ANY_LAB, "Any"},
100     {STR_BOOT_CDROM_LAB, "CD-ROM"},
101     {STR_NOCDROM_CTRL, "Disable CD-ROM Driver"},
102     {STR_ADD_VOLUME_TITLE, "Add Volume"},
103     {STR_CREATE_VOLUME_TITLE, "Create Hardfile"},
104     {STR_HARDFILE_SIZE_CTRL, "Size (MB)"},
105    
106     {STR_GRAPHICS_SOUND_PANE_TITLE, "Graphics/Sound"},
107     {STR_FRAMESKIP_CTRL, "Window Refresh Rate"},
108     {STR_REF_5HZ_LAB, "5 Hz"},
109     {STR_REF_7_5HZ_LAB, "7.5 Hz"},
110     {STR_REF_10HZ_LAB, "10 Hz"},
111     {STR_REF_15HZ_LAB, "15 Hz"},
112     {STR_REF_30HZ_LAB, "30 Hz"},
113     {STR_REF_60HZ_LAB, "60 Hz"},
114 gbeauche 1.9 {STR_REF_DYNAMIC_LAB, "Dynamic"},
115 cebix 1.1 {STR_GFXACCEL_CTRL, "QuickDraw Acceleration"},
116     {STR_8_BIT_CTRL, "8 Bit"},
117     {STR_16_BIT_CTRL, "15 Bit"},
118     {STR_32_BIT_CTRL, "32 Bit"},
119     {STR_W_640x480_CTRL, "Window 640x480"},
120     {STR_W_800x600_CTRL, "Window 800x600"},
121     {STR_640x480_CTRL, "Fullscreen 640x480"},
122     {STR_800x600_CTRL, "Fullscreen 800x600"},
123     {STR_1024x768_CTRL, "Fullscreen 1024x768"},
124 gbeauche 1.4 {STR_1152x768_CTRL, "Fullscreen 1152x768"},
125 cebix 1.1 {STR_1152x900_CTRL, "Fullscreen 1152x900"},
126     {STR_1280x1024_CTRL, "Fullscreen 1280x1024"},
127     {STR_1600x1200_CTRL, "Fullscreen 1600x1200"},
128     {STR_VIDEO_MODE_CTRL, "Enabled Video Modes"},
129     {STR_FULLSCREEN_CTRL, "Fullscreen"},
130 gbeauche 1.7 {STR_WINDOW_CTRL, "Window"},
131     {STR_VIDEO_TYPE_CTRL, "Video Type"},
132     {STR_DISPLAY_X_CTRL, "Width"},
133     {STR_DISPLAY_Y_CTRL, "Height"},
134     {STR_SIZE_384_LAB, "384"},
135     {STR_SIZE_480_LAB, "480"},
136     {STR_SIZE_512_LAB, "512"},
137     {STR_SIZE_600_LAB, "600"},
138     {STR_SIZE_640_LAB, "640"},
139     {STR_SIZE_768_LAB, "768"},
140     {STR_SIZE_800_LAB, "800"},
141     {STR_SIZE_1024_LAB, "1024"},
142     {STR_SIZE_MAX_LAB, "Maximum"},
143 cebix 1.1 {STR_NOSOUND_CTRL, "Disable Sound Output"},
144    
145     {STR_SERIAL_NETWORK_PANE_TITLE, "Serial/Network"},
146     {STR_SERPORTA_CTRL, "Modem Port"},
147     {STR_SERPORTB_CTRL, "Printer Port"},
148     {STR_NONET_CTRL, "Disable Ethernet"},
149     {STR_ETHERNET_IF_CTRL, "Ethernet Interface"},
150    
151     {STR_MEMORY_MISC_PANE_TITLE, "Memory/Misc"},
152 gbeauche 1.8 {STR_RAMSIZE_CTRL, "MacOS RAM Size (MB)"},
153     {STR_RAMSIZE_4MB_LAB, "4"},
154     {STR_RAMSIZE_8MB_LAB, "8"},
155     {STR_RAMSIZE_16MB_LAB, "16"},
156     {STR_RAMSIZE_32MB_LAB, "32"},
157     {STR_RAMSIZE_64MB_LAB, "64"},
158     {STR_RAMSIZE_128MB_LAB, "128"},
159     {STR_RAMSIZE_256MB_LAB, "256"},
160     {STR_RAMSIZE_512MB_LAB, "512"},
161 cebix 1.1 {STR_RAMSIZE_SLIDER, "MacOS RAM Size:"},
162     {STR_RAMSIZE_FMT, "%d MB"},
163     {STR_IGNORESEGV_CTRL, "Ignore Illegal Memory Accesses"},
164     {STR_IDLEWAIT_CTRL, "Don't Use CPU When Idle"},
165     {STR_ROM_FILE_CTRL, "ROM File"},
166    
167 gbeauche 1.2 {STR_JIT_PANE_TITLE, "JIT Compiler"},
168     {STR_JIT_CTRL, "Enable JIT Compiler"},
169 gbeauche 1.7 {STR_JIT_68K_CTRL, "Enable built-in 68k DR Emulator (EXPERIMENTAL)"},
170 gbeauche 1.2
171 cebix 1.1 {STR_WINDOW_TITLE, "SheepShaver"},
172     {STR_WINDOW_TITLE_FROZEN, "SheepShaver *** FROZEN ***"},
173     {STR_WINDOW_MENU, "SheepShaver"},
174     {STR_WINDOW_ITEM_ABOUT, "About SheepShaver" ELLIPSIS},
175     {STR_WINDOW_ITEM_REFRESH, "Refresh Rate"},
176     {STR_WINDOW_ITEM_MOUNT, "Mount"},
177    
178     {STR_SOUND_IN_NAME, "\010Built-In"},
179    
180     {STR_EXTFS_NAME, "Host Directory Tree"},
181     {STR_EXTFS_VOLUME_NAME, "Host"},
182    
183     {-1, NULL} // End marker
184     };