Desmis 69c1caafa1
Whitebalance - Removed GUI Itcwb from whitebalance and preferences (#6710)
* Change Preferences for observer whitebalance

* Change label white balance preferences

* Added Preferences 2 parameters Whitebalance auto correlation

* Add Preference Temperature correlation - sort and tooltip

* Change to rtengine cmakelist

* Apply patch from Lawrence37

* Small comment code

* Change defaut order prefrences wba

* Added force extra algoritm to Preferences

* Harmonize itcwb sorted

* Add fields to Preferences Itcwb

* Change settings precision Itcwb in Preferences

* Change tooltip Itcwb preferences

* First stage Itwcwb settings in main with pp3 and selction in preferences

* Second stage Itwcwb settings in main with pp3 and selction in preferences

* Third stage Itwcwb settings in main with pp3 and selction in preferences

* Add itcwb_fgreen student - green optimize

* Add Itcwb green range

* Itcwb history msg - first tooltips

* Remove force-extra because always used

* reused force-extra to use entire CIExy for sampling datas

* Removed inwanted text in console

* Set sensitive for Itcwbframe

* Various change - comment ..

* Small code review - chnage tooltips

* Remove settings itcwb_delta in Rawimagesource.cc to simplify

* Remove Itcwb Observer - put a single observer for everything - general - itcwb

* Fixed conflicts in colortemp.cc

* Various change - fixed bug - simplify

* Fixed limits for settings pp3 - chnage tooltip

* Clean unused code

* Put itcwb_findgreen in GUI

* Added checkbox 'Low sampling' to find the settings of 5.9

* Set Observer to Observer 10° - preferences default

* Missing setting Low sampling

* Show white balance multipliers

* Change default settings - Itcwb_sorted

* Move observer from preferences to WB

* Make observer selectable for camera WB

* Ensure observer checkbox is in sync with PP3

* Set default ITCWB low sampling for PP3s from <=5.9

Ensure temperature correlation white balance algorithm 1 is used when
opening edits from versions 5.9 and earlier.

* Removed unused White-balance frame in Preferences

* Comment some GUI sliders checkbox

* Removed all GUI itcwb in preferences and whitebalance

* Removed forgotten code in preferences

* Remove labels tooltips history Itcwb

---------

Co-authored-by: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com>
2023-03-19 07:47:58 +01:00
..
2022-09-30 09:53:40 +02:00
2022-09-29 00:47:59 +02:00
2022-09-29 00:47:59 +02:00

This is the directory where all translations should go.

Translations are loaded for a given term at three levels:

  1) default
  2) <Language>
  3) <Language> <Locale/Variant>

Developers who are adding a new feature should add new strings *only* to 
default.  This file should be comprised of basic English text.  It will be used 
in the event that there are no more specific languages specified.  Once you 
have modified default, you should run ./tools/generateTranslationDiffs (Bash 
script) which will re-generate the localizations with commented out additions 
which you have just added.

Translators should in general implement the <Language> file.  This is the 
generic translation for a given language; for instance, 'French', 'German', 
'Norsk', etc.  If a string exists in this file (and the user has specified this 
language), then RawTherapee will override the value in default with the value 
in <Language>.  Please note that the filename for this file must not contain 
any spaces.

In some situations, translations may differ based on region, locale, etc.  A 
good example of this is the difference in spelling between 'color' (American 
English) and 'colour' (British English). In this case, the vast majority of 
strings are identical between English and English (UK); however, to keep the 
proper spelling in Britain, we have a locale file called 'English (UK)' which
contains the differences between the two.  RawTherapee uses locale files when:
  a) The user has selected a language which has a space in the file name
  b) There is another file which is identical to the locale file up until the 
     space (i.e., 'English' to the locale file 'English (UK)').

If a locale file is used, it is applied in the same manner as <Language> is to 
default.  The locale will override any keys present from the ones in the 
language file (and in turn, the default).

After the generateTranslationDiffs has been run, all untranslated terms for 
a given language/locale will exist at the end of the file, prefixed by a ! 
comment marker.  Translators should go through this section of the file and 
translate all terms which they can. After you have translated a line, just 
remove the ! comment marker.  Comments may be included using the #xx comment 
marker, where xx is a numeric prefix used to make sure automated sorting keeps 
comments in the right order, e.g.:
  #00 Comment line 1...
  #01 Line 2...
  #02 3, etc.

To create a file with only Latin characters from a non-Latin one, you can use 
sed with the "y" command. For example, to create a latin-only "Polish (Latin 
Characters)" file from the non-latin "Polish" one:
  sed 'y/ĄĆĘŁŃÓŚŹŻąćęłńóśźż/ACELNOSZZacelnoszz/' < Polish > "Polish (Latin Characters)"

You can use this Wikipedia "Character sets" category page to help you find all 
the characters in the language file you want to convert into Latin-only:
  http://en.wikipedia.org/wiki/Category:Character_sets

To convert all line terminators in all language files to CRLF (dos/mac/unix)
you can use vim:
  a) cd rtdata/languages
     vim
  b) In vim, type:
     :set ffs=dos
     :args *
     :argdo w
  c) vim will process all language files. Once done, you can close it:
     :q