forked from pbek/QOwnNotes
-
Notifications
You must be signed in to change notification settings - Fork 1
/
crowdin.yaml
112 lines (109 loc) · 3.14 KB
/
crowdin.yaml
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
# Crowdin configuration file
# see: https://support.crowdin.com/configuration-file/
#
# you will need the CLI client
# see: https://support.crowdin.com/cli-tool/
#
# Crowdin supports a lot of files: https://support.crowdin.com/supported-formats/
#
project_identifier: qownnotes
project_id: 158883
# the api token has to be provided by ~/.crowdin.yaml
# generate a personal token on https://crowdin.com/settings#api-key
#api_token: XXXX
preserve_hierarchy: true
files:
-
# source files filter
source: '/src/languages/QOwnNotes_en.ts'
# where translations live
translation: '/src/languages/QOwnNotes_%locale_with_underscore%.ts'
#translation: '/src/languages/QOwnNotes_%locale%.ts'
#translation: 'src/languages/QOwnNotes_%two_letters_code%.ts'
#"languages_mapping" : {
#"two_letters_code" : {
#"pt" : "pt_PT",
#"pt-BR" : "pt_BR"
#}
#}
dest: '/QOwnNotes_en.ts'
"languages_mapping" : {
"locale_with_underscore" : {
"ar_SA" : "ar",
"ca_ES" : "ca",
"cs_CZ" : "cs",
"de_DE" : "de",
"es_ES" : "es",
"fr_FR" : "fr",
"hr_HR" : "hr",
"hu_HU" : "hu",
"sv_SE" : "sv",
"it_IT" : "it",
"ja_JP" : "ja",
"nl_NL" : "nl",
"pl_PL" : "pl",
"ru_RU" : "ru",
"uk_UA" : "uk",
"id_ID" : "id",
"bn_BD" : "bn",
"tr_TR" : "tr",
"tl_PH" : "tl",
"fil_PH" : "fil",
"ceb_PH" : "ceb",
"hi_IN" : "hi",
"gl_ES" : "gl",
"no_NO" : "no",
"no_DK" : "da",
"ro_RO" : "ro",
"sk_SK" : "sk",
"sl_SI" : "sl",
"eu_ES" : "eu",
"sr_SP" : "sr",
"fa_IR" : "fa",
"bg_BG" : "bg",
"is_IS" : "is",
"pa_IN" : "pa",
"sq_AL" : "sq",
"he_IL" : "he",
"yi_DE" : "yi",
"th_TH" : "th",
"sn_ZW" : "sn",
"km_KH" : "km",
"si_LK" : "si",
"zu_ZA" : "zu",
"xh_ZA" : "xh",
"ms_MY" : "ms",
"mi_NZ" : "mi",
"ga_IE" : "ga",
"uz_UZ" : "uz",
"vi_VN" : "vi",
"lv_LV" : "vl",
"ku_TR" : "ku",
"lt_LT" : "lt",
"bs_BA" : "bs",
"mk_MK" : "mk",
"ko_KR" : "ko",
"et_EE" : "et",
}
}
-
source: '/webpage/src/index.md'
translation: '/webpage/src/%two_letters_code%/%original_file_name%'
-
source: '/webpage/src/contributing/*.md'
translation: '/webpage/src/%two_letters_code%/contributing/%original_file_name%'
-
source: '/webpage/src/editor/*.md'
translation: '/webpage/src/%two_letters_code%/editor/%original_file_name%'
-
source: '/webpage/src/faq/*.md'
translation: '/webpage/src/%two_letters_code%/faq/%original_file_name%'
-
source: '/webpage/src/getting-started/*.md'
translation: '/webpage/src/%two_letters_code%/getting-started/%original_file_name%'
-
source: '/webpage/src/installation/*.md'
translation: '/webpage/src/%two_letters_code%/installation/%original_file_name%'
-
source: '/webpage/src/scripting/*.md'
translation: '/webpage/src/%two_letters_code%/scripting/%original_file_name%'