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.
* Add Japanese and Danish translations
Japanese translations by Yz2house.
Danish translations by mogensjaeger.
* Run translation script on Japanese and Danish
Also add back some keys ending with "0" that the script mistakenly
removed.
* Rename language file Danish to Dansk
Allows automatic loading of the Danish translation from the system
language.
Co-authored-by: Thanatomanic <6567747+Thanatomanic@users.noreply.github.com>
- The comboboxes and their respective labels for manually specifying a
camera and lens are now hidden when not in manual mode to not confuse
the user.
- All Lens Correction Profile widgets are now aligned.
- Labels changed to not mislead users - the tool lets you select a lens
profile, but it does not let you manually specify the individual
correction parameters as previously implied.
Closes#4995, closes#4997
- UI updated to use grid so that the options nicely align.
- "Clear only cached processing profiles" and "Clear all" buttons are
hidden when Preferences > Image Processing > Processing profile saving
location is set to "next to the input file", #4911
- Noise Reduction settings removed from
Preferences > Performance & Quality
- Performance & Quality renamed to Performance, container frame renamed
to Threads, since it applies to more than just the NR tool.
- Localization keys removed.
- TP_RETINEX_GAINTRANSMISSION_TOOLTIP key revised, closes#3299