Pipette and "On Preview Widgets" branch. See issue 227
The pipette part is already working quite nice but need to be finished. The widgets part needs more work...
This commit is contained in:
1407
rtdata/languages/Catala
Normal file
1407
rtdata/languages/Catala
Normal file
File diff suppressed because it is too large
Load Diff
1443
rtdata/languages/Chinese (Simplified)
Normal file
1443
rtdata/languages/Chinese (Simplified)
Normal file
File diff suppressed because it is too large
Load Diff
1444
rtdata/languages/Chinese (Traditional)
Normal file
1444
rtdata/languages/Chinese (Traditional)
Normal file
File diff suppressed because it is too large
Load Diff
1421
rtdata/languages/Czech
Normal file
1421
rtdata/languages/Czech
Normal file
File diff suppressed because it is too large
Load Diff
1441
rtdata/languages/Dansk
Normal file
1441
rtdata/languages/Dansk
Normal file
File diff suppressed because it is too large
Load Diff
1457
rtdata/languages/Deutsch
Normal file
1457
rtdata/languages/Deutsch
Normal file
File diff suppressed because it is too large
Load Diff
1395
rtdata/languages/English (UK)
Normal file
1395
rtdata/languages/English (UK)
Normal file
File diff suppressed because it is too large
Load Diff
1395
rtdata/languages/English (US)
Normal file
1395
rtdata/languages/English (US)
Normal file
File diff suppressed because it is too large
Load Diff
1562
rtdata/languages/Espanol
Normal file
1562
rtdata/languages/Espanol
Normal file
File diff suppressed because it is too large
Load Diff
1441
rtdata/languages/Euskara
Normal file
1441
rtdata/languages/Euskara
Normal file
File diff suppressed because it is too large
Load Diff
1395
rtdata/languages/Francais
Normal file
1395
rtdata/languages/Francais
Normal file
File diff suppressed because it is too large
Load Diff
1440
rtdata/languages/Greek
Normal file
1440
rtdata/languages/Greek
Normal file
File diff suppressed because it is too large
Load Diff
1441
rtdata/languages/Hebrew
Normal file
1441
rtdata/languages/Hebrew
Normal file
File diff suppressed because it is too large
Load Diff
1410
rtdata/languages/Italiano
Normal file
1410
rtdata/languages/Italiano
Normal file
File diff suppressed because it is too large
Load Diff
1407
rtdata/languages/Japanese
Normal file
1407
rtdata/languages/Japanese
Normal file
File diff suppressed because it is too large
Load Diff
18
rtdata/languages/LICENSE
Executable file
18
rtdata/languages/LICENSE
Executable file
@@ -0,0 +1,18 @@
|
||||
# All files in this directory are part of RawTherapee.
|
||||
#
|
||||
# Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
|
||||
#
|
||||
# RawTherapee is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# RawTherapee is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
1441
rtdata/languages/Latvian
Normal file
1441
rtdata/languages/Latvian
Normal file
File diff suppressed because it is too large
Load Diff
1464
rtdata/languages/Magyar
Normal file
1464
rtdata/languages/Magyar
Normal file
File diff suppressed because it is too large
Load Diff
1414
rtdata/languages/Nederlands
Normal file
1414
rtdata/languages/Nederlands
Normal file
File diff suppressed because it is too large
Load Diff
1440
rtdata/languages/Norsk BM
Normal file
1440
rtdata/languages/Norsk BM
Normal file
File diff suppressed because it is too large
Load Diff
1476
rtdata/languages/Polish
Normal file
1476
rtdata/languages/Polish
Normal file
File diff suppressed because it is too large
Load Diff
1476
rtdata/languages/Polish (Latin Characters)
Normal file
1476
rtdata/languages/Polish (Latin Characters)
Normal file
File diff suppressed because it is too large
Load Diff
1441
rtdata/languages/Portugues (Brasil)
Normal file
1441
rtdata/languages/Portugues (Brasil)
Normal file
File diff suppressed because it is too large
Load Diff
66
rtdata/languages/README
Normal file
66
rtdata/languages/README
Normal file
@@ -0,0 +1,66 @@
|
||||
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
|
1404
rtdata/languages/Russian
Normal file
1404
rtdata/languages/Russian
Normal file
File diff suppressed because it is too large
Load Diff
1465
rtdata/languages/Serbian (Cyrilic Characters)
Normal file
1465
rtdata/languages/Serbian (Cyrilic Characters)
Normal file
File diff suppressed because it is too large
Load Diff
1465
rtdata/languages/Serbian (Latin Characters)
Normal file
1465
rtdata/languages/Serbian (Latin Characters)
Normal file
File diff suppressed because it is too large
Load Diff
1453
rtdata/languages/Slovak
Normal file
1453
rtdata/languages/Slovak
Normal file
File diff suppressed because it is too large
Load Diff
1441
rtdata/languages/Suomi
Normal file
1441
rtdata/languages/Suomi
Normal file
File diff suppressed because it is too large
Load Diff
1395
rtdata/languages/Swedish
Normal file
1395
rtdata/languages/Swedish
Normal file
File diff suppressed because it is too large
Load Diff
1440
rtdata/languages/Turkish
Normal file
1440
rtdata/languages/Turkish
Normal file
File diff suppressed because it is too large
Load Diff
1395
rtdata/languages/default
Normal file
1395
rtdata/languages/default
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user