1 $ *************************************<+>*************************************
3 $ COMPONENT_NAME: desktop
26 $ ORIGINS: 27,118,119,120,121
28 $ This module contains IBM CONFIDENTIAL code. -- (IBM
29 $ Confidential Restricted when combined with the aggregated
30 $ modules for this product)
31 $ OBJECT CODE ONLY SOURCE MATERIALS
33 $ (C) COPYRIGHT International Business Machines Corp. 1995
35 $ US Government Users Restricted Rights - Use, duplication or
36 $ disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
38 $ *************************************<+>*************************************
39 $ *****************************************************************************
43 $ ** Project: CDE dtcalc
47 $ ** This file is the source for the message catalog for dtcalc
48 $ ** Any additional messages are to be added to this file by hand,
49 $ ** and the associated index number placed in the code.
51 $ *****************************************************************************
53 $ ** (c) Copyright 1993, 1994 Hewlett-Packard Company
54 $ ** (c) Copyright 1993, 1994 International Business Machines Corp.
55 $ ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
56 $ ** (c) Copyright 1993, 1994 Novell, Inc.
59 $ *****************************************************************************
60 $ *************************************<+>*************************************
62 $ *************************************<L>*************************************
63 $ ** -----------------GENERAL LOCALIZATION NOTES SECTION---------------------
64 $ * Comment lines begin with a $ except $set which indicates the start of a
67 $ * Do not delete any comments; you may add comments for your use.
69 $ ** ----------------GENERAL LOCALIZATION NOTES SECTION END------------------
70 $ *************************************<L>*************************************
72 $ *****************************************************************************
74 $ ***** NOTE FOR MESSAGE CATALOG TRANSLATORS *****
76 $ There may be three types of messages in this file:
78 $ 1. Messages that appear in dialogs or are displayed to the user.
80 $ These messages are the default and they should ALL BE LOCALIZED.
81 $ Note that these messages do NOT have any identification (see the
82 $ comments for type 2 and 3 below).
84 $ 2. Messages that only appear in the DT error log file ($HOME?.dt/errorlog).
86 $ The localization of these messages is OPTIONAL. These messages are
87 $ identified by the following:
89 $ MESSAGES xx-yy WILL ONLY APPEAR IN THE DT ERRORLOG FILE
91 $ 3. Messages that should not be localized.
93 $ These messages are identified by the following:
95 $ DO NOT TRANSLATE or CHANGE or LOCALIZE MESSAGES xx-yy
97 $ ***** END (NOTE FOR MESSAGE CATALOG TRANSLATORS) *****
99 $ *****************************************************************************
102 $ ****** Module: motif.c ****(developer comment only)********
104 $ Messages 1 - 4 are used by the "numeric base" option button. Bin is
105 $ short for Binary, Oct is short for Octal, Dec is short for Decimal and
106 $ Hex is short for Hexidecimal. Keep these to 3 to 4 characters!
113 $ Messages 5 - 7 are used by the "display mode" option button. Eng is an
114 $ abbreviation for Engineering, Fix is an abbreviation for Fixed, and
115 $ Sci is an abbreviation for Scientific. Keep these to 3 characters.
123 $ Messages 9 - 11 refer to the three modes the Calculator can operate in.
124 $ They are listed in the "Mode" option button.
130 $ Message 12 - This is the title to the Calculator.
134 $ Messages 13 - 30 are the labels in the menubar pulldown menus and the
135 $ mnemonic's (the letter that gets underlined for keyboard access) that
138 $ Message 13 is the mnemonic for Message 14
145 $ Message 17 is the mnemonic for Message 18
150 $ Message 19 is the mnemonic for Message 20
155 $ Message 21 is the mnemonic for Message 22
160 $ Message 23 is the mnemonic for Message 24
165 $ Message 25 is the mnemonic for Message 26
170 $ Message 27 is the mnemonic for Message 28
175 $ Message 29 is the mnemonic for Message 30
180 $ Message 31 is an simple error message.
182 31 Could not open display.\n
184 $ Messages 32 and 33 are button labels for dialog boxes.
189 $ Message 34 is an simple error message.
191 34 Could not open the session file.
193 $ Message 35 - Gets put in the "Functions" popup when no functions have been
194 $ defined by the users.
196 35 No Functions Defined
198 $ Message 36 and 37 are titles to two types of dialogs.
201 37 Confirmation Notice
203 $ Message 38 and 39 are another label for the Help pulldown menu.
204 $ Message 38 is the mnemonic for Message 39
209 $ 40 - This is the mnemonic for the 'Memory Registers...' option on
210 $ the Option menu pulldown. (message 15 set 2)
214 $ 41 - This is the mnemonic for the 'ASCII Convert...' option on the Option
215 $ menu pulldown. (message 16 set 2)
219 $ 42 - This is the mnemonic for the 'Enter Function...' option on the Option
220 $ menu pulldown. (message 143 set 3)
224 $ 43 - This is the mnemonic for the 'Enter Constant...' option on the Option
225 $ menu pulldown. (message 142 set 3)
229 $ 44 - This is the mnemonic for the 'Exit' option on the Option
230 $ menu pulldown. (message 403 set 3)
234 $ 45 - This is the mnemonic for the 'Financial Registers' option on the Option
235 $ menu pulldown. (message 138 set 3)
239 $ 46 - This is the title for the popup menu.
243 $ Used as the title, In Asian languages labels need to be different
244 $ from the menu label.
249 $ ****** Module: text.c ****(developer comment only)********
251 $ NOTE: there is no Message 1 - 4.
253 $ Messages 5-47 are what gets displayed on each of the calculator keys.
259 $ Message 8 - Int is short for integer.
263 $ Message 9 - Frac is short for fraction.
267 $ Message 10 - Abs is short for absolute value.
271 $ Message 11 - Exp is short for exponent.
282 $ Message 19 - Sqrt is short for square root.
288 $ Message 22 - Bsp is short for backspace.
292 $ Message 23 - Clr is short for clear.
320 $ Messages 48-51 tell the user what mode they are in.
327 $ Messages 52-94 are what gets put on the keys when the user presses the 'Keys'
328 $ key. These are the keyboard keys which provide the given function. These are
329 $ also known as keyboard accelerators. These keys directly correspond to
330 $ Messages 5-47. (i.e 5 maps to 52, 6 maps to 53, etc.).
336 $ Message 56 is "Control f"
338 $ Message 57 is "Control u"
352 $ Message 69 is "Control h"
356 $ Message 70 is "Delete"
384 $ Messages 95-98 are keyboard acclerators for Messages 48-51
390 $ NOTE: Messages 99 - 106 aren't used.
392 $ Messages 107-118 are dialog/popup titles.
404 118 Trigonometric type
406 $ Messages 119-128 are the messages describing the Constants listed when the
407 $ Constant popup is brought up. NOTE: don't translate <=>
409 119 kilometers per hour <=> miles per hour.
410 120 square root of 2.
413 123 centimeters <=> inch.
414 124 degrees in a radian.
417 127 kilojoules <=> British thermal units.
418 128 cubic centimeters <=> cubic inches.
420 $ Messages 132-143 are labels in the dialogs.
428 138 Financial Registers
429 139 Calculator properties
435 $ NOTE: Message 144 - 147 aren't used.
437 $ Messages 148 is an error message used when the command line is used
438 $ improperly. %s tells the user what argument should come next.
442 $ Message 149 is an error message. %s is either the word "Function" or the
443 $ word "Constant" and %1d is a number 0-9. This message gets put in a
444 $ dialog when the user defines a new Function or Constant that already
445 $ exists and the dialog asks the user wheither to overwrite it. (Message 380)
447 149 %s %1d already exists.
449 $ Messages 153-162 are in the accuracy popup menu for the level of accuracy.
462 $ Messages 163-172 are in the Sto, Rcl, Exch popup menu's listing the registers.
475 $ Messages 188-191 are the numeric base types of operation.
482 $ Messages 192-194 are the display types.
488 $ Messages 195-197 are the trig. types.
494 $ Messages 198-201 are the modes of operation of the calculator.
501 $ Messages 203-207 are the labels in the Financial Registers dialog.
509 $ Messages 208-217 are the button labels of the financial portion of the
510 $ Calculator when it is in Financial mode.
516 $ Message 210 - Pv stands for Present Value.
520 $ Message 211 - Pmt stands for Payment
524 $ Message 212 - Fv stands for Future Value.
528 $ Message 213 means clear financial registers
532 $ Message 214 means Compounding term
536 $ Message 215 means double-declining depreciation
540 $ Message 216 means Straight-line depreciation
544 $ Message 217 means Sum-of-the-years-digits depreciation
548 $ Messages 218-226 are the button labels of the logical portion of the
549 $ Calculator when it is in Logical mode.
551 $ Message 218 means shift left
555 $ Message 219 means shift right
559 $ Message 220 means trunctate to the lower 16 bits.
563 $ Message 221 means trunctate to the lower 32 bits.
567 $ Message 222 means perform a logical OR
571 $ Message 223 means perform a logical AND
575 $ Message 224 means perform a logical NOT
579 $ Message 225 means perform a logical XOR
583 $ Message 226 means perform a logical XNOR
587 $ Messages 227-238 are the button labels of the Scientific portion of the
588 $ Calculator when it is in Scientific mode. This is the default mode.
591 $ Message 227 - Hyp is short for Hyperbolic
595 $ Message 228 - Inv is short for Inverse
608 $ Message 238 - Rand is short for Random
612 $ Messages 239-248 are the button labels of the financial portion of the
613 $ Calculator when it is in Financial mode when in "keys" mode. (i.e. button
617 $ Message 240 is 'Control r'
625 $ Message 245 is 'Control t'
627 $ Message 246 is 'Control d'
629 $ Message 247 is 'Control s'
631 $ Message 248 is 'Control y'
634 $ Messages 249-257 are the button labels of the logical portion of the
635 $ Calculator when it is in Logical mode when in "keys" mode. (i.e. button
648 $ Messages 258-269 are the button labels of the scientific portion of the
649 $ Calculator when it is in Scientific mode when in "keys" mode. (i.e. button
658 $ Message 264 is 'Control c'
660 $ Message 265 is 'Control s'
662 $ Message 266 is 'Control t'
668 $ Messages 270-272 are capitalized versions of the calculator MODES.
674 $ Messages 273-336 are error messages which will go into $HOME/.errorlog. They
675 $ are all math errors. Localization of these are optional.
677 273 *** SIGN NOT 0, +1 OR -1 IN MPADD2 CALL.\n
678 274 POSSIBLE OVERWRITING PROBLEM ***\n
679 275 *** N .LE. 1 IN CALL TO MPART1 ***\n
680 276 *** ABS(X) .GT. 1 IN CALL TO MPASIN ***\n
681 277 *** ERROR OCCURRED IN MPATAN, RESULT INCORRECT ***
682 278 *** B = %d ILLEGAL IN CALL TO MPCHK.\n
683 279 PERHAPS NOT SET BEFORE CALL TO AN MP ROUTINE ***\n
684 280 *** T = %d ILLEGAL IN CALL TO MPCHK.\n
685 282 *** M .LE. T IN CALL TO MPCHK.\n
686 284 *** B TOO LARGE IN CALL TO MPCHK ***\n
687 285 *** MXR TOO SMALL OR NOT SET TO DIM(R) BEFORE CALL
688 286 TO AN MP ROUTINE ***\n
689 287 *** MXR SHOULD BE AT LEAST %d*T + %d = %d ***\n
690 288 *** ACTUALLY MXR = %d, AND T= %d ***\n
691 289 *** FLOATING-POINT OVER/UNDER-FLOW IN MPCMD ***\n
692 290 *** FLOATING-POINT OVER/UNDER-FLOW IN MPCMR ***\n
693 291 *** J = 0 IN CALL TO MPCQM ***\n
694 292 *** ATTEMPTED DIVISION BY ZERO IN CALL TO MPDIV ***\n
695 293 *** OVERFLOW OCCURRED IN MPDIV ***\n
696 294 *** ATTEMPTED DIVISION BY ZERO IN CALL TO MPDIVI ***\n
697 295 *** INTEGER OVERFLOW IN MPDIVI, B TOO LARGE ***\n
698 296 *** OVERFLOW IN SUBROUTINE MPEXP ***\n
699 297 *** ERROR OCCURRED IN MPEXP, RESULT INCORRECT ***\n
700 298 *** ABS(X) NOT LESS THAN 1 IN CALL TO MPEXP1 ***\n
701 299 *** X NONPOSITIVE IN CALL TO MPLN ***\n
702 301 *** ERROR IN MPLN, ITERATION NOT CONVERGING ***\n
703 302 *** ABS(X) .GE. 1/B IN CALL TO MPLNS ***\n
704 303 *** ERROR OCCURRED IN MPLNS.\n
705 304 NEWTON ITERATION NOT CONVERGING PROPERLY ***\n
706 305 *** INTEGER OVERFLOW IN MPMUL, B TOO LARGE ***\n
707 306 *** ILLEGAL BASE B DIGIT IN CALL TO MPMUL.\n
708 307 POSSIBLE OVERWRITING PROBLEM ***\n
709 308 *** OVERFLOW OCCURRED IN MPMUL2 ***\n
710 309 *** INTEGER OVERFLOW IN MPMUL2, B TOO LARGE ***\n
711 310 *** ATTEMPTED DIVISION BY ZERO IN MPMULQ ***\n
712 311 POSSIBLE OVERWRITING PROBLEM ***\n
713 312 *** OVERFLOW OCCURRED IN MPNZR ***\n
714 313 *** CALL TO MPOVFL, MP OVERFLOW OCCURRED ***\n
715 314 *** ERROR OCCURRED IN MPPI, RESULT INCORRECT ***\n
716 315 *** ATTEMPT TO RAISE ZERO TO NEGATIVE POWER IN\n
717 316 CALL TO SUBROUTINE MPPWR ***\n
718 317 *** X NEGATIVE IN CALL TO MPPWR2 ***\n
719 318 *** X ZERO AND Y NONPOSITIVE IN CALL TO MPPWR2 ***\n
720 319 *** ATTEMPTED DIVISION BY ZERO IN CALL TO MPREC ***\n
721 320 *** ERROR OCCURRED IN MPREC, NEWTON ITERATION\n
722 321 NOT CONVERGING PROPERLY ***\n
723 322 *** OVERFLOW OCCURRED IN MPREC ***\n
724 323 *** N = 0 IN CALL TO MPROOT ***\n
725 324 *** ABS(N) TOO LARGE IN CALL TO MPROOT ***\n
726 325 *** X = 0 AND N NEGATIVE IN CALL TO MPROOT ***\n
727 326 *** X NEGATIVE AND N EVEN IN CALL TO MPROOT ***\n
728 327 *** ERROR OCCURRED IN MPROOT, NEWTON ITERATION\n
729 328 NOT CONVERGING PROPERLY ***\n
730 329 *** IDECPL .LE. 0 IN CALL TO MPSET ***\n
731 330 ITMAX2 TOO SMALL IN CALL TO MPSET ***\n
732 331 *** INCREASE ITMAX2 AND DIMENSIONS OF MP ARRAYS \n
733 332 TO AT LEAST %d ***\n
734 333 *** ERROR OCCURRED IN MPSIN, RESULT INCORRECT ***\n
735 334 *** ABS(X) .GT. 1 IN CALL TO MPSIN1 ***\n
736 335 *** X NEGATIVE IN CALL TO SUBROUTINE MPSQRT ***\n
737 336 *** TAN(X) TOO LARGE IN CALL TO MPTAN ***\n
739 $ Messages 337-343 are error messages from the command line options.
740 $ They also will only show up in the errorlog.
742 337 Calculator: -a needs accuracy value of 0-9.\n
744 $ Message 338 only goes to the errorlog file
746 338 Calculator: accuracy should be in the range 0-9\nWill set accuracy to the default: 2.\n
747 339 Calculator: base should be binary, octal, decimal or hexadecimal.\nWill set base to the default: decimal.\n
749 $ Message 340 - %s is the invalid display mode the user supplied.
750 $ This goes to $HOME/.dt/errorlog only.
752 340 Calculator: invalid display mode [%s]\n
754 $ Message 341 - %s is the invalid mode the user supplied.
755 $ This goes to $HOME/.dt/errorlog only.
757 341 Calculator: invalid mode [%s]\nWill set mode to its default: scientific\n
759 $ Message 342 - %s is the invalid trig. mode the user supplied.
760 $ This goes to $HOME/.dt/errorlog only.
762 342 Calculator: invalid trig. mode [%s].\n
763 343 Calculator: invalid session file.\n
765 $ NOTE: no Messages 344 through 350
767 $ Message 351 is a label in the ASCII convert dialog.
771 $ Message 352 is the title of the ASCII convert dialog.
775 $ Messages 353-355 are the Trigonometric types (abbreviations).
781 $ Messages 356-358 are the usage messages.
782 $ Don't translate dtcalc, -a, -m, -b, -no_menu_bar -? -notation -trig or
785 356 Calculator (dtcalc) Version 1.%1d\n\n
786 357 Usage: dtcalc [-a accuracy] [-m mode] [-b base] [-no_menu_bar] [-?]\n
787 358 \t [-notation display_notation] [-trig trignometric_type] [-session session_file]\n
789 $ Messages 359 and 360 not used
791 $ Messages 361 - 363 are button labels
798 $ Message 365 - 369 not used
800 $ Messages 370 - 372 get put under the Calculator display when the
801 $ corresponding calculator key is pressed, CLR is short for clear, HYP is
802 $ short for Hyperbolic, and INV is short for Inverse.
807 373 Invalid constant value
808 374 Invalid constant number.
809 375 Invalid function number.
811 $ Message 376 not used.
813 377 Constant not changed.
814 378 Numeric stack error
815 379 Operand stack error
816 380 Okay to overwrite?
817 381 Must be in the range 0 - 9
819 $ Message 382 not used.
823 385 Unable to save defaults.\n
825 $ NOTE: Messages 386 - 402 are not used.
829 $ Messages 452-478 are the actual characters that the keyboard accelerators
830 $ map to. These are the keyboard keys which provide the given function.
831 $ For example: Message 5 is the label of the Functions key, Message 52 is
832 $ the label of the Functions key when the "keys" button is pressed, and
833 $ finally Message 452 is the character (i.e. 'F') that the calculator uses
834 $ to represent the Functions key so if the user had a "function string" which
835 $ included 'F' the calculator know that the 'F' represents the Function key.
837 $ Message 452 - the Functions key.
841 $ Message 453 - the Constants key.
845 $ Message 454 - the Keys key.
849 $ Message 455 - the Int (integer) key.
853 $ Message 456 - the Frac (fraction) key.
854 $ \006 is "Control f"
858 $ Message 457 - the Abs (absolute value) key.
859 $ \025 is "Control u"
863 $ Message 458 - the Exp (exponent) key.
867 $ Message 459 - the accuracy key.
871 $ Message 460 - the Store key (memory register store)
875 $ Message 461 - the Recall key (memory register recall)
879 $ Message 462 - the Exchange key (memory register exchange)
883 $ Message 463 - the 1/x key
887 $ Message 464 - the x^2 key
891 $ Message 465 - the % key
895 $ Message 465 - the square root key
899 $ Message 467 - the Bsp (backspace) key.
900 $ \010 is "Control h"
904 $ Message 468 - the clear key.
905 $ Message 468 is "Delete" (Note: Message 513 is the same)
909 $ Message 469 - hex 'd' key
913 $ Message 470 - hex 'e' key
917 $ Message 471 - hex 'f' key
921 $ Message 472 - Change sign (i.e. +/-) key
925 $ Message 473 - hex 'a' key
929 $ Message 474 - hex 'b' key
933 $ Message 475 - hex 'c' key
937 $ Message 476 - multiplcation key
941 $ Message 477 - the quit key
945 $ NOTE: 478 and 479 are not used.
947 $ Messages 480-489 are the actual characters that the keyboard accelerators
948 $ map to when the calculator is in Financial mode. These are the keyboard
949 $ keys which provide the given function.
951 $ Message 480 - the Term key
955 $ Message 481 - the i%Yr (interest per year)
956 $ \022 is 'Control r'
960 $ Message 482 - the Pv (present value) key
964 $ Message 483 - the Pmt (payment) key
968 $ Message 484 - the Fv (future value) key
972 $ Message 485 - the clrgs (clear financial registers) key
976 $ Message 486 - the Ctrm (Compounding term) key
977 $ \024 is 'Control t'
981 $ Message 487 - the Ddb (Double-declining depreciation) key
982 $ \004 is 'Control d'
986 $ Message 488 - the Sln (Straight-line depreciation) key
987 $ \023 is 'Control s'
991 $ Message 489 - the Syd (Sum-of-the-years'-digits depreciation) key
992 $ \031 is 'Control y'
996 $ Messages 490-496 are the actual characters that the keyboard accelerators
997 $ map to when the calculator is in Logical mode. These are the keyboard
998 $ keys which provide the given function.
1000 $ Message 490 - the &16 (truncate to 16 bits) key.
1004 $ Message 491 - the &32 (truncate to 32 bits) key.
1008 $ Message 492 - the OR key
1012 $ Message 493 - the AND key
1016 $ Message 494 - the NOT key
1020 $ Message 495 - the XOR key
1024 $ Message 496 - the XNOR key
1028 $ NOTE 497 - 499 aren't used.
1030 $ Messages 500-511 are the actual characters that the keyboard accelerators
1031 $ map to when the calculator is in Scientific mode. These are the keyboard
1032 $ keys which provide the given function.
1034 $ Message 500 - the Hyp (Hyperbolic) key
1038 $ Message 501 - the Inv (Inverse) key
1042 $ Message 502 - the e^x key
1046 $ Message 503 - the 10^x key
1050 $ Message 504 - the y^x key
1054 $ Message 505 - the x! key
1058 $ Message 506 - the Cos (cosine) key
1059 $ \003 is 'Control c'
1063 $ Message 507 - the Sin (sine) key
1064 $ \023 is 'Control s'
1068 $ Message 507 - the Tan (tangent) key
1069 $ \024 is 'Control t'
1073 $ Message 509 - the Ln key
1077 $ Message 510 - the Log key
1081 $ Message 510 - the Rand (random) key
1085 $ Message 512, 513 are HP's del - Clr when it finds an ITF keyboard.
1089 $ Message 513 is 'Clear Display' on HP boxes
1093 $ added now capability to Financial regs: change the payment per year
1094 $ The following messages (514 - 517) refect this new button.
1101 $ Used as the title, In Asian languages the dialog title needs to be different
1102 $ from the menu label.
1104 518 Financial Registers
1107 $ ****** Module: help.c ****(developer comment only)********
1108 $ Message 1 is the title for the calculator help dialogs.
1110 2 You must select an item within Calculator.
1115 $ ****** Module: functions.c ****(developer comment only)********
1117 1 ERROR: Computation Failed
1118 2 ERROR: No Solution
1119 3 ERROR: Multiple Solutions
1121 5 ERROR:Invalid odd period values
1122 6 ERR:Num too large for operation
1123 7 Can't calculate 'Compound Term'\nwithout a non zero interest rate,\na non zero Present value, and\n a not zero Future value.\n
1126 $ ****** Version Information ********
1127 $ DO NOT TRANSLATE THESE MESSAGES
1128 $ DO NOT CHANGE THESE MESSAGES
1129 $ DO NOT LOCALIZE THESE MESSAGES
1130 $ These messages are used for the version information.
1132 1 "@(#)version_goes_here"
1133 2 "\n@(#)_DtMessage catalog source $XConsortium: dtcalc.msg /main/3 1995/11/01 12:41:03 rswiston $"