blob: 3e7f585094a91ddc711651d5928f24ad04c7e7cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
SYMBIAN_LANG.af = 34 #Afrikaans
SYMBIAN_LANG.sq = 35 #Albanian
SYMBIAN_LANG.am = 36 #Amharic
SYMBIAN_LANG.ar = 37 #Arabic
SYMBIAN_LANG.hy = 38 #Armenian
SYMBIAN_LANG.eu = 102 #Basque
SYMBIAN_LANG.bn = 41 #Bengali
SYMBIAN_LANG.bg = 42 #Bulgarian
SYMBIAN_LANG.my = 43 #Burmese
SYMBIAN_LANG.be = 40 #Byelorussian
SYMBIAN_LANG.ca = 44 #Catalan
SYMBIAN_LANG.zh = 31 #Chinese
SYMBIAN_LANG.hr = 45 #Croatian
SYMBIAN_LANG.cs = 25 #Czech
SYMBIAN_LANG.da = 07 #Danish
SYMBIAN_LANG.nl = 18 #Dutch
SYMBIAN_LANG.en = 01 #English(UK)
SYMBIAN_LANG.et = 49 #Estonian
SYMBIAN_LANG.fi = 09 #Finnish
SYMBIAN_LANG.fr = 02 #French
SYMBIAN_LANG.gd = 52 #Gaelic
SYMBIAN_LANG.gl = 103 #Galician
SYMBIAN_LANG.ka = 53 #Georgian
SYMBIAN_LANG.de = 03 #German
SYMBIAN_LANG.el = 54 #Greek
SYMBIAN_LANG.gu = 56 #Gujarati
SYMBIAN_LANG.he = 57 #Hebrew
SYMBIAN_LANG.hi = 58 #Hindi
SYMBIAN_LANG.hu = 17 #Hungarian
SYMBIAN_LANG.is = 15 #Icelandic
SYMBIAN_LANG.id = 59 #Indonesian
SYMBIAN_LANG.ga = 60 #Irish
SYMBIAN_LANG.it = 05 #Italian
SYMBIAN_LANG.ja = 32 #Japanese
SYMBIAN_LANG.kn = 62 #Kannada
SYMBIAN_LANG.kk = 63 #Kazakh
SYMBIAN_LANG.ko = 65 #Korean
SYMBIAN_LANG.lo = 66 #Laothian
SYMBIAN_LANG.lv = 67 #Latvian
SYMBIAN_LANG.lt = 68 #Lithuanian
SYMBIAN_LANG.mk = 69 #Macedonian
SYMBIAN_LANG.ms = 70 #Malay
SYMBIAN_LANG.ml = 71 #Malayalam
SYMBIAN_LANG.mr = 72 #Marathi
SYMBIAN_LANG.mo = 73 #Moldavian
SYMBIAN_LANG.mn = 74 #Mongolian
SYMBIAN_LANG.nb = 08 #Norwegian
SYMBIAN_LANG.nn = 75 #Nynorsk
SYMBIAN_LANG.fa = 50 #Persian
SYMBIAN_LANG.pl = 27 #Polish
SYMBIAN_LANG.pt = 13 #Portuguese
SYMBIAN_LANG.pa = 77 #Punjabi
SYMBIAN_LANG.ro = 78 #Romanian
SYMBIAN_LANG.ru = 16 #Russian
SYMBIAN_LANG.sr = 79 #Serbian
SYMBIAN_LANG.si = 80 #Singhalese
SYMBIAN_LANG.sk = 26 #Slovak
SYMBIAN_LANG.sl = 28 #Slovenian
SYMBIAN_LANG.so = 81 #Somali
SYMBIAN_LANG.st = 101 #South Sotho/Sesotho
SYMBIAN_LANG.es = 04 #Spanish
SYMBIAN_LANG.sw = 84 #Swahili
SYMBIAN_LANG.sv = 06 #Swedish
SYMBIAN_LANG.tl = 39 #Tagalog
SYMBIAN_LANG.ta = 87 #Tamil
SYMBIAN_LANG.te = 88 #Telugu
SYMBIAN_LANG.th = 33 #Thai
SYMBIAN_LANG.bo = 89 #Tibetan
SYMBIAN_LANG.ti = 90 #Tigrinya
SYMBIAN_LANG.tr = 14 #Turkish
SYMBIAN_LANG.tk = 92 #Turkmen
SYMBIAN_LANG.uk = 93 #Ukrainian
SYMBIAN_LANG.ur = 94 #Urdu
SYMBIAN_LANG.vi = 96 #Vietnamese
SYMBIAN_LANG.cy = 97 #Welsh
SYMBIAN_LANG.zu = 98 #Zulu
# Regional dialects
SYMBIAN_LANG.en_us = 10 #American English
SYMBIAN_LANG.fr_be = 21 #Belgian French
SYMBIAN_LANG.pt_br = 76 #Brazilian Portuguese
SYMBIAN_LANG.en_ca = 46 #Canadian English
SYMBIAN_LANG.fr_ca = 51 #Canadian French
SYMBIAN_LANG.el_cy = 55 #Cyprus Greek
SYMBIAN_LANG.tr_cy = 91 #Cyprus Turkish
SYMBIAN_LANG.en_tw = 157 #English as appropriate for use in Taiwan
SYMBIAN_LANG.en_hk = 158 #English as appropriate for use in Hong Kong
SYMBIAN_LANG.en_cn = 159 #English as appropriate for use in the Peoples Republic of China
SYMBIAN_LANG.en_jp = 160 #English as appropriate for use in Japan
SYMBIAN_LANG.en_th = 161 #English as appropriate for use in Thailand
SYMBIAN_LANG.sv_fi = 85 #Finland Swedish
SYMBIAN_LANG.zh_hk = 30 #HongKong Chinese
SYMBIAN_LANG.es_419 = 83 #Latin American Spanish
SYMBIAN_LANG.en_za = 48 #South African English
SYMBIAN_LANG.fr_ch = 11 #Swiss French
SYMBIAN_LANG.de_ch = 12 #Swiss German
SYMBIAN_LANG.it_ch = 61 #Swiss Italian
SYMBIAN_LANG.zh_tw = 29 #Taiwan Chinese
isEmpty(SYMBIAN_MATCHED_LANGUAGES) {
matchSymbianLanguages()
}
# If there are translations that do not have Symbian language code defined for that exact
# language + country combination, but have Symbian language code defined for just the language,
# map the language + country combination to the same value as the plain language.
for(language, SYMBIAN_UNMAPPED_LANGUAGES) {
languageVar = SYMBIAN_LANG.$${language}
fallbackLanguageVar = SYMBIAN_LANG.$$eval(SYMBIAN_LANGUAGE_FALLBACK.$$language)
$$languageVar = $$eval($$fallbackLanguageVar)
}
!isEmpty(SYMBIAN_MATCHED_TRANSLATIONS) {
# Generate dependencies to .ts files for pkg files
template_pkg_target.depends += $$SYMBIAN_MATCHED_TRANSLATIONS
installer_pkg_target.depends += $$SYMBIAN_MATCHED_TRANSLATIONS
stub_pkg_target.depends += $$SYMBIAN_MATCHED_TRANSLATIONS
}
|