locomotivecms_steam 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/.travis.yml +4 -0
- data/CHANGELOG.md +19 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +188 -0
- data/LICENSE +20 -0
- data/README.md +36 -0
- data/Rakefile +17 -0
- data/bin/publish +28 -0
- data/config/locales/de.yml +157 -0
- data/config/locales/en.yml +189 -0
- data/config/locales/es.yml +133 -0
- data/config/locales/et.yml +154 -0
- data/config/locales/fr.yml +148 -0
- data/config/locales/it.yml +155 -0
- data/config/locales/nb.yml +191 -0
- data/config/locales/nl.yml +160 -0
- data/config/locales/pl.yml +203 -0
- data/config/locales/pt-BR.yml +139 -0
- data/config/locales/ru.yml +224 -0
- data/lib/locomotive/steam/core_ext.rb +5 -0
- data/lib/locomotive/steam/core_ext/array.rb +3 -0
- data/lib/locomotive/steam/core_ext/boolean/false.rb +3 -0
- data/lib/locomotive/steam/core_ext/boolean/true.rb +3 -0
- data/lib/locomotive/steam/core_ext/hash.rb +27 -0
- data/lib/locomotive/steam/core_ext/string.rb +8 -0
- data/lib/locomotive/steam/exceptions.rb +62 -0
- data/lib/locomotive/steam/initializers.rb +5 -0
- data/lib/locomotive/steam/initializers/i18n.rb +3 -0
- data/lib/locomotive/steam/initializers/markdown.rb +27 -0
- data/lib/locomotive/steam/initializers/will_paginate.rb +16 -0
- data/lib/locomotive/steam/liquid.rb +22 -0
- data/lib/locomotive/steam/liquid/drops/base.rb +46 -0
- data/lib/locomotive/steam/liquid/drops/content_entry.rb +48 -0
- data/lib/locomotive/steam/liquid/drops/content_types.rb +117 -0
- data/lib/locomotive/steam/liquid/drops/page.rb +28 -0
- data/lib/locomotive/steam/liquid/drops/session_proxy.rb +18 -0
- data/lib/locomotive/steam/liquid/drops/site.rb +26 -0
- data/lib/locomotive/steam/liquid/errors.rb +17 -0
- data/lib/locomotive/steam/liquid/filters/date.rb +136 -0
- data/lib/locomotive/steam/liquid/filters/html.rb +188 -0
- data/lib/locomotive/steam/liquid/filters/misc.rb +49 -0
- data/lib/locomotive/steam/liquid/filters/resize.rb +18 -0
- data/lib/locomotive/steam/liquid/filters/text.rb +55 -0
- data/lib/locomotive/steam/liquid/filters/translate.rb +28 -0
- data/lib/locomotive/steam/liquid/patches.rb +47 -0
- data/lib/locomotive/steam/liquid/scopeable.rb +149 -0
- data/lib/locomotive/steam/liquid/tags/consume.rb +97 -0
- data/lib/locomotive/steam/liquid/tags/csrf.rb +34 -0
- data/lib/locomotive/steam/liquid/tags/editable.rb +6 -0
- data/lib/locomotive/steam/liquid/tags/editable/base.rb +50 -0
- data/lib/locomotive/steam/liquid/tags/editable/control.rb +19 -0
- data/lib/locomotive/steam/liquid/tags/editable/file.rb +15 -0
- data/lib/locomotive/steam/liquid/tags/editable/long_text.rb +15 -0
- data/lib/locomotive/steam/liquid/tags/editable/short_text.rb +20 -0
- data/lib/locomotive/steam/liquid/tags/editable/text.rb +15 -0
- data/lib/locomotive/steam/liquid/tags/extends.rb +25 -0
- data/lib/locomotive/steam/liquid/tags/google_analytics.rb +28 -0
- data/lib/locomotive/steam/liquid/tags/hybrid.rb +27 -0
- data/lib/locomotive/steam/liquid/tags/inline_editor.rb +16 -0
- data/lib/locomotive/steam/liquid/tags/link_to.rb +56 -0
- data/lib/locomotive/steam/liquid/tags/locale_switcher.rb +106 -0
- data/lib/locomotive/steam/liquid/tags/nav.rb +287 -0
- data/lib/locomotive/steam/liquid/tags/paginate.rb +105 -0
- data/lib/locomotive/steam/liquid/tags/path_helper.rb +98 -0
- data/lib/locomotive/steam/liquid/tags/path_to.rb +36 -0
- data/lib/locomotive/steam/liquid/tags/seo.rb +74 -0
- data/lib/locomotive/steam/liquid/tags/session_assign.rb +41 -0
- data/lib/locomotive/steam/liquid/tags/snippet.rb +63 -0
- data/lib/locomotive/steam/liquid/tags/with_scope.rb +44 -0
- data/lib/locomotive/steam/listen.rb +64 -0
- data/lib/locomotive/steam/logger.rb +54 -0
- data/lib/locomotive/steam/monkey_patches.rb +5 -0
- data/lib/locomotive/steam/monkey_patches/better_errors.rb +70 -0
- data/lib/locomotive/steam/monkey_patches/dragonfly.rb +79 -0
- data/lib/locomotive/steam/monkey_patches/haml.rb +15 -0
- data/lib/locomotive/steam/monkey_patches/httparty.rb +46 -0
- data/lib/locomotive/steam/monkey_patches/mounter.rb +32 -0
- data/lib/locomotive/steam/server.rb +81 -0
- data/lib/locomotive/steam/server/dynamic_assets.rb +33 -0
- data/lib/locomotive/steam/server/entry_submission.rb +120 -0
- data/lib/locomotive/steam/server/favicon.rb +18 -0
- data/lib/locomotive/steam/server/locale.rb +42 -0
- data/lib/locomotive/steam/server/logging.rb +32 -0
- data/lib/locomotive/steam/server/middleware.rb +61 -0
- data/lib/locomotive/steam/server/page.rb +69 -0
- data/lib/locomotive/steam/server/path.rb +34 -0
- data/lib/locomotive/steam/server/renderer.rb +118 -0
- data/lib/locomotive/steam/server/templatized_page.rb +32 -0
- data/lib/locomotive/steam/server/timezone.rb +18 -0
- data/lib/locomotive/steam/standalone_server.rb +33 -0
- data/lib/locomotive/steam/version.rb +5 -0
- data/lib/steam.rb +4 -0
- data/locomotivecms_steam.gemspec +42 -0
- data/spec/fixtures/default/README +0 -0
- data/spec/fixtures/default/app/content_types/bands.yml +19 -0
- data/spec/fixtures/default/app/content_types/events.yml +25 -0
- data/spec/fixtures/default/app/content_types/messages.yml +17 -0
- data/spec/fixtures/default/app/content_types/songs.yml +25 -0
- data/spec/fixtures/default/app/content_types/updates.yml +33 -0
- data/spec/fixtures/default/app/views/pages/404.liquid.haml +10 -0
- data/spec/fixtures/default/app/views/pages/about_us.fr.liquid.haml +7 -0
- data/spec/fixtures/default/app/views/pages/about_us.liquid.haml +21 -0
- data/spec/fixtures/default/app/views/pages/about_us.nb.liquid.haml +4 -0
- data/spec/fixtures/default/app/views/pages/about_us/jane_doe.liquid.haml +4 -0
- data/spec/fixtures/default/app/views/pages/about_us/john_doe.fr.liquid.haml +5 -0
- data/spec/fixtures/default/app/views/pages/about_us/john_doe.liquid.haml +6 -0
- data/spec/fixtures/default/app/views/pages/all.liquid.haml +13 -0
- data/spec/fixtures/default/app/views/pages/archives/news.liquid.haml +10 -0
- data/spec/fixtures/default/app/views/pages/contact.liquid.haml +54 -0
- data/spec/fixtures/default/app/views/pages/contest.liquid.haml +18 -0
- data/spec/fixtures/default/app/views/pages/events.liquid.haml +42 -0
- data/spec/fixtures/default/app/views/pages/filtered.liquid.haml +10 -0
- data/spec/fixtures/default/app/views/pages/grunge_bands.liquid.haml +8 -0
- data/spec/fixtures/default/app/views/pages/index.fr.liquid.haml +3 -0
- data/spec/fixtures/default/app/views/pages/index.liquid.haml +100 -0
- data/spec/fixtures/default/app/views/pages/music.fr.liquid.haml +4 -0
- data/spec/fixtures/default/app/views/pages/music.liquid.haml +42 -0
- data/spec/fixtures/default/app/views/pages/songs/template.fr.liquid.haml +16 -0
- data/spec/fixtures/default/app/views/pages/songs/template.liquid.haml +18 -0
- data/spec/fixtures/default/app/views/pages/songs/template/band.liquid.haml +16 -0
- data/spec/fixtures/default/app/views/pages/store.fr.liquid.haml +5 -0
- data/spec/fixtures/default/app/views/pages/store.liquid +5 -0
- data/spec/fixtures/default/app/views/pages/tags/nav.liquid.haml +6 -0
- data/spec/fixtures/default/app/views/pages/tags/nav_in_deep.liquid.haml +6 -0
- data/spec/fixtures/default/app/views/pages/unlisted_pages.liquid.haml +9 -0
- data/spec/fixtures/default/app/views/snippets/A_Complicated-one.liquid.haml +1 -0
- data/spec/fixtures/default/app/views/snippets/footer.liquid.haml +6 -0
- data/spec/fixtures/default/app/views/snippets/header.liquid.haml +1 -0
- data/spec/fixtures/default/app/views/snippets/song.fr.liquid.haml +8 -0
- data/spec/fixtures/default/app/views/snippets/song.liquid +12 -0
- data/spec/fixtures/default/config/deploy.yml +12 -0
- data/spec/fixtures/default/config/deploy_example.yml +12 -0
- data/spec/fixtures/default/config/site.yml +15 -0
- data/spec/fixtures/default/config/translations.yml +3 -0
- data/spec/fixtures/default/data/bands.yml +10 -0
- data/spec/fixtures/default/data/events.yml +53 -0
- data/spec/fixtures/default/data/songs.yml +46 -0
- data/spec/fixtures/default/data/updates.yml +48 -0
- data/spec/fixtures/default/public/fonts/chunkfive-webfont.eot +0 -0
- data/spec/fixtures/default/public/fonts/chunkfive-webfont.svg +213 -0
- data/spec/fixtures/default/public/fonts/chunkfive-webfont.ttf +0 -0
- data/spec/fixtures/default/public/fonts/chunkfive-webfont.woff +0 -0
- data/spec/fixtures/default/public/fonts/chunkfive.css +8 -0
- data/spec/fixtures/default/public/fonts/chunkfive.otf +0 -0
- data/spec/fixtures/default/public/images/nav_on.png +0 -0
- data/spec/fixtures/default/public/images/photo_frame.png +0 -0
- data/spec/fixtures/default/public/images/sep.png +0 -0
- data/spec/fixtures/default/public/images/top.jpg +0 -0
- data/spec/fixtures/default/public/javascripts/application.js.coffee +2 -0
- data/spec/fixtures/default/public/javascripts/common.js +1 -0
- data/spec/fixtures/default/public/samples/asset_collections/cover.jpg +0 -0
- data/spec/fixtures/default/public/samples/photo.jpg +0 -0
- data/spec/fixtures/default/public/samples/photo_2.jpg +0 -0
- data/spec/fixtures/default/public/stylesheets/application.css +64 -0
- data/spec/fixtures/default/public/stylesheets/other/extra.css.less +8 -0
- data/spec/fixtures/default/public/stylesheets/other/style.css.scss +13 -0
- data/spec/fixtures/default/public/stylesheets/reboot.css +82 -0
- data/spec/integration/integration_helper.rb +15 -0
- data/spec/integration/server/basic_spec.rb +170 -0
- data/spec/integration/server/contact_form_spec.rb +111 -0
- data/spec/integration/server/liquid_spec.rb +91 -0
- data/spec/integration/server/with_scope_spec.rb +20 -0
- data/spec/locales/locales_spec.rb +22 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/support.rb +4 -0
- data/spec/support/examples/locale_file.rb +14 -0
- data/spec/support/examples/matching_locale.rb +8 -0
- data/spec/support/helpers.rb +22 -0
- data/spec/support/matchers/hash.rb +5 -0
- metadata +564 -0
@@ -0,0 +1,189 @@
|
|
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
|
@@ -0,0 +1,133 @@
|
|
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 "
|
@@ -0,0 +1,154 @@
|
|
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
|
+
|