Post Reply 
x11-calc Translators Needed
01-22-2022, 08:38 PM (This post was last modified: 01-24-2022 10:23 PM by Mike T..)
Post: #1
x11-calc Translators Needed
All,

Since I think I'have come up with a way to support multiple languages I'm looking for some help to translate the following messages to French, German, Italian, Spanish and Portuguese (please don't translate the labels as well or I'll never figure out what is what!).

Please note that I'm probably not going to be able to include any special characters like 'ç', 'è', or 'ü'.

I'm assuming that all the above normally use a comma as the decimal separator but this may not be the case so it would be helpful to know.

Code:
loading:             "Loading '%s'. "

saving:              "Saving '%s'. "

register_alloc:      "Run-time error\t: %s line : %d : Memory allocation failed! "

opening_file:        "Unable to open '%s'. "

unexpected_opcode:   "Unexpected opcode (%04o) at %1o-%04o in %s line : %d "

unexpected_error:    "Unexpected error at %1o-%04o in %s line : %d "

invalid_address:     "Address (%02o) out of range at %1o-%04o in %s line : %d "

invalid_register:    "Invalid register (REG[%d]) at %1o-%04o in %s line : %d "

usage:               "Usage: %s [OPTION]... [FILE] 
                      An RPN Calculator simulation for X11.  
                        -b  ADDR                 set break-point (octal) 
                        -i, OPCODE               set instruction trap (octal) 
                        -s,                      single step 
                        -t,                      trace execution 
                            --cursor             display cursor (default) 
                            --no-cursor          hide cursor 
                            --help               display this help and exit 
                            --version            output version information and exit "

invalid_operand:     "invalid operand(s) "

invalid_option:      "invalid option -- '%c' "

unrecognised_option: "unrecognised option '%s' "

invalid_number:      "not an octal number -- '%s'  "

address_range:       "out of range -- '%s'  "

missing_argument:    "option requires an argument -- '%s' "

invalid_argument:    "expected argument not -- '%c'  "

invalid_operand:     "invalid parameter(s) "

invalid_option:      "invalid option %s "

display:             "Cannot connect to X server '%s'. "

display_properties:  "Unable to get display properties. "

display_colour:      "Requires a %d-bit colour display. "

font:                "Cannot load font '%s'. "


My first attempt is here.

Thank you.

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
01-26-2022, 06:20 PM
Post: #2
RE: x11-calc Translators Needed
(01-22-2022 08:38 PM)Mike T. Wrote:  All,

Since I think I'have come up with a way to support multiple languages I'm looking for some help to translate the following messages to French, German, Italian, Spanish and Portuguese (please don't translate the labels as well or I'll never figure out what is what!).

Please note that I'm probably not going to be able to include any special characters like 'ç', 'è', or 'ü'.

I'm assuming that all the above normally use a comma as the decimal separator but this may not be the case so it would be helpful to know.

Code:
loading:             "Loading '%s'. "

saving:              "Saving '%s'. "

register_alloc:      "Run-time error\t: %s line : %d : Memory allocation failed! "

opening_file:        "Unable to open '%s'. "

unexpected_opcode:   "Unexpected opcode (%04o) at %1o-%04o in %s line : %d "

unexpected_error:    "Unexpected error at %1o-%04o in %s line : %d "

invalid_address:     "Address (%02o) out of range at %1o-%04o in %s line : %d "

invalid_register:    "Invalid register (REG[%d]) at %1o-%04o in %s line : %d "

usage:               "Usage: %s [OPTION]... [FILE] 
                      An RPN Calculator simulation for X11.  
                        -b  ADDR                 set break-point (octal) 
                        -i, OPCODE               set instruction trap (octal) 
                        -s,                      single step 
                        -t,                      trace execution 
                            --cursor             display cursor (default) 
                            --no-cursor          hide cursor 
                            --help               display this help and exit 
                            --version            output version information and exit "

invalid_operand:     "invalid operand(s) "

invalid_option:      "invalid option -- '%c' "

unrecognised_option: "unrecognised option '%s' "

invalid_number:      "not an octal number -- '%s'  "

address_range:       "out of range -- '%s'  "

missing_argument:    "option requires an argument -- '%s' "

invalid_argument:    "expected argument not -- '%c'  "

invalid_operand:     "invalid parameter(s) "

invalid_option:      "invalid option %s "

display:             "Cannot connect to X server '%s'. "

display_properties:  "Unable to get display properties. "

display_colour:      "Requires a %d-bit colour display. "

font:                "Cannot load font '%s'. "


My first attempt is here.

Thank you.

I can help with the Spanish translation.
Find all posts by this user
Quote this message in a reply
01-29-2022, 06:55 PM (This post was last modified: 02-01-2022 08:09 AM by Martin Hepperle.)
Post: #3
RE: x11-calc Translators Needed
German:

loading: "Lade '%s'. "

saving: "Speichere '%s'. "

register_alloc: "Laufzeitfehler\t: %s Zeile : %d : Speicheranforderung fehlgeschlagen! "

opening_file: "Kann '%s' nicht öffnen. "

unexpected_opcode: "Unerwarteter Opcode (%04o) an %1o-%04o in %s Zeile : %d "

---
Always this old joke...
???unexpected_error: "Unexpected error at %1o-%04o in %s line : %d "???
Huh? What about expected Errors?
Maybe "unhandled error at ... "?
---

unexpected_error: "Nicht abgefangener Fehler an %1o-%04o in %s Zeile : %d "



invalid_address: "Ungültige Adresse (%02o) an %1o-%04o in %s Zeile : %d "

invalid_register: "Ungültiges Register (REG[%d]) an %1o-%04o in %s Zeile : %d "

usage: "Verwendung: %s [OPTION]... [FILE]
Eine RPN Rechner-Simulation für X11.
-b ADDR Haltepunkt an Adresse setzen (octal)
-i, OPCODE Haltepunkt auf Opcode setzen (octal)
-s, Einzelschritt
-t, Ausführung protokollieren
--cursor Cursor anzeigen (Default)
--no-cursor Cursor verbergen
--help Diese Hilfe anzeigen und dann beenden
--version Versions-Information anzeigen und dann beenden "

--- maybe better sülit into two for singular and plural? ---
invalid_operand: "Ungültige(r) Operand(en) "

invalid_option: "Ungültige Option -- '%c' "

unrecognised_option: "Unbekannte Option '%s' "

invalid_number: "keine gültige Oktalzahl -- '%s'"

address_range: "Außerhalb des Adressbereichs -- '%s' "

missing_argument: "Option benötigt ein Argument -- '%s' "

invalid_argument: "Argument erwartet, nicht -- '%c' "

--- maybe better split into two for singular and plural? ---
invalid_operand: "Ungültige(r) Parameter "

invalid_option: "Ungültige Option %s "

display: "Kann keine Verbindung zum X Server '%s' herstellen. "

display_properties: "Kann Eigenschaften des Displays nicht abfragen. "

display_colour: "Ein %d-bit Farbdisplay wird benötigt. "

font: "Kann Schrift '%s' nicht laden. "
Find all posts by this user
Quote this message in a reply
01-31-2022, 08:31 PM (This post was last modified: 01-31-2022 08:31 PM by Mike T..)
Post: #4
RE: x11-calc Translators Needed
Thank you

I now have Spanish and German translations.

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)