-
-
Notifications
You must be signed in to change notification settings - Fork 414
/
crowdin.yaml
53 lines (50 loc) · 1.77 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
# Crowdin configuration file
# see: https://developer.crowdin.com/configuration-file/
#
# you will need the CLI client
# see: https://crowdin.github.io/crowdin-cli/
#
# 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'
-
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%'