forked from glebm/i18n-tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
en.yml
129 lines (129 loc) · 5.72 KB
/
en.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
---
en:
i18n_tasks:
add_missing:
added:
one: Added %{count} key
other: Added %{count} keys
cmd:
args:
default_text: 'Default: %{value}'
desc:
all_locales: Do not expect key patterns to start with a locale, instead apply them to all
locales implicitly.
confirm: Confirm automatically
data_format: 'Data format: %{valid_text}.'
keep_order: Keep the order of the keys
key_pattern: Filter by key pattern (e.g. 'common.*')
key_pattern_to_rename: Full key (pattern) to rename. Required
locale: :i18n_tasks.common.locale
locale_to_translate_from: Locale to translate from
locales_filter: 'Locale(s) to process. Special: base'
missing_types: 'Filter by types: %{valid}'
new_key_name: New name, interpolates original name as %{key}. Required
nostdin: Do not read from stdin
out_format: 'Output format: %{valid_text}'
pattern_router: 'Use pattern router: keys moved per config data.write'
strict: >-
Avoid inferring dynamic key usages such as t("cats.#{cat}.name"). Takes precedence over
the config setting if set.
translation_backend: Translation backend (google or deepl)
value: >-
Value. Interpolates: %{value}, %{human_key}, %{key}, %{default}, %{value_or_human_key},
%{value_or_default_or_human_key}
desc:
add_missing: add missing keys to locale data
check_consistent_interpolations: verify that all translations use correct interpolation variables
check_normalized: verify that all translation data is normalized
config: display i18n-tasks configuration
data: show locale data
data_merge: merge locale data with trees
data_remove: remove keys present in tree from data
data_write: replace locale data with tree
eq_base: show translations equal to base value
find: show where keys are used in the code
gem_path: show path to the gem
health: is everything OK?
irb: start REPL session within i18n-tasks context
missing: show missing translations
mv: rename/merge the keys in locale data that match the given pattern
normalize: 'normalize translation data: sort and move to the right files'
remove_unused: remove unused keys
rm: remove the keys in locale data that match the given pattern
translate_missing: translate missing keys with Google Translate or DeepL Pro
tree_convert: convert tree between formats
tree_filter: filter tree by key pattern
tree_merge: merge trees
tree_mv_key: rename/merge/remove the keys matching the given pattern
tree_set_value: set values of keys, optionally match a pattern
tree_subtract: tree A minus the keys in tree B
tree_translate: Google Translate a tree to root locales
unused: show unused translations
encourage:
- Good job!
- Well done!
- Perfect!
enum_list_opt:
invalid: "%{invalid} is not in: %{valid}."
enum_opt:
invalid: "%{invalid} is not one of: %{valid}."
errors:
invalid_format: 'invalid format: %{invalid}. valid: %{valid}.'
invalid_locale: 'invalid locale: %{invalid}'
invalid_missing_type:
one: 'invalid type: %{invalid}. valid: %{valid}.'
other: 'unknown types: %{invalid}. valid: %{valid}.'
pass_forest: pass locale forest
common:
continue_q: Continue?
key: Key
locale: Locale
n_more: "%{count} more"
value: Value
data_stats:
text: >-
has %{key_count} keys across %{locale_count} locales. On average, values are %{value_chars_avg}
characters long, keys have %{key_segments_avg} segments, a locale has %{per_locale_avg} keys.
text_single_locale: >-
has %{key_count} keys in total. On average, values are %{value_chars_avg} characters long,
keys have %{key_segments_avg} segments.
title: Forest (%{locales})
deepl_translate:
errors:
no_api_key: >-
Setup DeepL Pro API key via DEEPL_AUTH_KEY environment variable or translation.deepl_api_key
in config/i18n-tasks.yml. Get the key at https://www.deepl.com/pro.
no_results: DeepL returned no results.
google_translate:
errors:
no_api_key: >-
Set Google API key via GOOGLE_TRANSLATE_API_KEY environment variable or translation.google_translate_api_key
in config/i18n-tasks.yml. Get the key at https://code.google.com/apis/console.
no_results: >-
Google Translate returned no results. Make sure billing information is set at https://code.google.com/apis/console.
yandex_translate:
errors:
no_api_key: >-
Set Yandex API key via YANDEX_API_KEY environment variable or translation.yandex_api_key
in config/i18n-tasks.yml. Get the key at https://tech.yandex.com/translate.
no_results: >-
Yandex returned no results.
health:
no_keys_detected: No keys detected. Check data.read in config/i18n-tasks.yml.
inconsistent_interpolations:
none: No inconsistent interpolations found.
missing:
details_title: Value in other locales or source
none: No translations are missing.
remove_unused:
confirm:
one: "%{count} translation will be removed from %{locales}."
other: "%{count} translation will be removed from %{locales}."
noop: No unused keys to remove
removed: Removed %{count} keys
translate_missing:
translated: Translated %{count} keys
unused:
none: Every translation is in use.
usages:
none: No key usages found.