locomotivecms_wagon 1.5.8 → 2.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -1
- data/.rspec +0 -1
- data/Gemfile +17 -2
- data/README.md +2 -6
- data/Rakefile +3 -20
- data/lib/locomotive/wagon/cli.rb +34 -39
- data/lib/locomotive/wagon/commands/authenticate_command.rb +65 -0
- data/lib/locomotive/wagon/commands/concerns/api_concern.rb +57 -0
- data/lib/locomotive/wagon/commands/concerns/deploy_file_concern.rb +32 -0
- data/lib/locomotive/wagon/commands/concerns/instrumentation_concern.rb +16 -0
- data/lib/locomotive/wagon/commands/concerns/netrc_concern.rb +21 -0
- data/lib/locomotive/wagon/commands/concerns/steam_concern.rb +24 -0
- data/lib/locomotive/wagon/commands/generate_command.rb +29 -0
- data/lib/locomotive/wagon/commands/init_command.rb +19 -0
- data/lib/locomotive/wagon/commands/loggers/push_logger.rb +59 -0
- data/lib/locomotive/wagon/commands/push_command.rb +116 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_base_command.rb +68 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_content_assets_command.rb +54 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_content_entries_command.rb +85 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_content_types_command.rb +70 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_pages_command.rb +71 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_snippets_command.rb +23 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_theme_assets_command.rb +70 -0
- data/lib/locomotive/wagon/commands/push_sub_commands/push_translations_command.rb +23 -0
- data/lib/locomotive/wagon/commands/serve_command.rb +131 -0
- data/lib/locomotive/wagon/decorators/concerns/persist_assets_concern.rb +20 -0
- data/lib/locomotive/wagon/decorators/concerns/to_hash_concern.rb +25 -0
- data/lib/locomotive/wagon/decorators/content_asset_decorator.rb +29 -0
- data/lib/locomotive/wagon/decorators/content_entry_decorator.rb +100 -0
- data/lib/locomotive/wagon/decorators/content_type_decorator.rb +78 -0
- data/lib/locomotive/wagon/decorators/content_type_field_decorator.rb +76 -0
- data/lib/locomotive/wagon/decorators/editable_element_decorator.rb +32 -0
- data/lib/locomotive/wagon/decorators/page_decorator.rb +81 -0
- data/lib/locomotive/wagon/decorators/site_decorator.rb +25 -0
- data/lib/locomotive/wagon/decorators/snippet_decorator.rb +29 -0
- data/lib/locomotive/wagon/decorators/theme_asset_decorator.rb +53 -0
- data/lib/locomotive/wagon/decorators/translation_decorator.rb +19 -0
- data/lib/locomotive/wagon/exceptions.rb +3 -55
- data/lib/locomotive/wagon/generators/site/unzip.rb +2 -2
- data/lib/locomotive/wagon/tools/deployment_connection.rb +120 -0
- data/lib/locomotive/wagon/tools/hosting_api.rb +117 -0
- data/lib/locomotive/wagon/tools/listen.rb +51 -0
- data/lib/locomotive/wagon/{misc → tools}/livereload.rb +5 -3
- data/lib/locomotive/wagon/{misc → tools}/tcp_port.rb +0 -0
- data/lib/locomotive/wagon/{misc → tools}/thor.rb +0 -0
- data/lib/locomotive/wagon/version.rb +1 -1
- data/lib/locomotive/wagon.rb +34 -162
- data/locomotivecms_wagon.gemspec +11 -24
- data/spec/fixtures/cassettes/authenticate.yml +425 -0
- data/spec/fixtures/cassettes/push.yml +34737 -0
- data/spec/fixtures/default/app/views/pages/events.liquid.haml +2 -1
- data/spec/fixtures/default/app/views/pages/index.liquid.haml +3 -2
- data/spec/fixtures/default/app/views/pages/layouts/simple.liquid.haml +1 -1
- data/spec/fixtures/default/app/views/snippets/footer.liquid.haml +1 -1
- data/spec/fixtures/default/app/views/snippets/song.liquid +3 -3
- data/spec/fixtures/default/config/site.yml +2 -4
- data/spec/fixtures/default/data/events.yml +3 -2
- data/spec/fixtures/default/data/songs.yml +1 -1
- data/spec/integration/cli_spec.rb +35 -12
- data/spec/integration/commands/authenticate_command_spec.rb +60 -0
- data/spec/integration/commands/push_command_spec.rb +55 -0
- data/spec/integration/generators/page_spec.rb +9 -9
- data/spec/integration/generators/relationship_spec.rb +6 -6
- data/spec/integration/integration_helper.rb +11 -11
- data/spec/integration/sites_spec.rb +48 -48
- data/spec/spec_helper.rb +3 -4
- data/spec/support/api_settings.rb +5 -0
- data/spec/support/helpers.rb +6 -19
- data/spec/support/pry.rb +4 -0
- data/spec/support/thor.rb +12 -0
- data/spec/support/vcr.rb +10 -0
- data/spec/unit/decorators/site_decorator_spec.rb +36 -0
- metadata +88 -309
- data/lib/locomotive/wagon/liquid/drops/base.rb +0 -49
- data/lib/locomotive/wagon/liquid/drops/content_entry.rb +0 -49
- data/lib/locomotive/wagon/liquid/drops/content_types.rb +0 -119
- data/lib/locomotive/wagon/liquid/drops/page.rb +0 -84
- data/lib/locomotive/wagon/liquid/drops/session_proxy.rb +0 -18
- data/lib/locomotive/wagon/liquid/drops/site.rb +0 -26
- data/lib/locomotive/wagon/liquid/errors.rb +0 -17
- data/lib/locomotive/wagon/liquid/filters/date.rb +0 -136
- data/lib/locomotive/wagon/liquid/filters/html.rb +0 -188
- data/lib/locomotive/wagon/liquid/filters/misc.rb +0 -49
- data/lib/locomotive/wagon/liquid/filters/resize.rb +0 -18
- data/lib/locomotive/wagon/liquid/filters/text.rb +0 -55
- data/lib/locomotive/wagon/liquid/filters/translate.rb +0 -28
- data/lib/locomotive/wagon/liquid/patches.rb +0 -47
- data/lib/locomotive/wagon/liquid/scopeable.rb +0 -151
- data/lib/locomotive/wagon/liquid/tags/consume.rb +0 -100
- data/lib/locomotive/wagon/liquid/tags/csrf.rb +0 -34
- data/lib/locomotive/wagon/liquid/tags/editable/base.rb +0 -50
- data/lib/locomotive/wagon/liquid/tags/editable/control.rb +0 -19
- data/lib/locomotive/wagon/liquid/tags/editable/file.rb +0 -15
- data/lib/locomotive/wagon/liquid/tags/editable/long_text.rb +0 -15
- data/lib/locomotive/wagon/liquid/tags/editable/short_text.rb +0 -20
- data/lib/locomotive/wagon/liquid/tags/editable/text.rb +0 -15
- data/lib/locomotive/wagon/liquid/tags/editable.rb +0 -6
- data/lib/locomotive/wagon/liquid/tags/extends.rb +0 -25
- data/lib/locomotive/wagon/liquid/tags/fetch_page.rb +0 -41
- data/lib/locomotive/wagon/liquid/tags/google_analytics.rb +0 -28
- data/lib/locomotive/wagon/liquid/tags/hybrid.rb +0 -27
- data/lib/locomotive/wagon/liquid/tags/inline_editor.rb +0 -16
- data/lib/locomotive/wagon/liquid/tags/link_to.rb +0 -56
- data/lib/locomotive/wagon/liquid/tags/locale_switcher.rb +0 -106
- data/lib/locomotive/wagon/liquid/tags/model_form.rb +0 -67
- data/lib/locomotive/wagon/liquid/tags/nav.rb +0 -287
- data/lib/locomotive/wagon/liquid/tags/paginate.rb +0 -105
- data/lib/locomotive/wagon/liquid/tags/path_helper.rb +0 -97
- data/lib/locomotive/wagon/liquid/tags/path_to.rb +0 -36
- data/lib/locomotive/wagon/liquid/tags/seo.rb +0 -74
- data/lib/locomotive/wagon/liquid/tags/session_assign.rb +0 -41
- data/lib/locomotive/wagon/liquid/tags/snippet.rb +0 -63
- data/lib/locomotive/wagon/liquid/tags/with_scope.rb +0 -48
- data/lib/locomotive/wagon/liquid.rb +0 -21
- data/lib/locomotive/wagon/listen.rb +0 -65
- data/lib/locomotive/wagon/logger.rb +0 -58
- data/lib/locomotive/wagon/misc/better_errors.rb +0 -70
- data/lib/locomotive/wagon/misc/core_ext.rb +0 -62
- data/lib/locomotive/wagon/misc/deployment_connection.rb +0 -120
- data/lib/locomotive/wagon/misc/dragonfly.rb +0 -78
- data/lib/locomotive/wagon/misc/haml.rb +0 -15
- data/lib/locomotive/wagon/misc/hosting_api.rb +0 -117
- data/lib/locomotive/wagon/misc/httparty.rb +0 -55
- data/lib/locomotive/wagon/misc/i18n.rb +0 -2
- data/lib/locomotive/wagon/misc/markdown.rb +0 -27
- data/lib/locomotive/wagon/misc/mounter.rb +0 -32
- data/lib/locomotive/wagon/misc/will_paginate.rb +0 -16
- data/lib/locomotive/wagon/misc.rb +0 -9
- data/lib/locomotive/wagon/server/dynamic_assets.rb +0 -33
- data/lib/locomotive/wagon/server/entry_submission.rb +0 -151
- data/lib/locomotive/wagon/server/favicon.rb +0 -17
- data/lib/locomotive/wagon/server/locale.rb +0 -42
- data/lib/locomotive/wagon/server/logging.rb +0 -32
- data/lib/locomotive/wagon/server/middleware.rb +0 -63
- data/lib/locomotive/wagon/server/page.rb +0 -67
- data/lib/locomotive/wagon/server/path.rb +0 -34
- data/lib/locomotive/wagon/server/renderer.rb +0 -118
- data/lib/locomotive/wagon/server/templatized_page.rb +0 -32
- data/lib/locomotive/wagon/server/timezone.rb +0 -18
- data/lib/locomotive/wagon/server.rb +0 -86
- data/lib/locomotive/wagon/standalone_server.rb +0 -28
- data/locales/de.yml +0 -157
- data/locales/en.yml +0 -189
- data/locales/es.yml +0 -133
- data/locales/et.yml +0 -154
- data/locales/fr.yml +0 -148
- data/locales/it.yml +0 -155
- data/locales/nb.yml +0 -191
- data/locales/nl.yml +0 -160
- data/locales/pl.yml +0 -203
- data/locales/pt-BR.yml +0 -139
- data/locales/ru.yml +0 -224
- data/spec/integration/server/basic_spec.rb +0 -169
- data/spec/integration/server/contact_form_spec.rb +0 -111
- data/spec/integration/server/liquid_spec.rb +0 -98
- data/spec/integration/server/new_contact_form_spec.rb +0 -67
- data/spec/integration/server/with_scope_spec.rb +0 -30
- data/spec/unit/locomotive/wagon/liquid/drops/page_spec.rb +0 -41
data/locales/en.yml
DELETED
@@ -1,189 +0,0 @@
|
|
1
|
-
en:
|
2
|
-
locomotive:
|
3
|
-
locales:
|
4
|
-
en: English
|
5
|
-
de: German
|
6
|
-
fr: French
|
7
|
-
pl: Polish
|
8
|
-
pt-BR: "Brazilian Portuguese"
|
9
|
-
it: Italian
|
10
|
-
nl: Dutch
|
11
|
-
nb: Norwegian
|
12
|
-
es: Spanish
|
13
|
-
ru: Russian
|
14
|
-
et: Estonian
|
15
|
-
|
16
|
-
errors:
|
17
|
-
syntax:
|
18
|
-
editable_text: "Syntax Error in 'editable_text' - Valid syntax: editable_text [slug], [options]"
|
19
|
-
editable_file: "Syntax Error in 'editable_file' - Valid syntax: editable_file [slug], [options]"
|
20
|
-
editable_control: "Syntax Error in 'editable_control' - Valid syntax: editable_control [slug], [options]"
|
21
|
-
consume: "Syntax Error in 'consume' - Valid syntax: consume <var> from [url] [, username: value, password: value]"
|
22
|
-
google_analytics: "Syntax Error in 'google_analytics' - Valid syntax: google_analytics [account_id]"
|
23
|
-
link_to: "Syntax Error in 'link_to' - Valid syntax: link_to [page_handle], locale: es (locale is optional)"
|
24
|
-
locale_switcher: "Syntax Error in 'locale_switcher' - Valid syntax: locale_switcher [options]"
|
25
|
-
nav: "Syntax Error in 'nav' - Valid syntax: nav [site|parent|page|<path to a page>] [options]>"
|
26
|
-
paginate: "Syntax Error in 'paginate' - Valid syntax: paginate <collection> by <number>"
|
27
|
-
session_assign: "Syntax Error in 'session_assign' - Valid syntax: session_assign [var] = [source]"
|
28
|
-
messages:
|
29
|
-
blank: "can't not be blank"
|
30
|
-
|
31
|
-
pagination:
|
32
|
-
previous: "« Previous"
|
33
|
-
next: "Next »"
|
34
|
-
|
35
|
-
date:
|
36
|
-
abbr_day_names:
|
37
|
-
- Sun
|
38
|
-
- Mon
|
39
|
-
- Tue
|
40
|
-
- Wed
|
41
|
-
- Thu
|
42
|
-
- Fri
|
43
|
-
- Sat
|
44
|
-
abbr_month_names:
|
45
|
-
-
|
46
|
-
- Jan
|
47
|
-
- Feb
|
48
|
-
- Mar
|
49
|
-
- Apr
|
50
|
-
- May
|
51
|
-
- Jun
|
52
|
-
- Jul
|
53
|
-
- Aug
|
54
|
-
- Sep
|
55
|
-
- Oct
|
56
|
-
- Nov
|
57
|
-
- Dec
|
58
|
-
day_names:
|
59
|
-
- Sunday
|
60
|
-
- Monday
|
61
|
-
- Tuesday
|
62
|
-
- Wednesday
|
63
|
-
- Thursday
|
64
|
-
- Friday
|
65
|
-
- Saturday
|
66
|
-
formats:
|
67
|
-
default: ! '%Y-%m-%d'
|
68
|
-
long: ! '%B %d, %Y'
|
69
|
-
short: ! '%b %d'
|
70
|
-
month_names:
|
71
|
-
-
|
72
|
-
- January
|
73
|
-
- February
|
74
|
-
- March
|
75
|
-
- April
|
76
|
-
- May
|
77
|
-
- June
|
78
|
-
- July
|
79
|
-
- August
|
80
|
-
- September
|
81
|
-
- October
|
82
|
-
- November
|
83
|
-
- December
|
84
|
-
order:
|
85
|
-
- :year
|
86
|
-
- :month
|
87
|
-
- :day
|
88
|
-
datetime:
|
89
|
-
distance_in_words:
|
90
|
-
about_x_hours:
|
91
|
-
one: about 1 hour
|
92
|
-
other: about %{count} hours
|
93
|
-
about_x_months:
|
94
|
-
one: about 1 month
|
95
|
-
other: about %{count} months
|
96
|
-
about_x_years:
|
97
|
-
one: about 1 year
|
98
|
-
other: about %{count} years
|
99
|
-
almost_x_years:
|
100
|
-
one: almost 1 year
|
101
|
-
other: almost %{count} years
|
102
|
-
half_a_minute: half a minute
|
103
|
-
less_than_x_minutes:
|
104
|
-
one: less than a minute
|
105
|
-
other: less than %{count} minutes
|
106
|
-
less_than_x_seconds:
|
107
|
-
one: less than 1 second
|
108
|
-
other: less than %{count} seconds
|
109
|
-
over_x_years:
|
110
|
-
one: over 1 year
|
111
|
-
other: over %{count} years
|
112
|
-
x_days:
|
113
|
-
one: 1 day
|
114
|
-
other: ! '%{count} days'
|
115
|
-
x_minutes:
|
116
|
-
one: 1 minute
|
117
|
-
other: ! '%{count} minutes'
|
118
|
-
x_months:
|
119
|
-
one: 1 month
|
120
|
-
other: ! '%{count} months'
|
121
|
-
x_seconds:
|
122
|
-
one: 1 second
|
123
|
-
other: ! '%{count} seconds'
|
124
|
-
prompts:
|
125
|
-
day: Day
|
126
|
-
hour: Hour
|
127
|
-
minute: Minute
|
128
|
-
month: Month
|
129
|
-
second: Seconds
|
130
|
-
year: Year
|
131
|
-
number:
|
132
|
-
currency:
|
133
|
-
format:
|
134
|
-
delimiter: ! ','
|
135
|
-
format: ! '%u%n'
|
136
|
-
precision: 2
|
137
|
-
separator: .
|
138
|
-
significant: false
|
139
|
-
strip_insignificant_zeros: false
|
140
|
-
unit: $
|
141
|
-
format:
|
142
|
-
delimiter: ! ','
|
143
|
-
precision: 3
|
144
|
-
separator: .
|
145
|
-
significant: false
|
146
|
-
strip_insignificant_zeros: false
|
147
|
-
human:
|
148
|
-
decimal_units:
|
149
|
-
format: ! '%n %u'
|
150
|
-
units:
|
151
|
-
billion: Billion
|
152
|
-
million: Million
|
153
|
-
quadrillion: Quadrillion
|
154
|
-
thousand: Thousand
|
155
|
-
trillion: Trillion
|
156
|
-
unit: ''
|
157
|
-
format:
|
158
|
-
delimiter: ''
|
159
|
-
precision: 3
|
160
|
-
significant: true
|
161
|
-
strip_insignificant_zeros: true
|
162
|
-
storage_units:
|
163
|
-
format: ! '%n %u'
|
164
|
-
units:
|
165
|
-
byte:
|
166
|
-
one: Byte
|
167
|
-
other: Bytes
|
168
|
-
gb: GB
|
169
|
-
kb: KB
|
170
|
-
mb: MB
|
171
|
-
tb: TB
|
172
|
-
percentage:
|
173
|
-
format:
|
174
|
-
delimiter: ''
|
175
|
-
precision:
|
176
|
-
format:
|
177
|
-
delimiter: ''
|
178
|
-
support:
|
179
|
-
array:
|
180
|
-
last_word_connector: ! ', and '
|
181
|
-
two_words_connector: ! ' and '
|
182
|
-
words_connector: ! ', '
|
183
|
-
time:
|
184
|
-
am: am
|
185
|
-
formats:
|
186
|
-
default: ! '%a, %d %b %Y %H:%M:%S %z'
|
187
|
-
long: ! '%B %d, %Y %H:%M'
|
188
|
-
short: ! '%d %b %H:%M'
|
189
|
-
pm: pm
|
data/locales/es.yml
DELETED
@@ -1,133 +0,0 @@
|
|
1
|
-
es:
|
2
|
-
locomotive:
|
3
|
-
locales:
|
4
|
-
en: Inglés
|
5
|
-
de: Alemán
|
6
|
-
fr: Francés
|
7
|
-
pl: polaco
|
8
|
-
pt-BR: "Portugués (Brasil)"
|
9
|
-
it: Italiano
|
10
|
-
nl: holandés
|
11
|
-
nb: Noruego
|
12
|
-
es: Español
|
13
|
-
ru: Ruso
|
14
|
-
et: Estonio
|
15
|
-
|
16
|
-
errors:
|
17
|
-
messages:
|
18
|
-
blank: "no puede estar en blanco"
|
19
|
-
|
20
|
-
pagination:
|
21
|
-
previous: "« Anterior"
|
22
|
-
next: "Siguiente »"
|
23
|
-
|
24
|
-
date:
|
25
|
-
formats:
|
26
|
-
default: "%d/%m/%Y"
|
27
|
-
short: "%e-%b"
|
28
|
-
long: "%e-%B-%Y"
|
29
|
-
long_ordinal: "%e de %B de %Y"
|
30
|
-
only_day: "%e"
|
31
|
-
|
32
|
-
day_names: [Domingo, Lunes, Martes, Miércoles, Jueves, Viernes, Sábado]
|
33
|
-
abbr_day_names: [Dom, Lun, Mar, Mie, Jue, Vie, Sab]
|
34
|
-
month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre]
|
35
|
-
abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
|
36
|
-
order: [ year, month, day ]
|
37
|
-
|
38
|
-
time:
|
39
|
-
formats:
|
40
|
-
default: "%A, %d de %B de %Y %H:%M:%S %z"
|
41
|
-
time: "%H:%M"
|
42
|
-
short: "%d de %b %H:%M"
|
43
|
-
long: "%d de %B de %Y %H:%M"
|
44
|
-
long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
|
45
|
-
only_second: "%S"
|
46
|
-
am: "am"
|
47
|
-
pm: "pm"
|
48
|
-
|
49
|
-
|
50
|
-
datetime:
|
51
|
-
distance_in_words:
|
52
|
-
half_a_minute: "medio minuto"
|
53
|
-
less_than_x_seconds:
|
54
|
-
one: "menos de 1 segundo"
|
55
|
-
other: "menos de %{count} segundos"
|
56
|
-
x_seconds:
|
57
|
-
one: "1 segundo"
|
58
|
-
other: "%{count} segundos"
|
59
|
-
less_than_x_minutes:
|
60
|
-
one: "menos de 1 minuto"
|
61
|
-
other: "menos de %{count} minutos"
|
62
|
-
x_minutes:
|
63
|
-
one: "1 minuto"
|
64
|
-
other: "%{count} minutos"
|
65
|
-
about_x_hours:
|
66
|
-
one: "alrededor de 1 hora"
|
67
|
-
other: "alrededor de %{count} horas"
|
68
|
-
x_days:
|
69
|
-
one: "1 día"
|
70
|
-
other: "%{count} días"
|
71
|
-
about_x_months:
|
72
|
-
one: "alrededor de 1 mes"
|
73
|
-
other: "alrededor de %{count} meses"
|
74
|
-
x_months:
|
75
|
-
one: "1 mes"
|
76
|
-
other: "%{count} meses"
|
77
|
-
about_x_years:
|
78
|
-
one: "alrededor de 1 año"
|
79
|
-
other: "alrededor de %{count} años"
|
80
|
-
over_x_years:
|
81
|
-
one: "más de 1 año"
|
82
|
-
other: "más de %{count} años"
|
83
|
-
almost_x_years:
|
84
|
-
one: "casi 1 año"
|
85
|
-
other: "casi %{count} años"
|
86
|
-
prompts:
|
87
|
-
year: "Año"
|
88
|
-
month: "Mes"
|
89
|
-
day: "Día"
|
90
|
-
hour: "Hora"
|
91
|
-
minute: "Minuto"
|
92
|
-
second: "Segundo"
|
93
|
-
|
94
|
-
number:
|
95
|
-
format:
|
96
|
-
separator: ","
|
97
|
-
delimiter: "."
|
98
|
-
precision: 3
|
99
|
-
currency:
|
100
|
-
format:
|
101
|
-
format: "%n %u"
|
102
|
-
unit: "€"
|
103
|
-
separator: ","
|
104
|
-
delimiter: "."
|
105
|
-
precision: 2
|
106
|
-
percentage:
|
107
|
-
format:
|
108
|
-
delimiter: ""
|
109
|
-
precision:
|
110
|
-
format:
|
111
|
-
delimiter: ""
|
112
|
-
human:
|
113
|
-
format:
|
114
|
-
delimiter: ""
|
115
|
-
precision: 1
|
116
|
-
storage_units:
|
117
|
-
format: "%n %u"
|
118
|
-
units:
|
119
|
-
byte:
|
120
|
-
one: "Byte"
|
121
|
-
other: "Bytes"
|
122
|
-
kb: "KB"
|
123
|
-
mb: "MB"
|
124
|
-
gb: "GB"
|
125
|
-
tb: "TB"
|
126
|
-
|
127
|
-
support:
|
128
|
-
array:
|
129
|
-
sentence_connector: 'y'
|
130
|
-
skip_last_comma: true
|
131
|
-
words_connector: ", "
|
132
|
-
two_words_connector: " y "
|
133
|
-
last_word_connector: " y "
|
data/locales/et.yml
DELETED
@@ -1,154 +0,0 @@
|
|
1
|
-
et:
|
2
|
-
locomotive:
|
3
|
-
locales:
|
4
|
-
en: Inglise
|
5
|
-
de: Saksa
|
6
|
-
fr: Prantsuse
|
7
|
-
pl: Poola
|
8
|
-
pt-BR: "Brasiilia Portugali"
|
9
|
-
it: Itaalia
|
10
|
-
nl: Hollandi
|
11
|
-
nb: Norra
|
12
|
-
es: Hispaania
|
13
|
-
ru: Vene
|
14
|
-
et: Eesti
|
15
|
-
|
16
|
-
errors:
|
17
|
-
messages:
|
18
|
-
blank: "tühi"
|
19
|
-
|
20
|
-
pagination:
|
21
|
-
previous: "« Eelmine"
|
22
|
-
next: "Järgmine »"
|
23
|
-
|
24
|
-
date:
|
25
|
-
formats:
|
26
|
-
default: "%d.%m.%Y"
|
27
|
-
short: "%e %b"
|
28
|
-
long: "%e %B %Y"
|
29
|
-
long_ordinal: "%e %B %Y"
|
30
|
-
only_day: "%e"
|
31
|
-
|
32
|
-
day_names: [Pühapäev, Esmaspäev, Teisipäev, Kolmapäev, Neljapäev, Reede, Laupäev]
|
33
|
-
abbr_day_names: [Pü, Es, Te, Ko, Ne, Re, La]
|
34
|
-
month_names: [~, Jaanuar, Veebruar, Märts, Aprill, Mai, Juuni, Juuli, August, September, Oktoober, November, Detsember]
|
35
|
-
abbr_month_names: [~, Jaan., Veeb., Mär., Apr., Mai, Jun, Jul, Aug., Sept., Okt., Nov., Dez.]
|
36
|
-
order: [ day, month, year ]
|
37
|
-
|
38
|
-
time:
|
39
|
-
formats:
|
40
|
-
default: "%d %B %Y %H:%M"
|
41
|
-
time: "%H:%M"
|
42
|
-
short: "%d %b %H:%M"
|
43
|
-
long: "%A %d %B %Y %H:%M:%S %Z"
|
44
|
-
long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
|
45
|
-
only_second: "%S"
|
46
|
-
am: 'ennelõunat'
|
47
|
-
pm: 'pealelõunat'
|
48
|
-
|
49
|
-
datetime:
|
50
|
-
distance_in_words:
|
51
|
-
half_a_minute: 'pool minutit'
|
52
|
-
less_than_x_seconds:
|
53
|
-
one: 'vähem kui 1 sekund'
|
54
|
-
other: 'vähem kui %{count} sekundit'
|
55
|
-
x_seconds:
|
56
|
-
one: 'üks sekund'
|
57
|
-
other: '%{count} sekundit'
|
58
|
-
less_than_x_minutes:
|
59
|
-
one: 'vähem kui üks minut'
|
60
|
-
other: 'vähem kui %{count} minutit'
|
61
|
-
x_minutes:
|
62
|
-
one: 'üks minut'
|
63
|
-
other: '%{count} minutit'
|
64
|
-
about_x_hours:
|
65
|
-
one: 'umber üks tund'
|
66
|
-
other: 'umbes %{count} tundi'
|
67
|
-
x_days:
|
68
|
-
one: 'üks päev'
|
69
|
-
other: '%{count} päeva'
|
70
|
-
about_x_months:
|
71
|
-
one: 'umbes üks kuu'
|
72
|
-
other: 'umbes %{count} kuud'
|
73
|
-
x_months:
|
74
|
-
one: 'üks kuu'
|
75
|
-
other: '%{count} kuud'
|
76
|
-
almost_x_years:
|
77
|
-
one: 'peaaegu üks aasta'
|
78
|
-
other: 'peaaegu %{count} aastat'
|
79
|
-
about_x_years:
|
80
|
-
one: 'umbes üks aasta'
|
81
|
-
other: 'umbes %{count} aastat'
|
82
|
-
over_x_years:
|
83
|
-
one: 'üle ühe aasta'
|
84
|
-
other: 'üle %{count} aasta'
|
85
|
-
prompts:
|
86
|
-
second: "Sekundit"
|
87
|
-
minute: "Minutit"
|
88
|
-
hour: "Tundi"
|
89
|
-
day: "Päeva"
|
90
|
-
month: "Kuud"
|
91
|
-
year: "Aastat"
|
92
|
-
|
93
|
-
number:
|
94
|
-
format:
|
95
|
-
precision: 2
|
96
|
-
separator: ' '
|
97
|
-
delimiter: '.'
|
98
|
-
significant: false
|
99
|
-
strip_insignificant_zeros: false
|
100
|
-
currency:
|
101
|
-
format:
|
102
|
-
unit: '€'
|
103
|
-
format: '%n%u'
|
104
|
-
separator: ","
|
105
|
-
delimiter: ""
|
106
|
-
precision: 2
|
107
|
-
significant: false
|
108
|
-
strip_insignificant_zeros: false
|
109
|
-
percentage:
|
110
|
-
format:
|
111
|
-
delimiter: ""
|
112
|
-
precision:
|
113
|
-
format:
|
114
|
-
delimiter: ""
|
115
|
-
human:
|
116
|
-
format:
|
117
|
-
delimiter: ""
|
118
|
-
precision: 1
|
119
|
-
significant: true
|
120
|
-
strip_insignificant_zeros: true
|
121
|
-
storage_units:
|
122
|
-
# Storage units output formatting.
|
123
|
-
# %u is the storage unit, %n is the number (default: 2 MB)
|
124
|
-
format: "%n %u"
|
125
|
-
units:
|
126
|
-
byte:
|
127
|
-
one: "Bait"
|
128
|
-
other: "Baiti"
|
129
|
-
kb: "KB"
|
130
|
-
mb: "MB"
|
131
|
-
gb: "GB"
|
132
|
-
tb: "TB"
|
133
|
-
decimal_units:
|
134
|
-
format: "%n %u"
|
135
|
-
units:
|
136
|
-
unit: ""
|
137
|
-
thousand: Tuhat
|
138
|
-
million: Miljon
|
139
|
-
billion:
|
140
|
-
one: Miljard
|
141
|
-
others: Miljardit
|
142
|
-
trillion: Triljon
|
143
|
-
quadrillion:
|
144
|
-
one: Kvadriljon
|
145
|
-
others: Kvadriljonit
|
146
|
-
|
147
|
-
support:
|
148
|
-
array:
|
149
|
-
sentence_connector: 'ja'
|
150
|
-
skip_last_comma: true
|
151
|
-
words_connector: ", "
|
152
|
-
two_words_connector: " ja "
|
153
|
-
last_word_connector: " ja "
|
154
|
-
|
data/locales/fr.yml
DELETED
@@ -1,148 +0,0 @@
|
|
1
|
-
fr:
|
2
|
-
locomotive:
|
3
|
-
locales:
|
4
|
-
en: Anglais
|
5
|
-
de: Allemand
|
6
|
-
fr: Français
|
7
|
-
pl: Polonais
|
8
|
-
pt-BR: "Portugais"
|
9
|
-
it: "Italien"
|
10
|
-
nl: "Hollandais"
|
11
|
-
nb: "Norvégien"
|
12
|
-
es: Espagnol
|
13
|
-
ru: Russe
|
14
|
-
et: Estonien
|
15
|
-
ja: Japonais
|
16
|
-
|
17
|
-
errors:
|
18
|
-
messages:
|
19
|
-
blank: "doit être rempli(e)"
|
20
|
-
|
21
|
-
pagination:
|
22
|
-
previous: "« Précédent"
|
23
|
-
next: "Suivant »"
|
24
|
-
date:
|
25
|
-
formats:
|
26
|
-
default: "%d/%m/%Y"
|
27
|
-
short: "%e %b"
|
28
|
-
long: "%e %B %Y"
|
29
|
-
long_ordinal: "%e %B %Y"
|
30
|
-
only_day: "%e"
|
31
|
-
|
32
|
-
day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
|
33
|
-
abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
|
34
|
-
# month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre]
|
35
|
-
# abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.]
|
36
|
-
month_names:
|
37
|
-
- ~
|
38
|
-
- janvier
|
39
|
-
- février
|
40
|
-
- mars
|
41
|
-
- avril
|
42
|
-
- mai
|
43
|
-
- juin
|
44
|
-
- juillet
|
45
|
-
- août
|
46
|
-
- septembre
|
47
|
-
- octobre
|
48
|
-
- novembre
|
49
|
-
- décembre
|
50
|
-
abbr_month_names:
|
51
|
-
- ~
|
52
|
-
- jan.
|
53
|
-
- fév.
|
54
|
-
- mar.
|
55
|
-
- avr.
|
56
|
-
- mai
|
57
|
-
- juin
|
58
|
-
- juil.
|
59
|
-
- août
|
60
|
-
- sept.
|
61
|
-
- oct.
|
62
|
-
- nov.
|
63
|
-
- déc.
|
64
|
-
order: [day, month, year]
|
65
|
-
|
66
|
-
time:
|
67
|
-
formats:
|
68
|
-
default: "%d %B %Y %H:%M"
|
69
|
-
time: "%H:%M"
|
70
|
-
short: "%d %b %H:%M"
|
71
|
-
long: "%A %d %B %Y %H:%M:%S %Z"
|
72
|
-
long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
|
73
|
-
only_second: "%S"
|
74
|
-
am: 'am'
|
75
|
-
pm: 'pm'
|
76
|
-
|
77
|
-
datetime:
|
78
|
-
distance_in_words:
|
79
|
-
half_a_minute: "une demi-minute"
|
80
|
-
less_than_x_seconds:
|
81
|
-
zero: "moins d'une seconde"
|
82
|
-
one: "moins de 1 seconde"
|
83
|
-
other: "moins de %{count} secondes"
|
84
|
-
x_seconds:
|
85
|
-
one: "1 seconde"
|
86
|
-
other: "%{count} secondes"
|
87
|
-
less_than_x_minutes:
|
88
|
-
zero: "moins d'une minute"
|
89
|
-
one: "moins de 1 minute"
|
90
|
-
other: "moins de %{count} minutes"
|
91
|
-
x_minutes:
|
92
|
-
one: "1 minute"
|
93
|
-
other: "%{count} minutes"
|
94
|
-
about_x_hours:
|
95
|
-
one: "environ une heure"
|
96
|
-
other: "environ %{count} heures"
|
97
|
-
x_days:
|
98
|
-
one: "1 jour"
|
99
|
-
other: "%{count} jours"
|
100
|
-
about_x_months:
|
101
|
-
one: "environ un mois"
|
102
|
-
other: "environ %{count} mois"
|
103
|
-
x_months:
|
104
|
-
one: "1 mois"
|
105
|
-
other: "%{count} mois"
|
106
|
-
about_x_years:
|
107
|
-
one: "environ un an"
|
108
|
-
other: "environ %{count} ans"
|
109
|
-
over_x_years:
|
110
|
-
one: "plus d'un an"
|
111
|
-
other: "plus de %{count} ans"
|
112
|
-
prompts:
|
113
|
-
year: "Année"
|
114
|
-
month: "Mois"
|
115
|
-
day: "Jour"
|
116
|
-
hour: "Heure"
|
117
|
-
minute: "Minute"
|
118
|
-
second: "Seconde"
|
119
|
-
|
120
|
-
number:
|
121
|
-
format:
|
122
|
-
precision: 3
|
123
|
-
separator: ','
|
124
|
-
delimiter: ' '
|
125
|
-
currency:
|
126
|
-
format:
|
127
|
-
unit: '€'
|
128
|
-
precision: 2
|
129
|
-
format: '%n %u'
|
130
|
-
human:
|
131
|
-
format:
|
132
|
-
precision: 2
|
133
|
-
storage_units:
|
134
|
-
format: '%n %u'
|
135
|
-
units:
|
136
|
-
byte: 'Octet'
|
137
|
-
kb: 'ko'
|
138
|
-
mb: 'Mo'
|
139
|
-
gb: 'Go'
|
140
|
-
tb: 'To'
|
141
|
-
|
142
|
-
support:
|
143
|
-
array:
|
144
|
-
sentence_connector: 'et'
|
145
|
-
skip_last_comma: true
|
146
|
-
words_connector: ", "
|
147
|
-
two_words_connector: " et "
|
148
|
-
last_word_connector: " et "
|