correction - use screenwidth/screenheight
[AROS-Contrib.git] / dopus / Program / strings.c
blobd58a0c89b26d6612f812a494da2a8199541ccd74
1 /****************************************************************
3 This file was created automatically by `FlexCat 2.5'
4 from "../catalogs/DOpus4.cd".
6 Do NOT edit by hand!
8 ****************************************************************/
12 Directory Opus 4
13 Original GPL release version 4.12
14 Copyright 1993-2000 Jonathan Potter
16 This program is free software; you can redistribute it and/or
17 modify it under the terms of the GNU General Public License
18 as published by the Free Software Foundation; either version 2
19 of the License, or (at your option) any later version.
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 GNU General Public License for more details.
26 You should have received a copy of the GNU General Public License
27 along with this program; if not, write to the Free Software
28 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 All users of Directory Opus 4 (including versions distributed
31 under the GPL) are entitled to upgrade to the latest version of
32 Directory Opus version 5 at a reduced price. Please see
33 http://www.gpsoft.com.au for more information.
35 The release of Directory Opus 4 under the GPL in NO WAY affects
36 the existing commercial status of Directory Opus 5.
40 #include "dopus.h"
42 char **globstring;
44 static const struct DefaultString
45 default_strings[]={
46 {STR_DIRS_FILES_BYTES_COUNT,"Dirs : %03ld/%03ld Files : %03ld/%03ld Bytes : %7s/%7s"},
47 {STR_DOPUS_ALREADY_RUNNING,"Directory Opus is already resident in memory.\nDo you want to run another copy?"},
48 {STR_UNABLE_TO_OPEN_WINDOW,"Unable to open screen/window!"},
49 {STR_WELCOME_TO_DOPUS,"Welcome to Directory Opus!"},
50 {STR_WELCOME_BACK_TO_DOPUS,"Welcome back to Directory Opus!"},
51 {STR_INTERROGATING_FILE,"Interrogating file..."},
52 {STR_READING_DIRECTORY,"Reading directory..."},
53 {STR_ENTER_ARGUMENTS_FOR,"Enter arguments for \"%s\""},
54 {STR_ENTER_DIRECTORY_NAME,"Enter directory name"},
55 {STR_FILE_ALREADY_EXISTS,"File or directory already exists!"},
56 {STR_DIRECTORY_CREATED,"Directory created."},
57 {STR_PRINTING_DIRECTORY,"Printing directory..."},
58 {STR_DIRECTORY,"Directory "},
59 {STR_DEVICE_LIST,"Device list\n\n"},
60 {STR_NO_CHIP_FOR_ICON,"Not enough chip memory to display icon"},
61 {STR_FILE_NOT_ILBM,"File is not ILBM"},
62 {STR_ERROR_IN_IFF,"Error in IFF structure"},
63 {STR_NO_CHIP_FOR_PICTURE,"Not enough chip memory to display picture"},
64 {STR_CANT_ALLOCATE_AUDIO,"Can't allocate audio channels"},
65 {STR_NOT_ST_MOD,"File is not a supported music module"},
66 {STR_FILE_EXISTS_REPLACE,"\"%s\" already exists! Replace?"},
67 {STR_SELECT_UNPROTECT,"\nSelect Unprotect to set the deletion bit."},
68 {STR_ENTER_TIME,"Enter time in the form HH:MM:SS"},
69 {STR_AREXX_NOT_RUNNING,"ARexx server not found!"},
70 {STR_ENTER_AREXX_COMMAND,"Enter ARexx command"},
71 {STR_ENTER_NEW_CD,"Enter new current directory"},
72 {STR_SCANNING_DEVICE_LIST,"Scanning device list..."},
73 {STR_FOUND_A_MATCH,"Found the file \"%s\" in the directory\n\"%s\"\nShall I go there?"},
74 {STR_BUFFERS_CLEARED,"Buffers not currently displayed have been cleared."},
75 {STR_UNREADABLE_DISK,"Unreadable disk"},
76 {STR_NOT_A_DOS_DISK,"Not a DOS disk"},
77 {STR_KICKSTART_DISK,"Kickstart disk"},
78 {STR_VALIDATING,"Validating"},
79 {STR_WRITE_PROTECTED,"Write protected"},
80 {STR_READ_WRITE,"Read/Write"},
81 {STR_DEVICE_NOT_MOUNTED,"Device or volume not mounted"},
82 {STR_NO_DISK_IN_DRIVE,"No disk in drive"},
83 {STR_DOS_ERROR_CODE,"DOS error code %ld"},
84 {STR_ENTER_NEW_DISK_NAME,"Enter new disk name"},
85 {STR_ENTER_ASSIGN_NAME,"Enter directory to re-assign device"},
86 {STR_CANT_CANCEL_ASSIGN,"Can't cancel assign."},
87 {STR_ENTER_DEVICE_NAME,"Enter device name for this directory"},
88 {STR_ASSIGN_FAILED,"Assign failed"},
89 {STR_NO_DESTINATION_SELECTED,"No destination directory selected!"},
90 {STR_CANT_COPY_DIR_TO_ITSELF,"You can't copy a directory into itself!"},
91 {STR_SHOWING_FONT,"Showing selected font..."},
92 {STR_RUNNING_FILE,"Running selected file..."},
93 {STR_PLAYING_FILE,"Playing selected file..."},
94 {STR_SHOWING_FILE,"Showing selected file..."},
95 {STR_PLAYING_ST_MOD,"Playing music module..."},
96 {STR_READING_SELECTED_FILE,"Reading selected file..."},
97 {STR_FOUND_A_MATCH_READ,"Found a match in the file\n\"%s\"\nShall I read the file?"},
98 {STR_CONFIG_CHANGED_QUIT,"You have modified the configuration.\nDo you really want to quit?"},
99 {STR_SAVING_CONFIG,"Saving configuration..."},
100 {STR_READING_CONFIG,"Reading configuration..."},
101 {STR_CONFIG_CHANGED_LASTSAVED,"You have modified the configuration.\nReally load the last-saved settings?"},
102 {STR_CONFIG_CHANGED_DEFAULTS,"You have modified the configuration.\nSave before restoring defaults?"},
103 {STR_HELP_NOT_AVAILABLE,"Help not available for that function!"},
104 {STR_SCANNING_TREE,"Scanning directory tree..."},
105 {STR_ENTER_A_STRING,"Enter a string"},
106 {STR_PLEASE_CHOOSE,"Please choose"},
107 {STR_COMMENTING,"commenting"},
108 {STR_PROTECTING,"protecting"},
109 {STR_DATESTAMPING,"datestamping"},
110 {STR_DELETING,"deleting"},
111 {STR_COPYING,"copying"},
112 {STR_CREATING,"creating"},
113 {STR_CANT_OVERCOPY_FILES,"You can't copy these files over themselves!"},
114 {STR_INTERROGATING_FILES,"Interrogating files..."},
115 {STR_NOT_IDENTIFIED,"%s could not be identified."},
116 {STR_LOADING_CONFIG,"Loading configuration program..."},
117 {STR_WAITING_FOR_PORT,"Waiting for configuration port..."},
118 {STR_CONFIG_NOT_FOUND,"Configuration program not found/could not be loaded."},
119 {STR_ALIEN_WINDOWS,"There are alien windows open on the Directory Opus screen.\nSelect Cancel and then close them yourself, or select Close\nand Directory Opus will close them for you (DANGER!)"},
120 {STR_REALLY_DELETE,"Do you really wish to delete selected entries?"},
121 {STR_WISH_TO_DELETE,"Do you really wish to delete \"%s\"?"},
122 {STR_NOT_EMPTY,"\"%s\" is not empty! Delete?"},
123 {STR_ENTER_NEW_NAME,"Enter new name"},
124 {STR_RENAMING,"renaming"},
125 {STR_ENTER_NEW_NAME_MOVE,"Enter new name for moved file"},
126 {STR_MOVING,"moving"},
127 {STR_ENTER_NEW_NAME_CLONE,"Enter name for cloned entry"},
128 {STR_CLONING,"cloning"},
129 {STR_SIZE_IS_NOT_KNOWN,"Size is not known for the selected directory.\nPerform a byte count on this directory?"},
130 {STR_FILE_MAY_NOT_FIT,"Selected file will probably not fit in destination.\nContinue with the copy?"},
131 {STR_SIZES_NOT_KNOWN,"Sizes are not known for some selected directories.\nPerform a byte count on these directories?"},
132 {STR_ENTRIES_MAY_NOT_FIT,"Selected entries will probably not fit in destination.\nContinue with the copy?"},
133 {STR_ENTER_NEW_NAME_COPY,"Enter new name for copied file"},
134 {STR_ENTER_HUNT_PATTERN,"Enter file pattern to hunt"},
135 {STR_COULD_NOT_FIND_FILE,"Sorry! File could not be found!"},
136 {STR_FOUND_MATCHING_FILES,"Found %ld matching files."},
137 {STR_ADDING_ICON,"adding an icon to"},
138 {STR_SELECT_COMMENT,"Comment"},
139 {STR_ENTER_COMMENT,"Enter comment"},
140 {STR_CANNOT_CLOSE_SCREEN,"I cannot close the screen because\nthere are alien windows opened on it.\nI'll wait quietly until they'll be closed"},
141 {STR_ENTER_PASSWORD,"Enter password"},
142 {STR_ENTER_DATE_AND_TIME,"Enter date and time (blank for current)"},
143 {STR_ENTER_SEARCH_STRING,"Enter search string"},
144 {STR_RENAME_REQ,"Rena_me"},
145 {STR_STRING_NOT_FOUND,"Sorry! String could not be found!"},
146 {STR_MATCHED_FILES,"Matched in %ld files."},
147 {STR_NO_SOURCE_SELECTED,"No source directory selected!"},
148 {STR_TEMPORARY_OUTPUT_FILE,"Temporary output file"},
149 {STR_ENTER_ARGUMENTS,"Enter arguments"},
150 {STR_SELECT_FUNCTION,"Select function you need help with, or Help again to cancel."},
151 {STR_CONFIG_CHANGED_LOAD,"You have modified the configuration.\nReally load a new configuration file?"},
152 {STR_ABORTED,"Aborted."},
153 {STR_ENTER_DOS_ERROR_CODE,"Enter DOS error code"},
154 {STR_NO_HELP_FOR_ERROR,"Help not available for that error code!"},
155 {STR_ERROR_OCCURED,"An error occured %s \"%s\"\n%s"},
156 {STR_RENAME,"Rename"},
157 {STR_AS,"As"},
158 {STR_ENTER_SELECT_PATTERN,"Enter select pattern"},
159 {STR_FILE_ENCRYPTED,"\nFile is encrypted!\n\n"},
160 {STR_READING_FILE,"Reading file..."},
161 {STR_NO_MEMORY_TO_DECRUNCH,"Not enough memory to load/decrunch complete file!"},
162 {STR_BAD_PASSWORD,"Incorrect password given!"},
163 {STR_COUNTING_LINES,"Counting lines..."},
164 {STR_JUMP_TO_LINE,"Jump to which line?"},
165 {STR_JUMP_TO_PERCENTAGE,"Jump to what percentage?"},
166 {STR_CANT_OPEN_PRINTER,"Can't open printer!"},
167 {STR_ERROR_PRINTING_FILE,"Error printing file! IoErr = %ld\n"},
168 {STR_READY_PRINTER,"Ready printer, and choose OKAY to continue"},
169 {STR_CANT_FIND_ICON,"Unable to find or load an icon for that file."},
170 {STR_ENCRYPTING,"encrypting"},
171 {STR_NEW_DISK_INSERTED,"A new disk has been inserted in drive DF%ld:\nDo you want to read this disk?"},
172 {STR_REPLACE_ALL,"Replace _all"},
173 {STR_ENTER_DATE_1,"Enter date in the form DD-MMM-YY"},
174 {STR_ENTER_DATE_2,"Enter date in the form YY-MM-DD"},
175 {STR_ENTER_DATE_3,"Enter date in the form MM-DD-YY"},
176 {STR_ENTER_DATE_4,"Enter date in the form DD-MM-YY"},
177 {STR_CONTINUE_WITH_SEARCH,"Do you wish to continue with the search?"},
178 {STR_REALLY_QUIT,"Do you really want to quit Directory Opus?"},
179 {STR_REALLY_PROCEED,"Do you really wish to proceed with this operation?"},
180 {STR_SCREEN_MODE_UNAVAILABLE,"Screen mode not available."},
181 {STR_ERROR_INITIALISING_PRINTER,"Error initialising printer.\nCheck cable and connections."},
182 {STR_REALLY_ABORT_PRINT,"Really abort the print?"},
183 {STR_SELECT_SOURCE_DIR,"Select the source directory"},
184 {STR_SELECT_DESTINATION_DIR,"Select the destination directory"},
185 {STR_SELECT_A_FILE,"Select a file"},
186 {STR_SELECT_A_DIRECTORY,"Select a directory"},
187 {STR_LEFT_WINDOW,"Left window"},
188 {STR_RIGHT_WINDOW,"Right window"},
189 {STR_DEVICE_LIST_TITLE,"<Device list>"},
190 {STR_DIR_NOT_AVAILABLE_TITLE,"<Directory not available>"},
191 {STR_BUFFER_LIST_TITLE,"<Buffer list>"},
192 {STR_UNPROTECT,"Unprotect"},
193 {STR_RUN,"_Run"},
194 {STR_TRY_AGAIN,"_Try Again"},
195 {STR_RETRY,"Retry"},
196 {STR_ABORT,"A_bort"},
197 {STR_REPLACE,"_Replace"},
198 {STR_SKIP,"_Skip"},
199 {STR_ALL,"_All"},
200 {STR_REMOVE,"Remove"},
201 {STR_QUIT,"_Quit"},
202 {STR_SAVE_QUIT,"_Save & quit"},
203 {STR_LOAD,"Load"},
204 {STR_SAVE,"Save"},
205 {STR_DEFAULTS,"Defaults"},
206 {STR_CLOSE,"Close"},
207 {STR_DELETE,"_Delete"},
208 {STR_LEAVE,"Leave"},
209 {STR_YES,"Yes"},
210 {STR_NO,"No"},
211 {STR_ICONIFY,"_Iconify"},
212 {STR_CONTINUE,"C_ontinue"},
213 {STR_OKAY,"_Okay"},
214 {STR_CANCEL,"_Cancel"},
215 {STR_OKAY_TITLE,"OK"},
216 {STR_DESCRIPTION,"Description"},
217 {STR_PRINT_CONTROL,"Print control"},
218 {STR_FILE,"File"},
219 {STR_IMAGE_SIZE,"Image size"},
220 {STR_PAGE_SIZE,"Page size"},
221 {STR_SCREEN_SIZE,"Screen size"},
222 {STR_DEPTH,"Depth"},
223 {STR_COLOURS,"Colors"},
224 {STR_SCREEN_MODES,"Screen modes"},
225 {STR_ASPECT,"_Aspect:"},
226 {STR_IMAGE,"_Image:"},
227 {STR_SHADE,"_Shade:"},
228 {STR_PLACEMENT,"_Placement:"},
229 {STR_FORMFEED,"_Form feed"},
230 {STR_PRINT,"Print"},
231 {STR_ABORT_PRINT,"Abort print"},
232 {STR_PORTRAIT,"Portrait"},
233 {STR_LANDSCAPE,"Landscape"},
234 {STR_POSITIVE,"Positive"},
235 {STR_NEGATIVE,"Negative"},
236 {STR_BLACK_WHITE,"Black&White"},
237 {STR_GRAY_SCALE,"Gray scale"},
238 {STR_COLOUR,"Color"},
239 {STR_CENTER,"Center"},
240 {STR_FULL_LEFT,"Full left"},
241 {STR_FONT,"Font"},
242 {STR_FONT_SIZE,"Font size"},
243 {STR_NUM_CHARS,"Characters"},
244 {STR_FONT_STYLE,"Font style"},
245 {STR_FONT_FLAGS,"Font flags"},
246 {STR_ICON,"Icon"},
247 {STR_ICON_TYPE,"Icon type"},
248 {STR_ICON_ALTERNATE,"Alt. image"},
249 {STR_ICON_DEFAULTTOOL,"Default tool"},
250 {STR_NUM_FRAMES,"Frame"},
251 {STR_PLAYING_ANIM,"Playing selected animation..."},
252 {STR_OLD_NEW_FILE_REPLACE,"\"%s\" already exists! Replace?\n\n"\
253 "New - Size : %7ld Date : %19s\n"\
254 "Old - Size : %7ld Date : %19s"},
255 {STR_REMAINING,"%ld of %ld items"},
256 {STR_CUSTOM_LIST,"Custom list"},
257 {STR_ENTRIES_IN_TREE,"%ld entries in tree"},
258 {STR_DIRS_IN_BUFFERS,"%ld directories in buffers"},
259 {STR_USER_ENTRIES,"%ld user-defined entries"},
260 {STR_COMPLETED,"Completed"},
261 {STR_UNICONIFY,"Uniconify"},
262 {STR_CUSTPORT_NOT_FOUND,"User-specified custom handler port\n\"%s\"\ncould not be found!"},
263 {STR_CHECKFIT_STRING,"Bytes needed : %11qd Bytes free : %11qd Fit : %.1f%%"},
264 {STR_DIR_TREE,"<Directory tree>"},
265 {STR_BUILDING_TREE,"Generating tree structure..."},
266 {STR_UNPROTECT_ALL,"Unprotect all"},
267 {STR_READING_CHANGED_DIRECTORY,"Buffered directory changed - re-reading"},
268 {STR_CREATING_DIRECTORY,"creating directory"},
269 {STR_STARTING_DISK_MODULE,"Starting disk module..."},
270 {STR_UNABLE_TO_LOAD_MODULE,"Unable to load external module"},
271 {STR_SELECT_ALL_ENTRIES,"All entries"},
272 {STR_SELECT_ONLY_FILES,"Only files"},
273 {STR_SELECT_ONLY_DIRS,"Only dirs"},
274 {STR_SELECT_NAME,"Name"},
275 {STR_SELECT_DATE,"Date"},
276 {STR_SELECT_BITS,"Bits"},
277 {STR_STARTING_PRINT_MODULE,"Starting print module..."},
278 {STR_ABOUT,"%s\nBased on GPL release version 4.12\nmodified by %s\n\n"\
279 "This program is free software; you can redistribute it and/or\n"\
280 "modify it under the terms of the GNU General Public License\n"\
281 "as published by the Free Software Foundation; either version 2\n"\
282 "of the License, or (at your option) any later version.\n\n"\
283 "This program is distributed in the hope that it will be useful,\n"\
284 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"\
285 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"\
286 "GNU General Public License for more details.\n\n"\
287 "All users of Directory Opus 4 (including versions distributed\n"\
288 "under the GPL) are entitled to upgrade to the latest version of\n"\
289 "Directory Opus version 5 at a reduced price. Please see\n"\
290 "http://www.gpsoft.com.au for more information."},
291 {STR_PRINTTITLE,"Print _Title"},
292 {STR_SEARCH_NO_CASE,"Treat upper and lower case as the same"},
293 {STR_SEARCH_WILD,"Recognise ? as a wildcard character"},
294 {STR_SEARCH_ONLYWORD,"Only match on whole, unbroken words"},
295 {STR_ENTER_FILTER,"Enter file filter"},
296 {STR_SELECT_PROTECTION_BITS,"Select new protection bits"},
297 {STR_DIRECTORY_OPUS_REQUEST,"Directory Opus Request"},
298 {STR_CLOCK_CHIP,"CHIP:"},
299 {STR_CLOCK_FAST,"FAST:"},
300 {STR_CLOCK_TOTAL,"TOTAL:"},
301 {STR_CLOCK_MEM,"MEM:"},
302 {STR_KEY,"Key :"},
303 {STR_TINY_BUTTONS,"BRSA?EFCIQ"},
304 {STR_VIEW_BUTTONS,"UDTBSPQ"},
305 {STR_DISKINFO_DEVICE,"Device"},
306 {STR_DISKINFO_NAME,"Name"},
307 {STR_DISKINFO_SIZE,"Size"},
308 {STR_DISKINFO_USED,"Used"},
309 {STR_DISKINFO_FREE,"Free"},
310 {STR_DISKINFO_PERCENT,"Percent"},
311 {STR_DISKINFO_DENSITY,"Density"},
312 {STR_DISKINFO_ERRORS,"Errors"},
313 {STR_DISKINFO_STATUS,"Status"},
314 {STR_DISKINFO_DATE,"Date"},
315 {STR_DISKINFO_BYTES,"bytes"},
316 {STR_DISKINFO_BLOCKS,"blocks"},
317 {STR_DISKINFO_FULL,"full"},
318 {STR_DISKINFO_SFREE,"free"},
319 {STR_DISKINFO_BYTESPERBLOCK,"bytes/block"},
320 {STR_TEXT_VIEWER_TITLE,"Directory Opus Text Viewer"},
321 {STR_PROTECT_ALL_BITS,"All bits"},
322 {STR_PROTECT_NONE,"None"},
323 {STR_PROTECT_TOGGLE,"Toggle"},
324 {STR_PROTECT_REVERT,"Revert"},
325 {STR_PROTECT_OLD,"Old :"},
326 {STR_PROTECT_NEW,"New :"},
327 {STR_PROTECT_MASK,"Mask:"},
328 {STR_PROTECT_HIDDEN,"_Hidden"},
329 {STR_PROTECT_SCRIPT,"_Script"},
330 {STR_PROTECT_PURE,"_Pure"},
331 {STR_PROTECT_ARCHIVE,"_Archive"},
332 {STR_PROTECT_READ,"_Read"},
333 {STR_PROTECT_WRITE,"_Write"},
334 {STR_PROTECT_EXECUTED,"_Execute"},
335 {STR_PROTECT_DELETED,"_Delete"},
336 {STR_FILE_REQUEST,"File request"},
337 {STR_OF,"of"},
338 {STR_FRAME,"Frame"},
339 {STR_DISK_OP_TITLE,"Directory Opus Disk Operations"},
340 {STR_BUTTON_STRIP,"Directory Opus Button Strip"},
341 {STR_NO_FIT," N"},
342 {STR_YES_FIT," Y"},
343 {STR_FTYPE_DEFAULT,"Default"},
344 {STR_FTYPE_UNKNOWN,"Unknown file type"},
345 {STR_MULTI_DRAG,"Multi-drag - %ld files selected"},
346 {STR_PRESS_MOUSE_BUTTON,"Press left mouse button to continue..."},
347 {STR_NETWORK_NO_OWNER,"No owner"},
348 {STR_NETWORK_NO_GROUP,"No group"},
349 {STR_ERROR_ERROR_HELP,"Error help"},
350 {STR_SKIP_ALL,"S_kip all"},
351 {STR_PARENT_MULTI,"Parents and Multi-Assigns..."},
352 {STR_DISKINFO_FILESYSTEM,"F.System"},
353 {STR_ANIM_TYPE,"Anim type"},
354 {STR_GFX_NATIVE,"Native"},
355 {STR_OPENING_ARCHIVE,"Opening archive..."},
356 {STR_LISTER_MENU,"Lister options"},
357 {STR_FILE_NAME,"Name"},
358 {STR_FILE_SIZE,"Size"},
359 {STR_PROTECTION_BITS,"Protection"},
360 {STR_CREATION_DATE,"Date"},
361 {STR_FILE_COMMENT,"Comment"},
362 {STR_FILE_TYPE,"File type"},
363 {STR_OWNER,"Owner"},
364 {STR_GROUP,"Group"},
365 {STR_NET_PROTECTION_BITS,"Net protection bits"},
366 {STR_REVERSE_ORDER,"Reverse order"},
367 {STR_SIZE_AS_KMG,"Sizes in K/M/G format"},
368 {STR_BRING_TO_FRONT,"_Bring to front"},
369 {STR_REPLACE_DIR_WITH_FILE,"\"%s\" already exists! Replace?\n\n"\
370 "New - Size : %7ld Date : %19s\n"\
371 "Old - Date : %19s"},
372 {STR_REPLACE_FILE_WITH_DIR,"\"%s\" already exists! Replace?\n\n"\
373 "New - Date : %19s\n"\
374 "Old - Size : %7ld Date : %19s"},
375 {STR_OPERATION_NOT_SUPPORTED,"Operation not supported"},
376 {STR_QUERY_REMOVE_ASSIGN,"Do you really wish to remove \"%s\" assign?"},
377 {STR_VERSION_CONTENTS,"%-42s\n\n"\
378 " Directory Opus%24s \n"\
379 " DOpus Library%25s \n"\
380 " Compile time%26s \n"\
381 " Compile date%26s \n"\
382 " Port/screen name%22s \n\n"\
383 " Kickstart%29s \n"\
384 " Workbench%29s \n"\
385 " Processor%29s \n"\
386 " Math co-processor%21s \n"\
387 " Graphics chipset%22s \n"\
388 " Video system%26s \000"},
389 {STR_VERSION_HEADER,"Version information..."},
390 {STR_DIRSFIRST,"Show dirs first"},
391 {STR_FILESFIRST,"Show files first"},
392 {STR_MIXDIRSFILES,"Mix files and dirs"},
393 {STR_SORTALPHA,"Plain alphanumeric"},
394 {STR_SORTDEC,"Recognize decimals"},
395 {STR_SORTHEX,"Recognize hexadecimals"},
396 {STR_SORTBY,"Sort by"},
397 {STR_NAMESORT_MENU,"Name sorting"},
398 {STR_FILE_EXTENSION,"Extension"},
399 {STR_PROTECT_OKAY,"_Okay"},
400 {STR_PROTECT_ALL,"A_ll"},
401 {STR_ENTER_MAKELINK_PARAMS,"Enter link parameters"},
402 {STR_MAKELINK_TYPE_SOFT,"Soft"},
403 {STR_MAKELINK_TYPE_HARD,"Hard"},
404 {STR_MAKELINK_TYPE,"Type"},
405 {STR_MAKELINK_NAME,"Link name"},
406 {STR_MAKELINK_DESTINATION,"Link destination"},
407 {STR_PROTECT_CANCEL,"_Cancel"},
408 {STR_STRING_COUNT,NULL}};
410 char str_okaystring[30];
411 char str_cancelstring[30];
413 void readstrings(file)
414 char *file;
416 // int a;
417 stringdata.default_table=default_strings;
418 stringdata.string_count=STR_STRING_COUNT;
419 stringdata.min_version=0;
420 //D(bug("readstrings(%s)\n",file);Delay(50);)
422 //D(bug("STR_STRING_COUNT=%ld\n",STR_STRING_COUNT));
423 //D(for(a=0;a<STR_STRING_COUNT;a++) bug("%ld\t%s\n",default_strings[a].string_id,default_strings[a].string));
424 if (!(ReadStringFile(&stringdata,file))) quit();
425 globstring=stringdata.string_table;
427 for (a=0;a<12;a++) {
428 date_months[a]=globstring[STR_MONTH_JANUARY+a];
429 date_shortmonths[a]=globstring[STR_MONTH_JAN+a];
431 date_weekdays[0]=globstring[STR_DAY_SUNDAY];
432 date_shortweekdays[0]=globstring[STR_DAY_SUN];
433 for (a=1;a<7;a++) {
434 date_weekdays[a]=globstring[(STR_DAY_MONDAY-1)+a];
435 date_shortweekdays[a]=globstring[(STR_DAY_MON-1)+a];
437 for (a=0;a<4;a++) date_special[a]=globstring[STR_DAY_YESTERDAY+a];
439 strcpy(str_okaystring,globstring[STR_OKAY]);
440 strcpy(str_cancelstring,globstring[STR_CANCEL]);
443 int getkeyshortcut(const char *str)
445 char *c;
447 if ((c = strchr(str,'_'))) return ToLower(c[1]);
448 else return 0;