ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/user_strings.cpp
Revision: 1.1.1.1 (vendor branch)
Committed: 2002-02-04T16:58:13Z (22 years, 3 months ago) by cebix
Branch: cebix
CVS Tags: start
Changes since 1.1: +0 -0 lines
Log Message:
Imported sources

File Contents

# User Rev Content
1 cebix 1.1 /*
2     * user_strings.cpp - Localizable strings
3     *
4     * SheepShaver (C) 1997-2002 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_VOLUMES_PANE_TITLE, "Volumes"},
91     {STR_ADD_VOLUME_BUTTON, "Add" ELLIPSIS},
92     {STR_CREATE_VOLUME_BUTTON, "Create" ELLIPSIS},
93     {STR_REMOVE_VOLUME_BUTTON, "Remove"},
94     {STR_ADD_VOLUME_PANEL_BUTTON, "Add"},
95     {STR_CREATE_VOLUME_PANEL_BUTTON, "Create"},
96     {STR_BOOTDRIVER_CTRL, "Boot From"},
97     {STR_BOOT_ANY_LAB, "Any"},
98     {STR_BOOT_CDROM_LAB, "CD-ROM"},
99     {STR_NOCDROM_CTRL, "Disable CD-ROM Driver"},
100     {STR_ADD_VOLUME_TITLE, "Add Volume"},
101     {STR_CREATE_VOLUME_TITLE, "Create Hardfile"},
102     {STR_HARDFILE_SIZE_CTRL, "Size (MB)"},
103    
104     {STR_GRAPHICS_SOUND_PANE_TITLE, "Graphics/Sound"},
105     {STR_FRAMESKIP_CTRL, "Window Refresh Rate"},
106     {STR_REF_5HZ_LAB, "5 Hz"},
107     {STR_REF_7_5HZ_LAB, "7.5 Hz"},
108     {STR_REF_10HZ_LAB, "10 Hz"},
109     {STR_REF_15HZ_LAB, "15 Hz"},
110     {STR_REF_30HZ_LAB, "30 Hz"},
111     {STR_REF_60HZ_LAB, "60 Hz"},
112     {STR_GFXACCEL_CTRL, "QuickDraw Acceleration"},
113     {STR_8_BIT_CTRL, "8 Bit"},
114     {STR_16_BIT_CTRL, "15 Bit"},
115     {STR_32_BIT_CTRL, "32 Bit"},
116     {STR_W_640x480_CTRL, "Window 640x480"},
117     {STR_W_800x600_CTRL, "Window 800x600"},
118     {STR_640x480_CTRL, "Fullscreen 640x480"},
119     {STR_800x600_CTRL, "Fullscreen 800x600"},
120     {STR_1024x768_CTRL, "Fullscreen 1024x768"},
121     {STR_1152x900_CTRL, "Fullscreen 1152x900"},
122     {STR_1280x1024_CTRL, "Fullscreen 1280x1024"},
123     {STR_1600x1200_CTRL, "Fullscreen 1600x1200"},
124     {STR_VIDEO_MODE_CTRL, "Enabled Video Modes"},
125     {STR_FULLSCREEN_CTRL, "Fullscreen"},
126     {STR_NOSOUND_CTRL, "Disable Sound Output"},
127    
128     {STR_SERIAL_NETWORK_PANE_TITLE, "Serial/Network"},
129     {STR_SERPORTA_CTRL, "Modem Port"},
130     {STR_SERPORTB_CTRL, "Printer Port"},
131     {STR_NONET_CTRL, "Disable Ethernet"},
132     {STR_ETHERNET_IF_CTRL, "Ethernet Interface"},
133    
134     {STR_MEMORY_MISC_PANE_TITLE, "Memory/Misc"},
135     {STR_RAMSIZE_SLIDER, "MacOS RAM Size:"},
136     {STR_RAMSIZE_FMT, "%d MB"},
137     {STR_IGNORESEGV_CTRL, "Ignore Illegal Memory Accesses"},
138     {STR_IDLEWAIT_CTRL, "Don't Use CPU When Idle"},
139     {STR_ROM_FILE_CTRL, "ROM File"},
140    
141     {STR_WINDOW_TITLE, "SheepShaver"},
142     {STR_WINDOW_TITLE_FROZEN, "SheepShaver *** FROZEN ***"},
143     {STR_WINDOW_MENU, "SheepShaver"},
144     {STR_WINDOW_ITEM_ABOUT, "About SheepShaver" ELLIPSIS},
145     {STR_WINDOW_ITEM_REFRESH, "Refresh Rate"},
146     {STR_WINDOW_ITEM_MOUNT, "Mount"},
147    
148     {STR_SOUND_IN_NAME, "\010Built-In"},
149    
150     {STR_EXTFS_NAME, "Host Directory Tree"},
151     {STR_EXTFS_VOLUME_NAME, "Host"},
152    
153     {-1, NULL} // End marker
154     };