-
Notifications
You must be signed in to change notification settings - Fork 1
/
.phrase.yml
91 lines (83 loc) · 2.81 KB
/
.phrase.yml
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
#
# Specify where our strings live.
#
# This is read by Phrase when it does a GitHub import.
#
# Documentation (see especially the sample config file linked from this page):
# https://support.phrase.com/hc/en-us/articles/5784093898908-Create-a-CLI-Configuration-File-Strings-
#
phrase:
project_id: "14fb7d64f7ca5bfa104cc84436aa836c"
file_format: properties
push:
sources:
- file: ./src/main/resources/i18n/Countries_en.properties
params:
file_encoding: UTF-8
format_options:
escape_single_quotes: true
locale_id: "3f1e66499c98b23d9c57aa01530c0c3e"
skip_upload_tags: true
tags: countries
update_descriptions: true
update_translations: true
- file: ./src/main/resources/i18n/CountrySubdivisions_en.properties
params:
file_encoding: UTF-8
format_options:
escape_single_quotes: true
locale_id: "3f1e66499c98b23d9c57aa01530c0c3e"
skip_upload_tags: true
tags: country_subdivisions
update_descriptions: true
update_translations: true
- file: ./src/main/resources/i18n/Enums_en.properties
params:
file_encoding: UTF-8
format_options:
escape_single_quotes: true
locale_id: "3f1e66499c98b23d9c57aa01530c0c3e"
skip_upload_tags: true
tags: enums
update_descriptions: true
update_translations: true
- file: ./src/main/resources/i18n/Messages_en.properties
params:
file_encoding: UTF-8
format_options:
escape_single_quotes: true
locale_id: "3f1e66499c98b23d9c57aa01530c0c3e"
skip_upload_tags: true
tags: messages
update_descriptions: true
update_translations: true
pull:
targets:
- file: ./src/main/resources/i18n/Countries_<locale_name>.properties
params:
encoding: UTF-8
format_options:
escape_single_quotes: true
omit_separator_space: true
tags: countries
- file: ./src/main/resources/i18n/CountrySubdivisions_<locale_name>.properties
params:
encoding: UTF-8
format_options:
escape_single_quotes: true
omit_separator_space: true
tags: country_subdivisions
- file: ./src/main/resources/i18n/Enums_<locale_name>.properties
params:
encoding: UTF-8
format_options:
escape_single_quotes: true
omit_separator_space: true
tags: enums
- file: ./src/main/resources/i18n/Messages_<locale_name>.properties
params:
encoding: UTF-8
format_options:
escape_single_quotes: true
omit_separator_space: true
tags: messages