8 Commits

Author SHA1 Message Date
Lawrence Lee
6bd822352e
Display actual language names in preferences
Add ability to set metadata variables in the language files.
Use the LANGUAGE_DISPLAY_NAME metadata variable value in preferences to
show the languages.

Metadata variables are defined in the first section of a language file,
i.e. the comments at the beginning of the file. At most one variable can
be defined per line. The definition takes the following format:
    #<header><whitespace>@<key>=<value>
where:
    <header> is any sequence of non-whitespace characters
    <whitespace> is any non-empty sequence of whitespace characters
    <key> is the metadata key name
    <value> is the metadata value
For example,
    #101 @LANGUAGE_DISPLAY_NAME=English (US)
defines a metadata key "LANGUAGE_DISPLAY_NAME" with value
"English (US)". Lines that do not match the format are ignored.
2023-07-04 17:52:01 -07:00
Morgan Hardwood
ba2a15a6af Espanol (Castellano) translation updated by TechXavAl
Closes #6597
2022-10-22 20:18:04 +02:00
Morgan Hardwood
c113cffdf9 generateUnusedKeys 2022-09-29 00:47:59 +02:00
Morgan Hardwood
3ef618c236 generateTranslationDiffs 2022-09-29 00:44:15 +02:00
Morgan Hardwood
ea37cfc696 Delete unused keys to match default
Unused keys from localization files removes as per default.
2022-09-29 00:40:45 +02:00
Morgan Hardwood
727f3f7ba2 Consistently use _TOOLTIP suffix for tooltip keys 2022-09-28 23:24:51 +02:00
Desmis
200e2de86b Add TP_LOCALLAB_LOGAUTOGRAYJZ_TOOLTIP to Espagnol(Castellano) 2022-08-27 06:22:45 +02:00
Lawrence37
dfede05312
Add Castellano language, fix some default language detection (#6547)
Closes #6530 
Language file provided by Francisco Lorés and Javier Bartol
2022-08-26 10:44:22 +02:00