1 /*
2  * Author:      William Chia-Wei Cheng (bill.cheng@acm.org)
3  *
4  * Copyright (C) 2001-2009, William Chia-Wei Cheng.
5  *
6  * This file may be distributed under the terms of the Q Public License
7  * as defined by Trolltech AS of Norway and appearing in the file
8  * LICENSE.QPL included in the packaging of this file.
9  *
10  * THIS FILE IS PROVIDED AS IS WITH NO WARRANTY OF ANY KIND, INCLUDING
11  * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
12  * PURPOSE.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
13  * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
14  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
15  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
16  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17  *
18  * @(#)$Header: /mm2/home/cvs/bc-src/tgif/strtbl.c,v 1.135 2011/05/16 16:21:59 william Exp $
19  */
20 
21 #define _INCLUDE_FROM_STRTBL_C_
22 
23 #include "tgifdefs.h"
24 
25 #include "choice.e"
26 #include "drawing.e"
27 #include "msg.e"
28 #include "poly.e"
29 #include "strtbl.e"
30 #include "special.e"
31 #include "text.e"
32 #include "util.e"
33 
34 static char *gaszCachedStrTable[MAXCACHEDSTIDS];
35 
36 static char *gaszCachedEnglishStrTable[] = {
37    /* CSTID_OK */
38    N_("Ok"),
39    /* CSTID_CANCEL */
40    N_("Cancel"),
41    /* CSTID_PARANED_NONE */
42    N_("(none)"),
43    /* CSTID_SET_FONT_TO */
44    N_("Set font to '%s'"),
45    /* CSTID_NO_OBJ_SELECTED */
46    N_("No object selected."),
47    /* CSTID_SPECIFY_ARC_END */
48    N_("Please specify the end of an arc."),
49    /* CSTID_SPECIFY_ARC_START */
50    N_("Please specify the start of an arc."),
51    /* CSTID_SPECIFY_ARC_THIRD */
52    N_("Please specify a 3rd point on the arc."),
53    /* CSTID_SET_ARC_END */
54    N_("Set end of arc"),
55    /* CSTID_SET_ARC_START */
56    N_("Set start of arc"),
57    /* CSTID_SET_ARC_THIRD */
58    N_("Set 3rd point on arc"),
59    /* CSTID_SPECIFY_ARC_END_CW */
60    N_("Please specify the end of the arc (clockwise)."),
61    /* CSTID_SPECIFY_ARC_END_CCW */
62    N_("Please specify the end of the arc (counter-clockwise)."),
63    /* CSTID_CANCEL_NOT_AVAIL */
64    N_("CANCEL is not a valid option."),
65    /* CSTID_DLG_DEF_CONTINUE */
66    N_("( <CR> or <ESC> to continue )"),
67    /* CSTID_DLG_ACCEPT_CANCEL */
68    N_("( <CR>: accept, <ESC>: cancel )"),
69    /* CSTID_MALFORMED_INPUT_STR */
70    N_("Malformed input '%s'."),
71    /* CSTID_CACHING_TEXT_BMP */
72    N_("Caching text bitmap..."),
73    /* CSTID_PROGRESS_PERCENT */
74    N_("Progress: %1d%%"),
75    /* CSTID_FINISHED_CACHEING_TEXT_BMP */
76    N_("Finishing caching text bitmap..."),
77    /* CSTID_BAD_BOX_BBOX_ADJUSTED */
78    N_("Bad box bounding box.  Adjusted."),
79    /* CSTID_MAIN_MENU */
80    N_("Main Menu"),
81    /* CSTID_MODE_MENU */
82    N_("Mode Menu"),
83    /* CSTID_ROTATE_DEGREES_CW */
84    N_("Rotate %s degrees clock-wise"),
85    /* CSTID_ROTATE_DEGREES_CCW */
86    N_("Rotate %s degrees counter-clock-wise"),
87    /* CSTID_PRINT_MODE */
88    N_("%s print mode"),
89    /* CSTID_EXPORT_MODE */
90    N_("%s export mode"),
91    /* CSTID_PRINT_EXPORT_MENU */
92    N_("Print/ExportFormat Menu"),
93    /* CSTID_FLUSH_UNDO_PERCENT */
94    N_("Flushing undo buffers... %1d%%"),
95    /* CSTID_SET_COLOR_TO */
96    N_("Set color to '%s'"),
97    /* CSTID_CANNOT_ALLOC_COLOR_USE_ALT */
98    N_("Cannot allocate color '%s', use '%s' instead."),
99    /* CSTID_UPDATING_PIXELS */
100    N_("Updating pixels (%1d - %1dx%1d)..."),
101    /* CSTID_NONE */
102    N_("none"),
103    /* CSTID_PARANED_NULL */
104    N_("null"),
105    /* CSTID_COPY */
106    N_("Copy"),
107    /* CSTID_SAVE */
108    N_("Save"),
109    /* CSTID_PASTE */
110    N_("Paste"),
111    /* CSTID_RESTORE */
112    N_("Restore"),
113    /* CSTID_YES */
114    N_("Yes"),
115    /* CSTID_NO */
116    N_("No"),
117    /* CSTID_EXTRA */
118    N_("Extra"),
119    /* CSTID_INTERRUPT */
120    N_("interrupt"),
121    /* CSTID_LEAVE_HYPERSPACE */
122    N_("Leave HyperSpace"),
123    /* CSTID_ENTER_HYPERSPACE */
124    N_("Enter HyperSpace"),
125    /* CSTID_CACHING_IMAGE */
126    N_("Caching images..."),
127    /* CSTID_TOGGLE_SMOOTH_HINGE */
128    N_("Toggle smooth/hinge points"),
129    /* CSTID_FINISH */
130    N_("Finish"),
131    /* CSTID_DEL_A_VERTEX */
132    N_("Delete a vertex"),
133    /* CSTID_ADD_A_VERTEX */
134    N_("Add a vertex"),
135    /* CSTID_START_LAYOUT_ON_ARC */
136    N_("Start layout on arc"),
137    /* CSTID_END_LAYOUT_ON_ARC */
138    N_("End layout on arc"),
139    /* CSTID_EXECUTING_GIVEN_PROGRAM */
140    N_("Executing '%s'..."),
141    /* CSTID_DOTS_DONE */
142    N_("...Done"),
143    /* CSTID_IMPORTING_FILE */
144    N_("Importing '%s'..."),
145    /* CSTID_LOADING_FILE */
146    N_("Loading '%s'..."),
147    /* CSTID_EDIT_TEXT_SIZE_SUBSTR */
148    N_("edit text size"),
149    /* CSTID_SET_FONT_SIZE_TO_PT */
150    N_("Set font size to %1dpt"),
151    /* CSTID_SET_FONT_SIZE_TO */
152    N_("Set font size to %1d"),
153    /* CSTID_MAKING_CONN_TO_HOST */
154    N_("%s: making connection to '%s'..."),
155    /* CSTID_CONN_TO_HOST_ESTABLISHED */
156    N_("%s: connection to '%s' established."),
157    /* CSTID_LOGIN_SUCC_RETRIEVE_DATA */
158    N_("%s: login successful; retrieving data..."),
159    /* CSTID_LAYOUT_MENU */
160    N_("Layout Menu"),
161    /* CSTID_MAKING_CONN_TO_HOST_PORT */
162    N_("%s: making connection to '%s:%1d'..."),
163    /* CSTID_CONN_TO_HOST_PORT_ESTB */
164    N_("%s: connection to '%s:%1d' established."),
165    /* CSTID_SENDING_REQUESTS_DOTS */
166    N_("%s: sending requests..."),
167    /* CSTID_PARANED_UNKNOWN */
168    N_("(unknown)"),
169    /* CSTID_READING_RESPONSE_DOTS */
170    N_("%s: reading responses..."),
171    /* CSTID_RESPONSES_RECEIVED */
172    N_("%s: responses received."),
173    /* CSTID_GEN_FINAL_PIXELS_PERC */
174    N_("Generating final pixels: %1d%%"),
175    /* CSTID_BUILDING_HISTOGRAM_DOTS */
176    N_("Building histogram..."),
177    /* CSTID_HISTOGRAM_PERC */
178    N_("Histogram: %1d%%"),
179    /* CSTID_COMP_NEW_PIXELS_PERC */
180    N_("Computing new pixels: %1d%%"),
181    /* CSTID_QUANTIZING_COLORS_DOTS */
182    N_("Quantizing from %1d to %1d colors..."),
183    /* CSTID_REMAPPING_COLORS_DOTS */
184    N_("Remapping Colors..."),
185    /* CSTID_COMPUTING_NEW_PIXELS_PERC */
186    N_("Computing new pixels: %1d%%"),
187    /* CSTID_CALC_ERR_DIFF_PIX_VAL_PERC */
188    N_("Calculating error diffused pixel values: %1d%%"),
189    /* CSTID_CALC_NEW_PIX_1_VAL_PERC */
190    N_("Calculating new pixel values (pass 1): %1d%%"),
191    /* CSTID_CALC_NEW_PIX_2_VAL_PERC */
192    N_("Calculating new pixel values (pass 2): %1d%%"),
193    /* CSTID_DLG_ACCEPT_CONTINUE */
194    N_("( <CR>: accept, <ESC>: continue )"),
195    /* CSTID_OPENING_GIVEN */
196    N_("Opening '%s'..."),
197    /* CSTID_BACKGROUNDING_CMD */
198    N_("Backgrounding; '%s'."),
199    /* CSTID_CNTRL_C_TO_INTR_AND_ABEND */
200    N_("Type ^C if you want to interrupt and end abnormally..."),
201    /* CSTID_MOVE_PINNED_MENU */
202    N_("Move pinned menu"),
203    /* CSTID_CLOSE_PINNED_MENU */
204    N_("Close pinned menu"),
205    /* CSTID_RELEASE_MOUSE_TO_PIN_MENU */
206    N_("Release the mouse to pin down the menu"),
207    /* CSTID_LOCKED_OBJS_NOT_MOVED */
208    N_("Locked objects are not moved."),
209    /* CSTID_SCROLL_DOWN_1_LINE */
210    N_("scroll down 1 line"),
211    /* CSTID_SCROLL_AROUND */
212    N_("scroll around"),
213    /* CSTID_SCROLL_UP_1_LINE */
214    N_("scroll up 1 line"),
215    /* CSTID_ENABLE_REDRAW */
216    N_("enable redraw"),
217    /* CSTID_DISABLE_REDRAW */
218    N_("disable redraw"),
219    /* CSTID_GET_DIR_LIST_PLEASE_WAIT */
220    N_("Getting directory listing of '%s', please wait..."),
221    /* CSTID_ENTERING_HYPERSPACE */
222    N_("Entering hyperspace..."),
223    /* CSTID_GOTO */
224    N_("Goto"),
225    /* CSTID_DELETE */
226    N_("Delete"),
227    /* CSTID_CLOSE */
228    N_("Close"),
229    /* CSTID_BAD_OVAL_BBOX_ADJ */
230    N_("Bad oval bounding box.  Adjusted."),
231    /* CSTID_SHIFT_ALL_TABS_RIGHT */
232    N_("Shift All Tabs Right"),
233    /* CSTID_SHIFT_TABS_RIGHT */
234    N_("Shift Tabs Right"),
235    /* CSTID_SHIFT_TABS_LEFT */
236    N_("Shift Tabs Left"),
237    NULL
238 };
239 
240 static char *gaszCachedEnglishStrTable100[] = {
241    /* CSTID_SHIFT_ALL_TABS_LEFT */
242    N_("Shift All Tabs Left"),
243    /* CSTID_SHIFT_10_TABS_RIGHT */
244    N_("Shift 10 Tabs Right"),
245    /* CSTID_SHIFT_10_TABS_LEFT */
246    N_("Shift 10 Tabs Left"),
247    /* CSTID_PAGE_MENU */
248    N_("Page Menu"),
249    /* CSTID_GOTO_GIVEN_PAGE */
250    N_("Goto page %1d"),
251    /* CSTID_GOTO_GIVEN_PAGE_WITH_NAME */
252    N_("Goto page %1d: \"%s\""),
253    /* CSTID_GRAYSTR_CALLED_WITH_IDX_2 */
254    N_("Error:  GrayStr() called with index <= 2."),
255    /* CSTID_GRAY_SCALE_USED_FOR_PAT */
256    N_("Warning:  Gray scales used instead of tiling patterns."),
257    /* CSTID_SET_FILL_TO_NONE */
258    N_("Set fill pattern to NONE"),
259    /* CSTID_SET_FILL_TO_SOLID */
260    N_("Set fill pattern to SOLID"),
261    /* CSTID_SET_FILL_TO_BACKGROUND */
262    N_("Set fill pattern to BACKGROUND"),
263    /* CSTID_SET_FILL_TO_PAT_NUMBER */
264    N_("Set fill pattern to pattern #%1d"),
265    /* CSTID_SET_LINE_WIDTH_TO_GIVEN_S */
266    N_("Set line width to %s"),
267    /* CSTID_SET_PEN_DASH_PAT_NO_DASH */
268    N_("Set dash pattern for the pen to be no dashes"),
269    /* CSTID_SET_PEN_DASH_PAT_PAT_NUM */
270    N_("Set dash pattern for the pen to dash pattern #%1d"),
271    /* CSTID_SET_PEN_TO_NONE */
272    N_("Set pen to NONE"),
273    /* CSTID_SET_PEN_TO_SOLID */
274    N_("Set pen to SOLID"),
275    /* CSTID_SET_PEN_TO_BACKGROUND */
276    N_("Set pen to BACKGROUND"),
277    /* CSTID_SET_PEN_TO_PAT_NUM */
278    N_("Set pen to pattern #%1d"),
279    /* CSTID_SEL_A_PIN_ESC_TO_END_DOTS */
280    N_("Please select a pin (or press <ESC> to end)..."),
281    /* CSTID_ADD_LAST_VERTEX */
282    N_("Add last vertex"),
283    /* CSTID_SINGLE_PT_POLY_CONVERTED */
284    N_("Single point poly (%1d,%1d) converted to double point poly."),
285    /* CSTID_BAD_SMOOTHHINGE_POLY_FIXED */
286    N_("Invalid poly smooth/hinge specification detected.  Fixed."),
287    /* CSTID_CLOSE_POLYGON_SPLINE */
288    N_("Close the polygon/spline"),
289    /* CSTID_SNGL_PT_POLYGON_CONVERTED */
290    N_("Single point polygon (%1d,%1d) converted to 3-point point polygon."),
291    /* CSTID_TWO_PT_POLYGON_CONVERTED */
292    N_("Two-point polygon [%1d,%1d,%1d,%1d] converted to 3-point point polygon."),
293    /* CSTID_FILEVER_TOO_LARGE_FOR_RCBOX */
294    N_("Invalid file version (=%1d) for rcbox."),
295    /* CSTID_BAD_RCBOX_BBOX_ADJUSTED */
296    N_("Bad rcbox bounding box.  Adjusted."),
297    /* CSTID_PARANED_SEC_ELAPSED_AVG_SPEED */
298    N_("(%1d sec elapsed, avg %.2fKB/sec)"),
299    /* CSTID_UNZIPPING_WITH_CMD_DOTS */
300    N_("Unzipping with '%s'..."),
301    /* CSTID_UNCOMPRESSING_WITH_CMD_DOTS */
302    N_("Uncompressing with '%s'..."),
303    /* CSTID_DATA_RECEIVED */
304    N_("%s: data received."),
305    /* CSTID_FORWARDING_URL_TO_URL */
306    N_("%s: forwarding '%s' to '%s'."),
307    /* CSTID_SCROLL_UP */
308    N_("scroll up"),
309    /* CSTID_SCROLL_DOWN */
310    N_("scroll down"),
311    /* CSTID_SCROLL_PAGE_UP */
312    N_("scroll page up"),
313    /* CSTID_SCROLL_PAGE_DOWN */
314    N_("scroll page down"),
315    /* CSTID_SCROLL_VERTICALLY */
316    N_("scroll vertically"),
317    /* CSTID_SCROLL_HORIZONTALLY */
318    N_("scroll horizontally"),
319    /* CSTID_SCROLL_LEFT */
320    N_("scroll left"),
321    /* CSTID_SCROLL_RIGHT */
322    N_("scroll right"),
323    /* CSTID_SCROLL_PAGE_LEFT */
324    N_("scroll page left"),
325    /* CSTID_SCROLL_PAGE_RIGHT */
326    N_("scroll page right"),
327    /* CSTID_CANT_FIND_ATTR_WITH_COLOR */
328    N_("Cannot find the '%s' attribute with color %s."),
329    /* CSTID_CANT_FIND_FILEATTR_WITH_COLOR */
330    N_("Cannot find the '%s' file attribute with color %s."),
331    /* CSTID_CANT_FIND_NAMED_ATTR */
332    N_("Cannot find the '%s' attribute."),
333    /* CSTID_CANT_FIND_INTERPRETABLE_ATTR */
334    N_("Cannot find interpretable attribute."),
335    /* CSTID_NO_ACTION_TAKEN */
336    N_("No action taken."),
337    /* CSTID_FAIL_READ_ICONPXMP_USE_BMP */
338    N_("Fail to read IconPixmap file: '%s'.  Default icon bitmap is used."),
339    /* CSTID_DRAG_MOUSE_CREATE_SHAPE_DOTS */
340    N_("Drag the mouse to create a shape..."),
341    /* CSTID_CREATE_A_SHAPE_ABORTED */
342    N_("Create a shape aborted."),
343    /* CSTID_INSTANTIATING_FILE_DOTS */
344    N_("Instantiating '%s'..."),
345    /* CSTID_ATTR_PROMOTED_TO_NEW_SYMBOL */
346    N_("Object's attributes are promoted to the new symbol object."),
347    /* CSTID_ATTR_PROMOTED_TO_NEW_ICON */
348    N_("Object's attributes are promoted to the new icon object."),
349    /* CSTID_CREATING_FILE_DOTS */
350    N_("Creating '%s'..."),
351    /* CSTID_NAMED_FILE_CREATED */
352    N_("File '%s' created."),
353    /* CSTID_WRITING_ATTR_TO_NAMED_FILE */
354    N_("Writing attributes to '%s'..."),
355    /* CSTID_SEMICOLON_USED_AS_SEPARATOR */
356    N_("';'s are used as separators."),
357    /* CSTID_TAB_USED_AS_SEPARATOR */
358    N_("<TAB>s are used as separators."),
359    /* CSTID_PROCESSING_OBJ_NUMBER */
360    N_("Processing object %1d..."),
361    /* CSTID_PLACING_NAMED_OBJ */
362    N_("Placing object '%s'..."),
363    /* CSTID_WRITING_ATTRS_IN_TBL_FORM_TO */
364    N_("Writing attributes in table form to '%s'..."),
365    /* CSTID_CORRUPTED_POLY_MKMULTISPLINE */
366    N_("Corrupted poly in MakeMultiSplinePolyVertex()."),
367    /* CSTID_CORRUPTED_POLY_DMPMULTICURVE */
368    N_("Corrupted poly in DumpMultiCurvedPolyPoints()."),
369    /* CSTID_FIX_ATTEMPTED */
370    N_("Fix attempted."),
371    /* CSTID_PUSHING_INTO_NAMED */
372    N_("Pushing into '%s'..."),
373    /* CSTID_CUR_FILE_IS */
374    N_("Current file is '%s'."),
375    /* CSTID_DONT_KNOW_HOW_HANDLE_FRAME_CT */
376    N_("Does not know how to handle frame Content-Type: %s."),
377    /* CSTID_CANT_FIND_OBJ_NAME_ON_RESIZE */
378    N_("Cannot find object named '%s' any more; on_resize script not invoked."),
379    /* CSTID_PASTING_LINE_NUM_DOTS */
380    N_("Pasting line %1d..."),
381    /* CSTID_CANT_PASTE_DEL */
382    N_("Cannot paste <DEL>."),
383    /* CSTID_CANT_PASTE_BS */
384    N_("Cannot paste <BS>."),
385    /* CSTID_CANT_PASTE_ESC */
386    N_("Cannot paste <ESC>."),
387    /* CSTID_CANT_PASTE_TAB_REPLACE_BY_SPC */
388    N_("Cannot paste <TAB>, replaced by <SPACE>."),
389    /* CSTID_READING_FILE_DOTS */
390    N_("Reading '%s'..."),
391    /* CSTID_RETURNED_FROM_BASIC_DRIVER */
392    N_("Returned from basic driver."),
393    /* CSTID_CACHING_BITMAP */
394    N_("Caching bitmap..."),
395    /* CSTID_FINISHED_CACHEING_BITMAP */
396    N_("Finishing caching bitmap..."),
397    /* CSTID_NEW_BMP_SIZE_IS_W_X_H */
398    N_("New bitmap size is %1dx%1d."),
399    /* CSTID_BLD_COLOR_TBL_FROM_PIXEL_DOTS */
400    N_("Building color table from pixels..."),
401    /* CSTID_GENERATING_IMAGEMAP_FILE_DOTS */
402    N_("Generating imagemap file..."),
403    /* CSTID_GENERATING_HTML_FILE_DOTS */
404    N_("Generating HTML file..."),
405    /* CSTID_GENERATING_IMAGE */
406    N_("Generating image..."),
407    /* CSTID_FS_HALFTONE_BMP_THRESH_DOTS */
408    N_("FS halftone bitmap (threshold=%s)..."),
409    /* CSTID_THRESHOLD_BMP_THRESH_DOTS */
410    N_("Threshold bitmap (threshold=%s)..."),
411    /* CSTID_INVALID_FILEVER_FOR_XBM */
412    N_("Invalid file version (%1d) for X11 Bitmap objects."),
413    /* CSTID_FIELD_TOO_LONG_IN_OBJ_TRUNC */
414    N_("%s, %d:  %s field too long in %s object.  Truncated"),
415    /* CSTID_FILE_LINE_BAD_FLD_IN_OBJ_STR */
416    N_("%s, %d:  Bad %s in %s object [%s]."),
417    /* CSTID_MALFORMED_LINE_NUM_IN_FILE */
418    N_("Malformed line %1d in '%s'."),
419    /* CSTID_CACHING_PIXMAP */
420    N_("Caching pixmap..."),
421    /* CSTID_FINISHED_CACHEING_PIXMAP */
422    N_("Finishing caching pixmap..."),
423    /* CSTID_NEW_XPM_SIZE_IS_W_X_H */
424    N_("New pixmap size is %1dx%1d."),
425    /* CSTID_MANY_COLORS_GT_255_SKIP_XPM */
426    N_("Too many colors (%1d, which is > 255) in an xpm objects.  This object is skipped during printing."),
427    /* CSTID_GIVEN_ADDTNL_COLOR_ALLOCATED */
428    N_("%1d additional color(s) allocated."),
429    /* CSTID_INVALID_FILEVER_FOR_XPM */
430    N_("Invalid file version (%1d) for X11 Pixmap objects."),
431    /* CSTID_COLOR_SUBS_FOR_UNRECOG_IN_XPM */
432    N_("'%s' is substituted for unrecognized colors in an X11 Pixmap object."),
433    /* CSTID_CONTEXT_MENU */
434    N_("Context Menu"),
435    /* CSTID_GEN_TEMPLATE_HTML_FILE_DOT */
436    N_("Generating HTML file through '%s' template..."),
437    /* CSTID_SCALING_EVERYTHING_PAGE */
438    N_("Scaling everything for page %1d of %1d..."),
439    /* CSTID_SQUARE_BRACK_MODIFIED */
440    N_("[Modified]"),
441    NULL
442 };
443 
444 static char *gaszCachedEnglishStrTable200[] = {
445    /* CSTID_SQUARE_BRACK_MODIFIED_UNSAV */
446    N_("[Modified/Unsavable]"),
447    /* CSTID_SQUARE_BRACK_UNNAMED */
448    N_("[Unnamed]"),
449    /* CSTID_PARANED_EMPTY */
450    N_("(Empty)"),
451    /* CSTID_OPEN_FILE */
452    N_("Open '%s'"),
453    /* CSTID_INC_GRID_SIZE */
454    N_("Increment grid size"),
455    /* CSTID_DEC_GRID_SIZE */
456    N_("Decrement grid size"),
457    /* CSTID_GRID_MENU */
458    N_("Grid menu"),
459    /* CSTID_MOVE_EDIT_TEXT_BOX */
460    N_("Move edit text box"),
461    /* CSTID_START_MOVE_EDIT_TEXT_BOX */
462    N_("Start moving the edit text box"),
463    /* CSTID_EDIT_ATTR_IN_EDITOR */
464    N_("Edit the value of the '%s' attribute in a text editor"),
465    /* CSTID_GET_NAMED_PROP_FROM_SEL_OBJ */
466    N_("Get the current '%s' property from the selected object"),
467    /* CSTID_START_AN_EDGE_FROM_A_PORT */
468    N_("start an edge from a port"),
469    /* CSTID_ABORT */
470    N_("abort"),
471    /* CSTID_START_A_WIRE_FROM_NAMED_PORT */
472    N_("Start a wire from port '%s'... (Btn2 or Btn3 to abort)"),
473    /* CSTID_END_A_WIRE_AT_NAMED_PORT */
474    N_("End the wire at port '%s'... (press <ESC> to abort)"),
475    /* CSTID_SET_SIGNAME_FOR_NAMED_PORT */
476    N_("Set signal name (currently '%s') for port '%s'..."),
477    /* CSTID_CLK_ON_PORT_TO_RENAME_SIGNAME */
478    N_("Please click on a port to rename its signal name..."),
479    /* CSTID_CLK_ON_PORT_TO_CLEAR_SIGNAME */
480    N_("Please click on a port to clear its signal name..."),
481    /* CSTID_PORTNAME_TOO_LONG_SKIPPED */
482    N_("Port/pin name '%s...' too long.  It is skipped in net-list generation."),
483    /* CSTID_CLEAR_SIGNAME_FOR_NAMED_PORT */
484    N_("Clear signal name (currently '%s') for port '%s'..."),
485    /* CSTID_EDIT_ATTR_GROUP_IN_EDITOR */
486    N_("Edit the '%s' attribute group (attribute list of '%s') in a text editor"),
487    /* CSTID_INVALID_FILEVER_FOR_LINK_JPEG */
488    N_("Invalid file version (%1d) for linked JPEG objects."),
489    /* CSTID_NO_SUCH_FONT */
490    N_("Warning: No such font: %s"),
491    /* CSTID_ACCEPT */
492    N_("Accept"),
493    /* CSTID_ADD_A_STRUCT_VERTEX */
494    N_("Add a vertex (drag to add control points)"),
495    NULL
496 };
497 
498 static
SetAndLoadCachedString(index)499 char *SetAndLoadCachedString(index)
500    int index;
501 {
502    if (index < 100) {
503       gaszCachedStrTable[index] =
504             UtilStrDup(_(gaszCachedEnglishStrTable[index]));
505    } else if (index < 200) {
506       gaszCachedStrTable[index] =
507             UtilStrDup(_(gaszCachedEnglishStrTable100[index-100]));
508    } else {
509       gaszCachedStrTable[index] =
510             UtilStrDup(_(gaszCachedEnglishStrTable200[index-200]));
511    }
512    if (gaszCachedStrTable[index] == NULL) FailAllocMessage();
513    return gaszCachedStrTable[index];
514 }
515 
TgLoadCachedString(nID)516 char *TgLoadCachedString(nID)
517    int nID;
518    /*
519     * Note: once such a string is loaded, it will never change.
520     *       So, don't put any data-dependent stuff here.
521     * Note: the returned string is translated already.
522     */
523 {
524    if (nID >= MINCACHEDSTIDS && nID < MAXCACHEDSTIDS) {
525       int index=nID-MINCACHEDSTIDS;
526 
527       if (gaszCachedStrTable[index] != NULL) {
528          return gaszCachedStrTable[index];
529       }
530       return SetAndLoadCachedString(index);
531    }
532 #ifdef _TGIF_DBG /* debug, do not translate */
533    fprintf(stderr, "Cannot find cached string table entry with ID=%1d.\n", nID);
534 #endif /* _TGIF_DBG */
535 
536    return NULL;
537 }
538 
539 static char *gaszStrTable[MAXNONCACHEDSTIDS];
540 
541 static char *gaszEnglishStrTable[] = {
542    /* STID_CANNOT_LOAD_FONTSET */
543    N_("Cannot load fontset specified by %s.%s: '%s'."),
544    /* STID_CANNOT_LOAD_FONT */
545    N_("Cannot load font specified by %s.%s: '%s'."),
546    /* STID_CANNOT_DISTRIBUTE_LOCKED_OBJS */
547    N_("Cannot distribute with locked objects."),
548    /* STID_VERTICES_HORI_APART */
549    N_("Vertices are %1d pixels apart horizontally."),
550    /* STID_VERTICES_VERT_APART */
551    N_("Vertices are %1d pixels apart vertically."),
552    /* STID_LEFT_SIDES_APART */
553    N_("Left sides of objects are %1d pixels apart."),
554    /* STID_CENTERS_APART */
555    N_("Center of objects are %1d pixels apart."),
556    /* STID_RIGHT_SIDES_APART */
557    N_("Right sides of objects are %1d pixels apart."),
558    /* STID_SPACED_APART_HORI */
559    N_("Objects are spaced %1d pixels apart horizontally."),
560    /* STID_TOP_SIDES_APART */
561    N_("Top sides of objects are %1d pixels apart."),
562    /* STID_MIDDLES_APART */
563    N_("Middles of objects are %1d pixels apart."),
564    /* STID_BOTTOM_SIDES_APART */
565    N_("Bottom sides of objects are %1d pixels apart."),
566    /* STID_SPACED_APART_VERT */
567    N_("Objects are spaced %1d pixels apart vertically."),
568    /* STID_DISTR_VERTEX_HORI */
569    N_("Distribute selected vertices so that they are spaced equally horizontally"),
570    /* STID_DISTR_VERTEX_VERT */
571    N_("Distribute selected vertices so that they are spaced equally vertically"),
572    /* STID_DISTR_VERTEX_VERT_AND_HORI */
573    N_("Distribute selected vertices so that they are spaced equally horizontally and vertically"),
574    /* STID_MOVE_ALL_VERTICES_YNC */
575    N_("Okay to move all vertices to one point? [ync](y)"),
576    /* STID_CANNOT_ALIGN_OBJS_TOO_MANY */
577    N_("Cannot align objects.  Too many objects locked."),
578    /* STID_ALIGN_VERTICES_HORI_TO_GRID */
579    N_("Align selected vertices horizontally to the grid"),
580    /* STID_ALIGN_VERTICES_VERT_TO_GRID */
581    N_("Align selected vertices vertically to the grid"),
582    /* STID_ALIGN_VERTICES_HORI */
583    N_("Align selected vertices horizontally"),
584    /* STID_ALIGN_VERTICES_VERT */
585    N_("Align selected vertices vertically"),
586    /* STID_ALIGN_VERTICES_TO_GRID */
587    N_("Align selected vertices to the grid"),
588    /* STID_ALIGN_VERTICES */
589    N_("Align selected vertices"),
590    /* STID_SELECT_ONE_POLY_ONE_NON_POLY */
591    N_("Please select one polyline and one non-polyline object."),
592    /* STID_CANNOT_MOVE_A_VERTEX_LOCKED */
593    N_("Cannot move a vertex for a locked polyline object."),
594    /* STID_SELECT_ONLY_ONE_POLY */
595    N_("Please select only one POLY object."),
596    /* STID_NO_ARC_CREATED */
597    N_("No arc created."),
598    /* STID_INVALID_ARC_VERSION */
599    N_("Invalid arc version (%1d)."),
600    /* STID_WARN_INCONSIST_ARC_DIR */
601    N_("Warning: Inconsistent arc direction.  Corrected."),
602    /* STID_ARC_SPEC */
603    N_("Please enter an arc specification: [radius,dir(+/-),theta1,theta2]"),
604    /* STID_INVALID_ARC_SPEC_RADIUS */
605    N_("Invalid radius in arc specification '%s'."),
606    /* STID_INVALID_ARC_SPEC_DIR */
607    N_("Invalid direction in arc specification '%s'."),
608    /* STID_INVALID_ARC_SPEC_THETA1 */
609    N_("Invalid theta1 in arc specification '%s'."),
610    /* STID_SELECT_AT_LEAST_ONE_TEXT */
611    N_("Must select at least one text object."),
612    /* STID_MORE_THAN_ONE_NON_TEXT */
613    N_("More than one non-text objects selected."),
614    /* STID_NO_TEXT_SELECTED_ADD_ATTRS */
615    N_("No text objects selected to add as attributes."),
616    /* STID_NO_NON_TEXT_SELECTED */
617    N_("No objects (other than TEXT objects) selected."),
618    /* STID_TEXT_ATTACHED */
619    N_("Text object(s) attached."),
620    /* STID_TEXT_UNLOCKED_AND_ATTACHED */
621    N_("Text object(s) unlocked and attached."),
622    /* STID_UNEXPECTED_EOF_IN_ABORT_READ */
623    N_("%s, %d: Unexpected EOF in %s.  Read aborted."),
624    /* STID_STRING_LEN_EXCEEDS_AND_TRUNC */
625    N_("String length exceeds %1d.  String is truncated."),
626    /* STID_MOVE_ONE_ATTR_MOUSE_MSG */
627    N_("LEFT--show and move.  MIDDLE--toggle name shown.  RIGHT--hide attr."),
628    /* STID_CANNOT_MOVE_ATTR_IF_LOCKED */
629    N_("Cannot move attributes of locked object."),
630    /* STID_SHOW_MOVE_ATTR */
631    N_("Show/move an attribute"),
632    /* STID_TOGGLE_NAME_SHOWN */
633    N_("Toggle name shown"),
634    /* STID_HIDE_ATTR */
635    N_("Hide an attribute"),
636    /* STID_CHANGE_ATTR_JUST_MOUSE_MSG */
637    N_("LEFT--left justify.  MIDDLE--center justify.  RIGHT--right justify."),
638    /* STID_LEFT_JUSTIFY */
639    N_("Left justify an attribute"),
640    /* STID_CENTER_JUSTIFY */
641    N_("Center justify an attribute"),
642    /* STID_RIGHT_JUSTIFY */
643    N_("Right justify an attribute"),
644    /* STID_SELECT_ONLY_ONE_OBJ */
645    N_("Please select only ONE object."),
646    /* STID_SELECT_HAS_NO_ATTR */
647    N_("Selected object currently has NO attributes."),
648    /* STID_DRAG_LEFT_BTN_TO_SEE_ATTR */
649    N_("Drag left button to see attributes."),
650    /* STID_CHANGE_ATTR_JUST */
651    N_("Change an attribute justification"),
652    /* STID_IS_ATTR_OBSOLETE_FOR_ICON_YNC */
653    N_("Is the attribute '%s' obsolete for icon '%s'?  [yn](y)"),
654    /* STID_BAD_FORMAT_IN_SHORTCUT_SPEC */
655    N_("Invalid format in shortcut specification."),
656    /* STID_CANNOT_FIND_NAMED_ATTR */
657    N_("Cannot find a '%s' attribute for the selected object."),
658    /* STID_ATTACH_FILE_ATTRS_IN_WB */
659    N_("AttachFileAttrs() is disabled in WhiteBoard mode."),
660    /* STID_CANNOT_ATTACH_NON_TEXT_OBJ */
661    N_("Cannot attach non-text objects."),
662    /* STID_DETACH_FILE_ATTRS_IN_WB */
663    N_("DetachFileAttrs() is disabled in WhiteBoard mode."),
664    /* STID_FILE_CONTAINS_NO_ATTRS */
665    N_("Current file contains no attributes."),
666    /* STID_SHOW_ATTR_NAME_AND_VALUE */
667    N_("Will show both the name and the value for the '%s' attribute."),
668    /* STID_SHOW_ATTR_VALUE_ONLY */
669    N_("Will only show the value of the '%s' attribute."),
670    /* STID_NOT_SHOW_ATTR */
671    N_("Will not show the '%s' attribute."),
672    /* STID_SHOW_ATTR */
673    N_("Will show the '%s' attribute."),
674    /* STID_WONT_SHOW_VALUE */
675    N_("Will not show the '%s' value."),
676    /* STID_TGIF_EDIT_ATTR_NAMES */
677    N_("%s - Edit Attribute Names"),
678    /* STID_EDIT_FILE_ATTRS_IN_WB */
679    N_("EditFileAttrs() is disabled in WhiteBoard mode."),
680    /* STID_EDIT_FILE_ATTRS_DOTS */
681    N_("Edit File Attributes..."),
682    /* STID_FILE_ATTRS_UPDATED */
683    N_("File attribute(s) updated."),
684    /* STID_SELECT_ONE_OBJ_FOR_EDITATTRS */
685    N_("Must select only one object for EditAttrs()."),
686    /* STID_OBJ_CONTAINS_NO_ATTRS */
687    N_("Selected object contains no attributes."),
688    /* STID_EDIT_OBJ_ATTRS_DOTS */
689    N_("Edit Object Attributes (show/hide, name shown)..."),
690    /* STID_OBJ_ATTRS_UPDATED */
691    N_("Object attribute(s) updated."),
692    /* STID_INPUT_OCTAL_STR */
693    N_("Please input an octal string (e.g., \"%s\"):"),
694    /* STID_INPUT_STR */
695    N_("Please input a string:"),
696    /* STID_WARN_PRINT_COURIER_IN_COLOR */
697    N_("Warning: Printing Courier fonts with non-solid pen in color."),
698    /* STID_MAY_CAUSE_ERROR_IN_PRINTOUT */
699    N_("    This may cause error in the printout."),
700    /* STID_BAD_OCTAL_STRING_ENCOUNTERED */
701    N_("Bad octal string \\%c%c%c encountered."),
702    /* STID_SERVER_NOT_STARTED */
703    N_("Server not started."),
704    /* STID_INVISIBLE_COLOR_SELECTED_YNC */
705    N_("Invisible color #%1d (%s) is selected for drawing.\n\nWould you like to make the color visible?"),
706    /* STID_COLOR_IS_CURRENTLY_INVISIBLE */
707    N_("Color %1d (%s) is currently invisible."),
708    /* STID_COLOR_SET_TO */
709    N_("Color set to '%s'."),
710    /* STID_TEXT_VSPACE_TOO_SMALL_RESET_0 */
711    N_("Text vertical spacing too small.\n\nIt is reset to 0."),
712    /* STID_FONT_AND_SIZE_NOT_AVAILABLE */
713    N_("%s-%1d not available."),
714    /* STID_LINE_WIDTH_SET_TO */
715    N_("Line width set to %s."),
716    /* STID_LINE_TYPE_IS_STRAIGHT */
717    N_("Line type is 'straight'."),
718    /* STID_LINE_TYPE_IS_SPLINE */
719    N_("Line type is 'spline'."),
720    /* STID_LINE_TYPE_IS_INTSPLINE */
721    N_("Line type is 'interpolated spline'."),
722    /* STID_TAB_FOR_FILE_COMPLETION */
723    N_("Type <TAB> for file completion..."),
724    /* STID_FAIL_TO_CREATE_WINDOW */
725    N_("Fail to create a window."),
726    /* STID_FAIL_TO_CREATE_NAMED_WINDOW */
727    N_("Fail to create the %s window."),
728    /* STID_UNDO_REDO_MAY_CAUSE_CRASH */
729    N_("Further Undo()/Redo() may cause crashes."),
730    /* STID_UNDO_IN_WB */
731    N_("Undo() is disabled in WhiteBoard mode."),
732    /* STID_NO_COMMANDS_TO_UNDO */
733    N_("No commands to Undo."),
734    /* STID_REDO_IN_WB */
735    N_("Redo() is disabled in WhiteBoard mode."),
736    /* STID_NO_COMMANDS_TO_REDO */
737    N_("No commands to Redo."),
738    /* STID_SELECT_LIST_NOT_SORTED_IN */
739    N_("Select list not sorted in %s."),
740    /* STID_WARN_CANNOT_PARSE_NAMED_COLOR */
741    N_("Warning: Cannot parse color '%s'."),
742    NULL
743 };
744 
745 static char *gaszEnglishStrTable100[] = {
746    /* STID_CANNOT_ALLOC_NAMED_COLOR */
747    N_("Warning: Cannot allocate color '%s'."),
748    /* STID_CANNOT_BREAKUP_EPS */
749    N_("Cannot break up an EPS object."),
750    /* STID_INVALID_FILE_IN_X_DEFAULT */
751    N_("Invalid file '%s' specified by X default %s.%s."),
752    /* STID_INVALID_XDEF_COLORXPM_GET */
753    N_("Invalid %s.%s: '%s' - Fail to get colors.  Resource ignored."),
754    /* STID_INVALID_XDEF_COLORXPM_TRANS */
755    N_("Invalid %s.%s: '%s' - Transparent color is not allowed.  Resource ignored."),
756    /* STID_FAIL_ALLOC_EDIT_TEXT_BGCOLOR */
757    N_("Fail to allocate the '%s' background color for use in editing existing text objects."),
758    /* STID_FAIL_ALLOC_EDIT_TEXT_HICOLOR */
759    N_("Fail to allocate the '%s' highlight color for use in editing existing text objects"),
760    /* STID_FAIL_ALLOC_DEF_BGCOLOR */
761    N_("Fail to allocate the default background color: '%s'."),
762    /* STID_INVALID_XDEF_USE_ALT_VALUE */
763    N_("Invalid %s.%s: '%s', %1d is used instead."),
764    /* STID_NORM_VIDEO_MODE_ASSUMED */
765    N_("Normal video mode assumed since %s is specified in the command line."),
766    /* STID_ZERO_COLORS_SPECIFIED */
767    N_("0 colors specified (must be at least 1)."),
768    /* STID_CANNOT_GET_X_DEFAULT */
769    N_("Cannot get X default %s.%s."),
770    /* STID_INVALID_XDEF_WILL_TRY_STR */
771    N_("Invalid %s.%s: '%s'.  Will try '%s'."),
772    /* STID_FAIL_TO_ALLOC_3D_COLORS */
773    N_("Fail to allocate colors for 3DLook."),
774    /* STID_FAIL_TO_ALLOC_COLOR_NUM */
775    N_("Fail to allocate color number %1d: '%s'.  %s is aborted."),
776    /* STID_DEFCOLORINDEX_GE_MAXCOLORS */
777    N_("Warning: %s.%s >= %s.%s.  Use 0 for %s.%s."),
778    /* STID_FAIL_ALLOC_NAMED_COLOR_ABORT */
779    N_("Fail to allocate the '%s' color.  Abort."),
780    /* STID_FAIL_ALLOC_COLOR_NUM_ABORT */
781    N_("Fail to allocate color number %1d: '%s'.  Abort."),
782    /* STID_UNEXPECTED_MAX_RGB_ZERO */
783    N_("Warning: Unexpected maximum RGB intensity of 0."),
784    /* STID_FG_BG_SAME_COLOR_WARNING */
785    N_("Warning: Foreground and background colors are the same.  You may not be able to see much."),
786    /* STID_CANNOT_SET_FG_COLOR */
787    N_("Warning: Cannot set the foreground color to '%s'.  The default color '%s' is used."),
788    /* STID_INVISIBLE_COLOR_SELECTED */
789    N_("Invisible color #%1d (%s) is selected for drawing."),
790    /* STID_ALL_COLOR_LAYERS_VISIBLE */
791    N_("All color layers are now visible."),
792    /* STID_ALL_COLOR_LAYERS_INVISIBLE */
793    N_("All color layers are now invisible."),
794    /* STID_A_COLOR_LAYER_TURNED_ON */
795    N_("Color '%s' (layer %1d) is turned on."),
796    /* STID_A_COLOR_LAYER_TURNED_OFF */
797    N_("Color '%s' (layer %1d) is turned off."),
798    /* STID_TURN_COLOR_LAYER_NUM_ON */
799    N_("Turn color '%s' (layer %1d) on"),
800    /* STID_TURN_COLOR_LAYER_NUM_OFF */
801    N_("Turn color '%s' (layer %1d) off"),
802    /* STID_COLORMAP_NOT_RESETED */
803    N_("Colormap not reseted due to the DONT_FREE_COLORMAP compile flag."),
804    /* STID_ADDCOLOR_FOR_BW_DPY */
805    N_("Adding color is not available for a black and white display."),
806    /* STID_ENTER_COLORS_TO_ADD */
807    N_("Please enter colors to add:"),
808    /* STID_FAIL_ALLOC_NAMED_COLOR */
809    N_("Fail to allocate the '%s' color."),
810    /* STID_ENTER_EDIT_BG_COLOR */
811    N_("Please enter the background color to be used in editing existing a text object when UseAltEditTextBgColor is selected (please enter 'NONE' to remove): [current - %s]"),
812    /* STID_ENTER_EDIT_HILIGHT_COLOR */
813    N_("Please enter the highlight color to be used in editing existing a text object when UseAltEditTextBgColor is selected (please enter 'NONE' to remove): [current - %s]"),
814    /* STID_COLOR_LAYERS_ENABLED */
815    N_("Color layers enabled."),
816    /* STID_COLOR_LAYERS_DISABLED */
817    N_("Color layers disabled."),
818    /* STID_TOO_MANY_LINES_IN_COLORINFO */
819    N_("Warning: Too many lines in color_info."),
820    /* STID_WAIT_FOR_START_CONV */
821    N_("Waiting for start of input conversion."),
822    /* STID_NO_NAMED_SELECTION_OWNER */
823    N_("There is no Selection Owner of %s."),
824    /* STID_FAIL_TO_CHANGE_CONV_PROP */
825    N_("Fail to change conversion property."),
826    /* STID_FAIL_TO_INTERN_NAMED_ATOM */
827    N_("Fail to intern the '%s' atom."),
828    /* STID_FAIL_TO_CONNECT_TO_OWNER */
829    N_("Fail to connect to selection owner."),
830    /* STID_FAIL_TO_GET_WIN_PROP */
831    N_("Cannot get window property."),
832    /* STID_FAIL_TO_DISCONNECT_FROM_OWNER */
833    N_("Fail to disconnect from selection owner."),
834    /* STID_LOCALE_IS */
835    N_("Locale is '%s'."),
836    /* STID_MODIFIER_IS */
837    N_("Modifier is '%s'."),
838    /* STID_CANNOT_OPEN_XIM */
839    N_("Cannot open the X Input Method."),
840    /* STID_OVERTHESPOT_CONV */
841    N_("OverTheSpot conversion."),
842    /* STID_ROOT_CONV */
843    N_("Root conversion."),
844    /* STID_IM_NOT_SUPPORT_GIVEN_STYLE */
845    N_("This X Input Method does not support the '%s' input style."),
846    /* STID_FAIL_TO_CREATE_INPUTCONTEXT */
847    N_("Fail to create InputContext."),
848    /* STID_OPEN_XIM */
849    N_("Open X Input Method."),
850    /* STID_CLOSE_XIM */
851    N_("Close X Input Method."),
852    /* STID_INVALID_XDEF_USE_ALT_STR */
853    N_("Invalid %s.%s: '%s', '%s' is used instead."),
854    /* STID_NO_OBJ_SELECTED_FOR_COPY */
855    N_("No object selected for the copy/cut operation."),
856    /* STID_CANNOT_OPEN_FILE_FOR_WRITING */
857    N_("Cannot open '%s' for writing."),
858    /* STID_CANNOT_OPEN_FILE_FOR_READING */
859    N_("Cannot open '%s' for reading."),
860    /* STID_FAIL_TO_FSTAT_ABORT_COPY */
861    N_("Fail to fstat() '%s'.  Copy aborted."),
862    /* STID_ERR_READING_FILE_COPY_ABORT */
863    N_("Error reading from '%s'.  Copy aborted."),
864    /* STID_COPY_FAILED_OBJ_MAYBE_TOO_BIG */
865    N_("Copy to cut buffer failed.  Selected object(s) may be too big."),
866    /* STID_COPY_BUFFER_UPDATED */
867    N_("Copy buffer updated."),
868    /* STID_ESC_KEY_PRESS_IGNORED */
869    N_("An <ESC> key press is ignored."),
870    /* STID_CUT_BUFFER_EMPTY */
871    N_("The cut buffer is empty or there was a problem getting data from the cut buffer."),
872    /* STID_STR_EXCEEDS_NUM_CH_IGNORED */
873    N_("String length exceeds %1d.  Character is ignored."),
874    /* STID_PASTE_FROM_NON_TGIF */
875    N_("Paste from a non-tgif tool."),
876    /* STID_ERR_WRITING_FILE_PASTE_ABORT */
877    N_("Error writing to '%s'.  Paste aborted."),
878    /* STID_FILEVER_TOO_LARGE_PASTE_ABORT */
879    N_("File version too large (=%1d).  Paste aborted."),
880    /* STID_CANNOT_PASTE_MIXED_TEXT */
881    N_("Cannot paste mixed text at the current cursor position."),
882    /* STID_STR_BLOCKS_PASTED_FROM_TGIF */
883    N_("String blocks pasted from tgif."),
884    /* STID_OBJS_PASTED_FROM_TGIF */
885    N_("Objects pasted from tgif."),
886    /* STID_SEL_A_FILE_TO_PASTE_DOTS */
887    N_("Please select a file to PASTE..."),
888    /* STID_PASTING_REMOTE_FILE_NOT_SUP */
889    N_("Pasting remote file not supported."),
890    /* STID_NAMED_FILE_IS_EMPTY */
891    N_("File '%s' is empty."),
892    /* STID_CANNOT_MALLOC_NUM_BYTES */
893    N_("Cannot malloc %1d bytes."),
894    /* STID_NO_PRIMARY_SELECTION_OWNER */
895    N_("There is no selection owner of PRIMARY."),
896    /* STID_CONVERTING_GIVEN_DOTS */
897    N_("Converting %s..."),
898    /* STID_TIMEOUT_CONVERT_GIVEN */
899    N_("Timeout occurred when attempting to convert %s."),
900    /* STID_PROBLEM_CONVERT_GIVEN */
901    N_("Problem encountered when converting %s."),
902    /* STID_PASTE_COMP_TEXT_FROM_NON_TGIF */
903    N_("Paste compound-text from a non-tgif tool."),
904    /* STID_CANNOT_FIND_SIZE_USE_ALT */
905    N_("Cannot find font size '%1d'.  %1d is used instead."),
906    /* STID_CANNOT_FIND_FONT_USE_ALT */
907    N_("Cannot find screen font for '%s'.  '%s' font is used instead."),
908    /* STID_CANNOT_PASTE_COMPOUND_OBJ */
909    N_("Cannot paste '%s' for compound objects.  Therefore, '%s' cannot be selected."),
910    /* STID_CUT_BUF_HAS_NON_ROT_COMP */
911    N_("The '%s' in the cut buffer contains non-rotational components.  Text rotation of 0 degree is used."),
912    /* STID_NO_PROPERTY_TO_PASTE */
913    N_("No property to paste."),
914    /* STID_NO_PROPERTY_TO_COPY */
915    N_("No property to copy."),
916    /* STID_INVALID_KEY_IN_SEC_OF_INIFILE */
917    N_("Invalid key: '%s' in the [%s] section of '%s'."),
918    /* STID_ENTER_NAME_FOR_PROP_SET */
919    N_("Please enter a name for the property set."),
920    /* STID_PROP_SET_EXISTS_OVERWRITE_YNC */
921    N_("Property set [%s] already exists.  Okay to overwrite?"),
922    /* STID_NO_PROP_TO_SAVE */
923    N_("No property to save."),
924    /* STID_WILL_COPY_NAMED_PROP */
925    N_("Will copy the '%s' property."),
926    /* STID_WILL_NOT_COPY_NAMED_PROP */
927    N_("Will not copy the '%s' property."),
928    /* STID_WILL_SAVE_NAMED_PROP */
929    N_("Will save the '%s' property."),
930    /* STID_WILL_NOT_SAVE_NAMED_PROP */
931    N_("Will not save the '%s' property."),
932    /* STID_WILL_PASTE_NAMED_PROP */
933    N_("Will paste the '%s' property."),
934    /* STID_WILL_NOT_PASTE_NAMED_PROP */
935    N_("Will not paste the '%s' property."),
936    /* STID_WILL_RESTORE_NAMED_PROP */
937    N_("Will restore the '%s' property."),
938    /* STID_WILL_NOT_RESTORE_NAMED_PROP */
939    N_("Will not restore the '%s' property."),
940    /* STID_TOOL_COPY_PROP */
941    N_("%s - Copy Properties"),
942    /* STID_TOOL_SAVE_PROP */
943    N_("%s - Save Properties"),
944    /* STID_TOOL_PASTE_PROP */
945    N_("%s - Paste Properties"),
946    NULL
947 };
948 
949 static char *gaszEnglishStrTable200[] = {
950    /* STID_TOOL_RESTORE_PROP */
951    N_("%s - Restore Properties"),
952    /* STID_SEL_ONLY_ONE_FOR_COPY_PROP */
953    N_("Please select only one object for CopyProperties()."),
954    /* STID_SEL_ONLY_ONE_FOR_SAVE_PROP */
955    N_("Please select only one object for SaveProperties()."),
956    /* STID_UNCHECK_PROP_FOR_COPY_DOTS */
957    N_("Please uncheck properties you don't want to copy..."),
958    /* STID_UNCHECK_PROP_FOR_SAVE_DOTS */
959    N_("Please uncheck properties you don't want to save..."),
960    /* STID_UNCHECK_PROP_FOR_PASTE_DOTS */
961    N_("Please uncheck properties you don't want to paste..."),
962    /* STID_UNCHECK_PROP_FOR_RESTORE_DOTS */
963    N_("Please uncheck properties you don't want to restore..."),
964    /* STID_MALFORMED_CUT_BUF_WHILE_PASTE */
965    N_("Malformed cut buffer read while pasting properties."),
966    /* STID_NO_PROP_SETS_TO_RESTORE */
967    N_("Cannot find any property sets.  Nothing to restore."),
968    /* STID_SEL_A_PROP_SET_TO_RESTORE */
969    N_("Please select a property set to restore..."),
970    /* STID_TOOL_EDIT_INI_SECTION */
971    N_("%s - Edit Ini Section"),
972    /* STID_BAD_VALUE_FOR_KEY */
973    N_("Bad %s value: '%s'."),
974    /* STID_NOTHING_TO_EDIT_SEC_EMPTY */
975    N_("The [%s] section of '%s' is empty.\n\nNothing to edit."),
976    /* STID_EDIT_VALUES_FOR_DOTS */
977    N_("Edit values for [%s]..."),
978    /* STID_TOOL_SEL_FROM_INI_SECTION */
979    N_("%s - Select From Ini Section"),
980    /* STID_NOTHING_TO_SEL_SEC_EMPTY */
981    N_("The [%s] section of '%s' is empty.\n\nNothing to select from."),
982    /* STID_SELECT_A_VALUE_FROM_SEC_DOTS */
983    N_("Select a value from [%s]..."),
984    /* STID_COPY_PROP_BEFORE_PASTE */
985    N_("Please copy some properties before pasting properties."),
986    /* STID_INVALID_PARAM_PASSED_TO_FUNC */
987    N_("Invalid parameters passed to %s."),
988    /* STID_TOOL_INPUT */
989    N_("%s - Input"),
990    /* STID_WARN_INVALID_NUMREDRAWBBOX */
991    N_("Warning: Invalid numRedrawBBox."),
992    /* STID_USER_INTR_ABORT_REPAINT */
993    N_("User interrupt.  Repaint aborted."),
994    /* STID_CANNOT_ALLOC_XPM_NO_ANIM */
995    N_("Cannot allocate pixmap of size [%1dx%1d].\n\nCannot cache animation."),
996    /* STID_SCROLLING_CANCELED */
997    N_("Scrolling canceled."),
998    /* STID_CANNOT_ALLOC_PIXMAP_OF_SIZE */
999    N_("Cannot allocate pixmap of size [%1dx%1d]."),
1000    /* STID_FORCING_END_ANIMATE */
1001    N_("Forcing an end_animate()."),
1002    /* STID_TOOL_NOT_FINISH_WITH_EXEC */
1003    N_("%s is not finished with the previous ExecCmdsFromFile() yet."),
1004    /* STID_NO_INTSPLINE_SELECTED */
1005    N_("No interpolated spline objects selected."),
1006    /* STID_INTSPLINE_CONVERTED_TO_SPLINE */
1007    N_("Interpolated spline objects converted to splines."),
1008    /* STID_SELECT_ONLY_ONE_POLY_POLYGON */
1009    N_("Please select only one POLY or POLYGON object."),
1010    /* STID_CANNOT_TOGGLE_FOR_INTSPLINE */
1011    N_("Cannot toggle Smooth/Hinge points for interpolated spline objects."),
1012    /* STID_BAD_POLY_IN_TOGGLE_SMOOTH */
1013    N_("Bad poly in SelectModeToggleSmoothHinge()."),
1014    /* STID_CLICK_LEFT_BUTTON_TO_TOGGLE */
1015    N_("Click left mouse button to toggle Smooth/Hinge points."),
1016    /* STID_CLICK_OTHER_BUTTON_TO_QUIT */
1017    N_("Click other buttons to quit."),
1018    /* STID_ONLY_TOGGLE_SMOOTH_IN_MODES */
1019    N_("Can only toggle smooth/hinge points in VERTEX or SELECT mode."),
1020    /* STID_SMOOTHNESS_TOGGLED */
1021    N_("The smoothness of selected vertices are toggled."),
1022    /* STID_BREAK_TEXT_CWL */
1023    N_("Would you like to break text at char/word/line boundaries? [cwl](c)"),
1024    /* STID_BREAK_TEXT_CL */
1025    N_("Would you like to break text at char/line boundaries? [cl](c)"),
1026    /* STID_BREAK_TEXT_CW */
1027    N_("Would you like to break text at char/word boundaries? [cw](c)"),
1028    /* STID_INVALID_SPEC_ON_BREAK_TEXT */
1029    N_("Invalid specification on how to break up text: '%s'."),
1030    /* STID_NO_TEXT_OBJ_TO_BREAK_UP */
1031    N_("No text objects selected to break up."),
1032    /* STID_SOME_TEXT_NOT_BROKEN_UP_SIZE */
1033    N_("Some text are not broken up due to unavailable text size."),
1034    /* STID_TEXT_BROKEN_INTO_CHARS */
1035    N_("Text string is broken up into characters."),
1036    /* STID_CUR_TEXT_BG_SET_TO_NAMED */
1037    N_("Current text object's background color has been set to '%s'."),
1038    /* STID_SOME_TEXT_BG_SET_TO_NAMED */
1039    N_("Some text object's background color have been set to '%s'."),
1040    /* STID_SEL_ONE_POLYGON_TO_MAKE_REG */
1041    N_("Please select one polygon object to make it regular."),
1042    /* STID_POLYGON_LOCKED */
1043    N_("Selected polygon is locked."),
1044    /* STID_POLYGON_TOO_SMALL_FOR_REGULAR */
1045    N_("Selected polygon is too small to make regular."),
1046    /* STID_VERTEX_AT_3_OCLOCK_YNC */
1047    N_("Do you want a vertex at the 3 o'clock position?  [ync](y)"),
1048    /* STID_CANNOT_DEL_PT_FOR_LOCKED */
1049    N_("Cannot delete points for a locked object."),
1050    /* STID_LEFT_BTN_TO_DEL_PTS */
1051    N_("Click left mouse button to DELETE points."),
1052    /* STID_CANNOT_ADD_PT_FOR_LOCKED */
1053    N_("Cannot add points for a locked object."),
1054    /* STID_CANNOT_ADD_PT_FOR_AUTO_ARROW */
1055    N_("Cannot add points for an auto_retracted_arrows object."),
1056    /* STID_LEFT_BTN_TO_ADD_PTS */
1057    N_("Drag left mouse button to ADD points."),
1058    /* STID_UNDO_BUF_AND_CMAP_FLUSHED */
1059    N_("Undo buffer and Colormap flushed."),
1060    /* STID_NUM_COLORS_ALLOCATED */
1061    N_("%1d color(s) allocated."),
1062    /* STID_UNDO_BUF_FLUSHED */
1063    N_("Undo buffer flushed."),
1064    /* STID_SEL_ONE_XBM_OR_XPM_TO_RESTORE */
1065    N_("Please select one X11 Bitmap or X11 Pixmap object to restore."),
1066    /* STID_CANNOT_RESTORE_LOCKED */
1067    N_("Cannot restore a locked object."),
1068    /* STID_SEL_ONE_XBM_OR_XPM_TO_CUT */
1069    N_("Please select one X11 Bitmap or X11 Pixmap object to cut."),
1070    /* STID_CANNOT_CUT_LOCKED */
1071    N_("Cannot cut a locked object."),
1072    /* STID_CANNOT_CUT_TRANSFORMED_X_OBJ */
1073    N_("Cannot cut a stretched/rotated/sheared X11 Bitmap or X11 Pixmap object."),
1074    /* STID_SEL_ONE_XBM_OR_XPM_TO_BREAKUP */
1075    N_("Please select one X11 Bitmap or X11 Pixmap object to break up."),
1076    /* STID_CANNOT_BREAK_XFORMED_X_OBJ */
1077    N_("Cannot break up a stretched/rotated/sheared X11 Bitmap or X11 Pixmap object."),
1078    /* STID_CANNOT_BREAKUP_LOCKED */
1079    N_("Cannot break up a locked object."),
1080    /* STID_ENTER_NUM_ROWCOL_TO_BREAK */
1081    N_("Please enter the number of columns and rows to break into (original size is %1dx%1d): [Col x Row]"),
1082    /* STID_INVALID_ROWCOL_SPEC_REENTER */
1083    N_("Invalid specification: '%s'.\n\nPlease enter [Cols x Rows] or [=WxH]"),
1084    /* STID_ENTER_CONCAVE_OR_CONVEX */
1085    N_("Please specify concave (c) or convex (v):"),
1086    /* STID_INVALID_SPEC */
1087    N_("Invalid specification: '%s'."),
1088    /* STID_SEL_AN_ARC_OBJ */
1089    N_("Please select an arc object."),
1090    /* STID_NO_ARC_OBJ_SELECTED */
1091    N_("No arc object selected."),
1092    /* STID_TOO_MANY_ARC_SEL_ONLY_ONE_ARC */
1093    N_("Too many arc objects selected.\n\nPlease select only one arc object."),
1094    /* STID_NO_OTHER_OBJ_FOR_LAYOUTONARC */
1095    N_("Nothing to layout on the selected arc.\n\nPlease select other objects in addition to the selected arc."),
1096    /* STID_CANNOT_LAYOUTONARC_LOCKED */
1097    N_("Some objects are locked.\n\nPlease unlock them before retrying."),
1098    /* STID_ARC_XFORMED_FOR_LAYOUTONARC */
1099    N_("Don't know how to layout objects on an arc object that has been stretched/sheared/rotated.\n\nPlease use a simple arc."),
1100    /* STID_ROT_NOT_AVAIL_ON_VERTEX_MODE */
1101    N_("PreciseRotate() is not available in vertex mode."),
1102    /* STID_ENTER_AN_ANGLE_IN_DEGREES */
1103    N_("Please specify an angle in degrees: (positive angle is clock-wise)"),
1104    /* STID_INVALID_SPEC_NUM_EXPECTED */
1105    N_("Invalid specification '%s'.\n\nA numerical value is expected."),
1106    /* STID_SOME_GROUP_OBJ_NOT_MODIFIED */
1107    N_("Some group/symbol/icon objects are not modified."),
1108    /* STID_CANNOT_REM_XFORM_FOR_GROUPED */
1109    N_("Cannot remove transforms for group/symbol/icon objects."),
1110    /* STID_ENTER_EDIT_TEXT_SIZE */
1111    N_("Please specify text size for editing text objects (enter 0 or a value between 4 and 34, 0 means to use the actual size of text): [current: %1d]"),
1112    /* STID_EDIT_TEXT_SIZE_OUT_OF_RANGE */
1113    N_("The value entered: '%s' is out of range.\n\nPlease enter a value between 4 and 34."),
1114    /* STID_ACTUAL_EDIT_TEXT_SIZE */
1115    N_("Actual text size will be used to edit existing text."),
1116    /* STID_USE_SPECIFIED_EDIT_TEXT_SIZE */
1117    N_("Text size of %1d will be used to edit existing text."),
1118    /* STID_CANNOT_FIND_NAMED_STRING */
1119    N_("Cannot find '%s'."),
1120    /* STID_FIND_CMD_WRAPPED */
1121    N_("Find command is wrapped around."),
1122    /* STID_ENTER_CASE_STR_TO_FIND */
1123    N_("Please enter a string to find (case sensitive):"),
1124    /* STID_ENTER_NOCASE_STR_TO_FIND */
1125    N_("Please enter a string to find (case insensitive):"),
1126    /* STID_NO_PREVIOUS_FIND */
1127    N_("No previous find specified.\n\nPlease select FindCaseSensitive() or FindNoCase()."),
1128    /* STID_CANNOT_ABUT_IN_VERTEX_MODE */
1129    N_("Cannot abut in vertex mode."),
1130    /* STID_CANNOT_ABUT_LOCKED */
1131    N_("Cannot abut.  Too many objects locked."),
1132    /* STID_ABUTTED_HORI */
1133    N_("Objects are abutted horizontally."),
1134    /* STID_ABUTTED_VERT */
1135    N_("Objects are abutted vertically."),
1136    /* STID_ICONS_BROUGHT_UP_TO_DATE */
1137    N_("Selected icons are brought up to date."),
1138    /* STID_SEL_AT_LEAST_TWO_OBJS */
1139    N_("Please select at least two objects."),
1140    /* STID_CANNOT_SIZE_OF_GIVEN_WIDTH */
1141    N_("Cannot size objects to width of %1d."),
1142    /* STID_CANNOT_SIZE_OF_GIVEN_HEIGHT */
1143    N_("Cannot size objects to height of %1d."),
1144    /* STID_SPECIFY_WIDTH_HEIGHT */
1145    N_("Please specify a width and a height [WxH]:"),
1146    /* STID_SPECIFY_WIDTH */
1147    N_("Please specify a width:"),
1148    /* STID_SPECIFY_HEIGHT */
1149    N_("Please specify a height:"),
1150    NULL
1151 };
1152 
1153 static char *gaszEnglishStrTable300[] = {
1154    /* STID_NAMED_XDEF_IS_OBSOLETE */
1155    N_("The %s.%s X default is obsolete."),
1156    /* STID_GIVEN_BPS_PREVIEW_NOT_SUP */
1157    N_("%1d bits per sample preview bitmap is not supported."),
1158    /* STID_INVALID_PREVIEW_BMP_IN_EPS */
1159    N_("Invalid preview bitmap in EPS file: '%s'."),
1160    /* STID_FAIL_TO_WRITE_TO_STDOUT */
1161    N_("Fail to write to stdout.\n\nFile system may be full."),
1162    /* STID_FAIL_TO_PARSE_WINEPS_FILE */
1163    N_("Fail to parse Windows EPS file '%s'."),
1164    /* STID_INVALID_PREVIEW_BOX_IN_EPS */
1165    N_("Invalid preview box in EPS file: '%s'."),
1166    /* STID_CANNOT_BBOX_IN_GIVEN_FILE */
1167    N_("Cannot find bounding box information in '%s'."),
1168    /* STID_CANNOT_CONVERT_WINEPS_PREVIEW */
1169    N_("Unable to convert Windows EPS preview bitmap in '%s'."),
1170    /* STID_CANNOT_OPEN_EPS_FILE_FOR_READ */
1171    N_("Cannot open EPS file '%s' for reading."),
1172    /* STID_EPS_OBJ_SKIPPED_FOR_PRINT */
1173    N_("EPS object skipped during printing."),
1174    /* STID_EPS_FILE_NEWER_THAN_EPS_OBJ */
1175    N_("Warning: EPS file '%s' is newer than the EPS object."),
1176    /* STID_NO_TOP_LEVEL_EPS_SELECTED */
1177    N_("No top-level EPS object selected."),
1178    /* STID_CANNOT_IMPORT_GIVEN_EPS */
1179    N_("Cannot import EPS file '%s'."),
1180    /* STID_EPS_OBJECT_UPDATED */
1181    N_("EPS object(s) updated."),
1182    /* STID_CANNOT_EVAL_INVALID_OP_TYPE */
1183    N_("Cannot evaluate '%s'.\n\nInvalid operand type for the '%s' operator."),
1184    /* STID_DIVIDE_BY_ZERO_FOR_OP_TYPE */
1185    N_("Divide by zero encountered for the '%s' operator."),
1186    /* STID_ILLEGAL_EXPR_INVALID_OP_CODE */
1187    N_("Illegal expression: '%s'.\n\nInvalid operator code: '%1d'."),
1188    /* STID_ILLEGAL_EXPR_EMPTY_OP_STACK */
1189    N_("Illegal expression: '%s'.\n\nEmpty operator stack."),
1190    /* STID_ILLEGAL_EXPR_BAD_NUM_VALUE */
1191    N_("Illegal expression: '%s'.\n\nBad numeric value: '%s'."),
1192    /* STID_ILLEGAL_EXPR_BAD_STR_VALUE */
1193    N_("Illegal expression: '%s'.\n\nBad string value: '%s'."),
1194    /* STID_ILLEGAL_EXPR_BAD_IDENTIFIER */
1195    N_("Illegal expression: '%s'.\n\nBad identifier: '%s'."),
1196    /* STID_ILLEGAL_EXPR_BAD_OPERATOR */
1197    N_("Illegal expression: '%s'.\n\nBad operator: '%s'."),
1198    /* STID_ILLEGAL_EXPR_TOO_MANY_SYMBOL */
1199    N_("Illegal expression: '%s'.\n\nToo many '%c'."),
1200    /* STID_ILL_EXPR_OP_STACK_NON_EMPTY */
1201    N_("Illegal expression: '%s'.\n\nNon empty operator stack after evaluation."),
1202    /* STID_ILL_EXPR_VAL_STACK_NON_EMPTY */
1203    N_("Illegal expression: '%s'.\n\nNon empty value stack after evaluation."),
1204    /* STID_ILL_EXPR_TOO_MANY_VALS_LEFT */
1205    N_("Illegal expression: '%s'.\n\nToo many values left on the value stack after evaluation."),
1206    /* STID_CANNOT_OPEN_FOR_READ_PRINT */
1207    N_("Cannot open '%s' for reading.  Printing aborted."),
1208    /* STID_CANNOT_OPEN_FOR_WRITE_PRINT */
1209    N_("Cannot open '%s' for writing.  Printing aborted."),
1210    /* STID_CANNOT_FIND_CMD_EXEC */
1211    N_("Cannot find '%s'.\n\nWould you like to execute '%s' anyway?"),
1212    /* STID_CANNOT_FIND_CMD_IN_PATH_EXEC */
1213    N_("Cannot find '%s' in the PATH.\n\nWould you like to execute '%s' anyway?"),
1214    /* STID_CANT_FIND_CMD_MSG_EXEC */
1215    N_("Cannot find '%s'.  %s\n\nWould you like to execute '%s' anyway?"),
1216    /* STID_CANT_FIND_CMD_INPATH_MSG_EXEC */
1217    N_("Cannot find '%s' in the PATH.  %s\n\nWould you like to execute '%s' anyway?"),
1218    /* STID_FILE_EXISTS_OK_OVERWRITE_YNC */
1219    N_("File '%s' exists, okay to overwrite? [ync](y)"),
1220    /* STID_ONE_PAGE_SYM_ABORT_SAVE */
1221    N_("A symbol file can only have one page.\n\nSave aborted."),
1222    /* STID_ONE_PAGE_PIN_ABORT_SAVE */
1223    N_("A pin file can only have one page.\n\nSave aborted."),
1224    /* STID_TOO_MANY_SYM_ABORT_SAVE */
1225    N_("Too many symbols.\n\nSymbol file not saved."),
1226    /* STID_CANT_OPEN_WRITE_FILE_NOT_SAVE */
1227    N_("Cannot open '%s' for writing.  File not saved."),
1228    /* STID_SAVE_TMP_FILE_DOTS */
1229    N_("Saving temporary file '%s'..."),
1230    /* STID_TMP_FILE_SAVED */
1231    N_("Temporary file '%s' saved."),
1232    /* STID_CANNOT_CHMOD */
1233    N_("Cannot chmod '%s' to 0%03o."),
1234    /* STID_WORKING_DIRECTORY_IS */
1235    N_("( working directory: %s )"),
1236    /* STID_ENTER_NEW_FNAME_ACCEPT_CANCEL */
1237    N_("Please enter new file name: ( <CR>: accept, <ESC>: cancel )"),
1238    /* STID_CANT_SAVE_SYM_NO_SYM_FOUND */
1239    N_("Cannot save as a symbol file.\n\nNo symbol defined."),
1240    /* STID_CANT_SAVE_PIN_NO_SYM_FOUND */
1241    N_("Cannot save as a pin file.\n\nNo symbol defined."),
1242    /* STID_CANT_SAVE_OJB_ONE_SYM_FOUND */
1243    N_("Cannot save as an object file.\n\nOne symbol defined."),
1244    /* STID_CANT_SAVE_SYM_SAVE_AS_PIN */
1245    N_("Cannot save as a symbol file.\n\nPlease save the file as a pin file."),
1246    /* STID_CANT_SAVE_PIN_ONE_SYM_FOUND */
1247    N_("Cannot save as a pin file.\n\nOnly one symbol is defined."),
1248    /* STID_CANT_SAVE_OJB_TWO_SYM_FOUND */
1249    N_("Cannot save as an object file.\n\nTwo symbols defined."),
1250    /* STID_CANT_SAVE_SYM_TWO_SYM_FOUND */
1251    N_("Cannot save as a symbol file.\n\nTwo symbols defined."),
1252    /* STID_CANT_FIND_TYPE_ATTR_NOT_SAVED */
1253    N_("Cannot find an attribute name 'type'.\n\nPin file not saved."),
1254    /* STID_SYM_TYPE_WRONG_PIN_NOT_SAVED */
1255    N_("Symbol type is not '%s'.\n\nPin file not saved."),
1256    /* STID_NO_FILE_NAME_FILE_NOT_SAVED */
1257    N_("No file name specified.\n\nFile not saved."),
1258    /* STID_SAVING_DOTS */
1259    N_("Saving '%s'..."),
1260    /* STID_PROBLEM_ZIPPING_PLEASE_SAVE */
1261    N_("Problems encountered while (g)zipping '%s' to '%s'.\n\nThe unzipped file is '%s'.  Please save a copy of it before proceeding."),
1262    /* STID_FILE_SAVED */
1263    N_("File '%s' saved."),
1264    /* STID_FILE_NOT_SAVED */
1265    N_("File '%s' is not saved."),
1266    /* STID_NO_SYM_FOUND_SYM_NOT_SAVED */
1267    N_("No symbol found.\n\nSymbol file not saved."),
1268    /* STID_ENTER_NEW_FILE_NAME */
1269    N_("Please enter new file name:"),
1270    /* STID_CANT_FIND_DOT_IN_SAVEFILE */
1271    N_("Cannot find '.' in curFileName in %s."),
1272    /* STID_NO_SYM_FOUND_PIN_NOT_SAVED */
1273    N_("No symbol found.\n\nPin file not saved."),
1274    /* STID_SYM_TYPE_IS_SHOULD_SAVE_PIN */
1275    N_("The symbol is of type %s.\n\nIt should be saved as a pin file."),
1276    /* STID_TOO_MANY_SYM_FILE_NOT_SAVED */
1277    N_("Too many symbols.\n\nFile not saved."),
1278    /* STID_BAD_FIELD_IN_FUNC_ABORT_READ */
1279    N_("%s, %d: Invalid %s in %s.  Read aborted."),
1280    /* STID_UNRECOG_PAGE_STYLE */
1281    N_("Unrecognizable page style '%1d'."),
1282    /* STID_PORTRAIT_STYLE_ASSUMED */
1283    N_("Portrait style assumed."),
1284    /* STID_CANT_FIND_COLOR_NUM_USE_CUR */
1285    N_("In reading state, cannot find color #%1d, use '%s' as the current color."),
1286    /* STID_LINEWIDTH_IDX_RANGE_SET_TO_0 */
1287    N_("File's linewidth index '%1d' is out of range.  Set to 0."),
1288    /* STID_BAD_FIELD_IN_OBJ_ABORT_READ */
1289    N_("%s, %d: Invalid %s field in reading the %s object.  Read aborted."),
1290    /* STID_BAD_INPUT_WHILE_READ_PAGE */
1291    N_("Malformed input file (apparently reading page %1d).  Read aborted."),
1292    /* STID_BAD_PAGE_FILE_NAME_TRUNC_TO */
1293    N_("Invalid page file name: '%s'.  Truncated to '%s'."),
1294    /* STID_CUR_COLOR_CORRECTED_TO_BE */
1295    N_("(Current color is corrected to be '%s'.)"),
1296    /* STID_FAIL_ALLOC_BGCOLOR_USE_DEF */
1297    N_("Fail to allocate the background color: '%s'.  The current default background color '%s' is used instead."),
1298    /* STID_ONLY_PAGE_1_IMPORTED */
1299    N_("Only page 1 is imported from a multipage file."),
1300    /* STID_ONLY_GIVEN_PAGE_IMPORTED */
1301    N_("Only page %1d is imported from a multipage file."),
1302    /* STID_INVALID_REMOTE_FNAME */
1303    N_("Invalid remote file name '%s'."),
1304    /* STID_CANNOT_READ_TMP_FILE */
1305    N_("Cannot read temporary file '%s'."),
1306    /* STID_CANNOT_IMPORT_FILE */
1307    N_("Cannot import '%s'."),
1308    /* STID_INVALID_PAGE_NUM */
1309    N_("Invalid page number '%s' specified."),
1310    /* STID_USER_INTR_ABORT_DRAW */
1311    N_("User interrupt.  Drawing aborted."),
1312    /* STID_FILE_VER_ABORT_IMPORT */
1313    N_("File version (=%1d) too large.\n\nImport aborted.\n\nYou may need a more recent version of %s.  Please check <URL:%s>."),
1314    /* STID_FILE_CORRUPTED_ABORT_IMPORT */
1315    N_("File corrupted.\n\nImport aborted."),
1316    /* STID_FILE_IMPORTED */
1317    N_("'%s' imported."),
1318    /* STID_SEL_AN_OBJ_FILE_TO_IMPORT */
1319    N_("Please select an object file to import..."),
1320    /* STID_CANNOT_ALLOC_BGCOLOR_USE_DEF */
1321    N_("Cannot allocate bg_color '%s', default bgcolor used."),
1322    /* STID_CANNOT_ALLOC_FGCOLOR_USE_DEF */
1323    N_("Cannot allocate fg_color '%s', default fgcolor used."),
1324    /* STID_CANNOT_SET_BGXPM_TO */
1325    N_("Cannot set background pixmap to '%s'."),
1326    /* STID_COLORMAP_FLUSHED */
1327    N_("Colormap flushed."),
1328    /* STID_FILE_VER_ABORT_OPEN */
1329    N_("File version (=%1d) too large.\n\nOpen aborted.\n\nYou may need a more recent version of %s.  Please check <URL:%s>."),
1330    /* STID_FILE_CORRUPTED_ABORT_OPEN */
1331    N_("File corrupted.\n\nOpen aborted."),
1332    /* STID_POP_BACK_TO_NAMED */
1333    N_("Pop back to '%s'."),
1334    /* STID_WARN_PS_BBOX_EMPTY */
1335    N_("Warning: The PostScript bounding box is empty."),
1336    /* STID_TIFFEPSI_DIRECTLY_SUPPORTED */
1337    N_("Obsoleted %s.%s used.  Ignored.\n\tTiffEPSI export is now supported by %s directly as an export format."),
1338    /* STID_INVALID_XDEF */
1339    N_("Invalid %s.%s: '%s'."),
1340    /* STID_FAIL_EXEC_PROG_EPSI_NOT_GEN */
1341    N_("Fail to execute '%s'.\n\nEPSI file not generated."),
1342    /* STID_FAIL_GET_FINFO_EPSI_NOT_GEN */
1343    N_("Fail to get file info for '%s'.\n\nEPSI file not generated."),
1344    /* STID_CANNOT_OPEN_FILE_FOR_APPEND */
1345    N_("Cannot open '%s' for appending."),
1346    /* STID_CANNOT_PRINT_REMOTE_FILE */
1347    N_("Cannot print/export a remote file.\n\nPlease first save the file and then print/export again."),
1348    /* STID_NO_OBJ_TO_PRINT_ON_PAGE */
1349    N_("No objects to print on page %1d."),
1350    /* STID_NO_OBJ_TO_PRINT */
1351    N_("No objects to print."),
1352    /* STID_NO_CUR_FILE_CANNOT_GEN_FORMAT */
1353    N_("No current file.\n\nCannot generate %s output."),
1354    NULL
1355 };
1356 
1357 static char *gaszEnglishStrTable400[] = {
1358    /* STID_GENERATING_PRINT_FILE_DOTS */
1359    N_("Generating print file..."),
1360    /* STID_NO_OBJ_TO_EXPORT */
1361    N_("No objects to export."),
1362    /* STID_WRITING_TO_DOTS */
1363    N_("Writing to '%s'..."),
1364    /* STID_GENERATING_PREVIEW_BITMAP */
1365    N_("Generating preview bitmap..."),
1366    /* STID_OUTPUT_TRUNC_IN_PRINT_TILED */
1367    N_("Output may get truncated because %s.%s is set to 1."),
1368    /* STID_RECOMMEND_REDUCING_SETTING */
1369    N_("Reducing the above setting is recommended."),
1370    /* STID_PRINTING_WITH_GIVEN_CMD */
1371    N_("Printing with the '%s' command."),
1372    /* STID_CANNOT_EXEC_ABORT_PRINT */
1373    N_("Cannot execute '%s', print aborted."),
1374    /* STID_NAMED_FILE_PRINTED */
1375    N_("'%s' printed."),
1376    /* STID_PRINT_COMPLETED */
1377    N_("Print completed."),
1378    /* STID_PRINTING_INTO_NAMED_FILE */
1379    N_("Printing into '%s'..."),
1380    /* STID_GENERATING_TIFF_PREVIEW_BMP */
1381    N_("Generating TIFF preview bitmap..."),
1382    /* STID_FORMAT_FILE_NOT_GENERATED */
1383    N_("%s file not generated."),
1384    /* STID_CONVERTING_INTO_NAMED_FILE */
1385    N_("Converting into '%s'..."),
1386    /* STID_CANNOT_EXEC_FORMAT_NOT_GEN */
1387    N_("Cannot execute '%s', %s file not generated."),
1388    /* STID_FORMAT_FILE_PRINTED_INTO */
1389    N_("%s file printed into '%s'."),
1390    /* STID_NO_CUR_FILE_CANNOT_GEN_TEXT */
1391    N_("No current file.\n\nCannot generate text output."),
1392    /* STID_TEXT_OUTPUT_NOT_GEN */
1393    N_("Text output not generated."),
1394    /* STID_TEXT_PRINTED_INTO_NAMED_FILE */
1395    N_("Text file printed into '%s'."),
1396    /* STID_TOO_MANY_COLOR_FOR_XPM_EXPORT */
1397    N_("XPM objects that have more than 255 colors have been skipped during printing/exporting.\n\nYou can use ReduceColors() from the ReduceNumberOfColors Submenu of the ImageProc Menu to reduce their number of colors."),
1398    /* STID_CANNOT_PRINT_EPS_TILED_PAGE */
1399    N_("Cannot print in EPS format in Tiled page mode."),
1400    /* STID_PREPROCESS_PAGE_OF */
1401    N_("Preprocess page %1d of %1d..."),
1402    /* STID_GENERATING_PAGE_OF */
1403    N_("Generating page %1d of %1d..."),
1404    /* STID_GIVEN_PAGE_NOT_GENERATED */
1405    N_("Page %1d has not been generated."),
1406    /* STID_PAGE_RANGE_NOT_GENERATED */
1407    N_("Pages %1d through %1d have not been generated."),
1408    /* STID_PRINTWITHCMD_WORKS_PRINTER */
1409    N_("PrintWithCmd() only works when output device is the printer."),
1410    /* STID_ENTER_PRINT_CMD_NAME */
1411    N_("Please enter print command name:"),
1412    /* STID_NO_OBJ_SEL_NOTHING_TO_PRINT */
1413    N_("No objects selected.\n\nNothing printed."),
1414    /* STID_SPECIFY_PERCENT_REDUCTION */
1415    N_("Please specify percent reduction (<100) or enlargement (>100):"),
1416    /* STID_INVALID_REDUCTION */
1417    N_("Invalid reduction '%s'."),
1418    /* STID_NEW_REDUCTION_IS_PERCENT */
1419    N_("New reduction is %s%%."),
1420    /* STID_NEW_ENLARGEMENT_IS_PERCENT */
1421    N_("New enlargement is %s%%."),
1422    /* STID_OK_TO_CLEAR_WHITEBOARD */
1423    N_("Okay to clear WhiteBoard?"),
1424    /* STID_FILE_MOD_SAVE_BEFORE_CLEAR */
1425    N_("File modified, save file before clear? [ync](y)"),
1426    /* STID_EDITING_NO_FILE */
1427    N_("Editing no file."),
1428    /* STID_OPEN_IN_WB */
1429    N_("Open() is disabled in WhiteBoard mode."),
1430    /* STID_FILE_MOD_SAVE_BEFORE_OPEN */
1431    N_("File modified, save file before open? [ync](y)"),
1432    /* STID_SELECT_A_FILE_TO_OPEN */
1433    N_("Please select a file to OPEN..."),
1434    /* STID_INVALID_PAGE_SPECIFIED_FOR */
1435    N_("Invalid page specified for '%s'."),
1436    /* STID_SETTEMPLATE_IN_WB */
1437    N_("SetTemplate() is disabled in WhiteBoard mode."),
1438    /* STID_SELECT_FILE_AS_TEMPLATE */
1439    N_("Please select a file to be used as template..."),
1440    /* STID_NOT_SUP_REMOTE_TEMPLATE_FILE */
1441    N_("Using a remote template file is not supported."),
1442    /* STID_CANNOT_OPEN_STILL_TEMPLATE */
1443    N_("Cannot open '%s' for reading.\n\nWould you still like to use it as a template file?"),
1444    /* STID_STILL_USE_AS_TEMPLATE */
1445    N_("Would you still like to use '%s' as a template file?"),
1446    /* STID_TEMPLATE_SET_TO */
1447    N_("Template set to '%s'."),
1448    /* STID_FILE_MOD_SAVE_BEFORE_QUIT */
1449    N_("File modified, save file before quit? [ync](y)"),
1450    /* STID_ANCESTER_MOD_STILL_QUIT */
1451    N_("Ancester file modified, still quitting? [ync](y)"),
1452    /* STID_ILLEGAL_DOUBLE_BYTE_TRUNC */
1453    N_("Illegal double-byte string truncated:"),
1454    /* STID_TOOL_CANT_HANDLE_DB_FONT */
1455    N_("The '%s' double-byte font has min_byte1=\\%03o and max_byte1=\\%03o.\n%s does not know how to handle this double-byte font.\nPlease don't use this font and e-mail this error message to %s."),
1456    /* STID_FAIL_LOAD_FONT_FONT_SUBS */
1457    N_("Fail to load the following font: '%s'.\n\n%s-%1d substituted for %s-%1d."),
1458    /* STID_FONT_SUBSTITUTED */
1459    N_("%s-%1d substituted for %s-%1d."),
1460    /* STID_CANNOT_GET_IMAGE_OF_SIZE */
1461    N_("Cannot get image of size [%1dx%1d].  System resource may be low."),
1462    /* STID_UNRECOG_CHARCODE_DISCARD */
1463    N_("Unrecognized character code \\03%o.  Character discarded."),
1464    /* STID_CANT_FIND_FONT_USE_ALT */
1465    N_("Cannot find the %s font.  Use '%s' instead."),
1466    /* STID_BAD_XDEF_CANT_FIND_EQ_SKIP */
1467    N_("Invalid entry '%s' (cannot find '=') in %s.%s, skipped."),
1468    /* STID_BAD_XDEF_MISS_FONT_NAME_SKIP */
1469    N_("Invalid entry '%s' (missing font name) in %s.%s, skipped."),
1470    /* STID_MISS_FONT_SPEC_IN_XDEF */
1471    N_("Missing font specification in '%s.%s'."),
1472    /* STID_INVALID_X_FONT_INFO_IN_XDEF */
1473    N_("Invalid X font information in '%s.%s': '%s'."),
1474    /* STID_INVALID_X_REG_INFO_IN_XDEF */
1475    N_("Invalid X registry information in '%s.%s': '%s'."),
1476    /* STID_INVALID_PS_INFO_IN_XDEF */
1477    N_("Invalid PS font information in '%s.%s': '%s'."),
1478    /* STID_ERR_PROCESS_FONT_USE_ALT */
1479    N_("Warning: Error in processing %s.%s: '%s'.\n\t'%s-%s-*-%%d-*-*-*-*-*-%s' used."),
1480    /* STID_INVALID_SB_FONT_USE_DB_FONT */
1481    N_("Invalid %s.%s: '%s'.  Please use a non-double-byte font."),
1482    /* STID_ERR_PROCESS_SIZE_USE_DEF_SIZE */
1483    N_("Warning: Error in processing %s.%s.  Default font sizes used."),
1484    /* STID_OBSOLETE_XDEF_USE_ALT */
1485    N_("Obsoleted %s.%s used.  Please use %s.%s instead."),
1486    /* STID_CANT_OPEN_DEF_MSG_FONT_ABORT */
1487    N_("Cannot open the Default(Msg)Font '%s'."),
1488    /* STID_WARN_VERY_SMALL_DEF_FONT */
1489    N_("Warning: Very small default font width/height (%1d/%1d).\n\tPossibly a problem with the font path.\n\tSet default font width to 9 and height to 14 as a temporary fix."),
1490    /* STID_CANT_OPEN_RULER_FONT_ABORT */
1491    N_("Cannot open the RulerFont '%s'."),
1492    /* STID_WARN_VERY_SMALL_RULER_FONT */
1493    N_("Warning: Very small ruler font width/height (%1d/%1d).\n\tPossibly a problem with the font path.\n\tSet ruler font width to 7 and height to 12 as a temporary fix."),
1494    /* STID_CANNOT_SET_INITIAL_FONT_TO */
1495    N_("Warning: Cannot set InitialFont to '%s'."),
1496    /* STID_CANT_SET_INIT_FONTSTYLE_ALT */
1497    N_("Warning: Cannot set InitialFontStyle to '%s'.  '%s' font is used instead."),
1498    /* STID_CANT_SET_INIT_FONTJUST_ALT */
1499    N_("Warning: Cannot set InitialFontJust to '%s'.  '%s' is used instead."),
1500    /* STID_CANT_SET_INIT_FONTSIZE_ALT */
1501    N_("Warning: Cannot set InitialFontSize to '%s'.  '%s' is used instead."),
1502    /* STID_FONT_NOT_AVAILABLE */
1503    N_("The '%s' font is not available."),
1504    /* STID_CANT_CHANGE_SIZEPT_TO_USE_ALT */
1505    N_("Cannot change size to %1dpt.  %1dpt used."),
1506    /* STID_CANT_CHANGE_SIZE_TO_USE_ALT */
1507    N_("Cannot change size to %1d.  %1d used."),
1508    /* STID_INVALID_VSPACE_NOT_CHANGED */
1509    N_("Invalid vertical spacing for a text object.  Vertical spacing for that object not changed."),
1510    /* STID_VSPACE_TOO_SMALL_NOT_CHANGED */
1511    N_("Text vertical spacing too small.  No change."),
1512    /* STID_ENTER_POINT_SIZE */
1513    N_("Please enter point size:"),
1514    /* STID_ENTER_FONT_SIZE */
1515    N_("Please enter font size:"),
1516    /* STID_FONT_SIZE_TOO_SMALL */
1517    N_("Font size '%s' too small."),
1518    /* STID_FONT_SUB_NO_SUCH_FONT_USR_DEF */
1519    N_("%s substituted for font number %d.\n\nThere is no such font. Use default."),
1520    /* STID_NO_KANJI_FONT_GIVEN_NUMBER */
1521    N_("There is no kanji-font number %d."),
1522    /* STID_FAIL_TO_CONN_TO_HOST */
1523    N_("%s: Fail to connect to server on '%s'."),
1524    /* STID_NETWORK_READ_ERROR */
1525    N_("%s: Network read error."),
1526    /* STID_NETWORK_ERROR */
1527    N_("%s: Network error."),
1528    /* STID_CONN_ABORT_BY_USER */
1529    N_("%s: Aborted by the user."),
1530    /* STID_CONN_TERM_BY_SERVER */
1531    N_("%s: Connection terminated by the server."),
1532    /* STID_FAIL_TO_OPEN_DATA_SOCKET */
1533    N_("%s: Fail to open a socket for FTP data port."),
1534    /* STID_USING_METRIC_SYSTEM */
1535    N_("Using Metric system."),
1536    /* STID_USING_ENGLISH_SYSTEM */
1537    N_("Using English system."),
1538    /* STID_SNAP_NOT_ON_GRID_SZ_SAME */
1539    N_("Snap is not on, grid size not changed."),
1540    /* STID_AT_MAX_GRID_GRID_SZ_SAME */
1541    N_("Already at maximum grid, grid size not changed."),
1542    /* STID_AT_MIN_GRID_GRID_SZ_SAME */
1543    N_("Already at minimum grid, grid size not changed."),
1544    /* STID_SNAP_TO_GRID_ACTV */
1545    N_("Snapping to grid point activated."),
1546    /* STID_SNAP_TO_GRID_DISABLED */
1547    N_("Snapping to grid point disabled."),
1548    /* STID_WILL_PRINT_IN_COLOR */
1549    N_("Will print in color (PS and pixmap)."),
1550    /* STID_WILL_PRINT_IN_BW */
1551    N_("Will print in black-and-white (PS and bitmap)."),
1552    /* STID_CONSTRAINED_MOVE */
1553    N_("Constrained move."),
1554    /* STID_UNCONSTRAINED_MOVE */
1555    N_("Unconstrained move."),
1556    /* STID_WILL_DISPLAY_XBM_XPM */
1557    N_("Will display bitmap/pixmap."),
1558    NULL
1559 };
1560 
1561 static char *gaszEnglishStrTable500[] = {
1562    /* STID_WILL_NOT_DISPLAY_XBM_XPM */
1563    N_("Will not display bitmap/pixmap."),
1564    /* STID_GRAY_SCALE_IN_BW_PRINTING */
1565    N_("Gray scale enabled in black&white printing."),
1566    /* STID_NO_GRAY_SCALE_IN_BW_PRINTING */
1567    N_("Gray scale disabled in black&white printing."),
1568    /* STID_CURRENT_SPEC_IS */
1569    N_("( current spec: '%s' )"),
1570    /* STID_ENTER_MEASURE_UNIT_SPEC */
1571    N_("Please enter '<num> {pixel|cm|in}/<unit>' (e.g., 36 in/yd or 0.1 in/mil):"),
1572    /* STID_WILL_EXPORT_FORMAT_FILE */
1573    N_("Will export %s file."),
1574    /* STID_PRINT_DEV_SET_TO_PRINTER */
1575    N_("Print device set to printer."),
1576    /* STID_WILL_EXPORT_EPS_FILE */
1577    N_("Will export Encapsulated PostScript (LaTeX-Figure) file."),
1578    /* STID_WILL_EXPORT_RAW_PS_FILE */
1579    N_("Will export raw PostScript file."),
1580    /* STID_WILL_EXPORT_XPM_FILE */
1581    N_("Will export X11 Pixmap file."),
1582    /* STID_WILL_EXPORT_XBM_FILE */
1583    N_("Will export X11 Bitmap file."),
1584    /* STID_WILL_EXPORT_TEXT_FILE */
1585    N_("Will export ASCII text file."),
1586    /* STID_WILL_EXPORT_EPSI_FILE */
1587    N_("Will export EPSI file (EPS with preview bitmap)."),
1588    /* STID_WILL_EXPORT_GIF_FILE */
1589    N_("Will export GIF/ISMAP (needs xpm->gif filter) file."),
1590    /* STID_WILL_EXPORT_HTML_FILE */
1591    N_("Will export HTML (with Client-side imagemap) file."),
1592    /* STID_WILL_EXPORT_PDF_FILE */
1593    N_("Will export PDF (needs ps->pdf filter) file."),
1594    /* STID_WILL_EXPORT_TIFFEPSI_FILE */
1595    N_("Will export DOS/Windows EPS/EPSI file."),
1596    /* STID_ONE_MOTION_SEL_MOVE_MODE */
1597    N_("Click-select-move in one motion mode selected."),
1598    /* STID_CLICK_SEL_CLICK_MOVE_MODE */
1599    N_("Click-select-click-move mode selected."),
1600    /* STID_CANT_TOGGLE_COLOR_LAYER_BW */
1601    N_("Cannot toggle color layers for a black and white display."),
1602    /* STID_STRETCHABLE_TEXT_MODE */
1603    N_("Text objects are stretchable."),
1604    /* STID_NON_STRETCHABLE_TEXT_MODE */
1605    N_("Text objects are not stretchable."),
1606    /* STID_TRANS_PAT_MODE */
1607    N_("Fill and pen patterns are transparent."),
1608    /* STID_NON_TRANS_PAT_MODE */
1609    N_("Fill and pen patterns are opaque."),
1610    /* STID_ALREADY_AT_DEF_ZOOM */
1611    N_("Already at the default zoom."),
1612    /* STID_ALREADY_AT_HIGHEST_MAG */
1613    N_("Already at highest magnification, can no longer zoom in."),
1614    /* STID_CURSOR_IGNORED_CSBTN1 */
1615    N_("(the cursor position is ignored even though <Cntrl><Shift>Btn1 is used)"),
1616    /* STID_ZOOMIN_AROUND_EDIT_TEXT */
1617    N_("(Zooming in around text being edited..."),
1618    /* STID_SEL_ZOOM_CENTER */
1619    N_("Select zoom center"),
1620    /* STID_ZOOMIN_CANCEL_BY_USER */
1621    N_("ZoomIn canceled by the user."),
1622    /* STID_AT_PAPER_EDGE_CANT_ZOOMOUT */
1623    N_("Already at paper boundaries, can no longer zoom out."),
1624    /* STID_PAGE_STYLE_CHANGE_TO_LAND */
1625    N_("Page style changed to LandScape."),
1626    /* STID_PAGE_STYLE_CHANGE_TO_PORT */
1627    N_("Page style changed to Portrait."),
1628    /* STID_WARN_PIN_NOT_SUPPORTED */
1629    N_("Warning: Pins are not supported, yet."),
1630    /* STID_ONE_SIMPLE_GROUP_UNGROUP_ANY */
1631    N_("Selected object is not a (simple) grouped object.\n\nUngroup anyway?"),
1632    /* STID_ALL_SIMPLE_GROUP_UNGROUP_ANY */
1633    N_("None of the selected objects are (simple) grouped objects.\n\nUngroup anyway?"),
1634    /* STID_SEL_OBJ_ARE_UNGROUPED */
1635    N_("Selected objects are ungrouped."),
1636    /* STID_NO_OBJ_TO_LOCK */
1637    N_("No object to lock."),
1638    /* STID_CANNOT_LOCK_IN_VERTEX_MODE */
1639    N_("Cannot lock in vertex mode."),
1640    /* STID_SEL_OBJ_ARE_LOCKED */
1641    N_("Selected objects are locked."),
1642    /* STID_NO_OBJ_TO_UNLOCK */
1643    N_("No object to unlock."),
1644    /* STID_CANNOT_UNLOCK_IN_VERTEX_MODE */
1645    N_("Cannot unlock in vertex mode."),
1646    /* STID_SEL_OBJ_ARE_UNLOCKED */
1647    N_("Selected objects are unlocked."),
1648    /* STID_TOOL_VERSION */
1649    N_("%s Version %s"),
1650    /* STID_TOOL_VERSION_SPC_BUILD */
1651    N_("%s Version %s (%s)"),
1652    /* STID_TOOL_VERSION_PATCH */
1653    N_("%s Version %s (patchlevel %1d)"),
1654    /* STID_TOOL_VERSION_PATCH_SPC_BUILD */
1655    N_("%s Version %s (patchlevel %1d - %s)"),
1656    /* STID_HYPER_TEXT_HOME */
1657    N_("\n\nWWW Hypertext Home Page: %s"),
1658    /* STID_LATEST_REL_INFO */
1659    N_("\n\nLatest Release Information: %s"),
1660    /* STID_HYPER_GRAPHICS_INFO */
1661    N_("\n\nWWW Hyper-Graphics Home Page: %s"),
1662    /* STID_MAILING_LIST_INFO */
1663    N_("\n\nThe tgif announcement mailing list is %s.  To join, please send an empty message to %s (you do not need a Yahoo ID to join).  Additional information regarding tgif mailing lists can be found at: %s"),
1664    /* STID_SEND_BUG_REPORT_TO */
1665    N_("\n\nPlease send bug reports to %s."),
1666    /* STID_OPEN_URL_FAIL_USE_BROWSER */
1667    N_("Fail to open '%s' for reading.\n\nPlease view %s with a web browser."),
1668    /* STID_FIND_VER_FAIL_USE_BROWSER */
1669    N_("Fail to find version information in '%s'.\n\nPlease view %s with a web browser."),
1670    /* STID_TOOL_CUR_VER_IS_DIFF_INFO */
1671    N_("The latest release of %s is %s.\nThe %s you are running is Version %s.\n\nFor download information, please visit %s with a web browser."),
1672    /* STID_TOOL_CUR_VER_IS_DIFF_SPC_INFO */
1673    N_("The latest release of %s is %s.\nThe %s you are running is Version %s (%s).\n\nFor download information, please visit %s with a web browser."),
1674    /* STID_TOOL_CUR_VER_PATCH_INFO */
1675    N_("The latest release of %s is %s.\nThe %s you are running is Version %s Patchlevel %1d.\n\nFor download information, please visit %s with a web browser."),
1676    /* STID_TOOL_CUR_VER_PATCH_SPC_INFO */
1677    N_("The latest release of %s is %s.\nThe %s you are running is Version %s Patchlevel %1d (%s).\n\nFor download information, please visit %s with a web browser."),
1678    /* STID_CANT_DOWNLOAD_VER_USE_BROWSER */
1679    N_("Cannot download '%s' to get version information.\n\nPlease view %s with a web browser."),
1680    /* STID_FAIL_TO_CONN_TO_HOST_PORT */
1681    N_("%s: Fail to connect to server on '%s:%1d'."),
1682    /* STID_LINES_TOO_LONG_CONTENT_LENGTH */
1683    N_("%s: Unexpected lines too long detected while reading content."),
1684    /* STID_FAIL_TO_SEND_REQ */
1685    N_("%s: Fail to send requests."),
1686    /* STID_INVALID_FORMAT_IN_HEADER */
1687    N_("%s: Invalid format in the header."),
1688    /* STID_CHECK_FONT_FAILED_FOR_BROWSE */
1689    N_("The current font/size/style is not available for labeling objects.\n\nPlease use a different font/size/style for the browse operation you've selected."),
1690    /* STID_ERROR_ENCOUNTERED_WHILE_RECV */
1691    N_("%s: Error encountered in receiving responses."),
1692    /* STID_SINGLE_XPM_IMGPROC */
1693    N_("The command you have just selected: '%s' can only work with a single X11 Pixmap object."),
1694    /* STID_USER_INTR */
1695    N_("User interrupt."),
1696    /* STID_CANNOT_IMPORT_XPM_FILE */
1697    N_("Cannot import X11 Pixmap file '%s'."),
1698    /* STID_MAY_USED_UP_COLORS_RETRY */
1699    N_("May have used up all the colors.\n\nWould you like to retry it once more?"),
1700    /* STID_ENTER_PAIR_COLORS_INTERPOLATE */
1701    N_("Please enter a pair of colors (from dark to bright) for interpolation (e.g., Black Yellow):"),
1702    /* STID_GIVEN_IS_NOT_A_VALID_COLOR */
1703    N_("'%s' is not a valid color."),
1704    /* STID_ENTER_VAL_MINUS_PLUS_ONE_BW */
1705    N_("Please enter a value between -1.0 (all black) and +1.0 (all white):"),
1706    /* STID_FAIL_TO_PARSE_FOR_A_VAL */
1707    N_("Fail to parse '%s' for a value."),
1708    /* STID_ENTER_VAL_MINUS_PLUS_ONE_SAT */
1709    N_("Please enter a value between -1.0 (gray) and +1.0 (saturated):"),
1710    /* STID_ENTER_VAL_FOR_CHANGE_HUE */
1711    N_("Please enter two pairs of (color,angle) values: (e.g., \"red 60 green 60\" maps all reddish to greenish colors)"),
1712    /* STID_FAIL_TO_PARSE_FOR_4_VAL */
1713    N_("Fail to parse '%s' for 4 values."),
1714    /* STID_ENTER_VAL_FOR_CONTRAST_ENH */
1715    N_("Please enter a non-negative value (1.0 means no adjustment):"),
1716    /* STID_GIVEN_NEG_VAL_NOT_ALLOWED */
1717    N_("Nevative value: '%s' is not allowed."),
1718    /* STID_ENTER_VAL_FOR_COLOR_BAL */
1719    N_("Please enter non-negative R G B factors (1.0 1.0 1.0 means no change):"),
1720    /* STID_FAIL_TO_PARSE_FOR_3_VAL */
1721    N_("Fail to parse '%s' for 3 values."),
1722    /* STID_ENTER_VAL_FOR_GAMMA */
1723    N_("Please enter a gamma value (1.0 means no change, 2.2 is brighter):"),
1724    /* STID_SEL_TOO_THIN_FLAT_FOR_EDGE */
1725    N_("Selected object is too thin or flat for edge detection."),
1726    /* STID_SEL_TOO_THIN_FLAT_FOR_EMBOSS */
1727    N_("Selected object is too thin or flat for embossing."),
1728    /* STID_ENTER_NUM_COLORS_TO_REDUCE_TO */
1729    N_("Please enter the number of colors to reduce to (from %1d colors):"),
1730    /* STID_NUM_COLORS_BETWEEN_2_N_GIVEN */
1731    N_("Number of colors: '%s' must be between 2 and %1d."),
1732    /* STID_SEL_XPM_FILE_FOR_RED_COLORS */
1733    N_("Please select an X11 Pixmap file for colors..."),
1734    /* STID_INVALID_GIVEN_XPM_FILE */
1735    N_("Invalid X11 Pixmap file '%s.'"),
1736    /* STID_Q_FS_ERROR_DIFFUSE */
1737    N_("Would you like to apply Floyd-Steinberg error diffusion (slow)?"),
1738    /* STID_ENTER_NUM_BITS_IN_RGB */
1739    N_("Please enter number of bits to use for R, G, and B (current [R G B] levels are [%1d %1d %1d]):"),
1740    /* STID_RGB_LEVELS_CHANGED_TO */
1741    N_("Levels changed to: [%1d %1d %1d]."),
1742    /* STID_BAD_VAL_SUM_RGB_LEVEL */
1743    N_("Bad values: '%s'.  R+G+B must be <= 8."),
1744    /* STID_BAD_VAL_GT_0_RGB_LEVEL */
1745    N_("Bad values: '%s'.  Values must all be > 0."),
1746    /* STID_RGB_LEVELS_ARE */
1747    N_("[R G B] levels are [%1d %1d %1d]."),
1748    /* STID_ENTER_INT_AMT_TO_SPREAD */
1749    N_("Please enter an integer amount to spread:"),
1750    /* STID_SEL_TOO_THIN_FLAT_FOR_SHARPEN */
1751    N_("Selected object is too thin or flat for sharpening."),
1752    /* STID_SEL_TOO_THIN_FLAT_FOR_BLUR */
1753    N_("Selected object is too thin or flat for %1d by %1d blurring."),
1754    /* STID_IMAGE_PROC_CANT_USE_XFORMED */
1755    N_("'%s' cannot operate on stretched/rotated/sheared pixmap objects.\n\nYou can use '%s' in the ImageProc Menu to regenerate these objects."),
1756    /* STID_SEL_3_XPM_FOR_IMAGEPROC_CMD */
1757    N_("Please select 3 X11 Pixmap object for the '%s' command."),
1758    /* STID_SEL_2_XPM_FOR_IMAGEPROC_CMD */
1759    N_("Please select 2 X11 Pixmap object for the '%s' command."),
1760    /* STID_PICK_PT_WITHIN_IMAGE_BOUND */
1761    N_("Please pick a starting point within the image boundary"),
1762    NULL
1763 };
1764 
1765 static char *gaszEnglishStrTable600[] = {
1766    /* STID_IMG_TOO_SMALL_FOR_IMAGEPROC_CMD */
1767    N_("Image is too small for the '%s' command."),
1768    /* STID_NO_WARPING */
1769    N_("No warping."),
1770    /* STID_START_LINE_SEG_DOTS */
1771    N_("Start line segment..."),
1772    /* STID_ENDT_LINE_SEG_DOTS */
1773    N_("End line segment..."),
1774    /* STID_ENTER_IMAGE_SIZE_IN_PIX_RC */
1775    N_("Please enter image size in pixels: [Col x Row]"),
1776    /* STID_FAIL_TO_EXECUTE_CMD */
1777    N_("Fail to execute '%s'."),
1778    /* STID_ENTER_CMD_OP_FOR_BGGEN */
1779    N_("Please enter command options for 'bggen' (e.g., 'blue magenta'):"),
1780    /* STID_NEW_XPM_WH_GENERATED */
1781    N_("New X11 Pixmap object (%1dx%1d) generated."),
1782    /* STID_ENTER_GRAY_LEVELS_222 */
1783    N_("Please enter number of gray levels (between 2 and 222):"),
1784    /* STID_INVALID_GIVEN_VALUE_ENTERED */
1785    N_("Invalid value '%s' entered."),
1786    /* STID_ENTER_COLOR_FOR_RECT_BGGEN */
1787    N_("Please enter a color for the rectangle (e.g., magenta, #808080):"),
1788    /* STID_CANNOT_PARSE_NAMED_COLOR */
1789    N_("Cannot parse color: '%s'."),
1790    /* STID_XPM_NOT_XFORMED_REGEN_ANYWAY */
1791    N_("Selected object is not stretched/rotated/sheared.\n\nWould you like to regenerate it anyway?"),
1792    /* STID_DRAG_A_RECT_TO_CROP */
1793    N_("Please drag out a rectangular area to crop..."),
1794    /* STID_START_CROP_IMAGE */
1795    N_("Start crop image"),
1796    /* STID_END_CROP_IMAGE */
1797    N_("End crop image"),
1798    /* STID_ABORT_CROP_IMAGE */
1799    N_("Abort crop image"),
1800    /* STID_SELECT_A_COLOR */
1801    N_("Select a color"),
1802    /* STID_SEL_A_COLOR_TO_USE_AS_CUR */
1803    N_("Please select a color to be used as the current color..."),
1804    /* STID_SEL_AREA_NOT_INTERSECT_IMAGE */
1805    N_("Selected area does not intersect selected image."),
1806    /* STID_SEL_PT_NOT_ON_IMAGE */
1807    N_("Selected point is not on the selected image."),
1808    /* STID_ONE_PRIM_FOR_IMAGEPROC_CMD */
1809    N_("Please select only one primitive object for the '%s' command."),
1810    /* STID_DARG_TO_FILL_AN_AREA */
1811    N_("Drag to fill an area..."),
1812    /* STID_SEL_A_COLOR_TO_BE_REPLACED */
1813    N_("Please select a color to be replaced by the current color..."),
1814    /* STID_SEL_A_COLOR_TO_REPLACE */
1815    N_("Select a color to replace"),
1816    /* STID_BTN1_FLOODFILL_BTN3_SET_COLOR */
1817    N_("<Btn1>: Flood-fill, <Btn3>: Set a pixel to current color."),
1818    /* STID_ESC_TO_FINISH */
1819    N_("<ESC> to finish."),
1820    /* STID_FLOOD_FILL */
1821    N_("Flood-fill"),
1822    /* STID_SET_A_PIXEL */
1823    N_("Set a pixel"),
1824    /* STID_NO_CONTOUR_CAN_BE_GEN_HERE */
1825    N_("No contour can be generated from here."),
1826    /* STID_SEL_A_COLOR_TO_BE_TRACED */
1827    N_("Please select a color to be traced..."),
1828    /* STID_START_CONTOUR */
1829    N_("Start contour"),
1830    /* STID_INVALID_XDEF_RNG_USE_ALT_VAL */
1831    N_("Invalid %s.%s: '%s', (must be between %1d and %1d), %1d is used instead."),
1832    /* STID_VAL_TOO_LARGE_IN_XDEF_USE_ALT */
1833    N_("Values too large in %s.%s: '%s', '%s' is used instead."),
1834    /* STID_VAL_TOO_SMALL_IN_XDEF_USE_ALT */
1835    N_("Values too small in %s.%s: '%s', '%s' is used instead."),
1836    /* STID_INVALID_GIVEN_PATH_MUST_FULL */
1837    N_("Invalid path: '%s'.  Must use a full path name."),
1838    /* STID_CANNOT_SET_LOCALE_ENV_VARS */
1839    N_("Cannot set to the locale specified by the environment variables."),
1840    /* STID_XT_CANNOT_SET_LOCALE_ENV_VARS */
1841    N_("Xtoolkit cannot set to the locale specified by the environment variables."),
1842    /* STID_XLIB_CANT_SET_LOCALE_ENV_VARS */
1843    N_("Xlib cannot set to the locale specified by the environment variables."),
1844    /* STID_CANT_SET_LOCALE_MODIFIERS */
1845    N_("Cannot set locale modifiers."),
1846    /* STID_LOCALE_DIR_NOT_EXIST_USE_XDEF */
1847    N_("Locale directory '%s' does not exist.  Please specify locale direory with %s.%s."),
1848    /* STID_WARN_CANT_PUTENV_GIVEN */
1849    N_("Warning: Cannot putenv(%s)."),
1850    /* STID_CANT_OPEN_DISPLAY_ABORT */
1851    N_("Could not open the default display.  Abort."),
1852    /* STID_CANT_OPEN_GIVEN_DPY_ABORT */
1853    N_("Could not open display '%s'.  Abort."),
1854    /* STID_CUR_EMPTY_FILE_IS */
1855    N_("Current (empty) file is '%s'."),
1856    /* STID_LEFT_STEP_MID_RUN_RIGHT_STOP */
1857    N_("Left:step.  Middle:run.  Right:stop."),
1858    /* STID_CANT_FIND_POLY_WITH_GIVEN_ID */
1859    N_("Cannot find poly with id=%1d."),
1860    /* STID_CANT_FIND_OBJ_WITH_GIVEN_ID */
1861    N_("Cannot find object with id=%1d."),
1862    /* STID_CANT_FIND_ATTR_NAME_AND_COLOR */
1863    N_("Cannot find attr name '%s' and color '%s'."),
1864    /* STID_BAD_FLTR_SPEC_DEF */
1865    N_("Invalid %s.%s: '%s'.\n\nFormat is '<name> <extensions> <filter spec>', e.g.,\n\n    JPEG jpg;jpeg djpeg -gif -colors 222 %%s | giftopnm | ppmtoxpm"),
1866    /* STID_BAD_FLTR_SPEC_MISS_PERC_S */
1867    N_("Invalid %s.%s: '%s' (missing %%s).\n\nFormat is '<name> <extensions> <filter spec>', e.g.,\n\n    JPEG jpg;jpeg djpeg -gif -colors 222 %%s | giftopnm | ppmtoxpm"),
1868    /* STID_BAD_FLTR_SPEC_MANY_PERC_S */
1869    N_("Invalid %s.%s: '%s' (too many %%s).\n\nFormat is '<name> <extensions> <filter spec>', e.g.,\n\n    JPEG jpg;jpeg djpeg -gif -colors 222 %%s | giftopnm | ppmtoxpm"),
1870    /* STID_BAD_XDEF_MUST_BE_GT_0 */
1871    N_("Invalid %s.%s: '%s'.  Value must be > 0."),
1872    /* STID_CANT_FIND_XDEF_CONT_LOOK_FLTR */
1873    N_("Cannot find %s.%s.\n\nWould you like to continue looking for filters?"),
1874    /* STID_SEL_XBM_FILE_TO_IMPORT */
1875    N_("Please select an X11 Bitmap file to IMPORT..."),
1876    /* STID_CANNOT_IMPORT_XBM_FILE */
1877    N_("Cannot import X11 Bitmap file '%s'."),
1878    /* STID_ENTER_GEOM_SPEC_ORIG_SIZE */
1879    N_("Please enter geometry spec: [[MAG=]WxH+X+Y] (original size is %1dx%1d)"),
1880    /* STID_GIVEN_XBM_SIZE_FILE_IMPORTED */
1881    N_("X11 Bitmap file (%1dx%1d) '%s' imported."),
1882    /* STID_GIVEN_XPM_SIZE_FILE_IMPORTED */
1883    N_("X11 Pixmap file (%1dx%1d) '%s' imported."),
1884    /* STID_SEL_XPM_FILE_TO_IMPORT */
1885    N_("Please select an X11 Pixmap file to IMPORT..."),
1886    /* STID_SEL_EPS_FILE_TO_IMPORT */
1887    N_("Please select an EPS file to IMPORT..."),
1888    /* STID_IMPORT_REM_FILE_EMBED_INSTEAD */
1889    N_("Link to a remote %s file is not supported.  Would you like to embed the %s file instead?"),
1890    /* STID_GIVEN_EPS_FILE_IMPORTED */
1891    N_("EPS file '%s' imported."),
1892    /* STID_SEL_GIF_FILE_TO_IMPORT */
1893    N_("Please select a GIF file to IMPORT..."),
1894    /* STID_CANNOT_IMPORT_GIVEN_GIF */
1895    N_("Cannot import GIF file '%s'."),
1896    /* STID_GIVEN_GIF_SIZE_FILE_IMPORTED */
1897    N_("GIF file (%1dx%1d) '%s' imported."),
1898    /* STID_CANT_FIND_ANY_IMP_FLTR_SPEC */
1899    N_("Cannot find any import filter specifications.\n\nImport filters are specified with %s.%s and %s.%s X resources."),
1900    /* STID_SEL_AN_IMPORT_FILTER */
1901    N_("Please select an import filter..."),
1902    /* STID_SEL_A_TYPE_FILE_TO_IMPORT */
1903    N_("Please select a %s file to IMPORT..."),
1904    /* STID_CANT_IMPORT_GIVEN_TYPE_FILE */
1905    N_("Cannot import %s file '%s'."),
1906    /* STID_GIVEN_TYPE_SIZE_FILE_IMPORTED */
1907    N_("%s file (%1dx%1d) '%s' imported."),
1908    /* STID_INVALID_FMT_IN_SHORTCUT_SPEC */
1909    N_("Invalid format in shortcut specification of %s(%s)."),
1910    /* STID_CANT_FIND_NAMED_IMP_FLTR */
1911    N_("Cannot find any import filter named '%s'."),
1912    /* STID_SEL_ANIM_GIF_FILE_TO_IMPORT */
1913    N_("Please select an animated GIF file to IMPORT..."),
1914    /* STID_CANT_EXEC_CMD_IMPORT_ANIM_GIF */
1915    N_("Cannot execute '%s'.\n\nAnimated GIF not imported."),
1916    /* STID_Q_LIKE_TO_USE_AN_IMP_FLTR_GIF */
1917    N_("Would you like to use an import filter when importing individual GIF files?"),
1918    /* STID_CANT_CREATE_NAMED_TMP_FILE */
1919    N_("Cannot create temporary file: '%s'."),
1920    /* STID_CANT_IMP_ANIM_GIF_TMP_DIR */
1921    N_("Cannot import GIF animation file '%s'.  Please make sure that you can write to the '%s' directory."),
1922    /* STID_CANT_IMP_GIVEN_ANIM_GIF */
1923    N_("Cannot import GIF animation file '%s'."),
1924    /* STID_ONLY_ONE_GIF_COMP_EXTRACTED */
1925    N_("Only one GIF component extracted from '%s'."),
1926    /* STID_ANIMATING_GIVEN */
1927    N_("Animating '%s'..."),
1928    /* STID_GIF_ANIMATION_STOPPED */
1929    N_("GIF animation stopped."),
1930    /* STID_PRESS_ESC_TO_STOP */
1931    N_("(press <ESC> to stop)"),
1932    /* STID_BROWSING_DIR_FOR_TYPE_FILES */
1933    N_("Browsing '%s' for %s files..."),
1934    /* STID_SKIP_GIVEN_FILE_SYM_LINK */
1935    N_("Skipping '%s' because it's a symbolic link."),
1936    /* STID_WORKING_DIR_IS_GIVEN */
1937    N_("Working directory: '%s'"),
1938    /* STID_MORE_THAN_ONE_CMAP_INSTALLED */
1939    N_("More than one colormap installed."),
1940    /* STID_FIRST_ONE_ON_LIST_USED */
1941    N_("First one on the list is used."),
1942    /* STID_SPECIFY_AREA */
1943    N_("Specify area"),
1944    /* STID_SPECIFY_DELAY_FULL_SCR_CAP */
1945    N_("Please specify a delay (in seconds) for full screen capture:"),
1946    /* STID_WILL_HIDE_TOOL_WHILE_CAPTURE */
1947    N_("Will hide %s during capturing."),
1948    /* STID_WILL_SHOW_TOOL_WHILE_CAPTURE */
1949    N_("Will leave %s alone during capturing."),
1950    /* STID_FUNC_SELECT_SYS_CALL_FAILED */
1951    N_("In %s: select() system call failed."),
1952    /* STID_FUNC_INVALID_RC_FOR_SELECT */
1953    N_("In %s: Invalid return code of %1d from the select() system call."),
1954    /* STID_CNTRL_C_ABORT_LAUNCH */
1955    N_("You have typed a ^C.  Do you want to abort the command that's being executed?  (If the command is running in an xterm, please try killing or destroying the xterm from the desktop first before doing an abort.)"),
1956    /* STID_CMD_ABORT_LAUNCH_CLOSE_TOOL */
1957    N_("The '%s' command is aborted.\n\nHowever, it's not safe to actually kill the command.  Therefore, please close %s at the next convenient point."),
1958    /* STID_INVALID_GIVEN_ATTR_SPEC */
1959    N_("Invalid attribute specification: '%s'."),
1960    /* STID_LAUNCH_NOT_AUTO_IN_HYPER_EXEC */
1961    N_("Launching is not automatic in hyperspace.  Do you want to execute the following command?\n\n    %s\n\n(If you are not sure about this, just click on NO.)"),
1962    /* STID_USER_ABORT_LAUNCH_IN_HYPER */
1963    N_("Launching in hyperspace aborted at user's request."),
1964    /* STID_MALFORMED_CMD_EXEC_ABORT */
1965    N_("Malformed '%s' command.\n\nCommand execution aborted."),
1966    NULL
1967 };
1968 
1969 static char *gaszEnglishStrTable700[] = {
1970    /* STID_NO_OBJ_SEL_WHILE_EXEC_CMD */
1971    N_("No object is selected while executing the '%s' command."),
1972    /* STID_CANT_FIND_NAMED_ATTR_EXEC */
1973    N_("Cannot find the '%s' attribute while executing the '%s' command."),
1974    /* STID_FILE_ATTR_NOT_ALLOWED_FOR_CMD */
1975    N_("File attribute '%s' is not appropriate for the '%s' command."),
1976    /* STID_CANT_FIND_NAMED_OBJ_EXEC */
1977    N_("Cannot find object named '%s' while executing the '%s' command."),
1978    /* STID_INVALID_ARG_WHILE_EXEC_CMD */
1979    N_("Invalid '%s' while executing the '%s' command."),
1980    /* STID_MODIFY_FILE_ATTR_IN_WB */
1981    N_("Cannot modify file attributes in WhiteBoard mode."),
1982    /* STID_USER_INTR_TOOL_WAIT_CLEANUP */
1983    N_("User interrupt received.  %s is waiting for clean up to complete.\n\nAre you sure you don't want to wait for clean up to complete (this may leave the scripts in an inconsistent state)?"),
1984    /* STID_FUNC_USER_INTR */
1985    N_("%s(): User interrupt."),
1986    /* STID_BAD_EVAL_INT_EXP_EXEC_CMD */
1987    N_("Invalid evaluation '%s' used (integer expected) while executing the '%s' command."),
1988    /* STID_BAD_EVAL_FLOAT_EXP_EXEC_CMD */
1989    N_("Invalid evaluation '%s' used (floating pointer number expected) while executing the '%s' command."),
1990    /* STID_FAIL_FUNC_CMD_EXEC_ABORT */
1991    N_("Fail to %s.  Command execution aborted."),
1992    /* STID_FUNC_ONLY_WORK_COMPOSITE_OBJ */
1993    N_("%s() only works with composite objects."),
1994    /* STID_FUNC_FAIL_TO_IMPORT_GIVEN */
1995    N_("%s(): Fail to import '%s'."),
1996    /* STID_FUNC_OBJ_NON_XBM_XPM_SUB_OBJS */
1997    N_("%s(): Object contains non-Bitmap/Pixmap sub-objects."),
1998    /* STID_WILL_EXPORT_PNG_FILE */
1999    N_("Will export PNG (needs xpm->png filter) file."),
2000    /* STID_CANNOT_IMPORT_GIVEN_PNG */
2001    N_("Cannot import PNG file '%s'."),
2002    /* STID_GIVEN_PNG_SIZE_FILE_IMPORTED */
2003    N_("PNG file (%1dx%1d) '%s' imported."),
2004    /* STID_SEL_PNG_FILE_TO_IMPORT */
2005    N_("Please select a PNG file to IMPORT..."),
2006    /* STID_FUNC_DIFF_SZ_XBM_XPM_SUBOBJS */
2007    N_("%s(): Different sizes Bitmap/Pixmap sub-objects."),
2008    /* STID_FUNC_MORE_1_XBM_XPM_SUBOBJS */
2009    N_("%s(): Must have > 1 Bitmap/Pixmap sub-objects."),
2010    /* STID_FUNC_ARG_RANGE */
2011    N_("%s(): '%s' must be between %1d and %1d (inclusive).\n\n%1d was specified."),
2012    /* STID_FUNC_UNDEFINED_ARG */
2013    N_("%s(): Undefined '%s'."),
2014    /* STID_INTERNAL_CMD_SELECT_FAILED */
2015    N_("%s(): select() system call failed."),
2016    /* STID_CANT_OPEN_FILE_READ_EXEC_CMD */
2017    N_("Cannot open '%s' for reading while executing the '%s' command."),
2018    /* STID_FAIL_TO_EXECUTE_CMD_EXEC_CMD */
2019    N_("Fail to execute '%s' while executing the '%s' command."),
2020    /* STID_UNEXP_ERR_EXEC_CMD_ABORT */
2021    N_("Unexpected error while executing the '%s' command.\n\nCommand execution aborted."),
2022    /* STID_BAD_NAME_TOP_LEVEL_ONLY_CMD */
2023    N_("Bad object name: '%s'.\n\nOnly top level object can be selected while executing the '%s' command."),
2024    /* STID_BAD_CURSOR_WHILE_EXEC_CMD */
2025    N_("Cannot create the '%s' cursor while executing the '%s' command."),
2026    /* STID_BAD_COLOR_NAME_WHILE_EXEC_CMD */
2027    N_("Fail to allocate the '%s' color while executing the '%s' command."),
2028    /* STID_WIDTH_RANGE_WHILE_EXEC_CMD */
2029    N_("Line width of '%s' is out of range while executing the '%s' command."),
2030    /* STID_SPLINE_TYPE_WHILE_EXEC_CMD */
2031    N_("Invalid spline type of '%s' used while executing the '%s' command."),
2032    /* STID_ARROW_STYLE_WHILE_EXEC_CMD */
2033    N_("Invalid arrow style of '%s' used while executing the '%s' command."),
2034    /* STID_DASH_INDEX_WHILE_EXEC_CMD */
2035    N_("Invalid dash index of '%s' used while executing the '%s' command."),
2036    /* STID_RCB_RAD_RANGE_WHILE_EXEC_CMD */
2037    N_("Rcbox radius of '%s' is out of range while executing the '%s' command."),
2038    /* STID_BAD_TEXT_JUST_WHILE_EXEC_CMD */
2039    N_("Invalid text justification of '%s' used while executing the '%s' command."),
2040    /* STID_BAD_FONT_NAME_WHILE_EXEC_CMD */
2041    N_("Invalid font name of '%s' used while executing the '%s' command."),
2042    /* STID_UNDO_BUF_FLUSHED_BY_CMD */
2043    N_("Undo buffer flushed by %s()."),
2044    /* STID_BAD_EVAL_NUM_EXP_EXEC_CMD */
2045    N_("Invalid evaluation '%s' used (numeric value expected) while executing the '%s' command."),
2046    /* STID_WRITE_CUT_BUF_WHILE_EXEC_CMD */
2047    N_("Writing to cut buffer failed while executing the '%s' command."),
2048    /* STID_CANT_FIND_DOT_WHILE_EXEC_CMD */
2049    N_("Cannot find '.' in '%s%c%s' while executing the '%s' command."),
2050    /* STID_BAD_WIDTH_WHILE_EXEC_CMD */
2051    N_("Invalid width of '%s' used while executing the '%s' command."),
2052    /* STID_BAD_HEIGHT_WHILE_EXEC_CMD */
2053    N_("Invalid height of '%s' used while executing the '%s' command."),
2054    /* STID_BAD_STYLE_WHILE_EXEC_CMD */
2055    N_("Invalid style of '%s' used while executing the '%s' command."),
2056    /* STID_TOO_MANY_OBJ_WHILE_EXEC_CMD */
2057    N_("Too many objects selected while executing the '%s' command."),
2058    /* STID_BAD_ATTR_NAME_WHILE_EXEC_CMD */
2059    N_("Illegal attribute name '%s' used while executing the '%s' command."),
2060    /* STID_END_AN_EDGE_AT_A_PORT */
2061    N_("Please end an edge at a port..."),
2062    /* STID_DRAW_AN_EDGE_BETWEEN_PORTS */
2063    N_("Please draw an edge between ports..."),
2064    /* STID_CANT_FIND_VRTX_WHILE_EXEC_CMD */
2065    N_("Cannot find vertex %1d for an object named '%s' while executing the '%s' command."),
2066    /* STID_POLY_NOR_PGON_WHILE_EXEC_CMD */
2067    N_("'%s' is neither a poly nor a polygon object while executing the '%s' command."),
2068    /* STID_BAD_REM_FNAME_WHILE_EXEC_CMD */
2069    N_("Invalid remote file name '%s' used while executing the '%s' command."),
2070    /* STID_CANT_OPEN_FILE_WRITE_EXEC_CMD */
2071    N_("Cannot open '%s' for writing while executing the '%s' command."),
2072    /* STID_GIVEN_CMD_EXECUTED */
2073    N_("%s() command executed."),
2074    /* STID_SQRT_NEG_NUM_WHILE_EXEC_CMD */
2075    N_("%s() domain error: Cannot take square-root of a negative number."),
2076    /* STID_CMD_NOT_AVAIL_ON_PLATFORM */
2077    N_("The %s() command is not available on this platform."),
2078    /* STID_BAD_SHORTCUT_WHILE_EXEC_CMD */
2079    N_("Invalid shortcut name '%s' used while executing the '%s' command."),
2080    /* STID_STAT_FAILED_WHILE_EXEC_CMD */
2081    N_("Fail to get file info for '%s' while executing the '%s' command."),
2082    /* STID_NON_GROUPED_WHILE_EXEC_CMD */
2083    N_("Non-compound object named '%s' specified while executing the '%s' command."),
2084    /* STID_BAD_SEP_LONG_WHILE_EXEC_CMD */
2085    N_("Invalid separator '%s' specified while executing the '%s' command.\n\n(Separator must be a single charactor.)"),
2086    /* STID_BAD_SEP_WHILE_EXEC_CMD */
2087    N_("Invalid separator '%s' specified while executing the '%s' command."),
2088    /* STID_MORE_THAN_ONE_WHILE_EXEC_CMD */
2089    N_("More than one object selected while executing the '%s' command."),
2090    /* STID_MUST_FULL_PATH_WHILE_EXEC_CMD */
2091    N_("Invalid path: '%s' specified while executing the '%s' command.\n\n(Must use an absolute path.)"),
2092    /* STID_OBJ_ALRDY_SEL_WHILE_EXEC_CMD */
2093    N_("Object named '%s' is already selected while executing the '%s' command."),
2094    /* STID_INVALID_FNAME_WHILE_EXEC_CMD */
2095    N_("Invalid file name '%s' specified while executing the '%s' command."),
2096    /* STID_INVALID_FMODE_WHILE_EXEC_CMD */
2097    N_("Invalid file mode '%s' specified while executing the '%s' command."),
2098    /* STID_INVALID_FNUM_WHILE_EXEC_CMD */
2099    N_("Invalid file number '%s' specified while executing the '%s' command."),
2100    /* STID_FNUM_ARDY_OPEN_WHILE_EXEC_CMD */
2101    N_("File number %1d is already opened while executing the '%s' command."),
2102    /* STID_CANT_OPEN_FMOD_WRITE_EXEC_CMD */
2103    N_("Cannot open '%s' in the '%s' mode for writing while executing the '%s' command."),
2104    /* STID_FNUM_NOT_OPEN_WHILE_EXEC_CMD */
2105    N_("File number %1d is not opened while executing the '%s' command."),
2106    /* STID_EOF_FOR_FNUM_WHILE_EXEC_CMD */
2107    N_("Cannot read beyond the end-of-file for file number %1d while executing the '%s' command."),
2108    /* STID_WRI_FNUM_FAIL_WHILE_EXEC_CMD */
2109    N_("Fail to write to file number %1d while executing the '%s' command."),
2110    /* STID_WRI_FNN_FAIL_WHILE_EXEC_CMD */
2111    N_("Fail to write to file number %1d ('%s') while executing the '%s' command."),
2112    /* STID_INVALID_PATH_WHILE_EXEC_CMD */
2113    N_("File '%s' does not exist while executing the '%s' command."),
2114    /* STID_APPEND_FAILED_WHILE_EXEC_CMD */
2115    N_("Appending '%s' to '%s' failed while executing the '%s' command."),
2116    /* STID_COPY_FAILED_WHILE_EXEC_CMD */
2117    N_("Copying '%s' to '%s' failed while executing the '%s' command."),
2118    /* STID_INVALID_FORMAT_WHILE_EXEC_CMD */
2119    N_("Invalid format '%s' specified while executing the '%s' command."),
2120    /* STID_INVALID_REC_WHILE_EXEC_CMD */
2121    N_("Invalid rectangle '(%d,%d,%d,%d)' specified while executing the '%s' command."),
2122    /* STID_CONVERT_FORMAT_WHILE_EXEC_CMD */
2123    N_("Fail to convert '%s' from the '%s' format to XPM format while executing the '%s' command."),
2124    /* STID_IMPORT_FAILED_WHILE_EXEC_CMD */
2125    N_("Fail to import '%s' while executing the '%s' command."),
2126    /* STID_BAD_VER_NUM_WHILE_EXEC_CMD */
2127    N_("Invalid version number '%1d' specified while executing the '%s' command."),
2128    /* STID_EMPTY_INI_SEC_WHILE_EXEC_CMD */
2129    N_("The [%s] section of '%s' is empty or non-existent while executing the '%s' command."),
2130    /* STID_BAD_LINENUM_WHILE_EXEC_CMD */
2131    N_("Invalid line number '%1d' specified while executing the '%s' command."),
2132    /* STID_BAD_SMALL_LNUM_WHILE_EXEC_CMD */
2133    N_("Invalid line number '%1d' (too small) specified while executing the '%s' command."),
2134    /* STID_BAD_EMPTY_STR_WHILE_EXEC_CMD */
2135    N_("Invalid empty string specified while executing the '%s' command."),
2136    /* STID_BAD_DIRECTION_WHILE_EXEC_CMD */
2137    N_("Invalid direction '%s' specified while executing the '%s' command."),
2138    /* STID_NO_START_VRTX_WHILE_EXEC_CMD */
2139    N_("No starting vertex specified while executing the '%s' command."),
2140    /* STID_TOO_FEW_VRTX_WHILE_EXEC_CMD */
2141    N_("Too few vertices (%1d) specified while executing the '%s' command."),
2142    /* STID_NO_START_OBJ_WHILE_EXEC_CMD */
2143    N_("No starting object specified by %s() while executing the '%s' command."),
2144    /* STID_CANT_FIND_MARK_WHILE_EXEC_CMD */
2145    N_("Cannot find the object marker for %s() while executing the '%s' command."),
2146    /* STID_NO_OBJ_GROUP_WHILE_EXEC_CMD */
2147    N_("No object to group while executing the '%s' command."),
2148    /* STID_CANT_GRP_SNGL_WHILE_EXEC_CMD */
2149    N_("Cannot group a single object while executing the '%s' command."),
2150    /* STID_UNRECOG_CMD_MAY_BE_BLANKS_ABT */
2151    N_("Unrecognized command: '%s' (may be caused by illegal trailing blanks in command name).\n\nCommand execution aborted."),
2152    /* STID_UNRECOG_CMD_DOWNLOAD_TOOL */
2153    N_("Unrecognized command: '%s'.\n\nCommand execution aborted.\n\nIt is possible that the command is supported in a newer version of %s.  Please visit '%s' to download the latest release."),
2154    /* STID_UNRECOG_CMD_ABORT */
2155    N_("Unrecognized command.  Command execution aborted."),
2156    /* STID_TOOL_NOT_DONE_WITH_PREV_FUNC */
2157    N_("%s is not finished with the previous %s yet."),
2158    /* STID_ENTER_INTERN_CMD_FILE_NAME */
2159    N_("Please specify the file name for a %s internal command file (enter '-' for standard input)."),
2160    /* STID_FINISH_EXEC_CMD_FROM_STDIN */
2161    N_("Finished executing commands from the standard input."),
2162    /* STID_FATAL_ERROR_IN_FUNC_PLUS_DESC */
2163    N_("Fatal Error in %s: %s"),
2164    /* STID_TOOL_ABORTED */
2165    N_("%s aborted."),
2166    /* STID_ICON_FILEVER_TOO_LARGE */
2167    N_("Icon file version too large (=%1d)."),
2168    /* STID_UNEQUAL_DEPTHS_IN_FUNC */
2169    N_("Unequal depths in %s."),
2170    NULL
2171 };
2172 
2173 static char *gaszEnglishStrTable800[] = {
2174    /* STID_BASELINE_YS_NOT_EQ_IN_FUNC */
2175    N_("Error: left_baseline_y != right_baseline_y in %s."),
2176    /* STID_LOCKED_OBJS_CANT_BE_MOVED */
2177    N_("Locked object(s) cannot be moved."),
2178    /* STID_HINT_CTL_MOVE_ATTR_ONLY */
2179    N_("(HINT: You can hold down <Cntrl> key to move only the attribute under the cursor.)"),
2180    /* STID_OUT_OF_VMEM_CANNOT_MALLOC */
2181    N_("Out of virtual memory and cannot malloc()."),
2182    /* STID_CANT_ALLOC_BITMAP_OF_SIZE */
2183    N_("Cannot allocate bitmap of size %1dx%1d."),
2184    /* STID_FAIL_TO_WRITE_TO_FILE */
2185    N_("Fail to write to '%s'.  File system may be full."),
2186    /* STID_SAFEST_SAVE_N_EXIT_REPRODUCE */
2187    N_("Safest thing to do is to save file and exit.\nPlease try to reproduce this error and\n\tsend bug report to %s."),
2188    /* STID_FATAL_UNEXPECTED_ERROR */
2189    N_("Fatal Unexpected Error:  %s%s%s\n\nSafest thing to do is to save file and exit.\n\nPlease try to reproduce this error and send bug report to %s."),
2190    /* STID_ENTER_FNAME_TO_WRITE_MSG_BUF */
2191    N_("Please enter a file name to write the message buffer content:"),
2192    /* STID_STDOUT_STDERR_ESC_CANCEL */
2193    N_("( \"stdout\", \"stderr\", <ESC>: cancel )"),
2194    /* STID_MSG_BUF_SAVED_INTO_GIVEN */
2195    N_("Message buffer saved into '%s'."),
2196    /* STID_FILE_LINE_MISS_FIELD_IN_OBJ */
2197    N_("%s, %d:  Missing %s in %s object."),
2198    /* STID_FILE_LINE_BAD_FIELD_IN_OBJ */
2199    N_("%s, %d:  Bad %s in %s object."),
2200    /* STID_NAMED_SIG_RECV */
2201    N_("%s signal received."),
2202    /* STID_ERR_COUNT_EXCEED_TOOL_ABORTED */
2203    N_("Error count exceeds %1d in %s.  %s aborted."),
2204    /* STID_WORKING_FILE_SAVED_TO */
2205    N_("Working file saved to '%s.%s'."),
2206    /* STID_UNABLE_TO_SAVE_WORKING_FILE */
2207    N_("Unable to save working file."),
2208    /* STID_X_ERROR_MSG */
2209    N_("X Error:  %s."),
2210    /* STID_BAD_COMPILE_OPT_USE_ALT_STR */
2211    N_("Invalid compiler option %s=\"%s\", \"%s\" is used instead."),
2212    /* STID_MISSING_DISPLAY_NAME */
2213    N_("Missing display name."),
2214    /* STID_MISSING_PAGE_NUMBER */
2215    N_("Missing page number."),
2216    /* STID_INVALID_GIVEN_PAGE_NUMBER_STR */
2217    N_("Invalid page number: '%s'."),
2218    /* STID_MISSING_ARG_FOR_CMDLINE_OPT */
2219    N_("Missing command line argument for '%s'."),
2220    /* STID_INVALID_ARG_FOR_CMDLINE_OPT */
2221    N_("Invalid command line argument for '%s': '%s'."),
2222    /* STID_TGIF_PATH_SHOULD_NOT_BE_USED */
2223    N_("Warning: -tgif_path should not be used!"),
2224    /* STID_PRINT_TO_PRINTER_INCOMPAT */
2225    N_("Printing to printer is incompatible with '%s'."),
2226    /* STID_BAD_EXEC_FNAME_DASH */
2227    N_("Invalid exec file name (cannot start with '-')."),
2228    /* STID_CANNOT_OPEN_DIR_FOR_READING */
2229    N_("Cannot open the '%s' directory for reading."),
2230    /* STID_FAIL_TO_STAT_GIVEN_FILE */
2231    N_("Fail to stat() '%s'."),
2232    /* STID_SET_WORKING_DIR */
2233    N_("SetWorkingDir"),
2234    /* STID_CLICK_SETWORKDIR_TO_SET_DIR */
2235    N_("Click on the 'SetWorkingDir' button to set Open/SaveAs directory."),
2236    /* STID_SETWORKDIR_NOT_SUP_FOR_STR */
2237    N_("SetWorkingDir not supported for '%s'."),
2238    /* STID_OPENSAVE_DIR_CHANGE_TO_REMAIN */
2239    N_("Current open/save directory change to '%s'.\n\n(Current import directory remains '%s'.)"),
2240    /* STID_IMPORT_DIR_CHANGED_TO_REMAIN */
2241    N_("Current import directory changed to '%s'.\n\n(Current open/save directory remains '%s'.)"),
2242    /* STID_GEN_LIST_OF_DOMAIN_NAMES_WAIT */
2243    N_("Generating list of domain names, please wait..."),
2244    /* STID_CANT_GEN_DOM_NAMES_INI_ENTRY */
2245    N_("Fail to generate a list of domain names.\n\nCannot find the '%s' entry in the [%s] section of '%s'."),
2246    /* STID_CANT_GEN_DOM_NAMES_XDEF */
2247    N_("Fail to generate a list of domain names.\n\nCannot find %s.%s%1d."),
2248    /* STID_CANT_GET_LIST_OF_DOM_NAMES */
2249    N_("Fail to get a list of domain names."),
2250    /* STID_PLEASE_SELECT_A_NEW_DOMAIN */
2251    N_("Please select a new DOMAIN..."),
2252    /* STID_CURRENT_DOMAIN_IS */
2253    N_("Current domain is '%s'."),
2254    /* STID_SYMBOL_PATH_SET_TO */
2255    N_("Symbol path set to '%s'."),
2256    /* STID_PLS_SEL_A_DIR_IN_GIVEN_DOMAIN */
2257    N_("Please select a DIRECTORY in the '%s' domain..."),
2258    /* STID_GEN_LIST_XBM_NAMES_WAIT */
2259    N_("Generating list of bitmap names, please wait..."),
2260    /* STID_GEN_LIST_XPM_NAMES_WAIT */
2261    N_("Generating list of pixmap names, please wait..."),
2262    /* STID_GEN_LIST_OBJ_NAMES_WAIT */
2263    N_("Generating list of object file names, please wait..."),
2264    /* STID_GEN_LIST_SYM_NAMES_WAIT */
2265    N_("Generating list of symbol names, please wait..."),
2266    /* STID_GEN_LIST_TYPE_FILE_NAMES_WAIT */
2267    N_("Generating list of %s file names, please wait..."),
2268    /* STID_NO_GIVEN_TYPE_FILE_FOUND */
2269    N_("No '%s' file found."),
2270    /* STID_NO_DIR_SEP_IN_FUNC_WORK_DIR */
2271    N_("Error: No directory-separator found in %s.\n\nCurrent working directory set to '%s'."),
2272    /* STID_NO_DIR_SEP_IN_FUNC_SYM_DIR */
2273    N_("Error: No directory-separator found in %s.\n\nCurrent symbol directory set to '%s'."),
2274    /* STID_NO_DIR_SEP_IN_FUNC_IMPORT_DIR */
2275    N_("Error: No directory-separator found in %s.\n\nCurrent import directory set to '%s'."),
2276    /* STID_EMPTY_PATH_DISALLOW_FOR_DOM */
2277    N_("Empty path is not allowed for the '%s' domain."),
2278    /* STID_TOOL_EDIT_DOM_PATHS */
2279    N_("%s - Edit Domain Paths"),
2280    /* STID_EDIT_DOMAIN_PATHS_DOTS */
2281    N_("Edit domain paths..."),
2282    /* STID_TOOL_SEL_DEFAULT_DOMAIN */
2283    N_("%s - Select A Default Domain"),
2284    /* STID_SEL_DEFAULT_DOMAIN_DOTS */
2285    N_("Please select a default domain..."),
2286    /* STID_PLS_SPEC_A_NEW_DOMAIN_NAME */
2287    N_("Please specify a new domain name:"),
2288    /* STID_GIVEN_DOMAIN_ALREADY_EXISTS */
2289    N_("Domain '%s' already exists!"),
2290    /* STID_GIVEN_DOM_ADDED_PATH_SET_TO */
2291    N_("Domain '%s' added.  Path set to \"%s\"."),
2292    /* STID_SEL_DOMAIN_TO_DELETE_DOTS */
2293    N_("Please select a domain to delete..."),
2294    /* STID_OK_TO_DELETE_NAMED_DOMAIN_YNC */
2295    N_("Okay to delete the '%s' domain? [ync](y)"),
2296    /* STID_OK_TO_RELOAD_DOM_INFO_FROM_X */
2297    N_("Okay to reload domain information from X defaults? [ync](y)"),
2298    /* STID_ERR_IN_PARSE_STR_FOR_2_VAL */
2299    N_("Error in parsing '%s' for 2 values."),
2300    /* STID_FILE_MOD_SAVE_BEFORE_BACK */
2301    N_("File modified, save file before going back? [ync](y)"),
2302    /* STID_NOTHING_TO_GO_BACK_TO */
2303    N_("Nothing to go back to."),
2304    /* STID_FILE_MOD_SAVE_BEFORE_FORWARD */
2305    N_("File modified, save file before going forward? [ync](y)"),
2306    /* STID_NOTHING_TO_GO_FORWARD_TO */
2307    N_("Nothing to go forward to."),
2308    /* STID_FAIL_TO_FIND_RECORD_IN_FUNC */
2309    N_("Fail to find record in AdjustNavigate()."),
2310    /* STID_FURTHER_NAVIGATE_MAY_CRASH */
2311    N_("Further navigating may crash."),
2312    /* STID_CANT_REFRESH_UNDEFINED_FILE */
2313    N_("Canot refresh an undefined file."),
2314    /* STID_FILE_MOD_SAVE_BEFORE_RELOAD */
2315    N_("File modified, save file before going reloading? [ync](y)"),
2316    /* STID_HOT_LIST_FILE_UNDEF_PLS_SPEC */
2317    N_("Hot list file undefined.  Please specify it in %s.%s."),
2318    /* STID_MALFORMED_NAMED_HOT_LIST_FILE */
2319    N_("Malformed hot list file '%s'."),
2320    /* STID_HOT_LIST_FILE_IS_EMPTY */
2321    N_("Hot list file is empty."),
2322    /* STID_Q_DEL_NAMED_FROM_HOT_LIST */
2323    N_("Would you like to delete '%s' from the hot list? [ync](y)"),
2324    /* STID_FILE_MOD_SAVE_BEFORE_OPEN_ANO */
2325    N_("File modified, save file before opening another file? [ync](y)"),
2326    /* STID_SESSION_HIST_NOT_ESTABLISHED */
2327    N_("Sesion history has not been established yet."),
2328    /* STID_TOOL_HOT_LIST */
2329    N_("%s - Hot List"),
2330    /* STID_TOOL_HISTORY */
2331    N_("%s - History"),
2332    /* STID_HOT_LIST_DOTS */
2333    N_("Hot list..."),
2334    /* STID_CANT_ADD_UNDEF_TO_HOT_LIST */
2335    N_("Cannot add an undefined file to hot list."),
2336    /* STID_HOT_LIST_FILE_UPDATED */
2337    N_("Hot list file updated."),
2338    /* STID_SESSION_HISTORY_DOTS */
2339    N_("Session history..."),
2340    /* STID_ENTER_HYPERSPACE_DOTS */
2341    N_("Enter hyperspace..."),
2342    /* STID_LEAVING_HYPERSPACE_DOTS */
2343    N_("Leaving hyperspace..."),
2344    /* STID_CANT_SLIDESHOW_IN_TILED_PAGE */
2345    N_("Cannot enter slideshow mode in TILED page mode.  Would you like to switch to STACKED page mode (and mark the file unsavable) then proceed? [ync](y)"),
2346    /* STID_FILE_MOD_SAVE_BEFORE_SLIDE */
2347    N_("File modified, save file before entering slideshow mode? [ync](y)"),
2348    /* STID_PAGE_NUM_MOD_IN_SLIDE_NOT_SAV - this string is not used! */
2349    N_("Page numbers will be modified by %s in slideshow mode.  It's probably a good idea NOT to do a Save() until you've re-opened the file."),
2350    /* STID_Q_PAGE_NUM_MOD_IN_SLIDE_YNC */
2351    N_("Page numbers will be modified by %s in slideshow mode.  The file will be marked unsavable if you continue.\n\nOkay to mark the file unsavable and enter slideshow mode? [ync](y)"),
2352    /* STID_ENTERING_SLIDESHOW_DOTS */
2353    N_("Entering slideshow..."),
2354    /* STID_LEAVING_SLIDESHOW_DOTS */
2355    N_("Leaving slideshow..."),
2356    /* STID_ENTER_A_COLOR_FOR_SLIDE_BRDR */
2357    N_("Please enter a color for the slideshow border:"),
2358    /* STID_PRESS_ENTER_FOR_DEF_COLOR */
2359    N_("( just press <ENTER> for the default color )"),
2360    /* STID_SLIDE_WILL_USE_DEF_BRDR_COLOR */
2361    N_("Slideshow will use default border color."),
2362    /* STID_SLIDE_BRDR_COLOR_SET_TO_NAMED */
2363    N_("Slideshow border color set to '%s'."),
2364    /* STID_ENTER_XY_OFFSET_FOR_SLIDE_WIN */
2365    N_("Please enter X and Y offsets for the slideshow window: [current: %1d,%1d]"),
2366    /* STID_SLIDE_WIN_XY_OFFSETS_SET_TO */
2367    N_("Slideshow window offsets set to: %1d, %1d."),
2368    /* STID_GRID_BE_VISIBLE_IN_SLIDE */
2369    N_("Grid will be visible in slideshow mode."),
2370    /* STID_GRID_NOT_BE_VISIBLE_IN_SLIDE */
2371    N_("Grid will not be visible in slideshow mode."),
2372    /* STID_CANT_DO_NEXTPAGE_IN_TILED */
2373    N_("Cannot do NextPage() in TILED page mode."),
2374    NULL
2375 };
2376 
2377 static char *gaszEnglishStrTable900[] = {
2378    /* STID_ALREADY_AT_LAST_PAGE */
2379    N_("Already at last page."),
2380    /* STID_CANT_DO_PREFPAGE_IN_TILED */
2381    N_("Cannot do PrevPage() in TILED page mode."),
2382    /* STID_ALREADY_AT_FIRST_PAGE */
2383    N_("Already at first page."),
2384    /* STID_TOOL_NAME_PAGES */
2385    N_("%s - Name Pages"),
2386    /* STID_TOOL_GOTO_PAGE */
2387    N_("%s - Goto Page"),
2388    /* STID_CANT_DO_GOTOPAGE_IN_TILED */
2389    N_("Cannot do GotoPage() in TILED page mode."),
2390    /* STID_GOTO_PAGE_DOTS */
2391    N_("Goto page..."),
2392    /* STID_NO_PAGE_SELECTED */
2393    N_("No page selected."),
2394    /* STID_INVALID_GIVEN_PAGE_NUMBER */
2395    N_("Invalid page number '%1d'."),
2396    /* STID_ALREADY_AT_GIVEN_PAGE */
2397    N_("Already at page %1d."),
2398    /* STID_CUR_PAGE_IS_GIVEN_PAGE_NUM */
2399    N_("Current page is page %1d."),
2400    /* STID_CANT_DO_NAMEPAGES_IN_TILED */
2401    N_("Cannot do NamePages() in TILED page mode."),
2402    /* STID_EDIT_PAGE_NAMES_DOTS */
2403    N_("Edige page names..."),
2404    /* STID_CANT_EDITPAGEFNAME_IN_TILED */
2405    N_("Cannot do EditPageFileNames() in TILED page mode."),
2406    /* STID_EDIT_PAGE_FILE_NAMES_DOTS */
2407    N_("Edige page file names..."),
2408    /* STID_PAGE_FNAME_NO_SPACE_TRUNC */
2409    N_("Page file name: '%s' must not contain space characters.  It is truncated to '%s'."),
2410    /* STID_OK_TO_FLUSH_UNDO_AND_PROCEED */
2411    N_("Okay to flush the undo buffer and proceed? [ync](y)"),
2412    /* STID_ADD_PAGE_BEFORE_GIVEN_FLUSH */
2413    N_("Adding a page before page %1d will cause the undo buffer to be flushed."),
2414    /* STID_ADD_PAGE_AFTER_GIVEN_FLUSH */
2415    N_("Adding a page after page %1d will cause the undo buffer to be flushed."),
2416    /* STID_DELETE_GIVEN_PAGE_CAUSE_FLUSH */
2417    N_("Deleting page %1d will cause the undo buffer to be flushed."),
2418    /* STID_DELETE_A_PAGE_CAUSE_FLUSH */
2419    N_("Deleting a page will cause the undo buffer to be flushed."),
2420    /* STID_DELETE_PAGES_PAGE_CAUSE_FLUSH */
2421    N_("Deleting pages will cause the undo buffer to be flushed."),
2422    /* STID_CHNG_PAGE_LAYOUT_FLUSH */
2423    N_("Changing the page layout mode will cause the undo buffer to be flushed."),
2424    /* STID_SET_PAPER_COLOR_CAUSE_FLUSH */
2425    N_("Setting paper color will cause the undo buffer to be flushed."),
2426    /* STID_CANT_DO_ADDPAGE_IN_TILED */
2427    N_("Cannot do AddPage() in TILED page mode."),
2428    /* STID_CANT_DO_DELETEPAGE_IN_TILED */
2429    N_("Cannot do DeleteCurrentPage() in TILED page mode."),
2430    /* STID_CANT_DEL_ONLY_PAGE_IN_TILED */
2431    N_("Cannot delete (the only) page in TILED page mode."),
2432    /* STID_CANT_DO_SPECDRAWSIZE_IN_TILED */
2433    N_("Cannot do SpecifyDrawingSize() in TILED page mode."),
2434    /* STID_CANT_DO_DELETEPAGES_IN_TILED */
2435    N_("Cannot do DeletePages() in TILED page mode."),
2436    /* STID_CANT_DO_POFPP_IN_TILED */
2437    N_("Cannot do PrintOneFilePerPage() in TILED page mode."),
2438    /* STID_CANT_DO_POFPP_TO_PRINTER */
2439    N_("Cannot do PrintOneFilePerPage() to printer."),
2440    /* STID_NAMED_TEMPLATE_LOADED */
2441    N_("Template loaded: '%s'."),
2442    /* STID_PROB_LOADING_NAMED_TEMPLATE */
2443    N_("Problem loading template file '%s'."),
2444    /* STID_GIVEN_PAGE_NUM_ADDED */
2445    N_("Page %1d added."),
2446    /* STID_ADDPAGEBEFORE_IN_WB */
2447    N_("AddPageBefore() is disabled in WhiteBoard mode."),
2448    /* STID_ADDPAGEAFTER_IN_WB */
2449    N_("AddPageAfter() is disabled in WhiteBoard mode."),
2450    /* STID_GIVEN_PAGE_NUM_DELETED */
2451    N_("Page %1d deleted."),
2452    /* STID_CANT_TPLS_IN_STACKED */
2453    N_("Cannot TogglePageLineShown() in STACKED page mode."),
2454    /* STID_ENTER_DRAW_SIZE_SPEC_WH */
2455    N_("Please enter drawing size specification: [W x H]"),
2456    /* STID_BAD_DRAW_SIZE_SPEC_WH */
2457    N_("Invalid drawing size specification.\n\nMust specify both Width and Height."),
2458    /* STID_BAD_DRAW_SIZE_SPEC_W_TIMES_H */
2459    N_("Invalid drawing size specification:  W times H should be >= %1d."),
2460    /* STID_INVALID_DRAW_SIZE_SPEC */
2461    N_("Invalid drawing size specified."),
2462    /* STID_CANT_PRINTONEPAGE_IN_FORMAT */
2463    N_("Cannot do PrintOnePage() in the '%s' format."),
2464    /* STID_BTN1_SEL_PAGE_TO_PRINT */
2465    N_("Left button selects a page to print,"),
2466    /* STID_OTHER_BTN_CANCEL_PRINTONEPAGE */
2467    N_("other buttons cancel printing one page."),
2468    /* STID_SELECT_A_PAGE_TO_PRINT */
2469    N_("Select a page to print"),
2470    /* STID_OPERATION_CANCEL_BY_USER */
2471    N_("Operation canceled by the user."),
2472    /* STID_MUST_SEL_A_PT_ON_THE_PAPER */
2473    N_("Must select a point on the paper."),
2474    /* STID_MUST_SEL_A_PT_IN_TOOL_WIN */
2475    N_("Must select a point within the %s window."),
2476    /* STID_NEW_PAPER_SIZE_IS_GIVEN */
2477    N_("New paper size: %.2fin x %.2fin (%.2fcm x %.2fcm)."),
2478    /* STID_INVALID_GIVEN_PAPER_SIZE_SPEC */
2479    N_("Invalid paper size specification: '%s'."),
2480    /* STID_CUR_PAPER_SIZE_IS_GIVEN */
2481    N_("( current paper size: '%s' )"),
2482    /* STID_ENTER_PAPER_SIZE_WH */
2483    N_("Please enter physical paper size: [W x H] (e.g., 8.5in x 11in)"),
2484    /* STID_CANT_DEL_ONLY_PAGE_IN_STACKED */
2485    N_("Cannot delete (the only) page."),
2486    /* STID_SPECIFY_PAGES_TO_DEL_EX */
2487    N_("Please specify pages to delete: (e.g., 2,3,7-9,10)"),
2488    /* STID_GIVEN_PAGE_NUM_IS_OUT_OF_RNG */
2489    N_("Page %1d is out of range."),
2490    /* STID_MALFORMED_SPECIFICATION_STR */
2491    N_("Malformed specification: '%s'."),
2492    /* STID_CANT_DEL_ALL_PAGES */
2493    N_("Cannot delete all pages."),
2494    /* STID_ONE_PAGE_DELETED */
2495    N_("1 page deleted."),
2496    /* STID_MANY_PAGES_DELETED */
2497    N_("%1d pages deleted."),
2498    /* STID_OBJ_OUTSIDE_PAGE_BNRDY_SWITCH */
2499    N_("There are objects outside the page boundary.\n\nCannot switch to TILED mode."),
2500    /* STID_SWTCH_TO_TILED_LOSE_ALL_NAMES */
2501    N_("Switching from TILED to STACKED mode loses all page names and page file names.\n\nOk to proceed? [ync](y)"),
2502    /* STID_CHANGE_PAGE_LAYOUT_MODE_IN_WB */
2503    N_("Changing page layout mode is disabled in WhiteBoard mode."),
2504    /* STID_PAGE_LAYOUT_MODE_IS_STACKED */
2505    N_("Page layout mode is STACKED."),
2506    /* STID_PAGE_LAYOUT_MODE_IS_TILED */
2507    N_("Page layout mode is TILED."),
2508    /* STID_SPECIFY_A_PAPER_COLOR */
2509    N_("Please specify a paper color:"),
2510    /* STID_SPECIFY_A_PAPER_COLOR_CUR_IS */
2511    N_("Please specify a paper color: [current: %s]"),
2512    /* STID_ENTER_NONE_TO_REMOVE_COLOR */
2513    N_("( Enter 'None' to remove the current paper color. )"),
2514    /* STID_PAPER_COLOR_REMOVED */
2515    N_("Paper color removed."),
2516    /* STID_PAPER_COLOR_SET_TO_GIVEN */
2517    N_("Paper color set to '%s'."),
2518    /* STID_GRAY_SCALE_USED_IN_PRINT_PAT */
2519    N_("Gray scale used in printing tiling patterns."),
2520    /* STID_NOTE_SLOW_PRINT_DUE_USE_PAT */
2521    N_("Note: slow printing due to the use of patterns."),
2522    /* STID_SUGGEST_USEGRAYSCALE_TO_SPEED */
2523    N_("You may want to try UseGrayScale() to speed things up."),
2524    /* STID_FILL_PEN_PAT_OPAQUE */
2525    N_("Fill and pen patterns are opaque."),
2526    /* STID_FILL_PEN_PAT_TRANSPARENT */
2527    N_("Fill and pen patterns are transparent."),
2528    /* STID_LINE_WIDTH_SET_TO_GIVEN_STR */
2529    N_("Line width set to %s."),
2530    /* STID_ENTER_LINE_WIDTH_OPT_AW_AH */
2531    N_("Please enter line width (arrow width and height are optional):"),
2532    /* STID_INVALID_GIVEN_STR_WIDTH */
2533    N_("Invalid width: '%s'."),
2534    /* STID_INVALID_GIVEN_STR_AW_AH */
2535    N_("Invalid arrow width and height: '%s %s'."),
2536    /* STID_NO_PINS_FOUND_IN_CUR_DRAWING */
2537    N_("No pins found in the current drawing."),
2538    /* STID_INPUT_PAIRS_OF_POINTS_POLY */
2539    N_("Please input pairs of points: (terminate with \"<Cntrl>d<CR>\" or \".<CR>\", continue to next poly with \";<CR>\")"),
2540    /* STID_READ_INT_ERROR_FOR_POLY_PTS */
2541    N_("Error reading integer for poly points."),
2542    /* STID_TOO_FEW_POINTERS_ENTERED */
2543    N_("Too few points entered."),
2544    /* STID_TOO_FEW_VER_TO_CLOSE_POLY */
2545    N_("Too few vertices to close a polyline/open-spline."),
2546    /* STID_HUH_WHERE_ARE_THE_VERTICES */
2547    N_("Huh?  Where are the vertices?"),
2548    /* STID_HUH_TOPVSEL_NE_BOTVSEL */
2549    N_("Huh?  How can topVSel != botVSel?"),
2550    /* STID_CMD_ONLY_AVAIL_IN_VERSEL_MODE */
2551    N_("This command is only available in vertex or select mode."),
2552    /* STID_SEL_2_ENDPOINT_VER_TO_JOIN */
2553    N_("Please select 2 end-point vertices to join."),
2554    /* STID_SEL_VER_FROM_POLY_OPEN_ONLY */
2555    N_("Please select vertices from polylines/open-splines only."),
2556    /* STID_SEL_2_POLYLINES_OPEN_SPLINES */
2557    N_("Please select 2 polylines/open-splines."),
2558    /* STID_CANT_JOIN_INTSPLINE_W_NONEINT */
2559    N_("Cannot join a interpolated spline with a non-interpolated polyline/open-spline."),
2560    /* STID_SEL_1_VERTEX_TO_CUT */
2561    N_("Please select 1 vertex to cut."),
2562    /* STID_SEL_A_VERTEX_FROM_POLY_OR_GON */
2563    N_("Please select a vertex from a polyline or polygon object."),
2564    /* STID_INVALID_SMOOTHHINGE_SPEC_POLY */
2565    N_("%s, %d:  Invalid smooth/hinge spec for a poly/polygon object.  Read aborted"),
2566    /* STID_INVALID_NUM_PTS_IN_POLY */
2567    N_("%s, %d:  Invalid number of points in a poly object.  Read aborted"),
2568    /* STID_INPUT_PAIRS_OF_POINTS_POLYGON */
2569    N_("Please input pairs of points: (terminate with \"<Cntrl>d<CR>\" or \".<CR>\", continue to next polygon with \";<CR>\")"),
2570    /* STID_READ_INT_ERR_FOR_POLYGON_PTS */
2571    N_("Error reading integer for polygon points."),
2572    /* STID_INVALID_NUM_PTS_IN_POLYGON */
2573    N_("%s, %d:  Invalid number of points in a polygon.  Read aborted"),
2574    /* STID_CANT_GET_XDEF_DEF_WIDTHS_USED */
2575    N_("Error in getting X default %s.%s.  Default widths used."),
2576    /* STID_ERR_SETCTM_CALLED_CTM_NONNULL */
2577    N_("Error: SetCTM() is called with ObjPtr->ctm != NULL."),
2578    NULL
2579 };
2580 
2581 static char *gaszEnglishStrTable1000[] = {
2582    /* STID_MEASUREMENT_SHOWN_IN_UNIT */
2583    N_("Measurement will be shown in '%s' (%s %s)."),
2584    /* STID_BAD_MEASUREMENT_UNIT_SPEC */
2585    N_("Bad measurement unit specification '%s'."),
2586    /* STID_SHOW_CROSSHAIR_ENABLED */
2587    N_("Showing cross-hair enabled."),
2588    /* STID_SHOW_CROSSHAIR_DISABLED */
2589    N_("Showing cross-hair disabled."),
2590    /* STID_SHOW_MEASUREMENT_ENABLED */
2591    N_("Showing measurement enabled."),
2592    /* STID_SHOW_MEASUREMENT_DISABLED */
2593    N_("Showing measurement disabled."),
2594    /* STID_CANNOT_EXECUTE_GIVEN_CMD */
2595    N_("Cannot execute '%s'."),
2596    /* STID_CONNECTION_INTERRUPTED */
2597    N_("%s: connection interrupted."),
2598    /* STID_CANT_CONN_TO_HOST_PORT */
2599    N_("%s: cannot connect to %s%s%s."),
2600    /* STID_FAIL_TO_GET_DATA_FROM_URL */
2601    N_("%s: fail to get data from '%s'."),
2602    /* STID_NETWORK_ERR_TALK_TO_HOST_PORT */
2603    N_("%s: network error occurred when talking to %s%s%s."),
2604    /* STID_FAILED_TO_LOGIN_TO_HOST_PORT */
2605    N_("%s: fail to login to %s%s%s."),
2606    /* STID_CANT_FIND_LOCATION_IN_HDR */
2607    N_("%s: Cannot find forwarding 'Location' information in message header while getting data from '%s'."),
2608    /* STID_LNK_FWD_5_TIMES_LOAD_ABORT */
2609    N_("%s: Links forwarded more than 5 times while getting data from '%s'.\n\nLoading is aborted."),
2610    /* STID_CANT_FIND_WWW_AUTHEN_IN_HDR */
2611    N_("%s: Cannot find 'WWW-Authenticate' information in message header while getting data from '%s'."),
2612    /* STID_AUTHEN_REQ_FOR_REALM */
2613    N_("%s: Authentication information for %s required..."),
2614    /* STID_ENTER_USERNAME_FOR_REALM */
2615    N_("Please enter UserName for %s:"),
2616    /* STID_ENTER_PASSWORD_FOR_REALM */
2617    N_("Please enter Password for %s:"),
2618    /* STID_FAIL_TO_PARSE_GIVEN_URL */
2619    N_("Fail to parse URL: '%s'."),
2620    /* STID_TOOL_NOT_KNOW_HOW_TALK_PROTO */
2621    N_("%s does not know how to talk using the '%s' protocol."),
2622    /* STID_LAUNCH_GIVEN_VIEWER */
2623    N_("Launch viewer: %s"),
2624    /* STID_CANT_OPEN_GIVEN_MAILCAP_FILE */
2625    N_("Cannot open mailcap file '%s'."),
2626    /* STID_MALFORMED_MAILCAP_ENTRY */
2627    N_("Malformed mailcap entry:\n\n%s/%s; %s"),
2628    /* STID_MALFORMED_MAILCAP_ENTRY_PARAM */
2629    N_("Malformed mailcap entry:\n\n%s/%s; %s; %s"),
2630    /* STID_TOOL_CANT_HANDLE_MP_MIME */
2631    N_("%s does not know how to handle Multipart MIME types."),
2632    /* STID_CANT_FIND_RT_BRACK_MC */
2633    N_("Cannot find matching '}' for mailcap entry:\n\n%s/%s; %s"),
2634    /* STID_CANT_FIND_RT_BRACK_MC_PARAM */
2635    N_("Cannot find matching '}' for mailcap entry:\n\n%s/%s; %s; %s"),
2636    /* STID_CANT_FIND_NAMED_INFO_IN_CT */
2637    N_("%s: cannot find the '%s' information in the message Content-Type."),
2638    /* STID_SAVE_GIVEN_STR_AS */
2639    N_("Save %s as:"),
2640    /* STID_NO_VIEWER_SAVE_GIVEN_STR_AS */
2641    N_("No viewer found.  Save %s as:"),
2642    /* STID_UNKNOWN_ERR_IN_COPYING_FILES */
2643    N_("Unknown error in copying files."),
2644    /* STID_CANT_GETHOSTNAME_USE_LOCALH */
2645    N_("Cannot gethostname(), 'localhost' is used instead."),
2646    /* STID_TURN_OFF_AUTO_PAN_SET_XDEF */
2647    N_("To turn off auto-panning, set %s.%s to false in X defaults."),
2648    /* STID_WILL_UPD_WIN_SMOOTH_SCROLL */
2649    N_("Will update canvas window smoothly while scrolling."),
2650    /* STID_WILL_UPD_WIN_JUMP_SCROLL */
2651    N_("Will jump update canvas window while scrolling."),
2652    /* STID_WILL_NOT_UPD_WIN_SCROLL */
2653    N_("Will not update canvas window while scrolling."),
2654    /* STID_INCONSIS_VERTEX_SEL_IN_FUNC */
2655    N_("Inconsistent vertex selection detected in %s."),
2656    /* STID_INVALID_NAMED_TELEPORT_DEST */
2657    N_("Invalid teleport destination '%s'."),
2658    /* STID_Q_FILE_NOT_EXIST_CREATE */
2659    N_("File '%s' does not exist.\n\nWould you like to create it?"),
2660    /* STID_CANT_FIND_PAGE_NAMED_TO_TEL */
2661    N_("Cannot find page named '%s' to teleport to."),
2662    /* STID_CANT_FIND_PAGE_NUM_TO_TEL */
2663    N_("Cannot find page %1d to teleport to."),
2664    /* STID_CANT_GROUP_IN_VERTEX_MODE */
2665    N_("Cannot group in vertex mode."),
2666    /* STID_CANT_GROUP_SINGLE_OBJECT */
2667    N_("Cannot group a single object."),
2668    /* STID_INVALID_XDEF_USE_ALT_OCTVALUE */
2669    N_("Invalid %s.%s: '%s', 0%03o is used instead."),
2670    /* STID_INVALID_XDEF_RNG_USE_ALT_STR */
2671    N_("Invalid %s.%s: '%s', (must be between %s and %s), %s is used instead."),
2672    /* STID_CANT_CREATE_NAMED_DIRECTORY */
2673    N_("Cannot create the '%s' directory."),
2674    /* STID_OPR_USING_NAMED_DIR_WILL_FAIL */
2675    N_("Operations using the '%s' directory (such as CopyProperties() and PasteProperties()) will fail."),
2676    /* STID_CREATE_A_SHAPE_FAILED */
2677    N_("Create a shape failed."),
2678    /* STID_CREATE_SHADOW_SHAPE_NO_FILL */
2679    N_("You are attempting to create a shadowed shape but the shape has no fill (the shadow will show through).\n\nWould you like to create such a shape without a shadow?"),
2680    /* STID_CREATE_SHADOW_SHAPE_TRAN_FILL */
2681    N_("You are attempting to create a shadowed shape but the shape has transparent fill (the shadow will show through).\n\nWould you like to create such a shape without a shadow?"),
2682    /* STID_ENTER_XY_OFFSET_FOR_SHP_SHDW */
2683    N_("Please enter X and Y offsets for the shape shadow: [current: %1d,%1d]"),
2684    /* STID_SHAPE_SHDW_XY_OFFSETS_SET_TO */
2685    N_("Shape shadow offsets set to: %1d, %1d."),
2686    /* STID_INVALID_SHORTCUT_ENTRY_SKIP */
2687    N_("Invalid shortcut entry: '%s'.  It is skipped."),
2688    /* STID_DUP_SHORTCUT_ENTRY_FOR_CHAR */
2689    N_("Warning: duplicate shortcut entry for '%c'."),
2690    /* STID_INVALID_SHORTCUT_ENTRY */
2691    N_("Invalid shortcut entry: '%s'."),
2692    /* STID_WARN_DUP_CMDID */
2693    N_("Warning: duplicate cmdid %1d."),
2694    /* STID_PUSH_IN_WB */
2695    N_("Push() is disabled in WhiteBoard mode."),
2696    /* STID_FILE_VER_ABORT_READ_SYMBOL */
2697    N_("File version (=%1d) too large.\n\nRead symbol aborted.\n\nYou may need a more recent version of %s.  Please check <URL:%s>."),
2698    /* STID_CANT_FIND_NAMED_OBJ_IN_FUNC */
2699    N_("Cannot find the '%s' text object in %s."),
2700    /* STID_SEL_A_SYM_TO_INSTAN_IN_DOMAIN */
2701    N_("Please select a symbol to INSTANTIATE in the '%s' domain..."),
2702    /* STID_CANT_INSTAN_FILE_UNKNOWN_EXT */
2703    N_("Cannot instantiate because '%s' has unknow file extension."),
2704    /* STID_CANT_MAKESYMBOLIC_VERTEX_MODE */
2705    N_("Cannot MakeSymbolic() in vertex mode."),
2706    /* STID_SEL_ONLY_ONE_FOR_MAKESYMBOLIC */
2707    N_("Please select only one object for MakeSymbolic()."),
2708    /* STID_PIN_CANT_MADE_INTO_SYMBOL */
2709    N_("A pin object cannot be made into a symbol object."),
2710    /* STID_SEL_OBJ_IS_NOW_SYMBOLIC */
2711    N_("Selected object is now SYMBOLIC."),
2712    /* STID_ENTER_NAME_FOR_THE_ICON */
2713    N_("Please enter name for the icon:"),
2714    /* STID_NAME_NOT_SPEC_ICON_NOT_CREATE */
2715    N_("Name not specified, icon not created."),
2716    /* STID_CANT_SAVE_OBJ_ICON_NOT_CREATE */
2717    N_("Cannot save as an object file, icon not created."),
2718    /* STID_CANT_FIND_DOT_IN_ICON_NAME_MI */
2719    N_("Cannot find '.' in icon_name in MakeIconic()."),
2720    /* STID_CANT_SAVE_PIN_ICON_NOT_CREATE */
2721    N_("Cannot save as a pin file, icon not created."),
2722    /* STID_CANT_OPEN_FOR_WRITE_ICON_CRET */
2723    N_("Cannot open '%s' for writing, icon not created."),
2724    /* STID_SEL_OBJ_IS_NOW_ICONIC */
2725    N_("Selected object is now ICONIC."),
2726    /* STID_SEL_ONLY_ONE_FOR_MAKEICONIC */
2727    N_("Please select one object to make it ICONIC."),
2728    /* STID_SEL_OBJS_ARE_NOW_GROUP */
2729    N_("Selected ICONIC objects are GROUP objects now."),
2730    /* STID_GIVEN_LINE_SKIP_NOT_AN_ATTR */
2731    N_("Line %1d in '%s' is skipped because it does not specify an attribute."),
2732    /* STID_GIVEN_LINE_SKIP_ILLEGAL_CHAR */
2733    N_("Line %1d in '%s' is skipped because attribute name contains illegal characters such as '!' or '.'."),
2734    /* STID_SEL_ONE_OBJ_FOR_IMPORTATTRS */
2735    N_("Please select only one object for ImportAttrs()."),
2736    /* STID_SEL_TEXT_FILE_OF_ATTR_TO_IMP */
2737    N_("Please select a text file containing attributes to import..."),
2738    /* STID_CANT_IMPORT_REMOTE_TEXT_FILE */
2739    N_("Importing remote text file not supported."),
2740    /* STID_SEL_ONE_OBJ_FOR_EXPORTATTRS */
2741    N_("Please select only one object for ExportAttrs()."),
2742    /* STID_SEL_OBJ_HAS_NO_ATTR_TO_EXPORT */
2743    N_("Select object has no attributes to export."),
2744    /* STID_ENTER_TXT_FILE_TO_EXPORT_CRES */
2745    N_("Please enter a text file name to export to: ( <CR>: accept, <ESC>: cancel )"),
2746    /* STID_ATTR_EXPORTED_TO_NAMED_FILE */
2747    N_("Attributes exported to '%s'."),
2748    /* STID_CANT_FIND_ATTR_FOR_MERGEWTBL */
2749    N_("Cannot find the '%s' attribute for MergeWithTable()."),
2750    /* STID_MALFORMED_ATTR_FOR_MERGEWTBL */
2751    N_("Malformed '%s' attribute for MergeWithTable()."),
2752    /* STID_SEL_ONE_OBJ_FOR_MERGEWTBL */
2753    N_("Please select only one object for MergeWithTable()."),
2754    /* STID_FILE_MOD_SAVE_BEFORE_MERGE */
2755    N_("File modified, save file before merge? [ync](y)"),
2756    /* STID_Q_MERGEWTBL_CANT_UNDO_PROCEED */
2757    N_("MergeWithTable cannot be undone.\n\nOk to proceed? [ync](y)"),
2758    /* STID_SEL_TEXT_FILE_FOR_MERGEWTBL */
2759    N_("Please select a text file for MergeWithTable()."),
2760    /* STID_CANT_MERGE_W_REMOTE_TEXT_FILE */
2761    N_("Merging remote text file not supported."),
2762    /* STID_FIND_COL_NAMES_IN_FILE_ABORT */
2763    N_("Cannot find column names in '%s'.\n\nMerge aborted."),
2764    /* STID_MALFORMED_COL_NAMES_ABORT_MRG */
2765    N_("Malformed column names in '%s'.\n\nMerge aborted."),
2766    /* STID_LF_BTN_PLACE_MRG_OTHER_CANCEL */
2767    N_("Left button places a merged object, other buttons cancel merging."),
2768    /* STID_MALFORMED_TBL_LINE_ABORT_MRG */
2769    N_("Malformed table at line %d in '%s'.\n\nMerge aborted."),
2770    /* STID_CANT_FND_NAMED_ATTR_ABORT_MRG */
2771    N_("Cannot find attribute named '%s'.\n\nMerge aborted."),
2772    /* STID_NUM_OBJECTS_GENERATED */
2773    N_("%1d object(s) generated."),
2774    /* STID_CANT_FND_TABLE_ATTRS_FILE_ATT */
2775    N_("Cannot find the \"!.TABLE_ATTRS\" file attribute.\n\nCannot proceed with ExportToTable()."),
2776    /* STID_NUM_OBJECTS_EXPORTED */
2777    N_("%1d object(s) exported."),
2778    /* STID_ATTRS_EXPORTED_TO_TBL_FILE */
2779    N_("Attributes exported to table file '%s'."),
2780    /* STID_SEL_ONE_ICON_OBJ_TO_PUSH */
2781    N_("Please select one ICON object to push into."),
2782    NULL
2783 };
2784 
2785 static char *gaszEnglishStrTable1100[] = {
2786    /* STID_CANT_FND_SYM_FILE_IN_PATH */
2787    N_("Cannot find '%s.%s' in %s."),
2788    /* STID_CANNOT_OPEN_FOR_READ_PUSH */
2789    N_("Cannot open '%s' for reading.  Icon not pushed into."),
2790    /* STID_FILE_VER_ABORT_PUSH */
2791    N_("File version (=%1d) too large.\n\nPush aborted.\n\nYou may need a more recent version of %s.  Please check <URL:%s>."),
2792    /* STID_POP_BACK_TO_PARENT_UNDEF */
2793    N_("Poping back to parent level.  Current file undefined."),
2794    /* STID_ALREADY_AT_TOP_LEVEL */
2795    N_("Already at top level."),
2796    /* STID_FILE_MOD_SAVE_BEFORE_POP */
2797    N_("File modified, save file before poping back to the parent level? [ync](y)"),
2798    /* STID_CANT_FND_SYM_IN_NAMED_TO_INST */
2799    N_("Cannot find a symbol object in '%s' to instantiate."),
2800    /* STID_CANT_FIND_XDEF */
2801    N_("Cannot find %s.%s."),
2802    /* STID_ENTER_USERAGENT_FOR_HTTP */
2803    N_("Please specify 'UserAgent' to be used when making an HTTP request."),
2804    /* STID_ENTER_USERAGENT_FOR_HTTP_CUR */
2805    N_("Please specify 'UserAgent' to be used when making an HTTP request (current value is '%s')."),
2806    /* STID_PRESS_ENTER_FOR_DEF_USERAGENT */
2807    N_("( press <ENTER> for the default 'UserAgent' )"),
2808    /* STID_WILL_USE_DEF_USERAGENT_HTTP */
2809    N_("Will use the default 'UserAgent' when making an HTTP request."),
2810    /* STID_WILL_USE_NAMED_USERAGENT_HTTP */
2811    N_("Will use '%s' as 'UserAgent' when making an HTTP request."),
2812    /* STID_ENTER_REFERRER_FOR_HTTP */
2813    N_("Please specify 'Referrer' to be used when making an HTTP request."),
2814    /* STID_ENTER_REFERRER_FOR_HTTP_CUR */
2815    N_("Please specify 'Referrer' to be used when making an HTTP request (current value is '%s')."),
2816    /* STID_PRESS_ENTER_FOR_NO_REFERRER */
2817    N_("( press <ENTER> for no 'Referrer' )"),
2818    /* STID_WILL_NOT_USE_REFERRER_HTTP */
2819    N_("Will not use 'Referrer' when making an HTTP request."),
2820    /* STID_WILL_USE_NAMED_REFERRER_HTTP */
2821    N_("Will use '%s' as 'Referrer' when making an HTTP request."),
2822    /* STID_WILL_USE_KEEP_ALIVE_HTTP */
2823    N_("Will use Keep-Alive HTTP connections."),
2824    /* STID_NOT_WILL_USE_KEEP_ALIVE_HTTP */
2825    N_("Will not use Keep-Alive HTTP connections."),
2826    /* STID_CANT_LOCATE_NAMED_SERVER_TRY */
2827    N_("%s: unable to locate the server '%s'.\n\nPlease check the server name and try again."),
2828    /* STID_FAIL_TO_MAKE_SOCKET_BLOCK */
2829    N_("Fail to make socket blocking."),
2830    /* STID_FAIL_TO_MAKE_SOCKET_NON_BLOCK */
2831    N_("Fail to make socket non-blocking."),
2832    /* STID_BROKEN_PIPE_CONTACT_HOST */
2833    N_("Broken pipe while contacting '%s'."),
2834    /* STID_WRITE_TO_SOCKET_FAILED */
2835    N_("Writing to socket failed."),
2836    /* STID_READ_FROM_SOCKET_FAILED */
2837    N_("Reading from socket failed."),
2838    /* STID_UNEXP_NETWORK_ERR_WRITE_SOCK */
2839    N_("Unexpected network error while writing to socket."),
2840    /* STID_UNEXP_NETWORK_ERR_READ_SOCK */
2841    N_("Unexpected network error while reading from socket."),
2842    /* STID_LOCKED_OBJS_CANT_BE_STRETCHED */
2843    N_("Locked object(s) cannot be stretched."),
2844    /* STID_CANT_STRETCH_OBJ_HAS_0_WIDTH */
2845    N_("Cannot stretch.  Object has ZERO width."),
2846    /* STID_CANT_STRETCH_OBJ_HAS_0_HEIGHT */
2847    N_("Cannot stretch.  Object has ZERO height."),
2848    /* STID_LOCKED_OBJS_CANT_BE_SCALED */
2849    N_("Locked object(s) cannot be scaled."),
2850    /* STID_ENTER_SCALING_FACTORS_XY */
2851    N_("Please enter scaling factors: [X:Y] or [scale]"),
2852    /* STID_ENTER_A_SCALING_FACTOR */
2853    N_("Please enter a scaling factor:"),
2854    /* STID_ONLY_INPUT_ONE_NUMERIC_VAL */
2855    N_("Please only input only one numeric value."),
2856    /* STID_SCALING_EVERYTHING_LARGE_SURE */
2857    N_("Scaling everything by %g times.  Are you sure?"),
2858    /* STID_DISABLE_ON_RESIZE_ROTATE */
2859    N_("The '%s' object has an on_resize() script.\n\nTo rotate it will disable the on_resize() script.  Is it okay to rotate it?"),
2860    /* STID_DISABLE_ON_RESIZE_SHEAR */
2861    N_("The '%s' object has an on_resize() script.\n\nTo shear it will disable the on_resize() script.  Is it okay to shear it?"),
2862    /* STID_DISABLE_ON_RESIZE_TRANSFORM */
2863    N_("The '%s' object has an on_resize() script.\n\nTo transform it will disable the on_resize() script.  Is it okay to transform it?"),
2864    /* STID_LOCKED_OBJS_CANT_BE_FLIPPED */
2865    N_("Locked object(s) cannot be flipped."),
2866    /* STID_LOCKED_OBJS_ARE_NOT_FLIPPED */
2867    N_("Locked object(s) are not flipped."),
2868    /* STID_LOCKED_OBJS_ARE_NOT_STRETCHED */
2869    N_("Locked object(s) are not stretched."),
2870    /* STID_LOCKED_OBJS_ARE_NOT_ROTATED */
2871    N_("Locked object(s) are not rotated."),
2872    /* STID_LOCKED_OBJS_ARE_NOT_SHEARED */
2873    N_("Locked object(s) are not sheared."),
2874    /* STID_LOCKED_OBJS_ARE_NOT_XFORMED */
2875    N_("Transformation matrix not changed for locked object(s)."),
2876    /* STID_FLIPPED_HORIZONTALLY */
2877    N_("Flipped horizontally."),
2878    /* STID_FLIPPED_VERTICALLY */
2879    N_("Flipped vertically."),
2880    /* STID_LOCKED_OBJS_CANT_BE_ROTATED */
2881    N_("Locked object(s) cannot be rotated."),
2882    /* STID_ROTATED_CLOCKWISE */
2883    N_("Rotated clockwise."),
2884    /* STID_ROTATED_COUNTER_CLOCKWISE */
2885    N_("Rotated counter-clockwise."),
2886    /* STID_ENTER_TEXT_ROT_IN_DEGREE_CUR */
2887    N_("Please enter text rotation in degrees: (current value is %s)"),
2888    /* STID_CANT_PARSE_ENTER_ONE_NUM_VAL */
2889    N_("Cannot parse '%s'.\n\nPlease enter a numeric value."),
2890    /* STID_INVALID_VAL_ENTERED_RNG_INC */
2891    N_("Invalid value entered: '%s'.  Please enter a numeric value between %1d and %1d (inclusive)."),
2892    /* STID_TEXT_ROTATION_SET_TO_GIVEN */
2893    N_("Text rotation set to %s."),
2894    /* STID_ENTER_ROT_INC_IN_DEGREE_CUR */
2895    N_("Please enter text rotation increment in degrees: (current value is %s)"),
2896    /* STID_INVALID_VAL_ENTERED_RNG_EXC */
2897    N_("Invalid value entered: '%s'.  Please enter a numeric value > %1d and < %1d."),
2898    /* STID_TEXT_ROT_INC_SET_TO_GIVEN */
2899    N_("Text rotation increment set to %s."),
2900    /* STID_LOCKED_OBJS_CANT_BE_XFORMED */
2901    N_("Cannot change transformation matrix for locked object(s)."),
2902    /* STID_SEL_OBJ_TOO_SMALL_ROT_ANOTHER */
2903    N_("Selected object is too small to rotate.\n\nPlease select another object to rotate."),
2904    /* STID_SEL_OBJ_TOO_SMALL_SHEAR_ANO */
2905    N_("Selected object is too small to shear.\n\nPlease select another object to shear."),
2906    /* STID_CANNOT_CREATE_GC */
2907    N_("Cannot create GC."),
2908    /* STID_READ_ONLY_TEXT_CANT_BE_EDITED */
2909    N_("Read-only text cannot be edited."),
2910    /* STID_TEXT_SZ_NOT_AVAIL_TRY_DIFF */
2911    N_("Text size=%1d not available.\n\nPlease try a different size."),
2912    /* STID_CANT_INS_NON_DB_CH_AT_CUR_REM */
2913    N_("Cannot insert a non-double-byte character at the text cursor position.  The non-double-byte character is removed."),
2914    /* STID_TOO_MANY_BYTES_IN_CH_IGNORED */
2915    N_("Cannot handle so many bytes in a character.  Character is ignored."),
2916    /* STID_CANT_TAB_OUT_OF_NON_ATTR_TEXT */
2917    N_("Cannot TAB out of a non-attribute text."),
2918    /* STID_COMPOUND_TEXT_BUF_IS_EMPTY */
2919    N_("Compound-text buffer is empty."),
2920    /* STID_CUT_BUFFER_IS_EMPTY */
2921    N_("Cut buffer is empty."),
2922    /* STID_AN_ESC_KEY_PRESS_IGNORED */
2923    N_("An <ESC> key press is ignored."),
2924    /* STID_GIVEN_NUM_LINES_PASTED */
2925    N_("%1d line(s) pasted."),
2926    /* STID_COPY_FAIL_SEL_STR_MAY_TOO_LNG */
2927    N_("Copy to cut buffer failed.  Selected string may be too long."),
2928    /* STID_UNEXPECTED_TOK_IN_ABORT_READ */
2929    N_("%s, %d: Unexpected token '%c' in %s.  Read aborted."),
2930    /* STID_ILLEGAL_FIELD_IN_ABORT_READ */
2931    N_("%s, %d: Illegal field '%s' in %s.  Read aborted."),
2932    /* STID_INVALID_GIVEN_VALUE_SPECIFIED */
2933    N_("Invalid value '%s' specified for script fraction."),
2934    /* STID_ENTER_SCRIPT_FRACTION_CUR_IS */
2935    N_("Please enter a fraction for the super/subscript size (current fraction is %s):"),
2936    /* STID_SCRIPT_FRACTION_SET_TO_STR */
2937    N_("Script fraction set to '%s'."),
2938    /* STID_ENTER_INT_WIDTH_FOR_THIN_SPC */
2939    N_("Please enter an integer width value for the thin space (a negative value indicates a negative think space):"),
2940    /* STID_ENTER_INT_VAL_FOR_VERT_OFFSET */
2941    N_("Please enter an integer value for the vertical offset (a negative value raises the current line):"),
2942    /* STID_FAIL_INSERT_SCRIPT_FONT_SZ */
2943    N_("Failed to insert super/subscript because font size is not available."),
2944    /* STID_TOOL_DONT_KNOW_HOW_RUN_GUNZIP */
2945    N_("%s does not know how to run gunzip."),
2946    /* STID_SPECIFY_DISPLAY_ON_CMD_LINE */
2947    N_("Please specify '-display $DISPLAY' on the command line."),
2948    /* STID_FILE_VER_ABORT_TOOL */
2949    N_("File version (=%1d) too large.\n\n%s aborted.\n\nYou may need a more recent version of %s.  Please check <URL:%s>."),
2950    /* STID_FILE_SKIP_CONTAINS_ONE_PAGE */
2951    N_("%s is skipped because it only contains 1 page."),
2952    /* STID_FILE_SKIP_CONTAINS_NUM_PAGE */
2953    N_("%s is skipped because it only contains %1d pages."),
2954    /* STID_FILE_NOT_CONTAIN_COLOR_ABORT */
2955    N_("File does not contain enough color information (it is not saved by tgif-3.0-p10 or beyond).  %s aborted."),
2956    /* STID_SPEC_FILE_WHEN_STDOUT_USED */
2957    N_("File name must be specified when -stdout is used."),
2958    /* STID_TOOL_FILE_NAME_TO_PRINT */
2959    N_("%s File Name to Print"),
2960    /* STID_CANT_ONEFPPAGE_IN_TILED_PAGE */
2961    N_("Cannot use -one_file_per_page in TILED page mode."),
2962    /* STID_ONE_FILE_ONLY_WITH_STDOUT */
2963    N_("Only one file name can be specified with -stdout."),
2964    /* STID_ONE_FILE_ONLY_RAW_PLUS_H */
2965    N_("Cannot process more than one file in -raw or -raw+h mode."),
2966    /* STID_ONE_FILE_ONLY_DOSEPSFILTER */
2967    N_("Cannot process more than one file in -dosepsfilter mode."),
2968    /* STID_CANT_PRTGIF_OFPP_TILED_PAGE */
2969    N_("Cannot use -one_file_per_page mode with a TILED page mode file."),
2970    /* STID_INVALID_SHARELIB_VER_IN_FILE */
2971    N_("Invalid shared library version in '%s'."),
2972    /* STID_FAIL_LOAD_SHARELIB */
2973    N_("Fail to load shared library '%s'."),
2974    /* STID_FAIL_GET_ENTRY_PT_IN_SHARELIB */
2975    N_("Fail to get entry point '%s' in shared lib '%s'."),
2976    /* STID_SHARELIB_TGEF_MSG_INIT_FAIL */
2977    N_("%s: TGEF_MSG_INIT failed with return code %ld."),
2978    /* STID_SHARELIB_CNFLCT_PROTOCOL_VER */
2979    N_("Conflicting protocol version %1d implemented by '%s'."),
2980    /* STID_SHARELIB_TGEF_MSG_LOAD_FAIL */
2981    N_("%s: TGEF_MSG_LOAD failed with return code %ld."),
2982    /* STID_SHARELIB_TGEF_MSG_NO_BMP_INFO */
2983    N_("%s: TGEF_MSG_LOAD returned with no bitmap info."),
2984    /* STID_ALLOC_BMP_FAIL_FOR_SHARELIB */
2985    N_("Failed to allocate bitmap for '%s'."),
2986    NULL
2987 };
2988 
2989 static char *gaszEnglishStrTable1200[] = {
2990    /* STID_UNSUP_PROTOCOL_VER_SHARELIB */
2991    N_("Unsupported protocol version %1d implemented by '%s'."),
2992    /* STID_SHARELIB_TGEF_MSG_DO_EXPORT_F */
2993    N_("%s: TGEF_MSG_DO_EXPORT failed with return code %ld."),
2994    /* STID_NEG_VAL_IN_EXP_PXL_TRM_ALT */
2995    N_("Error in parsing ExportPixelTrim values: negative values are not allowed.\n\n[%1d,%1d,%1d,%1d] used."),
2996    /* STID_EXP_PXL_TRM_VAL_SET_TO */
2997    N_("ExportPixelTrim values set to [%1d,%1d,%1d,%1d]."),
2998    /* STID_SPECIFY_TO_TRIM_EXP_PXL_TRM */
2999    N_("Please specify the number of pixels to trim when exporting (or printing) in bitmap-type format: [current: %1d,%1d,%1d,%1d]"),
3000    /* STID_ENTER_4_NUM_CUR_TOO_LARGE */
3001    N_("Please enter 4 numbers or type <CR> or <ESC> to use the current values (they are too large now):"),
3002    /* STID_ENTER_4_NUM_OR_CR_ESC */
3003    N_("Please enter 4 numbers or type <CR> or <ESC> to use the current values:"),
3004    /* STID_OBSOLETE_XDEF_USE_IGNORED */
3005    N_("Obsoleted %s.%s used.  Ignored."),
3006    /* STID_WILL_USE_FS_HALFTONE_BMP */
3007    N_("Will use Floyd-Steinberg half-tone method when exporting an X11 bitmap file."),
3008    /* STID_WILL_NOT_USE_FS_HALFTONE_BMP */
3009    N_("Will not use Floyd-Steinberg half-tone method when exporting an X11 bitmap file."),
3010    /* STID_WILL_USE_GIVE_SMPLE_THRESHOLD */
3011    N_("Will use simple thresholding method with a threshold of '%s' when exporting an X11 bitmap file."),
3012    /* STID_WILL_NOT_USE_SIMPLE_THRESHOLD */
3013    N_("Will not use simple thresholding method when exporting an X11 bitmap file."),
3014    /* STID_ENTER_BMP_THRESHOLD_CUR_VAL */
3015    N_("Please specify bitmap threshold when exporting an X11 bitmap file (current value is '%s')."),
3016    /* STID_INVALID_THRESHOLD_REMAINS */
3017    N_("Invalid threshold: '%s' specified.  Threshold remains at '%s'."),
3018    /* STID_USE_GIVEN_AS_BMP_THRESHOLD */
3019    N_("Will use '%s' as bitmap threshold when exporting an X11 bitmap file."),
3020    /* STID_XGETIMAGE_MAY_RUN_OUT_VMEM */
3021    N_("XGetImage() failed.  May have run out of virtual memory."),
3022    /* STID_NO_X11_BITMAP_OBJ_SELECTED */
3023    N_("No X11 Bitmap objects selected."),
3024    /* STID_CANT_CUT_AN_EPS_OBJECT */
3025    N_("Cannot cut an EPS object."),
3026    /* STID_XBM_CANT_HAVE_0_W_OR_H */
3027    N_("Bitmap cannot have 0 width or height."),
3028    /* STID_BAD_RED_MASK_TRUE_COLOR_DPY */
3029    N_("Unexpected red_mask value of 0x%06lx in the default visual for this TrueColor display.  Proceed pretending that the display is not TrueColor.  Please set %s.%s to FALSE to avoid this error message in the future."),
3030    /* STID_BAD_GREEN_MASK_TRUE_COLOR_DPY */
3031    N_("Unexpected green_mask value of 0x%06lx in the default visual for this TrueColor display.  Proceed pretending that the display is not TrueColor.  Please set %s.%s to FALSE to avoid this error message in the future."),
3032    /* STID_BAD_BLUE_MASK_TRUE_COLOR_DPY */
3033    N_("Unexpected blue_mask value of 0x%06lx in the default visual for this TrueColor display.  Proceed pretending that the display is not TrueColor.  Please set %s.%s to FALSE to avoid this error message in the future."),
3034    /* STID_NETPBM_PROGS_VISIT_HOME_PAGE */
3035    N_("(These programs are part of the netpbm package.  Please visit %s's home page at <URL:%s> regarding where to obtain netpbm.)"),
3036    /* STID_NETPBM_PNMTOPNG_VST_HOME_PAGE */
3037    N_("(These programs are part of the netpbm and pnmtopng packages.  Please visit %s's home page at <URL:%s> regarding where to obtain netpbm and pnmtopng.)"),
3038    /* STID_FNAME_FORMAT_ERROR_IN_FUNC */
3039    N_("File name format error in %s."),
3040    /* STID_NAMED_IMAGEMAP_FILE_GEN */
3041    N_("Imagemap file '%s' generated."),
3042    /* STID_CANT_FND_FATTR_IMGMAP_NOT_GEN */
3043    N_("Cannot find a '%s' file attribute.\n\nImagemap not generated."),
3044    /* STID_CANT_FND_FATTR_NO_IMGMAP_GIF */
3045    N_("Cannot find a '%s' file attribute.\n\nImagemap not generated.  Only a GIF file is generated."),
3046    /* STID_NAMED_HTML_FILE_GEN */
3047    N_("HTML file '%s' generated."),
3048    /* STID_LARGE_EXP_PXL_TRM_WH_0_USED */
3049    N_("The ExportPixelTrim values of [%1d,%1d,%1d,%1d] are too large for the image (%1dx%1d).  Zeroes are used."),
3050    /* STID_APPLY_EXP_PXL_TRM_VALS */
3051    N_("Applying ExportPixelTrim of [%1d,%1d,%1d,%1d]..."),
3052    /* STID_TOO_MANY_COLORS_LIMIT_IS */
3053    N_("Too many colors: %1d (limit is %1d) in the image."),
3054    /* STID_UNRECOG_GIVEN_PIXEL_VAL_PRINT */
3055    N_("Unrecognized pixel value at (%1d,%1d): %1d (0x%08lx).\n\nPrinting/exporting aborted."),
3056    /* STID_UNRECOG_GIVEN_PIXEL_VAL_1_USE */
3057    N_("Unrecognized pixel value: %1d (0x%08lx).\n\n1 used."),
3058    /* STID_FORMAT_FILE_WH_PRINTED_INTO */
3059    N_("%s file [%1dx%1d] printed into '%s'."),
3060    /* STID_SEL_XPM_DECK_TO_EXPORT */
3061    N_("Please select a deck of X Pixmap object to export."),
3062    /* STID_MANY_SZ_FAIL_XPM_DESK_EXPORT */
3063    N_("Not all X Pixmap objects in the deck are of size.  Expecting %1dx%1d.\n\nExport aborted."),
3064    /* STID_INVALID_CH_PER_PIX_IN_FUNC */
3065    N_("Invalid chars_per_pixel (%1d) in %s."),
3066    /* STID_XPM_CANT_HAVE_0_W_OR_H */
3067    N_("Pixmap cannot have 0 width or height."),
3068    /* STID_WARN_XPM_ALL_NON_BG_BE_BLACK */
3069    N_("Warning (xpm object): all non-background color will be treated as black."),
3070    /* STID_SAVED_FILE_MAY_BE_CORRUPTED */
3071    N_("Saved file may be corrupted."),
3072    /* STID_CANT_SAVE_XPM_ON_BW_DPY */
3073    N_("Cannot save X11 Pixmap objects on a Black & White display."),
3074    /* STID_CANT_IMPORT_GIVEN_FORMAT_XPM */
3075    N_("Does not know how to import an X11 Pixmap file with format: '%1d'."),
3076    /* STID_CANT_IMPORT_GIVEN_CPP_XPM */
3077    N_("Does not know how to import an X11 Pixmap file with chars_per_pixel: '%1d'."),
3078    /* STID_EDIT_UNNAME_ATTR_DOTS */
3079    N_("Edit an unnamed attribute..."),
3080    /* STID_EDIT_VAL_OF_ATTR_DOTS */
3081    N_("Edit the value for the '%s' attribute..."),
3082    /* STID_EDIT_UNNAME_ATTR_WITH_CMD */
3083    N_("Editing an unnamed attribute with '%s'..."),
3084    /* STID_EDIT_VAL_OF_ATTR_WITH_CMD */
3085    N_("Editing the value for the '%s' attribute with '%s'..."),
3086    /* STID_STAT_FAIL_EDIT_ATTR_VAL_SAME */
3087    N_("Fail to get file info for '%s' while editing an attribute.  Attribute value is unchanged."),
3088    /* STID_ENTER_HTML_TEMPLATE */
3089    N_("Please specify a file to be used as a template for generating HTML files:"),
3090    /* STID_ENTER_HTML_TEMPLATE_CUR_IS */
3091    N_("Please specify a file to be used as a template for generating HTML files (current template is '%s'):"),
3092    /* STID_HTML_TEMPLATE_UNCHANGED */
3093    N_("HTML export template file unchanged."),
3094    /* STID_HTML_TEMPLATE_SET_TO_GIVEN */
3095    N_("HTML export template file set to '%s'."),
3096    /* STID_NO_HTML_TEMPLATE_FILE */
3097    N_("Will not use an HTML export template file."),
3098    /* STID_Q_FILE_NOT_EXIST_USE_ANYWAY */
3099    N_("File '%s' does not exist.\n\nWould you like to use it anyway?"),
3100    /* STID_CANNOT_OPEN_HTML_TMPL_READ */
3101    N_("Cannot open HTML export template file '%s' for reading."),
3102    /* STID_OK_TO_FULL_SCREEN_CAPTURE_YNC */
3103    N_("Okay to proceed with full screen capture? [ync](y)"),
3104    /* STID_Q_FILE_UNSAVABLE_SAVE_NEW_YNC */
3105    N_("File is marked unsavable.\n\nWould you like to save to a new file name? [ync](y)"),
3106    /* STID_WONT_CONDENSE_READHEXSTRING */
3107    N_("Will not condense exported PS/EPS file due to 'readhexstring'."),
3108    /* STID_CMD_ONLY_AVAIL_IN_VERTEX_MODE */
3109    N_("This command is only available in vertex mode."),
3110    /* STID_CANNOT_MERGE_WITH_TILED_PAGE */
3111    N_("Does not know how to merge files with '%s' because it is in TILED page mode.  Merge aborted."),
3112    /* STID_SPECIFY_PAGES_TO_PRINT_EX */
3113    N_("Please specify pages to print: (e.g., 2,3,7-9,10 or '*' for all pages)"),
3114    /* STID_CANT_PRINT_PAGES_IN_TILED */
3115    N_("Cannot print pages in TILED page mode."),
3116    /* STID_CANT_PRINT_PAGES_IN_FORMAT */
3117    N_("Cannot print pages in the '%s' format."),
3118    /* STID_PRECISE_SCALE_EV_CAUSE_FLUSH */
3119    N_("Precise Scale Everything will cause the undo buffer to be flushed."),
3120    /* STID_GO_HYPERSPACE_IN_SLIDE */
3121    N_("HyperSpace mode will be entered upon entering slideshow mode."),
3122    /* STID_DONT_GO_HYPERSPACE_IN_SLIDE */
3123    N_("Freehand drawing mode will be entered upon entering slideshow mode."),
3124    /* STID_MOVE_EDIT_TEXT_BOX_ABORTED */
3125    N_("Move edit text box aborted."),
3126    /* STID_DRAG_MOUSE_MOVE_EDITTEXT_DOTS */
3127    N_("Drag the edit text box to move it around..."),
3128    /* STID_EXCEED_BUF_SIZE_LIMIT_IN_WB */
3129    N_("Error: There's a buffer size limitation of %1d bytes in the current implementation of the whiteboard.  The buffer size requirement (%1d bytes) for the operation you just performed has exceeded this limit.\n\nIn order to keep the whiteboard running, the operation in question is canceled."),
3130    /* STID_CANT_REPLACE_GRAPHIC_NOT_TGIF */
3131    N_("Cannot replace graphical objects because cut buffer does not contain %s objects."),
3132    /* STID_CANT_REPLACE_GRAPHIC_TOO_MANY */
3133    N_("Cannot replace graphical objects because cut buffer contain more than one objects."),
3134    /* STID_REPLACE_GRAPHIC_ICON_TO_GROUP */
3135    N_("Some iconic objects have been converted to grouped objects during Replace Graphic."),
3136    /* STID_REPLACE_GRAPHIC_DONE */
3137    N_("Graphical part of selected objects have been replaced and updated."),
3138    /* STID_TOO_MANY_ICON_REPLACE_GRAPHIC */
3139    N_("More than one iconic objects are selected for Replace Graphic."),
3140    /* STID_Q_CVT_ICON_TO_GRP_IN_REPLACE */
3141    N_("Replacing the graphic of an iconic object...\n\nWould you like to convert the object into a grouped object? [ync](y)\n\n(If you press the No button, you will be prompted with the name of a new symbol file the iconic object.  If you press Cancel, this object will be skipped for Replace Graphic.)"),
3142    /* STID_SHOW_MEASUREMENT_IN_TT_ENAB */
3143    N_("Showing measurement in tooltip enabled."),
3144    /* STID_SHOW_MEASUREMENT_IN_TT_DISB */
3145    N_("Showing measurement in tooltip disabled.  Measurement will be shown in the ruler window."),
3146    /* STID_SEL_JPEG_FILE_TO_IMPORT */
3147    N_("Please select a JPEG file to IMPORT..."),
3148    /* STID_CANNOT_IMPORT_GIVEN_JPEG */
3149    N_("Cannot import JPEG file '%s'."),
3150    /* STID_GIVEN_JPEG_SIZE_FILE_IMPORTED */
3151    N_("JPEG file (%1dx%1d) '%s' imported."),
3152    /* STID_WILL_EXPORT_JPEG_FILE */
3153    N_("Will export JPEG (needs xpm->jpg filter) file."),
3154    /* STID_NETPBM_JPEG_VST_HOME_PAGE */
3155    N_("(These programs are part of the netpbm and jpeg packages.  Please visit %s's home page at <URL:%s> regarding where to obtain netpbm and jpeg.)"),
3156    /* STID_CANT_GEN_PREVIEW_FOR_PS */
3157    N_("Cannot auto-generate a preview bitmap for '%s'."),
3158    /* STID_CANT_GEN_PREVIEW_FOR_EMPTY_PS */
3159    N_("The auto-generate preview bitmap for '%s' is empty.  Auto-generation skipped."),
3160    /* STID_WILL_AUTO_GEN_PREVIEW_BITMAP */
3161    N_("Will auto-generate a preview bitmap when importing/embedding a PS/EPS file."),
3162    /* STID_WONT_AUTO_GEN_PREVIEW_BITMAP */
3163    N_("Will not auto-generate a preview bitmap when importing/embedding a PS/EPS file."),
3164    /* STID_TMP_DIR_NOT_EXIST_USE_XDEF */
3165    N_("Temporary directory '%s' does not exist.  Please fix the %s.%s X default."),
3166    /* STID_INVALID_DIR_IN_X_DEFAULT */
3167    N_("Invalid directory '%s' specified by X default %s.%s."),
3168    /* STID_RACE_IN_CREATE_TMP_FILE */
3169    N_("Race condition detected in creating the '%s' temporary file.  Possible causes are network problems, security problems, etc.  This file will be removed before proceeding."),
3170    /* STID_INVALID_GEOM_USE_ALT_GEOM */
3171    N_("Invalid %s.%s: '%s', the geometry must be at least '%s', '%s' is used instead."),
3172    /* STID_REDUCE_BY_FACTOR */
3173    N_("Reducing by a factor of %.2f..."),
3174    /* STID_ENLARGE_BY_FACTOR */
3175    N_("Enlarging by a factor of %.2f..."),
3176    /* STID_CREATE_THUMBNAIL_CAUSE_FLUSH */
3177    N_("Create Thumbnails will cause the undo buffer to be flushed."),
3178    /* STID_CONNECT_PORTS_CANCEL_BY_USER */
3179    N_("Connect ports canceled by the user."),
3180    /* STID_Q_CNFLCT_SIG_NAME_OKAY_TO_CLR */
3181    N_("Conflicting signal names '%s' (at '%s') and '%s' (at '%s').\n\nOkay to clear both signal names? [ync](y)"),
3182    /* STID_PLS_ENT_SIG_NAME */
3183    N_("Please enter a signal name:"),
3184    /* STID_SIGNAL_NAMES_CLEARED */
3185    N_("Signal names at '%s' and '%s' have been cleared."),
3186    /* STID_PLACING_NAMED_SIGNAL */
3187    N_("Click to place signal name '%s'"),
3188    /* STID_PLS_ENT_SIG_NAME_FOR_PORT */
3189    N_("Please enter a signal name for the '%s' port:"),
3190    NULL
3191 };
3192 
3193 static char *gaszEnglishStrTable1300[] = {
3194    /* STID_NO_CUR_FILE_CANNOT_GEN_NETLST */
3195    N_("No current file.\n\nCannot generate a net list."),
3196    /* STID_NO_SIGNAME_FOUND_EMPTY_NETLST */
3197    N_("No signal name found.\n\nNet list not generated."),
3198    /* STID_WILL_EXPORT_NETLIST_FILE */
3199    N_("Will export net-list file."),
3200    /* STID_Q_OK_TO_CUT_INTO_SEGMENTS */
3201    N_("Okay to cut selected polyline/polygon objects into segments? [ync](y)\n\n(If you would like to cut at a specific vertex of the polyline/polygon, please use the vertex mode.)"),
3202    /* STID_NO_POLY_OBJ_SELECTED */
3203    N_("No polyline/polygon object selected."),
3204    /* STID_WILL_SHOW_WIRE_SIGNAL_NAME */
3205    N_("Will show (and place) wire signal name when connecting ports."),
3206    /* STID_WILL_HIDE_WIRE_SIGNAL_NAME */
3207    N_("Will hide wire signal name when connecting ports."),
3208    /* STID_TRY_AGAIN_AND_CLICK_IN_A_PORT */
3209    N_("Please try again and click in a port."),
3210    /* STID_TRY_AGAIN_AND_END_IN_A_PORT */
3211    N_("The last vertex did not end in a port, please try again."),
3212    /* STID_CANNOT_CREATE_ARC_WITH_RAD1 */
3213    N_("%s cannot create an arc with radius %1d (must be at least 1)."),
3214    /* STID_SEL_ONE_NONE_PORT_PLUS_COMP */
3215    N_("Please select at least one port object and a composite object."),
3216    /* STID_PORT_OBJ_HAS_EMPTY_NAME */
3217    N_("The port object has an empty name."),
3218    /* STID_CANNOT_FIND_INIT_ATTR_PORT_PA */
3219    N_("Cannot find the 'Initialization=' attribute of the '%s' object (parent of the port object)."),
3220    /* STID_CANNOT_FIND_VAR_IN_INIT_ATTR */
3221    N_("Cannot find the '%s' variable in the 'Initialization=' attribute of the '%s' object (parent of the port object)."),
3222    /* STID_RENUMBER_OBJ_IDS_CAUSE_FLUSH */
3223    N_("Renumber Object IDs will cause the undo buffer to be flushed."),
3224    /* STID_RENUMBER_OBJ_IDS_DONE */
3225    N_("Renumbering object IDs done."),
3226    /* STID_RENUMBER_OBJ_IDS_IN_WB */
3227    N_("RenumberObjectIDs() is disabled in WhiteBoard mode."),
3228    /* STID_SEL_ONE_NONE_PORT_PLUS_BRDCST */
3229    N_("Please select at least one port object and a broadcast wire object."),
3230    /* STID_CONFLICT_SIG_NAME_ENT_NEW */
3231    N_("Conflicting signal names detected.  Please entry a valid signal name for all the ports:"),
3232    /* STID_BAD_SIG_NAME_UNDO_AND_REDO */
3233    N_("Invalid or inconsistent signal names are given to the ports.  Please undo the previous operation and redo it again."),
3234    /* STID_WILL_USE_WORDWRAP_IMPORT_TEXT */
3235    N_("Will use word wrap when importing a multipage text file."),
3236    /* STID_NO_WORDWRAP_IMPORT_TEXT */
3237    N_("Will not use word wrap when importing a multipage text file."),
3238    /* STID_CUR_MARGINS_ARE_GIVEN */
3239    N_("( current margins (top, bottom, left, right) are: %s )"),
3240    /* STID_ENTER_MARGINS */
3241    N_("Please enter margins to be used when importing a multipage text file: [top,bottom,left,right] (e.g., %s -- the three commas are mandatory)"),
3242    /* STID_NEW_MARGINS_ARE_GIVEN */
3243    N_("New margins for import multipage text file are (top, bottom, left, right):"),
3244    /* STID_CANT_OBTAIN_TMP_FILE_NAME */
3245    N_("Cannot obtain a temporary file name using mkstemp() from the following request: '%s'.  Will use mktemp() instead."),
3246    /* STID_NO_OBJ_SPEC_WHILE_EXEC_CMD */
3247    N_("Non object specified while executing the '%s' command."),
3248    /* STID_UNRECOG_GIVEN_TRPIX_VAL_PRINT */
3249    N_("Unrecognized transparent pixel value at (%1d,%1d): %1d (0x%08lx).\n\nPrinting/exporting aborted."),
3250    /* STID_TGIF_DISTRUBITION */
3251    N_(" [distribution: %s]"),
3252    /* STID_WRITE_TO_SELF_PIPE_FAIL */
3253    N_("Fail to write to the pipe that talks to %s itself."),
3254    /* STID_CREATE_SELF_PIPE_FAIL */
3255    N_("Fail to create the pipe that talks to %s itself."),
3256    /* STID_READ_FROM_SELF_PIPE_FAIL */
3257    N_("Fail to read %1d byte from the pipe that talks to %s itself."),
3258    /* STID_ENTER_BEZIER_NUM_SEGS_CUR_IS */
3259    N_("Please enter the number of segments for the Convert To Bezier command (current value is %1d):"),
3260    /* STID_BEZIER_NUM_SEGS_SET_TO_INT */
3261    N_("Number of segments for the Convert To Bezier command set to %1d."),
3262    /* STID_ENT_VAL_RANGE_ENTER_GE_INT */
3263    N_("The value entered: '%s' is out of range.\n\nPlease enter a value >= %1d."),
3264    /* STID_ENTER_TICK_MARK_SIZE_CUR_IS */
3265    N_("Please enter the tick mark size for the various Add Tick Mark commands (current value is %1d):"),
3266    /* STID_TICK_MARK_SIZE_SET_TO_INT */
3267    N_("Tick mark size set to %1d."),
3268    /* STID_NO_SPLINE_SELECTED */
3269    N_("No polyline or simple spline objects selected."),
3270    /* STID_SPLINE_CONVERTED_TO_BEZIER */
3271    N_("Spline objects converted to Bezier curves."),
3272    /* STID_PEEK_DIM_LEFT */
3273    N_("The x-coordinate of the left most part of the selected object."),
3274    /* STID_PEEK_DIM_TOP */
3275    N_("The y-coordinate of the top most part of the selected object."),
3276    /* STID_PEEK_DIM_RIGHT */
3277    N_("The x-coordinate of the right most part of the selected object."),
3278    /* STID_PEEK_DIM_BOTTOM */
3279    N_("The y-coordinate of the bottom most part of the selected object."),
3280    /* STID_PEEK_DIM_WIDTH */
3281    N_("The width of the selected object."),
3282    /* STID_PEEK_DIM_HEIGHT */
3283    N_("The height of the selected object."),
3284    /* STID_PEEK_DIM_CX */
3285    N_("The x-coordinate of the center of the selected object."),
3286    /* STID_PEEK_DIM_CY */
3287    N_("The y-coordinate of the center of the selected object."),
3288    /* STID_NO_POLY_ETC_SELECTED */
3289    N_("No polyline/polygon/spline objects selected."),
3290    /* STID_SEL_A_SYM_TO_INSTAN_IN_NONE */
3291    N_("Please select a symbol to INSTANTIATE..."),
3292    /* STID_WRITE_NOT_AUTO_IN_HYPER_EXEC */
3293    N_("Writing into file is not automatic in hyperspace.  Do you want to allow writing into '%s'?\n\n(If you are not sure about this, just click on NO.)"),
3294    /* STID_USER_ABORT_WRITE_IN_HYPER */
3295    N_("Writing into file in hyperspace aborted at user's request."),
3296    /* STID_READ_FROM_SELF_PIPE_OVERFLOW */
3297    N_("Buffer overflow while reading the pipe that talks to %s itself."),
3298    /* STID_BAD_CMDLINE_OPT_USE_ALT_STR */
3299    N_("Invalid commandline option %s=\"%s\", \"%s\" is used instead."),
3300    /* STID_BAD_CMDLINE_OPT_IGNORED */
3301    N_("Invalid commandline option %s=\"%s\"; it is ignored."),
3302    /* STID_OBSOLETE_CMDLINE_ASSUME */
3303    N_("The %s commandline option is obsolete; assuming you mean %s."),
3304    /* STID_INVALID_XDEF_IGNORED */
3305    N_("Invalid %s.%s: '%s'.  Resource ignored."),
3306    /* STID_OBSOLETE_XDEF_REPLACED */
3307    N_("Obsoleted %s.%s used.  Assuming %s.%s to have the value of '%s' instead."),
3308    /* STID_FILE_IS_MARKED_UNSAVABLE */
3309    N_("File is marked unsavable."),
3310    /* STID_ONLYONE_DBIM_OR_SBIM */
3311    N_("Only one -dbim or -sbim can be used."),
3312    /* STID_DBIM_UNSUPPORTED */
3313    N_("The double-byte input method: '%s' is not supported."),
3314    /* STID_SBIM_UNSUPPORTED */
3315    N_("The single-byte input method: '%s' is not supported."),
3316    /* STID_CANNOT_OPEN_IN_SLIDESHOW */
3317    N_("Please exit the slideshow mode before opening a new file."),
3318    /* STID_TOGGLE_AUTO_SCR_IN_CHAT */
3319    N_("Toggle auto scroll mode in the chat list."),
3320    /* STID_TOGGLE_BOLD_IN_CHAT */
3321    N_("Toggle bold font in chat."),
3322    /* STID_TOGGLE_ITALIC_IN_CHAT */
3323    N_("Toggle italic font in chat."),
3324    /* STID_SEND_CHAT_TEXT */
3325    N_("Send text to all whiteboard participants."),
3326    /* STID_MALFORMED_CHAT_LINE */
3327    N_("Malformed chat line '%s'."),
3328    /* STID_UNRECOG_FIELD_IN_CHAT_LINE */
3329    N_("Unrecognized '%s' field in a chat line."),
3330    /* STID_UNRECOG_BYTE_FROM_SELF_PIPE */
3331    N_("Unrecognized byte value '%c' read from the pipe that talks to %s itself."),
3332    /* STID_JOIN_WB_IN_PROGRESS_IGNORED */
3333    N_("Joining a whiteboard session already in progress.  Request to open the '%s' file at startup is ignored."),
3334    /* STID_PEEK_AREA */
3335    N_("The area of the selected object (polygon must not be self-intersecting)."),
3336    /* STID_CANT_DO_SAVEPAGEAS_IN_TILED */
3337    N_("Cannot do SavePageAs() in TILED page mode."),
3338    /* STID_SPECIFY_PAGES_TO_SAVE_EX */
3339    N_("Please specify pages to save into a new file: (e.g., 2,3,7-9,10)"),
3340    /* STID_ONE_PAGE_SAVED_INTO_GIVEN */
3341    N_("1 page saved into '%s'."),
3342    /* STID_MANY_PAGES_SAVED_INTO_GIVEN */
3343    N_("%1d pages saved into '%s'."),
3344    /* STID_CANT_IMP_ANIM_GIF_DIR_OR_PATH */
3345    N_("Cannot import GIF animation file '%s'.  Please make sure that you can write to the '%s' directory.\n\nPlease also make sure that '%s' is installed properly."),
3346    /* STID_WILL_EXPORT_PPM_FILE */
3347    N_("Will export PPM file."),
3348    /* STID_NETPBM_VST_HOME_PAGE */
3349    N_("(This program is part of the netpbm packages.  Please visit %s's home page at <URL:%s> regarding where to obtain netpbm.)"),
3350    /* STID_SEL_PPM_FILE_TO_IMPORT */
3351    N_("Please select a PPM file to IMPORT..."),
3352    /* STID_CANNOT_IMPORT_GIVEN_PPM */
3353    N_("Cannot import PPM file '%s'."),
3354    /* STID_GIVEN_PPM_SIZE_FILE_IMPORTED */
3355    N_("PPM file (%1dx%1d) '%s' imported."),
3356    /* STID_IMPORT_FORMAT_WHILE_EXEC_CMD */
3357    N_("Fail to import '%s' in the '%s' format while executing the '%s' command."),
3358    /* STID_NO_OBJ_TO_IMP_WHILE_EXEC_CMD */
3359    N_("No object to import in '%s' while executing the '%s' command."),
3360    /* STID_CANNOT_LOAD_TGTWB5_FONT */
3361    N_("Cannot load the '%s' font.  Please specify a valid zh_TW.big5 font using the %s.%s X default (syntax is \"%s,FONTNAME\")."),
3362    /* STID_TOOL_BIG5_CHINESE_KEYPAD */
3363    N_("%s - Traditional Chinese (zh_TW.big5) Keypad"),
3364    /* STID_USE_ZYFH_KEYPAD_OR_PINYING */
3365    N_("Please select using zhu-yin-fu-hao keypad\nor enter pin-ying directly..."),
3366    /* STID_INVALID_PINYIN_SEQ */
3367    N_("The sequence: '%s', is not a valid sequence."),
3368    /* STID_ADD_ZYFH */
3369    N_("Add a zhu-yin-fu-hao symbol"),
3370    /* STID_FETCH_CHAR */
3371    N_("Fetch characters"),
3372    /* STID_BACKOUT_ZYFH */
3373    N_("Back out a zhu-yin-fu-hao symbol"),
3374    /* STID_SELECT_A_CHAR */
3375    N_("Select a character."),
3376    /* STID_SEND_A_CHAR_TO_DRAWING_AREA */
3377    N_("Select and send a character to the drawing area."),
3378    /* STID_CLICK_SEND_TO_SEND_CHAR */
3379    N_("Click on the Send button to send selected character to the drawig area."),
3380    /* STID_FETCH_CHARS_FROM_DB */
3381    N_("Fetch characters from the database."),
3382    /* STID_SEND_SEL_CHAR_TO_DRAWING_AREA */
3383    N_("Send selected character to the drawing area."),
3384    /* STID_SEND_CR_TO_DRAWING_AREA */
3385    N_("Send <CR> to the drawing area."),
3386    /* STID_OK_TO_RESET_GIVEN_IM */
3387    N_("Okay to reset the connection to the '%s' input method?"),
3388    /* STID_GIVEN_IM_RESETED */
3389    N_("Connection to the '%s' input method has been reset."),
3390    /* STID_WILL_EXPORT_PBM_FILE */
3391    N_("Will export PBM file."),
3392    /* STID_SEL_PBM_FILE_TO_IMPORT */
3393    N_("Please select a PBM file to IMPORT..."),
3394    NULL
3395 };
3396 
3397 static char *gaszEnglishStrTable1400[] = {
3398    /* STID_CANNOT_IMPORT_GIVEN_PBM */
3399    N_("Cannot import PBM file '%s'."),
3400    /* STID_GIVEN_PBM_SIZE_FILE_IMPORTED */
3401    N_("PBM file (%1dx%1d) '%s' imported."),
3402    /* STID_WILL_EXPORT_PGM_FILE */
3403    N_("Will export PGM file."),
3404    /* STID_SEL_PGM_FILE_TO_IMPORT */
3405    N_("Please select a PGM file to IMPORT..."),
3406    /* STID_CANNOT_IMPORT_GIVEN_PGM */
3407    N_("Cannot import PGM file '%s'."),
3408    /* STID_GIVEN_PGM_SIZE_FILE_IMPORTED */
3409    N_("PGM file (%1dx%1d) '%s' imported."),
3410    /* STID_CANNOT_IDEN_GS */
3411    N_("Problem identifying which version of ghostscript you are running ('%s')."),
3412    /* STID_TOOL_NOT_INTV_WHILE_EXEC_CMD */
3413    N_("%s is not running in the interactive mode while executing the '%s' command."),
3414    /* STID_CONVERT_TO_XBM_WHILE_EXEC_CMD */
3415    N_("Fail to convert '%s' from the '%s' format to XBM format while executing the '%s' command."),
3416    /* STID_FUNC_ARG_STRS_RANGE */
3417    N_("%s(): '%s' must be between %s and %s (inclusive).\n\n%s was specified."),
3418    /* STID_WARN_CANNOT_FIND_SOME_ATTRS */
3419    N_("Warning: some attributes in '%s' cannot be found.\n\nOkay to continue and edit the attributes which have been found? [ync](y)"),
3420    /* STID_BAD_LINE_MAY_HAVE_DEL_EQUAL */
3421    N_("Malformed line: '%s'.\n\nYou may have accidentally deleted a '=' symbol.  Please make a note of it."),
3422    /* STID_ATTR_NAME_CHANGED_IMPORT_Q */
3423    N_("You may have changed the name of an attribute.  The new attribute name is '%s'.  Do you want to import this new attribute? [ync](y)"),
3424    /* STID_CANT_IMPORT_ATTR_GROUP_RETRY */
3425    N_("Since there are malformed input lines, %s cannot import the attribute group.  Please fix the malformed lines and try again.\n\nIf you would like to abort editing this attribute group, please exit your editor without saving the content."),
3426    /* STID_TGIF_FLAGS */
3427    N_(" [flags: %s]"),
3428    /* STID_INVALID_COMPILER_OPT */
3429    N_("Malformed compiler option -D%s: '%s'."),
3430    /* STID_EXECUTING_GIVEN_SCRIPT */
3431    N_("Executing from '%s'..."),
3432    /* STID_STAT_FAILED_WHILE_IMPORT_LINK */
3433    N_("Fail to get file info for '%s' while importing/linking %s file."),
3434    /* STID_SEL_JPEG_FILE_TO_LINKTO */
3435    N_("Please select a JPEG file to link to..."),
3436    /* STID_INVALID_PARAM_LINKED_JPEG */
3437    N_("Invalid parameters encountered while reading a linked JPEG object."),
3438    /* STID_INVALID_PATH_WHILE_READ_JPEG */
3439    N_("File '%s' does not exist while reading a linked JPEG object."),
3440    /* STID_PRTGIF_LINK_JPEG_SKIPPED */
3441    N_("Linked JPEG object (linked to '%s') skipped.  Please consider running %s with the \"-display\" commandline option."),
3442    /* STID_DUP_SHORTCUT_FUNCTION_KEY */
3443    N_("Warning: duplicate shortcut entry for 'F%1d'."),
3444    /* STID_BAD_STYLE_NAME_WHILE_EXEC_CMD */
3445    N_("Invalid text style of '%s' used while executing the '%s' command."),
3446    /* STID_CANT_ACQUIRE_X_SELECTION */
3447    N_("Cannot acquire the X selection while performing a paste operation.  Will only copy to X cutbuffer."),
3448    /* STID_NO_TEXT_SELECTED_FOR_COPY */
3449    N_("No text selected for the copy/cut operation."),
3450    /* STID_PASTE_FAILED_CONV_REFUSED */
3451    N_("Paste failed because selection conversion was refused."),
3452    /* STID_BAD_XDEF_MISS_TOKEN_NAME_SKIP */
3453    N_("Invalid entry '%s' (missing token name) in %s.%s, skipped."),
3454    /* STID_BAD_XDEF_CANT_FIND_TOKEN_SKIP */
3455    N_("Invalid entry '%s' (cannot find %s) in %s.%s, skipped."),
3456    /* STID_BAD_XDEF_MISS_CHAR_NAME_SKIP */
3457    N_("Malformed entry '%s' (missing character name) in %s.%s, skipped."),
3458    /* STID_DUP_CHAR_CODE_XDEF_IGNORED */
3459    N_("Duplicate character code %1d (8#%03o) detected in %s.%s, new value ignored."),
3460    /* STID_FAIL_TO_PARSE_CHAR_CODE_XDEF */
3461    N_("Fail to parse '%s' for a character code value for taken '%s' while processing X default %s.%s."),
3462    /* STID_CHAR_CODE_OUT_OF_RANGE_XDEF */
3463    N_("Character code specified as '%s' for token '%s' is out of range in %s.%s.  The value must be between 161 and 255 (inclusive)."),
3464    /* STID_BAD_FAKE_FONT_NAME_NO_ALIAS */
3465    N_("In processing %s.%s, the fake font name '%s' is not valid because there is no corresponding entry in %s.%s."),
3466    /* STID_CANT_FIND_PS_CHAR_SUBS_READ */
3467    N_("Cannot find ps_char_subs(\"%s\",[...]) object while reading the input file."),
3468    /* STID_DUP_TOKEN_PS_CHAR_SUBS_READ */
3469    N_("Duplicate ps_char_subs(\"%s\",[...]) object detected reading the input file."),
3470    /* STID_FAIL_TO_PARSE_CHAR_CODE_FILE */
3471    N_("Fail to parse '%s' for a character code value for taken '%s' while processing the input file."),
3472    /* STID_CHAR_CODE_OUT_OF_RANGE_FILE */
3473    N_("Character code specified as '%s' for token '%s' is out of range while processing the input file.  The value must be between 161 and 255 (inclusive)."),
3474    /* STID_DUP_CHAR_CODE_FILE_IGNORED */
3475    N_("Duplicate character code %1d (8#%03o) detected while processing the input file, new value ignored."),
3476    /* STID_CMDLINE_ARG_GIVEN_TOO_LONG */
3477    N_("The commandline argument for '%s' is too long.  Please use a shorter one."),
3478    /* STID_CANT_IMPORT_GIVEN_PPM_MALFORM */
3479    N_("Failed to import PPM file '%s'.  The P6 format is expected but the file seems to be malformed."),
3480    /* STID_PPM6_DIM_NOT_MATCH */
3481    N_("The dimension (%1dx%1d) of the PPM file '%s' does not match the stored dimension (%1dx%1d)."),
3482    /* STID_UNSUP_PPM6_MAX_VAL */
3483    N_("The maximum color value (%1d) for the PPM file '%s' is not supported.  Only the value of 255 is supported."),
3484    /* STID_JPEG_DIM_NOT_MATCH_DELETED */
3485    N_("The dimension (%1dx%1d) of the linked JPEG file '%s' does not match the stored dimension (%1dx%1d).  The JPEG object is removed."),
3486    /* STID_ENTER_XY_OFFSET_OBJ_SHADOW */
3487    N_("Please enter X and Y offsets for generic object shadow: [current: %1d,%1d]"),
3488    /* STID_OBJ_SHADOW_XY_OFFSETS_SET_TO */
3489    N_("Generic object shadow offsets set to: %1d, %1d."),
3490    /* STID_ENTER_A_COLOR_FOR_OBJ_SHADOW */
3491    N_("Please enter a color for the generic object shadow: [current: %s]"),
3492    /* STID_OBJ_SHADOW_COLOR_SET_TO_NAMED */
3493    N_("Generic object shadow color set to '%s'."),
3494    /* STID_NO_OBJ_SHADOW_FOUND */
3495    N_("None of the selected object seem to have a generic object shadow."),
3496    /* STID_TRANS_XPM_TOO_MANY_COLORS_SKP */
3497    N_("Too many colors (%1d, which is > 255) in an xpm objects with transparent pixels.  This object is skipped during printing."),
3498    /* STID_NEED_DISABLE_UNDO_WILL_CRASH */
3499    N_("Referencing an off page object while undo is enabled.  If %s crashes, please modify your script to call \"disable_undo()\" before running it again."),
3500    /* STID_CANT_LOAD_INITIAL_FONT */
3501    N_("Warning: Cannot load the following initial font: '%s'.  To specify a different initial font, please use %s.InitialFont, %s.InitialFontStyle, and %s.InitialFontSize."),
3502    /* STID_CANT_CHNG_FONT_SUPSUB_CENTER */
3503    N_("Cannot switch font in a center-script object."),
3504    /* STID_JOIN_WB_IN_PROGRESS_FAILED */
3505    N_("Joining a whiteboard session already in progress has failed.  The state of the whiteboard may not be consistent with other whiteboards.  It's probably best to exit and restart."),
3506    /* STID_JOIN_WB_IN_FAILED_NO_CONTTYPE */
3507    N_("Joining a whiteboard session already in progress has failed - cannot find Content-Type.  The state of the whiteboard may not be consistent with other whiteboards.  It's probably best to exit and restart."),
3508    /* STID_INVALID_RMCAST_DLIB_PATH */
3509    N_("Invalid path: '%s' for the rmcast dynamic library.  %s will exit now."),
3510    /* STID_NO_INFO_LIBRMCAST_SO */
3511    N_("Fail to load shared library '%s'.  There is no information about where to find %s.  Please run %s with the -rmcastlibdir or the -rmcastlibpath commandline option.  %s will exit now."),
3512    /* STID_BAD_VER_RMCAST_DLIB */
3513    N_("Malformed interface version information: '%s' received from the rmcast dynamic library '%s'."),
3514    /* STID_CANNOT_HANDLE_VER_RMCAST_DLIB */
3515    N_("%s does not know how to handle interface version: '%s' for the rmcast dynamic library '%s'."),
3516    /* STID_MISSING_RMCASTDIR */
3517    N_("Directory for the '-rmcastlibdir' commandline argument is missing."),
3518    /* STID_NO_PTHREAD_CONTINUE */
3519    N_("%s is not compiled with the -DPTHREAD flag and will not be able to run in the tgwb2 mode.  Please restart %s without the -tgwb2 commandline option.  %s will exit now."),
3520    /* STID_INVALID_GIVEN_PARAM_GIVEN_OBJ */
3521    N_("Invalid %s parameters encountered while reading a %s object."),
3522    /* STID_CANNOT_INFLATE_GIVEN_OBJ */
3523    N_("Cannot uncompress %s object with zlib because either zlib is not supported on this machine or %s is compiled with the -D_NO_ZLIB compiler option."),
3524    /* STID_BAD_LINE_READING_GIVEN_OBJ */
3525    N_("Malformed input line while reading a %s object."),
3526    /* STID_INSUF_DATA_READING_GIVEN_OBJ */
3527    N_("Insufficient data while reading a %s object."),
3528    /* STID_PATTERNDIR_NOT_EXIST */
3529    N_("Customer pattern directory '%s' does not exist.  Will use the default patterns."),
3530    /* STID_MISSING_RMCASTLIB */
3531    N_("File path for the '-rmcastlibpath' commandline argument is missing."),
3532    /* STID_INVALID_XBM_CUST_PAT */
3533    N_("Invalid X11 bitmap file '%s'.  It cannot not be used as a customer pattern."),
3534    /* STID_TRANS_PIX_NOT_SUP_PPM_TRUE */
3535    N_("Transparent pixel is not supported for ppm_true objects."),
3536    /* STID_XPM_HAS_ATTR_IMGPROC */
3537    N_("The command you have just selected: '%s' can only work with a single X11 Pixmap object that does not have attached attributes.  Please detach its attributes and try again."),
3538    /* STID_PPM_TRUE_LOSSY_CONV_TO_XPM */
3539    N_("A ppm_true object has been converted to a regular XPM object (may have lost some colors)."),
3540    /* STID_SWITCHED_TO_AUTO_ROTATE_PIVOT */
3541    N_("Switched to using automatic rotation pivot."),
3542    /* STID_SWITCHED_TO_USER_ROTATE_PIVOT */
3543    N_("Switched to using user-specified rotation pivot."),
3544    /* STID_NEW_ROTATE_PIVOT_IS */
3545    N_("Rotation pivot is at: (%1d,%1d)."),
3546    /* STID_ENTER_ROT_PIVOT */
3547    N_("Please enter rotation pivot pixel coordinate: [X,Y]"),
3548    /* STID_ENTER_ROT_PIVOT_CUR_IS */
3549    N_("Please enter rotation pivot pixel coordinate: [X,Y] (current rotation pivot is at (%1d,%1d))"),
3550    /* STID_ROT_PIVOT_SET_TO */
3551    N_("Rotation pivot set to: (%1d,%1d)."),
3552    /* STID_VISIBLE_ROTATE_PIVOT */
3553    N_("User-specified rotation pivit will be visible in select mode."),
3554    /* STID_NOT_VISIBLE_ROTATE_PIVOT */
3555    N_("User-specified rotation pivit will not be visible in select mode."),
3556    /* STID_SELONLYONEPOLYOBJ */
3557    N_("Please make sure that you have only a poly/polygon object selected and that you are in the rotate/shear mode with user-specified rotation pivot enabled."),
3558    /* STID_SELONLYONEARCOBJ */
3559    N_("Please make sure that you have only an arc object selected and that you are in the rotate/shear mode with user-specified rotation pivot enabled."),
3560    /* STID_WILL_EXPORT_SVG_FILE */
3561    N_("Will export SVG (needs eps->svg filter) file."),
3562    /* STID_TOOL_COLOR_WHEEL */
3563    N_("%s - Choose A Color"),
3564    /* STID_COLOR_WHEEL_NOT_AVAIL */
3565    N_("Color wheel is not available for your display type (must be a TrueColor display)."),
3566    /* STID_GIVEN_VAL_MUST_BE_LE */
3567    N_("The %s value must be less than or equal to %1d)."),
3568    /* STID_TWO_VERTEX_POLY_ONLY */
3569    N_("Please select a two-vertex polyline."),
3570    /* STID_ENTER_MULT_FACTOR */
3571    N_("Please enter a multiplicative factor (1.0 means no adjustment and a negative value will extend the line segment in the opposite direction):"),
3572    /* STID_RES_LINESEG_HAVE_ZERO_LEN */
3573    N_("Resulting line segment will have a length of zero and cannot be used."),
3574    /* STID_WILL_USE_TIGHTER_SPLINES */
3575    N_("Will use tighter structured splines."),
3576    /* STID_WILL_USE_LOOSER_SPLINES */
3577    N_("Will use original (looser) splines tightness for structured splines."),
3578    /* STID_TWO_CONSEC_VERTICES_ONLY */
3579    N_("Please select two consecutive vertices of a polyline object."),
3580    /* STID_LINE_TYPE_IS_STRUCT_SPLINE */
3581    N_("Line type is 'structured spline'."),
3582    /* STID_ONE_V_STRUCT_SPLINE_IN_V_MODE */
3583    N_("Can only select one vertex for a structured spline object in vertex mode."),
3584    /* STID_SHUTTING_DOWN_WHITEBOARD */
3585    N_("Shutting down whiteboard"),
3586    /* STID_SOME_LT_FAILED_TO_CONVERT */
3587    N_("Some conversion of line types cannot be performed."),
3588    /* STID_CANNOT_CONVERT_SEL_LINETYPE */
3589    N_("Cannot convert the line type for selected objects."),
3590    /* STID_CANNOT_CONVERT_TO_STRUCT_SPLN */
3591    N_("Cannot convert selected objects to structures splines."),
3592    /* STID_ADD_HINGE_VERTEX */
3593    N_("Add hinge vertex"),
3594    /* STID_ADD_A_SMOOTH_VERTEX */
3595    N_("Add smooth vertex (for a hinge vertex)"),
3596    /* STID_CANNOT_ADD_SMOOTH_VERTEX */
3597    N_("Cannot add a smooth vertex at this vertex."),
3598    NULL
3599 };
3600 
3601 static char *gaszEnglishStrTable1500[] = {
3602    /* STID_LEFT_ADD_HINGE_MID_ADD_SMOOTH */
3603    N_("Drag left mouse button to add a HINGE point and middle mouse button to add a SMOOTH point."),
3604    /* STID_CLICK_RIGHT_BUTTON_TO_QUIT */
3605    N_("Click right mouse button to quit."),
3606    /* STID_SELECTION_CONV_REFUSED */
3607    N_("X selection conversion was refused (may not be a seerious problem)."),
3608    /* STID_TRY_PASTE_WITH_OLD_X_MECH */
3609    N_("Attempting to paste using an older X mechanism (may not be able to paste very large objects with this mechanism)..."),
3610    /* STID_CANNOT_TOGGLE_FOR_STRUCT_SPLN */
3611    N_("Cannot toggle Smooth/Hinge points for a structured spline object."),
3612    /* STID_SEL_2_COMPAT_END_PTS_TO_JOIN */
3613    N_("Please select 2 end-point vertices from lines/curves of similar types."),
3614    /* STID_CANNOT_CUT_AT_SMOOTH_PT */
3615    N_("Cannot cut a structured spline object at a smooth point.  Please select a hinge point and try again."),
3616    /* STID_RIGHT_MARGIN_IS */
3617    N_("Simple right margin is %s."),
3618    /* STID_RIGHT_MARGIN_DISABLED */
3619    N_("Simple right margin is off."),
3620    /* STID_ENTER_RIGHT_MARGIN */
3621    N_("Please enter (simple) right margin '<num> {pixel|cm|in}' (e.g., 1.5 inch, 2 cm, etc.):"),
3622    /* STID_CURRENT_RIGHT_MARGIN_IS */
3623    N_("( current right margin: '%s' )"),
3624    /* STID_ERR_PARSE_THRESH_COLORS */
3625    N_("Error in parsing threshold for flood fill and replace color: '%s'."),
3626    /* STID_FLOOD_REPLACE_ENABLED */
3627    N_("Threshold-based Flood Fill and Replace Color will be used with RGB thresholds of %1d,%1d,%1d (out of 255)."),
3628    /* STID_FLOOD_REPLACE_DISABLED */
3629    N_("Threshold-based Flood Fill and Replace Color will not be used."),
3630    /* STID_SET_FLOOD_REPLACE_THRESH */
3631    N_("Please enter either a single threshold value (between 0 and 255) to be applied to all color components or thress such values (separted by commas): [current: %1d,%1d,%1d]"),
3632    /* STID_FLOOD_REPLACE_THRESH_SET_TO */
3633    N_("Flood Fill and Replace Color threshold has been set to: %1d,%1d,%1d."),
3634    /* STID_BADPNG_SHORT_HEADER */
3635    N_("Malformed PNG file.  Cannot read the 8 bytes header."),
3636    /* STID_BADPNG_BAD_HEADER */
3637    N_("Malformed PNG file.  Invalid bytes in header."),
3638    /* STID_BADPNG_BAD_PALETTE_LEN */
3639    N_("Malformed PNG file.  Palette length is not a multiple of 3."),
3640    /* STID_BADPNG_BAD_CHUNK_LEN */
3641    N_("Malformed PNG file.  Invalid chunk length of %1d."),
3642    /* STID_BADPNG_SHORT_CHUNK_TYPE */
3643    N_("Malformed PNG file.  Cannot read 4 bytes of chunk type."),
3644    /* STID_BADPNG_SHORT_CRC */
3645    N_("Malformed PNG file.  Cannot read 4 bytes CRC."),
3646    /* STID_BAD_TRANS_COLOR_NO_TRANS */
3647    N_("Malformed transparent color in a PPM_TRUE object.  Transparency removed."),
3648    /* STID_CUR_COLOR_IS_TRANS_PIXEL */
3649    N_("The current color (%s) is the same as the color being used as transparent pixels in a PPM_TRUE object; therefore, it cannot be used for the %s command."),
3650    /* STID_BAD_CMD_FOR_TRANS_PPMTRUE */
3651    N_("Selected object is a PPM_TRUE object with a transparent color and cannot be used for running the %s command."),
3652    /* STID_SEL_ONE_XPM_TRANSPIX */
3653    N_("Please select at least one X11 Pixmap objects with a transparent pixel."),
3654    /* STID_CANNOT_FIND_GOOD_TRANSPIX */
3655    N_("Cannot find a suitable pixel to use as a transparent color pixel.  Abort!"),
3656    /* STID_CANNOT_SET_XDEF_TRUE_NO_ZLIB */
3657    N_("Cannot set %s.%s to 'true' because %s is not compile with zlib support.  The value of 'false' is used."),
3658    /* STID_BAD_GIVEN_LINE_WRITTEN */
3659    N_("Invalid '%s' line written into file.  This will be reported as a problem writing to the file."),
3660    /* STID_TWO_XDEF_ONE_IGNORED */
3661    N_("Conflicting %s.%s and %s.%s (both cannot be defined at the same time).  %s.%s is ignored."),
3662    /* STID_BAD_ENCODING_TGTWB5_FONT */
3663    N_("Unsupported font encoding for the '%s' font.  The only support font encodings are \"big5\" and \"gb2312.1980\".  Please specify a valid zh_TW.big5 or zh_CN.euc font using the %s.%s X default."),
3664    /* STID_TOOL_GB_CHINESE_KEYPAD */
3665    N_("%s - Simplified Chinese (zh_CN.euc) Keypad"),
3666    NULL
3667 };
3668 
TgLoadString(nID)3669 char *TgLoadString(nID)
3670    int nID;
3671    /*
3672     * Note: if ENABLE_NLS is defined, every one of this call will pay
3673     *       the panelty of gettext().  So, make sure these strings are
3674     *       not often used (such as error messages).
3675     * Note: the returned string is translated already.
3676     */
3677 {
3678    if (nID >= MINNONCACHEDSTIDS && nID < MAXNONCACHEDSTIDS) {
3679       int index=(nID-MINNONCACHEDSTIDS);
3680       int which=(int)(index/100);
3681 
3682       switch (which) {
3683       case  0: return _(gaszEnglishStrTable[index]);
3684       case  1: return _(gaszEnglishStrTable100[index-100]);
3685       case  2: return _(gaszEnglishStrTable200[index-200]);
3686       case  3: return _(gaszEnglishStrTable300[index-300]);
3687       case  4: return _(gaszEnglishStrTable400[index-400]);
3688       case  5: return _(gaszEnglishStrTable500[index-500]);
3689       case  6: return _(gaszEnglishStrTable600[index-600]);
3690       case  7: return _(gaszEnglishStrTable700[index-700]);
3691       case  8: return _(gaszEnglishStrTable800[index-800]);
3692       case  9: return _(gaszEnglishStrTable900[index-900]);
3693       case 10: return _(gaszEnglishStrTable1000[index-1000]);
3694       case 11: return _(gaszEnglishStrTable1100[index-1100]);
3695       case 12: return _(gaszEnglishStrTable1200[index-1200]);
3696       case 13: return _(gaszEnglishStrTable1300[index-1300]);
3697       case 14: return _(gaszEnglishStrTable1400[index-1400]);
3698       default: return _(gaszEnglishStrTable1500[index-1500]);
3699       }
3700    }
3701 #ifdef _TGIF_DBG /* debug, do not translate */
3702    fprintf(stderr, "Cannot find string table entry with ID=%1d.\n", nID);
3703 #endif /* _TGIF_DBG */
3704 
3705    return NULL;
3706 }
3707 
3708 /* ===================== Special LoadString Routines ===================== */
3709 
3710 /* --------------------- align.c --------------------- */
3711 
3712 static char *distrDirectMenuStr[] = {
3713    N_("(none)"),
3714    N_("Distribute selected objects so that their top edges are equally spaced"),
3715    N_("Distribute selected objects so that their vertical centers are equally spaced"),
3716    N_("Distribute selected objects so that their bottom edges are equally spaced"),
3717    N_("Distribute selected objects so that they are equally spaced vertically"),
3718    N_("Distribute selected objects so that their left edges are equally spaced"),
3719    N_("Distribute selected objects so that their left and top edges are equally spaced"),
3720    N_("Distribute selected objects so that their left and vertical centers are equally spaced"),
3721    N_("Distribute selected objects so that their left and bottom edges are equally spaced"),
3722    N_("Distribute selected objects so that they are equally spaced vertically and their left edges are spaced equally"),
3723    N_("Distribute selected objects so that their horizontal centers are equally spaced"),
3724    N_("Distribute selected objects so that their horizontal centers and top edges are equally spaced"),
3725    N_("Distribute selected objects so that their horizontal and vertical centers are equally spaced"),
3726    N_("Distribute selected objects so that their horizontal centers and bottom edges are equally spaced"),
3727    N_("Distribute selected objects so that they are equally spaced vertically and their horizontal centers are spaced equally"),
3728    N_("Distribute selected objects so that their right edges are equally spaced"),
3729    N_("Distribute selected objects so that their right and top edges are equally spaced"),
3730    N_("Distribute selected objects so that their right and vertical centers are equally spaced"),
3731    N_("Distribute selected objects so that their right and bottom edges are equally spaced"),
3732    N_("Distribute selected objects so that they are equally spaced vertically and their right edges are spaced equally"),
3733    N_("Distribute selected objects so that they are equally spaced horizontally"),
3734    N_("Distribute selected objects so that they are equally spaced horizontally and their top edges are spaced equally"),
3735    N_("Distribute selected objects so that they are equally spaced horizontally and their vertical centers are spaced equally"),
3736    N_("Distribute selected objects so that they are equally spaced horizontally and their bottom edges are spaced equally"),
3737    N_("Distribute selected objects so that they are equally spaced horizontally and vertically"),
3738    NULL
3739 };
3740 
DistrDirectLoadString(nIndex)3741 char *DistrDirectLoadString(nIndex)
3742    int nIndex;
3743    /* well, this menu is hard to get to, no need to cache the strings */
3744 {
3745    return _(distrDirectMenuStr[nIndex]);
3746 }
3747 
AlignedLoadString(hori_align,vert_align)3748 char *AlignedLoadString(hori_align, vert_align)
3749    int hori_align, vert_align;
3750 {
3751    switch ((hori_align<<ALIGN_SHIFT)|vert_align) {
3752    case ALIGN_NN: break;
3753    case ALIGN_NT: return _("top sides are aligned.");
3754    case ALIGN_NM: return _("vertical centers are aligned.");
3755    case ALIGN_NB: return _("bottom sides are aligned.");
3756    case ALIGN_NS: break;
3757    case ALIGN_LN: return _("left sides are aligned.");
3758    case ALIGN_LT: return _("left and top sides are aligned.");
3759    case ALIGN_LM: return _("left side and middle are aligned.");
3760    case ALIGN_LB: return _("left and bottom sides are aligned.");
3761    case ALIGN_LS: return _("left sides are aligned.");
3762    case ALIGN_CN: return _("horizontal centers are aligned.");
3763    case ALIGN_CT: return _("centers and top sides are aligned.");
3764    case ALIGN_CM: return _("centers and middle are aligned.");
3765    case ALIGN_CB: return _("centers and bottom sides are aligned.");
3766    case ALIGN_CS: return _("horizontal centers are aligned.");
3767    case ALIGN_RN: return _("right sides are aligned.");
3768    case ALIGN_RT: return _("right and top sides are aligned.");
3769    case ALIGN_RM: return _("right and middle are aligned.");
3770    case ALIGN_RB: return _("right and bottom sides are aligned.");
3771    case ALIGN_RS: return _("right sides are aligned.");
3772    case ALIGN_SN: break;
3773    case ALIGN_ST: return _("top sides are aligned.");
3774    case ALIGN_SM: return _("vertical centers are aligned.");
3775    case ALIGN_SB: return _("bottom sides are aligned.");
3776    case ALIGN_SS: break;
3777    }
3778    return NULL;
3779 }
3780 
HoriAlignLoadString(hori_align)3781 char *HoriAlignLoadString(hori_align)
3782    int hori_align;
3783 {
3784    switch (hori_align) {
3785    case ALIGN_N: return _("Horizontal alignment set to NONE.");
3786    case ALIGN_L: return _("Will align on the LEFT.");
3787    case ALIGN_C: return _("Will align objects at the horizontal CENTER.");
3788    case ALIGN_R: return _("Will align on the RIGHT.");
3789    case ALIGN_S: return _("Will equally SPACE objects horizontally.");
3790    }
3791    return NULL;
3792 }
3793 
VertAlignLoadString(vert_align)3794 char *VertAlignLoadString(vert_align)
3795    int vert_align;
3796 {
3797    switch (vert_align) {
3798    case ALIGN_N: return _("Vertical alignment set to NONE.");
3799    case ALIGN_T: return _("Will align at the TOP.");
3800    case ALIGN_M: return _("Will align objects in the MIDDLE vertically.");
3801    case ALIGN_B: return _("Will align at the BOTTOM.");
3802    case ALIGN_S: return _("Will equally SPACE objects vertically.");
3803    }
3804    return NULL;
3805 }
3806 
3807 static char *alignDirectMenuStr[] = {
3808    N_("(none)"),
3809    N_("Align top edges of selected objects"),
3810    N_("Align vertical centers of selected objects"),
3811    N_("Align bottom edges of selected objects"),
3812    N_("Align left edges of selected objects"),
3813    N_("Align left and top edges of selected objects"),
3814    N_("Align left edges and vertical centers of selected objects"),
3815    N_("Align left and bottom edges of selected objects"),
3816    N_("Align horizontal centers of selected objects"),
3817    N_("Align horizontal centers and top edges of selected objects"),
3818    N_("Align horizontal and vertical centers of selected objects"),
3819    N_("Align horizontal centers and bottom edges of selected objects"),
3820    N_("Align right edges of selected objects"),
3821    N_("Align right and top edges of selected objects"),
3822    N_("Align right edges and vertical centers of selected objects"),
3823    N_("Align right and bottom edges of selected objects"),
3824    NULL
3825 };
3826 
AlignDirectLoadString(nIndex)3827 char *AlignDirectLoadString(nIndex)
3828    int nIndex;
3829    /* well, this menu is hard to get to, no need to cache the strings */
3830 {
3831    return _(alignDirectMenuStr[nIndex]);
3832 }
3833 
3834 static char *alignDirectToGridMenuStr[] = {
3835    N_("(none)"),
3836    N_("Align top edges of selected objects to the grid"),
3837    N_("Align vertical centers of selected objects to the grid"),
3838    N_("Align bottom edges of selected objects to the grid"),
3839    N_("Align left edges of selected objects to the grid"),
3840    N_("Align left and top edges of selected objects to the grid"),
3841    N_("Align left edges and vertical centers of selected objects to the grid"),
3842    N_("Align left and bottom edges of selected objects to the grid"),
3843    N_("Align horizontal centers of selected objects to the grid"),
3844    N_("Align horizontal centers and top edges of selected objects to the grid"),
3845    N_("Align horizontal and vertical centers of selected objects to the grid"),
3846    N_("Align horizontal centers and bottom edges of selected objects to the grid"),
3847    N_("Align right edges of selected objects to the grid"),
3848    N_("Align right and top edges of selected objects to the grid"),
3849    N_("Align right edges and vertical centers of selected objects to the grid"),
3850    N_("Align right and bottom edges of selected objects to the grid"),
3851    NULL
3852 };
3853 
AlignDirectToGridLoadString(nIndex)3854 char *AlignDirectToGridLoadString(nIndex)
3855    int nIndex;
3856    /* well, this menu is hard to get to, no need to cache the strings */
3857 {
3858    return _(alignDirectToGridMenuStr[nIndex]);
3859 }
3860 
3861 static char *alignDirectToPageMenuStr[] = {
3862    N_("(none)"),
3863    N_("Align selected objects (as a group) to the top of the page"),
3864    N_("Align selected objects (as a group) to the vertical center of the page"),
3865    N_("Align selected objects (as a group) to the bottom of the page"),
3866    N_("Align selected objects (as a group) to the left side of the page"),
3867    N_("Align selected objects (as a group) to the left top corner of the page"),
3868    N_("Align selected objects (as a group) to the left vertical center of the page"),
3869    N_("Align selected objects (as a group) to the left bottom of the page"),
3870    N_("Align selected objects (as a group) to the horizontal center of the page"),
3871    N_("Align selected objects (as a group) to the top horizontal center of the page"),
3872    N_("Align selected objects (as a group) to the center of the page"),
3873    N_("Align selected objects (as a group) to the bottom horizontal center of the page"),
3874    N_("Align selected objects (as a group) to the right side of the page"),
3875    N_("Align selected objects (as a group) to the right top corner of the page"),
3876    N_("Align selected objects (as a group) to the right vertical center of the page"),
3877    N_("Align selected objects (as a group) to the right bottom corner of the page"),
3878    NULL
3879 };
3880 
AlignDirectToPageLoadString(nIndex)3881 char *AlignDirectToPageLoadString(nIndex)
3882    int nIndex;
3883    /* well, this menu is hard to get to, no need to cache the strings */
3884 {
3885    return _(alignDirectToPageMenuStr[nIndex]);
3886 }
3887 
3888 static char *alignVerticesDirectToPageMenuStr[] = {
3889    N_("(none)"),
3890    N_("Align selected vertices to the top of the page"),
3891    N_("Align selected vertices to the vertical center of the page"),
3892    N_("Align selected vertices to the bottom of the page"),
3893    N_("Align selected vertices to the left side of the page"),
3894    N_("Align selected vertices to the left top corner of the page"),
3895    N_("Align selected vertices to the left vertical center of the page"),
3896    N_("Align selected vertices to the left bottom corner of the page"),
3897    N_("Align selected vertices to the horizontal center of the page"),
3898    N_("Align selected vertices to the top horizontal center of the page"),
3899    N_("Align selected vertices to the center of the page"),
3900    N_("Align selected vertices to the bottom horizontal center of the page"),
3901    N_("Align selected vertices to the right side of the page"),
3902    N_("Align selected vertices to the right top corner of the page"),
3903    N_("Align selected vertices to the right vertical center of the page"),
3904    N_("Align selected vertices to the right bottom corner of the page"),
3905    NULL
3906 };
3907 
AlignVerticesDirectToPageLoadString(nIndex)3908 char *AlignVerticesDirectToPageLoadString(nIndex)
3909    int nIndex;
3910    /* well, this menu is hard to get to, no need to cache the strings */
3911 {
3912    return _(alignVerticesDirectToPageMenuStr[nIndex]);
3913 }
3914 
3915 /* --------------------- choice.c --------------------- */
3916 
3917 static struct MouseStatusStrRec choiceMouseStatus[] = {
3918    /*
3919     * note: the m field is used for the localized strings
3920     */
3921    { N_("select/move/resize objects"),    NULL, NULL },
3922    { N_("enter text"),                    NULL, NULL },
3923    { N_("draw rectangles"),               NULL, NULL },
3924    { N_("draw ovals (corner to corner)"), NULL, NULL },
3925    { N_("draw ovals (center to corner)"), NULL, NULL },
3926    { N_("draw circles (edge to edge)"),   NULL, NULL },
3927    { N_("draw poly/open splines"),        NULL, NULL },
3928    { N_("draw polygon/closed splines"),   NULL, NULL },
3929    { N_("draw arcs (center first)"),      NULL, NULL },
3930    { N_("draw arcs (endpoints first)"),   NULL, NULL },
3931    { N_("draw rcboxes"),                  NULL, NULL },
3932    { N_("freehand poly/open splines"),    NULL, NULL },
3933    { N_("select/move vertices"),          NULL, NULL },
3934    { N_("rotate/shear objects"),          NULL, NULL },
3935    { NULL, NULL, NULL }
3936 };
3937 
3938 static
CleanUpChoiceMouseStatusStrings()3939 void CleanUpChoiceMouseStatusStrings()
3940 {
3941    int choice=0;
3942 
3943    for (choice=0; choice < MAXCHOICES; choice++) {
3944       UtilFree(choiceMouseStatus[choice].m);
3945       choiceMouseStatus[choice].m = NULL;
3946    }
3947 }
3948 
SetCurChoiceMouseStatusStrings(choice,left_is_none,obj_under_mouse,cur_text_under_mouse,state)3949 void SetCurChoiceMouseStatusStrings(choice, left_is_none, obj_under_mouse,
3950       cur_text_under_mouse, state)
3951    int choice, left_is_none, cur_text_under_mouse;
3952    struct ObjRec *obj_under_mouse;
3953    unsigned int state;
3954    /*
3955     * Note: once such a string is loaded, it will never change.
3956     *       So, don't put any data-dependent stuff here.
3957     */
3958 {
3959    if (choiceMouseStatus[choice].m == NULL) {
3960       choiceMouseStatus[choice].m = UtilStrDup(_(choiceMouseStatus[choice].l));
3961       if (choiceMouseStatus[choice].m == NULL) FailAllocMessage();
3962    }
3963    if (choice == DRAWPOLY && connectingPortsByWire) {
3964       if (gstWiringInfo.num_ports_to_connect == 99) {
3965          /* rename signal_name */
3966          SetMouseStatus(TgLoadCachedString(CSTID_CLK_ON_PORT_TO_RENAME_SIGNAME),
3967                TgLoadCachedString(CSTID_ABORT),
3968                TgLoadCachedString(CSTID_ABORT));
3969       } else if (gstWiringInfo.num_ports_to_connect == 999) {
3970          /* clear signal_name */
3971          SetMouseStatus(TgLoadCachedString(CSTID_CLK_ON_PORT_TO_CLEAR_SIGNAME),
3972                TgLoadCachedString(CSTID_ABORT),
3973                TgLoadCachedString(CSTID_ABORT));
3974       } else {
3975          SetMouseStatus(TgLoadCachedString(CSTID_START_AN_EDGE_FROM_A_PORT),
3976                TgLoadCachedString(CSTID_ABORT),
3977                TgLoadCachedString(CSTID_ABORT));
3978       }
3979    } else if (cur_text_under_mouse && (state & ControlMask) == ControlMask) {
3980       if (obj_under_mouse == NULL) {
3981          /* if obj_under_mouse is NULL, we are at the boundary of curTextObj */
3982          SetMouseStatus(TgLoadCachedString(CSTID_MOVE_EDIT_TEXT_BOX),
3983                TgLoadCachedString(CSTID_MOVE_EDIT_TEXT_BOX),
3984                TgLoadCachedString(CSTID_CONTEXT_MENU));
3985       } else {
3986          SetMouseStatus((left_is_none ?
3987                TgLoadCachedString(CSTID_PARANED_NONE) :
3988                choiceMouseStatus[choice].m),
3989                TgLoadCachedString(CSTID_MOVE_EDIT_TEXT_BOX),
3990                TgLoadCachedString(CSTID_CONTEXT_MENU));
3991       }
3992    } else if (cur_text_under_mouse && obj_under_mouse == NULL) {
3993       /* if obj_under_mouse is NULL, we are at the boundary of curTextObj */
3994       SetMouseStatus(TgLoadCachedString(CSTID_MOVE_EDIT_TEXT_BOX),
3995             TgLoadCachedString(CSTID_MOVE_EDIT_TEXT_BOX),
3996             TgLoadCachedString(CSTID_CONTEXT_MENU));
3997    } else {
3998       SetMouseStatus((left_is_none ? TgLoadCachedString(CSTID_PARANED_NONE) :
3999             choiceMouseStatus[choice].m),
4000             (btn2PopupMainMenu ? TgLoadCachedString(CSTID_MAIN_MENU) :
4001             TgLoadCachedString(CSTID_PARANED_NONE)),
4002             (obj_under_mouse == NULL ? TgLoadCachedString(CSTID_MODE_MENU) :
4003             TgLoadCachedString(CSTID_CONTEXT_MENU)));
4004    }
4005 }
4006 
4007 /*
4008  * note: every other line is used for the localized strings
4009  */
4010 struct MouseStatusStrRec colorMouseStatus[] = {
4011    { N_("next color"), N_("Color Menu"), N_("prev color") },
4012    { NULL, NULL, NULL },
4013    { NULL, NULL, NULL }
4014 };
4015 struct MouseStatusStrRec hAlignMouseStatus[] = {
4016    { N_("next horizontal align"), N_("HoriAlign Menu"), N_("prev horizontal align") },
4017    { NULL, NULL, NULL },
4018    { NULL, NULL, NULL }
4019 };
4020 struct MouseStatusStrRec vAlignMouseStatus[] = {
4021    { N_("next vertical align"), N_("VertAlign Menu"), N_("prev vertical align") },
4022    { NULL, NULL, NULL },
4023    { NULL, NULL, NULL }
4024 };
4025 struct MouseStatusStrRec pageMouseStatus[] = {
4026    { N_("next page"), N_("Page Menu"), N_("prev page") },
4027    { NULL, NULL, NULL },
4028    { N_("drawing size"), N_("Page Menu"), N_("drawing size") },
4029    { NULL, NULL, NULL },
4030    { NULL, NULL, NULL }
4031 };
4032 struct MouseStatusStrRec pageLayoutMouseStatus[] = {
4033    { N_("tiled page mode"), N_("PageLayout Menu"), N_("tiled page mode") },
4034    { NULL, NULL, NULL },
4035    { N_("stacked page mode"), N_("PageLayout Menu"), N_("stacked page mode") },
4036    { NULL, NULL, NULL },
4037    { NULL, NULL, NULL }
4038 };
4039 struct MouseStatusStrRec justMouseStatus[] = {
4040    { N_("center justified"), N_("TextStyle Menu"), N_("right justified") },
4041    { NULL, NULL, NULL },
4042    { N_("right justified"), N_("TextStyle Menu"), N_("left justified") },
4043    { NULL, NULL, NULL },
4044    { N_("left justified"), N_("TextStyle Menu"), N_("center justified") },
4045    { NULL, NULL, NULL },
4046    { NULL, NULL, NULL }
4047 };
4048 struct MouseStatusStrRec fontMouseStatus[] = {
4049    { N_("next font"), N_("Font Menu"), N_("prev font") },
4050    { NULL, NULL, NULL },
4051    { NULL, NULL, NULL }
4052 };
4053 struct MouseStatusStrRec vspaceMouseStatus[] = {
4054    { N_("inc text vspace"), N_("modify text vspace"), N_("dec text vspace") },
4055    { NULL, NULL, NULL },
4056    { NULL, NULL, NULL }
4057 };
4058 struct MouseStatusStrRec textSizeMouseStatus[] = {
4059    { N_("next text size"), N_("TextSize Menu"), N_("prev text size") },
4060    { NULL, NULL, NULL },
4061    { NULL, NULL, NULL }
4062 };
4063 struct MouseStatusStrRec lineWidthMouseStatus[] = {
4064    { N_("next line width"), N_("LineWidth Menu"), N_("prev line width") },
4065    { NULL, NULL, NULL },
4066    { NULL, NULL, NULL }
4067 };
4068 struct MouseStatusStrRec lineStyleMouseStatus[] = {
4069    { N_("next line style"), N_("LineStyle Menu"), N_("prev line style") },
4070    { NULL, NULL, NULL },
4071    { NULL, NULL, NULL }
4072 };
4073 struct MouseStatusStrRec lineTypeMouseStatus[] = {
4074    { N_("next line type"), N_("LineType Menu"), N_("prev line type") },
4075    { NULL, NULL, NULL },
4076    { NULL, NULL, NULL }
4077 };
4078 struct MouseStatusStrRec lineDashMouseStatus[] = {
4079    { N_("next line dash"), N_("LineDash Menu"), N_("prev line dash") },
4080    { NULL, NULL, NULL },
4081    { NULL, NULL, NULL }
4082 };
4083 struct MouseStatusStrRec rcbRadiusMouseStatus[] = {
4084    { N_("inc rcbox radius"), N_("modify rcbox radius"), N_("dec rcbox radius") },
4085    { NULL, NULL, NULL },
4086    { NULL, NULL, NULL }
4087 };
4088 struct MouseStatusStrRec zoomMouseStatus[] = {
4089    { N_("zoom in"), N_("modify zoom"), N_("zoom out") },
4090    { NULL, NULL, NULL },
4091    { NULL, NULL, NULL }
4092 };
4093 struct MouseStatusStrRec moveModeMouseStatus[] = {
4094    { N_("unconstrained move mode"), N_("MoveMode Menu"), N_("unconstrained move mode") },
4095    { NULL, NULL, NULL },
4096    { N_("constrained move mode"), N_("MoveMode Menu"), N_("constrained move mode") },
4097    { NULL, NULL, NULL },
4098    { NULL, NULL, NULL }
4099 };
4100 struct MouseStatusStrRec shapeMouseStatus[] = {
4101    { N_("(none)"), N_("Shape Menu"), N_("(none)") },
4102    { NULL, NULL, NULL },
4103    { NULL, NULL, NULL }
4104 };
4105 struct MouseStatusStrRec stretchableTextModeMouseStatus[] = {
4106    { N_("stretchable text mode"), N_("StretchText Menu"), N_("stretchable text mode") },
4107    { NULL, NULL, NULL },
4108    { N_("non-stretchable text mode"), N_("StretchText Menu"), N_("non-stretchable text mode") },
4109    { NULL, NULL, NULL },
4110    { NULL, NULL, NULL }
4111 };
4112 struct MouseStatusStrRec fileMouseStatus[] = {
4113    { N_("landscape"), N_("PageStyle Menu"), N_("landscape") },
4114    { NULL, NULL, NULL },
4115    { N_("portrait"), N_("PageStyle Menu"), N_("portrait") },
4116    { NULL, NULL, NULL },
4117    { NULL, NULL, NULL }
4118 };
4119 struct MouseStatusStrRec fillMouseStatus[] = {
4120    { N_("next fill pattern"), N_("Fill Menu"), N_("prev fill pattern") },
4121    { NULL, NULL, NULL },
4122    { NULL, NULL, NULL }
4123 };
4124 struct MouseStatusStrRec penMouseStatus[] = {
4125    { N_("next pen pattern"), N_("Pen Menu"), N_("prev pen pattern") },
4126    { NULL, NULL, NULL },
4127    { NULL, NULL, NULL }
4128 };
4129 struct MouseStatusStrRec transPatMouseStatus[] = {
4130    { N_("transparent pattern mode"), N_("TransPattern Menu"), N_("transparent pattern mode") },
4131    { NULL, NULL, NULL },
4132    { N_("opaque pattern mode"), N_("TransPattern Menu"), N_("opaque pattern mode") },
4133    { NULL, NULL, NULL },
4134    { NULL, NULL, NULL }
4135 };
4136 struct MouseStatusStrRec autoRotatePivotMouseStatus[] = {
4137    { N_("Enter rotate/shear objects mode"), N_("AutoRotatePivot Submenu"), N_("(none)") },
4138    { NULL, NULL, NULL },
4139    { NULL, NULL, NULL }
4140 };
4141 
4142 static
FreeChoiceQuickMouseStatusStrings(pmssr)4143 void FreeChoiceQuickMouseStatusStrings(pmssr)
4144    struct MouseStatusStrRec *pmssr;
4145 {
4146    UtilFree(pmssr->l);
4147    UtilFree(pmssr->m);
4148    UtilFree(pmssr->r);
4149    pmssr->l = pmssr->m = pmssr->r = NULL;
4150 }
4151 
4152 static
CleanUpChoiceQuickMouseStatusStrings()4153 void CleanUpChoiceQuickMouseStatusStrings()
4154 {
4155    FreeChoiceQuickMouseStatusStrings(&colorMouseStatus[1]);
4156    FreeChoiceQuickMouseStatusStrings(&hAlignMouseStatus[1]);
4157    FreeChoiceQuickMouseStatusStrings(&vAlignMouseStatus[1]);
4158    FreeChoiceQuickMouseStatusStrings(&pageMouseStatus[(PAGE_STACK<<1)+1]);
4159    FreeChoiceQuickMouseStatusStrings(&pageMouseStatus[(PAGE_TILE<<1)+1]);
4160    FreeChoiceQuickMouseStatusStrings(&pageLayoutMouseStatus[(PAGE_STACK<<1)+1]);
4161    FreeChoiceQuickMouseStatusStrings(&pageLayoutMouseStatus[(PAGE_TILE<<1)+1]);
4162    FreeChoiceQuickMouseStatusStrings(&justMouseStatus[(JUST_L<<1)+1]);
4163    FreeChoiceQuickMouseStatusStrings(&justMouseStatus[(JUST_C<<1)+1]);
4164    FreeChoiceQuickMouseStatusStrings(&justMouseStatus[(JUST_R<<1)+1]);
4165    FreeChoiceQuickMouseStatusStrings(&fontMouseStatus[1]);
4166    FreeChoiceQuickMouseStatusStrings(&vspaceMouseStatus[1]);
4167    FreeChoiceQuickMouseStatusStrings(&textSizeMouseStatus[1]);
4168    FreeChoiceQuickMouseStatusStrings(&lineWidthMouseStatus[1]);
4169    FreeChoiceQuickMouseStatusStrings(&lineStyleMouseStatus[1]);
4170    FreeChoiceQuickMouseStatusStrings(&lineTypeMouseStatus[1]);
4171    FreeChoiceQuickMouseStatusStrings(&lineDashMouseStatus[1]);
4172    FreeChoiceQuickMouseStatusStrings(&rcbRadiusMouseStatus[1]);
4173    FreeChoiceQuickMouseStatusStrings(&zoomMouseStatus[1]);
4174    FreeChoiceQuickMouseStatusStrings(&moveModeMouseStatus[(CONST_MOVE<<1)+1]);
4175    FreeChoiceQuickMouseStatusStrings(&moveModeMouseStatus[(UNCONST_MOVE<<1)+1]);
4176    FreeChoiceQuickMouseStatusStrings(&shapeMouseStatus[1]);
4177    FreeChoiceQuickMouseStatusStrings(&stretchableTextModeMouseStatus[(NO_STRETCHABLE_TEXT<<1)+1]);
4178    FreeChoiceQuickMouseStatusStrings(&stretchableTextModeMouseStatus[(STRETCHABLE_TEXT<<1)+1]);
4179    FreeChoiceQuickMouseStatusStrings(&fileMouseStatus[(PORTRAIT<<1)+1]);
4180    FreeChoiceQuickMouseStatusStrings(&fileMouseStatus[(LANDSCAPE<<1)+1]);
4181    FreeChoiceQuickMouseStatusStrings(&fillMouseStatus[1]);
4182    FreeChoiceQuickMouseStatusStrings(&penMouseStatus[1]);
4183    FreeChoiceQuickMouseStatusStrings(&transPatMouseStatus[(NO_TRANSPAT_MODE<<1)+1]);
4184    FreeChoiceQuickMouseStatusStrings(&transPatMouseStatus[(TRANSPAT_MODE<<1)+1]);
4185    FreeChoiceQuickMouseStatusStrings(&autoRotatePivotMouseStatus[1]);
4186 }
4187 
QuickSetMouseStatus(pmssr,index)4188 void QuickSetMouseStatus(pmssr, index)
4189    struct MouseStatusStrRec *pmssr;
4190    int index;
4191 {
4192    if (pmssr[(index<<1)+1].l == NULL) {
4193       pmssr[(index<<1)+1].l = UtilStrDup(_(pmssr[index<<1].l));
4194       pmssr[(index<<1)+1].m = UtilStrDup(_(pmssr[index<<1].m));
4195       pmssr[(index<<1)+1].r = UtilStrDup(_(pmssr[index<<1].r));
4196       if (pmssr[(index<<1)+1].l == NULL || pmssr[(index<<1)+1].m == NULL ||
4197             pmssr[(index<<1)+1].r == NULL) {
4198          FailAllocMessage();
4199       }
4200    }
4201    SetMouseStatus(pmssr[(index<<1)+1].l, pmssr[(index<<1)+1].m,
4202          pmssr[(index<<1)+1].r);
4203 }
4204 
4205 /* --------------------- color.c --------------------- */
4206 
4207 static struct MouseStatusStrRec colorTabMouseStatus[] = {
4208    /*
4209     * note: the m field is used for the localized strings
4210     */
4211    { N_("Shift All Tabs Down"), NULL, NULL },
4212    { N_("Shift Tabs Down"),     NULL, NULL },
4213    { N_("Check All"),           NULL, NULL },
4214    { N_("Uncheck All"),         NULL, NULL },
4215    { N_("Shift Tabs Up"),       NULL, NULL },
4216    { N_("Shift All Tabs Up"),   NULL, NULL },
4217    { NULL, NULL, NULL }
4218 };
4219 
4220 static struct MouseStatusStrRec shiftColorTabMouseStatus[] = {
4221    /*
4222     * note: the m field is used for the localized strings
4223     */
4224    { N_("Shift All Tabs Down"), NULL, NULL },
4225    { N_("Shift 10 Tabs Down"),  NULL, NULL },
4226    { N_("Check All"),           NULL, NULL },
4227    { N_("Uncheck All"),         NULL, NULL },
4228    { N_("Shift 10 Tabs Up"),    NULL, NULL },
4229    { N_("Shift All Tabs Up"),   NULL, NULL },
4230    { NULL, NULL, NULL }
4231 };
4232 
4233 static
CleanUpColorMouseStatusStrings()4234 void CleanUpColorMouseStatusStrings()
4235 {
4236    int index=0;
4237 
4238    for (index=0; index < 6; index++) {
4239       UtilFree(colorTabMouseStatus[index].m);
4240       colorTabMouseStatus[index].m = NULL;
4241    }
4242    for (index=0; index < 6; index++) {
4243       UtilFree(shiftColorTabMouseStatus[index].m);
4244       shiftColorTabMouseStatus[index].m = NULL;
4245    }
4246 }
4247 
SetColorMouseStatusStrings(shift_or_cntrl_down,index)4248 void SetColorMouseStatusStrings(shift_or_cntrl_down, index)
4249    int shift_or_cntrl_down, index;
4250    /*
4251     * Note: once such a string is loaded, it will never change.
4252     *       So, don't put any data-dependent stuff here.
4253     */
4254 {
4255    if (shift_or_cntrl_down) {
4256       if (shiftColorTabMouseStatus[index].m == NULL) {
4257          shiftColorTabMouseStatus[index].m =
4258                UtilStrDup(_(shiftColorTabMouseStatus[index].l));
4259          if (shiftColorTabMouseStatus[index].m == NULL) FailAllocMessage();
4260       }
4261       SetMouseStatus(shiftColorTabMouseStatus[index].m,
4262             TgLoadCachedString(CSTID_PARANED_NONE),
4263             TgLoadCachedString(CSTID_PARANED_NONE));
4264    } else {
4265       if (colorTabMouseStatus[index].m == NULL) {
4266          colorTabMouseStatus[index].m =
4267                UtilStrDup(_(colorTabMouseStatus[index].l));
4268          if (colorTabMouseStatus[index].m == NULL) FailAllocMessage();
4269       }
4270       SetMouseStatus(colorTabMouseStatus[index].m,
4271             TgLoadCachedString(CSTID_PARANED_NONE),
4272             TgLoadCachedString(CSTID_PARANED_NONE));
4273    }
4274 }
4275 
4276 /* --------------------- cutpaste.c --------------------- */
4277 
4278 struct PropInfoRec {
4279    long bit;
4280    char *localized;
4281    char *desc;
4282 };
4283 static struct PropInfoRec gstPropStringTable[] = {
4284    /*
4285     * note: the localized field is used for the localized strings
4286     */
4287    { PROP_MASK_AH,           NULL, N_("arrow height") },
4288    { PROP_MASK_AW,           NULL, N_("arrow width") },
4289    { PROP_MASK_ARROW_STYLE,  NULL, N_("arrow style") },
4290    { PROP_MASK_COLOR,        NULL, N_("color") },
4291    { PROP_MASK_DASH,         NULL, N_("dash") },
4292    { PROP_MASK_WIDTH,        NULL, N_("line width") },
4293    { PROP_MASK_TRANSPAT,     NULL, N_("pattern transparency") },
4294    { PROP_MASK_FILL,         NULL, N_("fill") },
4295    { PROP_MASK_PEN,          NULL, N_("pen") },
4296    { PROP_MASK_RCB_RADIUS,   NULL, N_("rcbox radius") },
4297    { PROP_MASK_CURVED,       NULL, N_("spline") },
4298    { PROP_MASK_TEXT_FONT,    NULL, N_("text font") },
4299    { PROP_MASK_TEXT_STYLE,   NULL, N_("text style (no use, part of text font)") },
4300    { PROP_MASK_TEXT_JUST,    NULL, N_("text justification") },
4301    { PROP_MASK_TEXT_SZ_UNIT, NULL, N_("text size") },
4302    { PROP_MASK_VSPACE,       NULL, N_("text vertical spacing") },
4303    { PROP_MASK_UNDERLINE_ON, NULL, N_("text underline") },
4304    { PROP_MASK_OVERLINE_ON,  NULL, N_("text overline") },
4305    { PROP_MASK_CTM,          NULL, N_("transformation matrix") },
4306    { PROP_MASK_WIDTH_INDEX,  NULL, N_("line width index") },
4307    { 0L, NULL, NULL }
4308 };
4309 
4310 static
CleanUpPropertiesInfo()4311 void CleanUpPropertiesInfo()
4312 {
4313    struct PropInfoRec *ppir=NULL;
4314 
4315    for (ppir=gstPropStringTable; ppir->bit != 0L; ppir++) {
4316       UtilFree(ppir->localized);
4317       ppir->localized = NULL;
4318    }
4319 }
4320 
PropLoadString(lWhich)4321 char *PropLoadString(lWhich)
4322    long lWhich;
4323    /*
4324     * Note: once such a string is loaded, it will never change.
4325     *       So, don't put any data-dependent stuff here.
4326     */
4327 {
4328    struct PropInfoRec *ppir=NULL;
4329 
4330    for (ppir=gstPropStringTable; ppir->bit != 0L; ppir++) {
4331       if (ppir->bit == lWhich) {
4332          if (ppir->localized == NULL) {
4333             ppir->localized = UtilStrDup(_(ppir->desc));
4334             if (ppir->localized == NULL) FailAllocMessage();
4335          }
4336          return ppir->localized;
4337       }
4338    }
4339 #ifdef _TGIF_DBG /* debug, do not translate */
4340    fprintf(stderr,
4341          "Cannot find properties string table entry with ID=0x%08lx.\n",
4342          lWhich);
4343 #endif /* _TGIF_DBG */
4344 
4345    return NULL;
4346 }
4347 
4348 /* --------------------- grid.c --------------------- */
4349 
4350 static struct MouseStatusStrRec exportFormatMouseStatus[] = {
4351    /*
4352     * note: the m field is used for the localized strings
4353     */
4354    { N_("Set printing mode to print to a printer"),              NULL, NULL },
4355    { N_("Set printing mode to generate EPS files"),              NULL, NULL },
4356    { N_("Set printing mode to generate PS files"),               NULL, NULL },
4357    { N_("Set printing mode to generate X11 Bitmap files"),       NULL, NULL },
4358    { N_("Set printing mode to generate X11 Pixmap files"),       NULL, NULL },
4359    { N_("Set printing mode to generate ASCII files"),            NULL, NULL },
4360    { N_("Set printing mode to generate EPSI files"),             NULL, NULL },
4361    { N_("Set printing mode to generate GIF/ISMAP files"),        NULL, NULL },
4362    { N_("Set printing mode to generate HTML files"),             NULL, NULL },
4363    { N_("Set printing mode to generate PDF files"),              NULL, NULL },
4364    { N_("Set printing mode to generate DOS/Windows EPSI files"), NULL, NULL },
4365    { N_("Set printing mode to generate PNG files"),              NULL, NULL },
4366    { N_("Set printing mode to generate JPEG files"),             NULL, NULL },
4367    { N_("Set printing mode to generate PBM files"),              NULL, NULL },
4368    { N_("Set printing mode to generate PPM files"),              NULL, NULL },
4369    { N_("Set printing mode to generate NetList files"),          NULL, NULL },
4370    { N_("Set printing mode to generate SVG files"),              NULL, NULL },
4371    { N_("Set printing mode to generate %s files"),               NULL, NULL },
4372    { NULL, NULL, NULL }
4373 };
4374 
4375 static
CleanUpExportFormatMouseStatusStrings()4376 void CleanUpExportFormatMouseStatusStrings()
4377 {
4378    int index=0;
4379 
4380    for (index=0; index <= MAXDEFWHERETOPRINT+1; index++) {
4381       UtilFree(exportFormatMouseStatus[index].m);
4382       exportFormatMouseStatus[index].m = NULL;
4383    }
4384 }
4385 
ExportFormatMenuLoadString(where_to_print,color_dump)4386 char *ExportFormatMenuLoadString(where_to_print, color_dump)
4387    int where_to_print, color_dump;
4388    /* returned string has been translated */
4389 {
4390    if (where_to_print == XBM_FILE) {
4391       if (color_dump) {
4392          if (exportFormatMouseStatus[where_to_print+1].m == NULL) {
4393             exportFormatMouseStatus[where_to_print+1].m =
4394                   UtilStrDup(_(exportFormatMouseStatus[where_to_print+1].l));
4395             if (exportFormatMouseStatus[where_to_print+1].m == NULL) {
4396                FailAllocMessage();
4397             }
4398          }
4399          return (exportFormatMouseStatus[where_to_print+1].m);
4400       } else {
4401          if (exportFormatMouseStatus[where_to_print].m == NULL) {
4402             exportFormatMouseStatus[where_to_print].m =
4403                   UtilStrDup(_(exportFormatMouseStatus[where_to_print].l));
4404             if (exportFormatMouseStatus[where_to_print].m == NULL) {
4405                FailAllocMessage();
4406             }
4407          }
4408          return (exportFormatMouseStatus[where_to_print].m);
4409       }
4410    } else if (where_to_print == PPM_FILE) {
4411       if (color_dump) {
4412          if (exportFormatMouseStatus[where_to_print+2].m == NULL) {
4413             exportFormatMouseStatus[where_to_print+2].m =
4414                   UtilStrDup(_(exportFormatMouseStatus[where_to_print+2].l));
4415             if (exportFormatMouseStatus[where_to_print+2].m == NULL) {
4416                FailAllocMessage();
4417             }
4418          }
4419          return (exportFormatMouseStatus[where_to_print+2].m);
4420       } else {
4421          if (exportFormatMouseStatus[where_to_print+1].m == NULL) {
4422             exportFormatMouseStatus[where_to_print+1].m =
4423                   UtilStrDup(_(exportFormatMouseStatus[where_to_print+1].l));
4424             if (exportFormatMouseStatus[where_to_print+1].m == NULL) {
4425                FailAllocMessage();
4426             }
4427          }
4428          return (exportFormatMouseStatus[where_to_print+1].m);
4429       }
4430    } else if (where_to_print < XBM_FILE) {
4431       if (exportFormatMouseStatus[where_to_print].m == NULL) {
4432          exportFormatMouseStatus[where_to_print].m =
4433                UtilStrDup(_(exportFormatMouseStatus[where_to_print].l));
4434          if (exportFormatMouseStatus[where_to_print].m == NULL) {
4435             FailAllocMessage();
4436          }
4437       }
4438       return (exportFormatMouseStatus[where_to_print].m);
4439    } else if (where_to_print < PPM_FILE) {
4440       if (exportFormatMouseStatus[where_to_print+1].m == NULL) {
4441          exportFormatMouseStatus[where_to_print+1].m =
4442                UtilStrDup(_(exportFormatMouseStatus[where_to_print+1].l));
4443          if (exportFormatMouseStatus[where_to_print+1].m == NULL) {
4444             FailAllocMessage();
4445          }
4446       }
4447       return (exportFormatMouseStatus[where_to_print+1].m);
4448    } else if (where_to_print < MAXDEFWHERETOPRINT) {
4449       if (exportFormatMouseStatus[where_to_print+2].m == NULL) {
4450          exportFormatMouseStatus[where_to_print+2].m =
4451                UtilStrDup(_(exportFormatMouseStatus[where_to_print+2].l));
4452          if (exportFormatMouseStatus[where_to_print+2].m == NULL) {
4453             FailAllocMessage();
4454          }
4455       }
4456       return (exportFormatMouseStatus[where_to_print+2].m);
4457    }
4458    if (exportFormatMouseStatus[MAXDEFWHERETOPRINT+2].m == NULL) {
4459       exportFormatMouseStatus[MAXDEFWHERETOPRINT+2].m =
4460             UtilStrDup(_(exportFormatMouseStatus[MAXDEFWHERETOPRINT+2].l));
4461       if (exportFormatMouseStatus[MAXDEFWHERETOPRINT+2].m == NULL) {
4462          FailAllocMessage();
4463       }
4464    }
4465    return (exportFormatMouseStatus[MAXDEFWHERETOPRINT+2].m);
4466 }
4467 
4468 /* ===================== Init & CleanUp Routines ===================== */
4469 
SetMouseStatusToAllNone()4470 void SetMouseStatusToAllNone()
4471 {
4472    SetMouseStatus(TgLoadCachedString(CSTID_PARANED_NONE),
4473          TgLoadCachedString(CSTID_PARANED_NONE),
4474          TgLoadCachedString(CSTID_PARANED_NONE));
4475 }
4476 
CleanUpStrTable()4477 void CleanUpStrTable()
4478 {
4479    int i=0;
4480 
4481    for (i=0; i < MAXCACHEDSTIDS; i++) {
4482       if (gaszCachedStrTable[i] != NULL) UtilFree(gaszCachedStrTable[i]);
4483    }
4484    for (i=0; i < MAXNONCACHEDSTIDS; i++) {
4485       if (gaszStrTable[i] != NULL) UtilFree(gaszStrTable[i]);
4486    }
4487    memset(gaszCachedStrTable, 0, sizeof(gaszCachedStrTable));
4488    memset(gaszStrTable, 0, sizeof(gaszStrTable));
4489 
4490    CleanUpChoiceMouseStatusStrings();
4491    CleanUpChoiceQuickMouseStatusStrings();
4492 
4493    CleanUpColorMouseStatusStrings();
4494    CleanUpPropertiesInfo();
4495    CleanUpExportFormatMouseStatusStrings();
4496 }
4497 
InitStrTable()4498 void InitStrTable()
4499 {
4500    memset(gaszStrTable, 0, sizeof(gaszStrTable));
4501 }
4502 
4503