-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yaml
51 lines (51 loc) · 1.42 KB
/
build.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
targets:
$default:
builders:
fast_i18n:
options:
base_locale: en
fallback_strategy: base_locale
input_directory: lib/i18n
input_file_pattern: .json
output_directory: lib/i18n
output_file_pattern: .gen.dart # deprecated, use output_file_name
output_file_name: translations.gen.dart
output_format: single_file
locale_handling: true
namespaces: false
translate_var: Loc
enum_name: AppLocale
translation_class_visibility: public
key_case: camel
key_map_case: camel
param_case: camel
string_interpolation: double_braces
flat_map: false
timestamp: true
maps:
- error.codes
- category
- iconNames
pluralization:
auto: cardinal
cardinal:
- someKey.apple
ordinal:
- someKey.place
contexts:
gender_context:
enum:
- male
- female
auto: false
paths:
- my.path.to.greet
interfaces:
PageData: onboarding.pages.*
PageData2:
paths:
- my.path
- cool.pages.*
attributes:
- String title
- String? content