11 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
Thanatomanic
4059ae5bca
Remove language keys from translations that were obsoleted (long ago) and therefore no longer present in default (#6593) 2022-10-02 08:25:52 +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
Thanatomanic
93dfb09eaf
Remove the HISTOGRAM_TOOLTIP_RAW from all language files (#6554)
It was a leftover from c03efe4878 where new strings were introduced to toggle the histogram types.
2022-08-22 20:45:03 +02:00
Lawrence Lee
7a88a0c6c0 Fix geometry transform method history message
Fix capitalization of the history message key in the language files.
2021-08-15 12:57:03 -07:00
Morgan Hardwood
364fe35023 generateTranslationDiffs 2020-01-27 16:59:44 +01:00
Morgan Hardwood
898527732b ./tools/generateTranslationDiffs 2019-12-23 12:42:19 +01:00
Morgan Hardwood
164fab28e0 Added Slovenian translation
Translation by Matjaž Jeran / matjazjeran

Closes #5488
2019-12-02 11:25:57 +01:00