-
Notifications
You must be signed in to change notification settings - Fork 0
/
slang.yaml
52 lines (52 loc) · 1 KB
/
slang.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
base_locale: en
fallback_strategy: base_locale
input_directory: lib/i18n
input_file_pattern: .i18n.json
output_directory: lib/i18n
output_file_name: translations.g.dart
output_format: single_file
locale_handling: true
flutter_integration: true
namespaces: false
translate_var: Loc
enum_name: AppLocale
translation_class_visibility: public
key_case: snake
key_map_case: snake
param_case: pascal
string_interpolation: double_braces
flat_map: false
translation_overrides: false
timestamp: true
maps:
- error.codes
- category
- iconNames
pluralization:
auto: cardinal
default_parameter: n
cardinal:
- someKey.apple
ordinal:
- someKey.place
contexts:
gender_context:
enum:
- male
- female
paths:
- my.path.to.greet
default_parameter: gender
generate_enum: true
interfaces:
PageData: onboarding.pages.*
PageData2:
paths:
- my.path
- cool.pages.*
attributes:
- String title
- String? content
obfuscation:
enabled: false
secret: somekey