locomotivecms_wagon 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +27 -0
- data/.rspec +2 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +22 -0
- data/README.md +68 -0
- data/Rakefile +57 -0
- data/TODO +57 -0
- data/bin/wagon +9 -0
- data/generators/blank/Gemfile.tt +20 -0
- data/generators/blank/app/content_types/.empty_directory +1 -0
- data/generators/blank/app/views/pages/404.liquid +11 -0
- data/generators/blank/app/views/pages/index.liquid +19 -0
- data/generators/blank/app/views/snippets/.empty_directory +1 -0
- data/generators/blank/config/deploy.yml +12 -0
- data/generators/blank/config/site.yml.tt +16 -0
- data/generators/blank/config/translations.yml +8 -0
- data/generators/blank/config.ru +3 -0
- data/generators/blank/data/.empty_directory +1 -0
- data/generators/blank/public/fonts/.empty_directory +1 -0
- data/generators/blank/public/images/.empty_directory +1 -0
- data/generators/blank/public/javascripts/.empty_directory +1 -0
- data/generators/blank/public/samples/.empty_directory +1 -0
- data/generators/blank/public/stylesheets/.empty_directory +1 -0
- data/generators/bootstrap/Gemfile.tt +20 -0
- data/generators/bootstrap/app/content_types/.empty_directory +1 -0
- data/generators/bootstrap/app/views/pages/404.liquid +13 -0
- data/generators/bootstrap/app/views/pages/404.liquid.haml +10 -0
- data/generators/bootstrap/app/views/pages/index.liquid +89 -0
- data/generators/bootstrap/app/views/pages/index.liquid.haml +72 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid +3 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid.haml +2 -0
- data/generators/bootstrap/config/deploy.yml +12 -0
- data/generators/bootstrap/config/site.yml.tt +16 -0
- data/generators/bootstrap/config/translations.yml +8 -0
- data/generators/bootstrap/config.ru +3 -0
- data/generators/bootstrap/data/.empty_directory +1 -0
- data/generators/bootstrap/public/fonts/FontAwesome.otf +0 -0
- data/generators/bootstrap/public/fonts/font-awesome-ie7.min.css +23 -0
- data/generators/bootstrap/public/fonts/font-awesome.css +469 -0
- data/generators/bootstrap/public/fonts/font-awesome.min.css +34 -0
- data/generators/bootstrap/public/fonts/fontawesome-webfont.eot +0 -0
- data/generators/bootstrap/public/fonts/fontawesome-webfont.ttf +0 -0
- data/generators/bootstrap/public/fonts/fontawesome-webfont.woff +0 -0
- data/generators/bootstrap/public/javascripts/bootstrap.js +2159 -0
- data/generators/bootstrap/public/javascripts/bootstrap.min.js +6 -0
- data/generators/bootstrap/public/samples/.empty_directory +1 -0
- data/generators/bootstrap/public/stylesheets/application.css.scss +39 -0
- data/generators/bootstrap/public/stylesheets/bootstrap-responsive.css +1092 -0
- data/generators/bootstrap/public/stylesheets/bootstrap-responsive.min.css +9 -0
- data/generators/bootstrap/public/stylesheets/bootstrap.css +5652 -0
- data/generators/bootstrap/public/stylesheets/bootstrap.min.css +726 -0
- data/generators/content_type/app/content_types/%name%.yml.tt +58 -0
- data/generators/content_type/data/%name%.yml.tt +24 -0
- data/generators/foundation/Gemfile.tt +20 -0
- data/generators/foundation/app/content_types/.empty_directory +1 -0
- data/generators/foundation/app/views/pages/404.liquid +13 -0
- data/generators/foundation/app/views/pages/404.liquid.haml +10 -0
- data/generators/foundation/app/views/pages/index.liquid +152 -0
- data/generators/foundation/app/views/pages/index.liquid.haml +130 -0
- data/generators/foundation/app/views/snippets/footer.liquid +16 -0
- data/generators/foundation/app/views/snippets/footer.liquid.haml +23 -0
- data/generators/foundation/config/deploy.yml +12 -0
- data/generators/foundation/config/site.yml.tt +16 -0
- data/generators/foundation/config/translations.yml +8 -0
- data/generators/foundation/config.ru +3 -0
- data/generators/foundation/data/.empty_directory +1 -0
- data/generators/foundation/public/fonts/.empty_directory +1 -0
- data/generators/foundation/public/javascripts/foundation/foundation.alerts.js +50 -0
- data/generators/foundation/public/javascripts/foundation/foundation.clearing.js +480 -0
- data/generators/foundation/public/javascripts/foundation/foundation.cookie.js +74 -0
- data/generators/foundation/public/javascripts/foundation/foundation.dropdown.js +130 -0
- data/generators/foundation/public/javascripts/foundation/foundation.forms.js +395 -0
- data/generators/foundation/public/javascripts/foundation/foundation.joyride.js +612 -0
- data/generators/foundation/public/javascripts/foundation/foundation.js +372 -0
- data/generators/foundation/public/javascripts/foundation/foundation.magellan.js +130 -0
- data/generators/foundation/public/javascripts/foundation/foundation.orbit.js +365 -0
- data/generators/foundation/public/javascripts/foundation/foundation.placeholder.js +159 -0
- data/generators/foundation/public/javascripts/foundation/foundation.reveal.js +270 -0
- data/generators/foundation/public/javascripts/foundation/foundation.section.js +272 -0
- data/generators/foundation/public/javascripts/foundation/foundation.tooltips.js +195 -0
- data/generators/foundation/public/javascripts/foundation/foundation.topbar.js +225 -0
- data/generators/foundation/public/javascripts/foundation.min.js +14 -0
- data/generators/foundation/public/javascripts/vendor/custom.modernizr.js +4 -0
- data/generators/foundation/public/javascripts/vendor/jquery.js +9597 -0
- data/generators/foundation/public/javascripts/vendor/zepto.js +1884 -0
- data/generators/foundation/public/samples/.empty_directory +1 -0
- data/generators/foundation/public/stylesheets/foundation.css +3818 -0
- data/generators/foundation/public/stylesheets/foundation.min.css +1 -0
- data/generators/foundation/public/stylesheets/normalize.css +396 -0
- data/generators/page/template.liquid.haml.tt +35 -0
- data/generators/page/template.liquid.tt +1 -0
- data/generators/snippet/template.liquid.haml.tt +4 -0
- data/generators/snippet/template.liquid.tt +4 -0
- data/lib/locomotive/wagon/cli.rb +238 -0
- data/lib/locomotive/wagon/exceptions.rb +35 -0
- data/lib/locomotive/wagon/generators/content_type.rb +47 -0
- data/lib/locomotive/wagon/generators/page.rb +63 -0
- data/lib/locomotive/wagon/generators/site/base.rb +30 -0
- data/lib/locomotive/wagon/generators/site/blank.rb +23 -0
- data/lib/locomotive/wagon/generators/site/bootstrap.rb +35 -0
- data/lib/locomotive/wagon/generators/site/foundation.rb +35 -0
- data/lib/locomotive/wagon/generators/site/unzip.rb +81 -0
- data/lib/locomotive/wagon/generators/site.rb +99 -0
- data/lib/locomotive/wagon/generators/snippet.rb +60 -0
- data/lib/locomotive/wagon/liquid/drops/base.rb +44 -0
- data/lib/locomotive/wagon/liquid/drops/content_entry.rb +48 -0
- data/lib/locomotive/wagon/liquid/drops/content_types.rb +121 -0
- data/lib/locomotive/wagon/liquid/drops/page.rb +36 -0
- data/lib/locomotive/wagon/liquid/drops/site.rb +21 -0
- data/lib/locomotive/wagon/liquid/errors.rb +7 -0
- data/lib/locomotive/wagon/liquid/filters/date.rb +98 -0
- data/lib/locomotive/wagon/liquid/filters/html.rb +154 -0
- data/lib/locomotive/wagon/liquid/filters/misc.rb +28 -0
- data/lib/locomotive/wagon/liquid/filters/resize.rb +18 -0
- data/lib/locomotive/wagon/liquid/filters/text.rb +50 -0
- data/lib/locomotive/wagon/liquid/filters/translate.rb +24 -0
- data/lib/locomotive/wagon/liquid/patches.rb +47 -0
- data/lib/locomotive/wagon/liquid/tags/consume.rb +58 -0
- data/lib/locomotive/wagon/liquid/tags/csrf.rb +34 -0
- data/lib/locomotive/wagon/liquid/tags/editable/base.rb +46 -0
- data/lib/locomotive/wagon/liquid/tags/editable/control.rb +19 -0
- data/lib/locomotive/wagon/liquid/tags/editable/file.rb +15 -0
- data/lib/locomotive/wagon/liquid/tags/editable/long_text.rb +15 -0
- data/lib/locomotive/wagon/liquid/tags/editable/short_text.rb +15 -0
- data/lib/locomotive/wagon/liquid/tags/editable.rb +5 -0
- data/lib/locomotive/wagon/liquid/tags/extends.rb +25 -0
- data/lib/locomotive/wagon/liquid/tags/google_analytics.rb +28 -0
- data/lib/locomotive/wagon/liquid/tags/inline_editor.rb +16 -0
- data/lib/locomotive/wagon/liquid/tags/locale_switcher.rb +106 -0
- data/lib/locomotive/wagon/liquid/tags/nav.rb +167 -0
- data/lib/locomotive/wagon/liquid/tags/paginate.rb +105 -0
- data/lib/locomotive/wagon/liquid/tags/seo.rb +74 -0
- data/lib/locomotive/wagon/liquid/tags/snippet.rb +44 -0
- data/lib/locomotive/wagon/liquid/tags/with_scope.rb +43 -0
- data/lib/locomotive/wagon/liquid.rb +19 -0
- data/lib/locomotive/wagon/listen.rb +57 -0
- data/lib/locomotive/wagon/logger.rb +54 -0
- data/lib/locomotive/wagon/misc/core_ext.rb +29 -0
- data/lib/locomotive/wagon/misc/dragonfly.rb +79 -0
- data/lib/locomotive/wagon/misc/httparty.rb +46 -0
- data/lib/locomotive/wagon/misc/i18n.rb +2 -0
- data/lib/locomotive/wagon/misc/will_paginate.rb +16 -0
- data/lib/locomotive/wagon/misc.rb +5 -0
- data/lib/locomotive/wagon/server/dynamic_assets.rb +31 -0
- data/lib/locomotive/wagon/server/entry_submission.rb +116 -0
- data/lib/locomotive/wagon/server/favicon.rb +17 -0
- data/lib/locomotive/wagon/server/locale.rb +42 -0
- data/lib/locomotive/wagon/server/logging.rb +32 -0
- data/lib/locomotive/wagon/server/middleware.rb +59 -0
- data/lib/locomotive/wagon/server/not_found.rb +19 -0
- data/lib/locomotive/wagon/server/page.rb +61 -0
- data/lib/locomotive/wagon/server/path.rb +34 -0
- data/lib/locomotive/wagon/server/renderer.rb +105 -0
- data/lib/locomotive/wagon/server/templatized_page.rb +32 -0
- data/lib/locomotive/wagon/server.rb +81 -0
- data/lib/locomotive/wagon/standalone_server.rb +28 -0
- data/lib/locomotive/wagon/version.rb +5 -0
- data/lib/locomotive/wagon.rb +163 -0
- data/locales/de.yml +156 -0
- data/locales/en.yml +177 -0
- data/locales/es.yml +132 -0
- data/locales/et.yml +153 -0
- data/locales/fr.yml +146 -0
- data/locales/it.yml +154 -0
- data/locales/nb.yml +190 -0
- data/locales/nl.yml +159 -0
- data/locales/pl.yml +202 -0
- data/locales/pt-BR.yml +138 -0
- data/locales/ru.yml +223 -0
- data/locomotivecms_wagon.gemspec +44 -0
- data/spec/integration/cassettes/pull.yml +590 -0
- data/spec/integration/cassettes/push.yml +810 -0
- data/spec/integration/integration_helper.rb +14 -0
- data/spec/integration/server_spec.rb +38 -0
- data/spec/integration/sites_spec.rb +29 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/helpers.rb +13 -0
- metadata +544 -0
data/locales/nl.yml
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
nl:
|
2
|
+
locales:
|
3
|
+
en: Engels
|
4
|
+
de: Duits
|
5
|
+
fr: Frans
|
6
|
+
pt-BR: "Braziliaans Portugees"
|
7
|
+
it: Italiaans
|
8
|
+
nl: Nederlands
|
9
|
+
nb: Noors
|
10
|
+
ru: Russisch
|
11
|
+
et: Estlands
|
12
|
+
|
13
|
+
errors:
|
14
|
+
messages:
|
15
|
+
blank: "kan ikke være blank"
|
16
|
+
|
17
|
+
number:
|
18
|
+
format:
|
19
|
+
separator: ","
|
20
|
+
precision: 2
|
21
|
+
delimiter: .
|
22
|
+
human:
|
23
|
+
storage_units:
|
24
|
+
format: "%n %u"
|
25
|
+
units:
|
26
|
+
kb: KB
|
27
|
+
tb: TB
|
28
|
+
gb: GB
|
29
|
+
byte:
|
30
|
+
one: Byte
|
31
|
+
other: Bytes
|
32
|
+
mb: MB
|
33
|
+
currency:
|
34
|
+
format:
|
35
|
+
format: "%u %n"
|
36
|
+
unit: !binary |
|
37
|
+
4oKs
|
38
|
+
|
39
|
+
separator: .
|
40
|
+
precision: 2
|
41
|
+
delimiter: .
|
42
|
+
|
43
|
+
time:
|
44
|
+
am: "'s ochtends"
|
45
|
+
formats:
|
46
|
+
default: "%a %d %b %Y %H:%M:%S %Z"
|
47
|
+
time: "%H:%M"
|
48
|
+
short: "%d %b %H:%M"
|
49
|
+
only_second: "%S"
|
50
|
+
datetime:
|
51
|
+
formats:
|
52
|
+
default: "%d-%m-%YT%H:%M:%S%Z"
|
53
|
+
long: "%d %B %Y %H:%M"
|
54
|
+
pm: "'s middages"
|
55
|
+
date:
|
56
|
+
month_names:
|
57
|
+
-
|
58
|
+
- Januari
|
59
|
+
- Februari
|
60
|
+
- Maart
|
61
|
+
- April
|
62
|
+
- Mei
|
63
|
+
- Juni
|
64
|
+
- Juli
|
65
|
+
- Augustus
|
66
|
+
- September
|
67
|
+
- Oktober
|
68
|
+
- November
|
69
|
+
- December
|
70
|
+
abbr_day_names:
|
71
|
+
- Zon
|
72
|
+
- Maa
|
73
|
+
- Din
|
74
|
+
- Woe
|
75
|
+
- Don
|
76
|
+
- Vri
|
77
|
+
- Zat
|
78
|
+
order:
|
79
|
+
- :day
|
80
|
+
- :month
|
81
|
+
- :year
|
82
|
+
formats:
|
83
|
+
only_day: "%e"
|
84
|
+
default: "%d/%m/%Y"
|
85
|
+
short: "%e %b"
|
86
|
+
long: "%e %B %Y"
|
87
|
+
day_names:
|
88
|
+
- Zondag
|
89
|
+
- Maandag
|
90
|
+
- Dinsdag
|
91
|
+
- Woensdag
|
92
|
+
- Donderdag
|
93
|
+
- Vrijdag
|
94
|
+
- Zaterdag
|
95
|
+
abbr_month_names:
|
96
|
+
-
|
97
|
+
- Jan
|
98
|
+
- Feb
|
99
|
+
- Mar
|
100
|
+
- Apr
|
101
|
+
- Mei
|
102
|
+
- Jun
|
103
|
+
- Jul
|
104
|
+
- Aug
|
105
|
+
- Sep
|
106
|
+
- Okt
|
107
|
+
- Nov
|
108
|
+
- Dec
|
109
|
+
support:
|
110
|
+
array:
|
111
|
+
words_connector: ","
|
112
|
+
last_word_connector: ", en"
|
113
|
+
two_words_connector: en
|
114
|
+
datetime:
|
115
|
+
format:
|
116
|
+
default: "%Y-%m-%dT%H:%M:%S%Z"
|
117
|
+
prompts:
|
118
|
+
minute: Minuut
|
119
|
+
second: Seconden
|
120
|
+
month: Maand
|
121
|
+
hour: Uur
|
122
|
+
day: Dag
|
123
|
+
year: Jaar
|
124
|
+
distance_in_words:
|
125
|
+
less_than_x_minutes:
|
126
|
+
one: "minder dan \xC3\xA9\xC3\xA9n minuut"
|
127
|
+
other: minder dan {{count}} minuten
|
128
|
+
x_days:
|
129
|
+
one: 1 dag
|
130
|
+
other: "{{count}} dagen"
|
131
|
+
x_seconds:
|
132
|
+
one: 1 seconde
|
133
|
+
other: "{{count}} seconden"
|
134
|
+
about_x_hours:
|
135
|
+
one: "ongeveer \xC3\xA9\xC3\xA9n uur"
|
136
|
+
other: ongeveer {{count}} uur
|
137
|
+
less_than_x_seconds:
|
138
|
+
one: "minder dan \xC3\xA9\xC3\xA9n seconde"
|
139
|
+
other: minder dan {{count}} seconden
|
140
|
+
x_months:
|
141
|
+
one: 1 maand
|
142
|
+
other: "{{count}} maanden"
|
143
|
+
x_minutes:
|
144
|
+
one: 1 minuut
|
145
|
+
other: "{{count}} minuten"
|
146
|
+
about_x_years:
|
147
|
+
one: "ongeveer \xC3\xA9\xC3\xA9n jaar"
|
148
|
+
other: ongeveer {{count}} jaren
|
149
|
+
about_x_months:
|
150
|
+
one: "ongeveer \xC3\xA9\xC3\xA9n maand"
|
151
|
+
other: ongeveer {{count}} maanden
|
152
|
+
over_x_years:
|
153
|
+
one: "langer dan \xC3\xA9\xC3\xA9n jaar"
|
154
|
+
other: langer {{count}} jaar
|
155
|
+
half_a_minute: halve minuut
|
156
|
+
|
157
|
+
pagination:
|
158
|
+
previous: "« Vorige"
|
159
|
+
next: "Volgende »"
|
data/locales/pl.yml
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
pl:
|
2
|
+
locales:
|
3
|
+
en: angielski
|
4
|
+
de: niemiecki
|
5
|
+
fr: francuski
|
6
|
+
pl: polski
|
7
|
+
pt-BR: "portugalski (brazylijski)"
|
8
|
+
it: włoski
|
9
|
+
nl: niderlandzki
|
10
|
+
nb: norweski
|
11
|
+
es: hiszpański
|
12
|
+
ru: rosyjski
|
13
|
+
et: estoński
|
14
|
+
|
15
|
+
errors:
|
16
|
+
messages:
|
17
|
+
blank: "nie może być puste"
|
18
|
+
|
19
|
+
date:
|
20
|
+
formats:
|
21
|
+
default: "%d-%m-%Y"
|
22
|
+
short: "%d %b"
|
23
|
+
long: "%B %d, %Y"
|
24
|
+
long_ordinal: "%B %d, %Y"
|
25
|
+
only_day: "%e"
|
26
|
+
day_names:
|
27
|
+
- niedziela
|
28
|
+
- poniedziałek
|
29
|
+
- wtorek
|
30
|
+
- środa
|
31
|
+
- czwartek
|
32
|
+
- piątek
|
33
|
+
- sobota
|
34
|
+
abbr_day_names:
|
35
|
+
- nie
|
36
|
+
- pon
|
37
|
+
- wto
|
38
|
+
- śro
|
39
|
+
- czw
|
40
|
+
- pia
|
41
|
+
- sob
|
42
|
+
month_names:
|
43
|
+
- ~
|
44
|
+
- styczeń
|
45
|
+
- luty
|
46
|
+
- marzec
|
47
|
+
- kwiecień
|
48
|
+
- maj
|
49
|
+
- czerwiec
|
50
|
+
- lipiec
|
51
|
+
- sierpień
|
52
|
+
- wrzesień
|
53
|
+
- październik
|
54
|
+
- listopad
|
55
|
+
- grudzień
|
56
|
+
abbr_month_names:
|
57
|
+
- ~
|
58
|
+
- sty
|
59
|
+
- lut
|
60
|
+
- mar
|
61
|
+
- kwi
|
62
|
+
- maj
|
63
|
+
- cze
|
64
|
+
- lip
|
65
|
+
- sie
|
66
|
+
- wrz
|
67
|
+
- paź
|
68
|
+
- lis
|
69
|
+
- gru
|
70
|
+
order:
|
71
|
+
- :day
|
72
|
+
- :month
|
73
|
+
- :year
|
74
|
+
|
75
|
+
pagination:
|
76
|
+
previous: "« Poprzednia"
|
77
|
+
next: "Następna »"
|
78
|
+
|
79
|
+
time:
|
80
|
+
formats:
|
81
|
+
default: "%a, %d %b %Y %H:%M:%S %z"
|
82
|
+
short: "%d %b %H:%M"
|
83
|
+
long: "%B %d, %Y %H:%M"
|
84
|
+
am: "przed południem"
|
85
|
+
pm: "po południu"
|
86
|
+
|
87
|
+
support:
|
88
|
+
array:
|
89
|
+
words_connector: ", "
|
90
|
+
two_words_connector: " i "
|
91
|
+
last_word_connector: " oraz "
|
92
|
+
|
93
|
+
select:
|
94
|
+
prompt: "Wybierz"
|
95
|
+
|
96
|
+
number:
|
97
|
+
format:
|
98
|
+
separator: ","
|
99
|
+
delimiter: " "
|
100
|
+
precision: 3
|
101
|
+
significant: false
|
102
|
+
strip_insignificant_zeros: false
|
103
|
+
|
104
|
+
currency:
|
105
|
+
format:
|
106
|
+
format: "%u %n"
|
107
|
+
unit: "PLN"
|
108
|
+
separator: ","
|
109
|
+
delimiter: " "
|
110
|
+
precision: 2
|
111
|
+
significant: false
|
112
|
+
strip_insignificant_zeros: true
|
113
|
+
|
114
|
+
percentage:
|
115
|
+
format:
|
116
|
+
delimiter: ""
|
117
|
+
|
118
|
+
precision:
|
119
|
+
format:
|
120
|
+
delimiter: ""
|
121
|
+
|
122
|
+
human:
|
123
|
+
format:
|
124
|
+
delimiter: ""
|
125
|
+
precision: 3
|
126
|
+
significant: true
|
127
|
+
strip_insignificant_zeros: true
|
128
|
+
storage_units:
|
129
|
+
format: "%n %u"
|
130
|
+
units:
|
131
|
+
byte:
|
132
|
+
one: "bajt"
|
133
|
+
other: "bajty"
|
134
|
+
kb: "KB"
|
135
|
+
mb: "MB"
|
136
|
+
gb: "GB"
|
137
|
+
tb: "TB"
|
138
|
+
decimal_units:
|
139
|
+
format: "%n %u"
|
140
|
+
units:
|
141
|
+
unit: ""
|
142
|
+
thousand: Tysiąc
|
143
|
+
million: Milion
|
144
|
+
billion: Miliard
|
145
|
+
trillion: Bilion
|
146
|
+
quadrillion: Biliard
|
147
|
+
|
148
|
+
datetime:
|
149
|
+
distance_in_words:
|
150
|
+
half_a_minute: "pół minuty"
|
151
|
+
less_than_x_seconds:
|
152
|
+
one: "mniej niż sekundę"
|
153
|
+
few: "mniej niż %{count} sekundy"
|
154
|
+
other: "mniej niż %{count} sekund"
|
155
|
+
x_seconds:
|
156
|
+
one: "1 sekunda"
|
157
|
+
few: "%{count} sekundy"
|
158
|
+
other: "%{count} sekund"
|
159
|
+
less_than_x_minutes:
|
160
|
+
one: "mniej niż minutę"
|
161
|
+
few: "mniej niż %{count} minuty"
|
162
|
+
other: "mniej niż %{count} minut"
|
163
|
+
x_minutes:
|
164
|
+
one: "1 minuta"
|
165
|
+
few: "%{count} minuty"
|
166
|
+
other: "%{count} minut"
|
167
|
+
about_x_hours:
|
168
|
+
one: "około godziny"
|
169
|
+
few: "około %{count} godziny"
|
170
|
+
other: "około %{count} godzin"
|
171
|
+
x_days:
|
172
|
+
one: "1 dzień"
|
173
|
+
few: "%{count} dni"
|
174
|
+
other: "%{count} dni"
|
175
|
+
about_x_months:
|
176
|
+
one: "około miesiąca"
|
177
|
+
few: "około %{count} miesiące"
|
178
|
+
other: "około %{count} miesięcy"
|
179
|
+
x_months:
|
180
|
+
one: "1 miesiąc"
|
181
|
+
few: "%{count} miesiące"
|
182
|
+
other: "%{count} miesięcy"
|
183
|
+
about_x_years:
|
184
|
+
one: "około rok"
|
185
|
+
few: "około %{count} lata"
|
186
|
+
other: "około %{count} lat"
|
187
|
+
over_x_years:
|
188
|
+
one: "ponad rok"
|
189
|
+
few: "ponad %{count} lata"
|
190
|
+
other: "ponad %{count} lat"
|
191
|
+
almost_x_years:
|
192
|
+
one: "prawie rok"
|
193
|
+
few: "prawie %{count} lata"
|
194
|
+
other: "prawie %{count} lat"
|
195
|
+
prompts:
|
196
|
+
year: "Rok"
|
197
|
+
month: "Miesiąc"
|
198
|
+
day: "Dzień"
|
199
|
+
hour: "Godzina"
|
200
|
+
minute: "Minuta"
|
201
|
+
second: "Sekundy"
|
202
|
+
|
data/locales/pt-BR.yml
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
pt-BR:
|
2
|
+
locales:
|
3
|
+
en: Inglês
|
4
|
+
de: Alemão
|
5
|
+
fr: Francês
|
6
|
+
pl: Polonês
|
7
|
+
pt-BR: "Português do Brasil"
|
8
|
+
it: Italiano
|
9
|
+
nl: Holandês
|
10
|
+
nb: Norueguês
|
11
|
+
es: Espanhol
|
12
|
+
ru: Russo
|
13
|
+
et: Estoniano
|
14
|
+
|
15
|
+
errors:
|
16
|
+
messages:
|
17
|
+
blank: "não pode ficar em branco"
|
18
|
+
|
19
|
+
date:
|
20
|
+
formats:
|
21
|
+
default: "%d/%m/%Y"
|
22
|
+
|
23
|
+
pagination:
|
24
|
+
previous: "« Anterior"
|
25
|
+
next: "Próximo »"
|
26
|
+
|
27
|
+
date:
|
28
|
+
formats:
|
29
|
+
default: "%d/%m/%Y"
|
30
|
+
short: "%e %b"
|
31
|
+
long: "%e %B %Y"
|
32
|
+
long_ordinal: "%e %B %Y"
|
33
|
+
only_day: "%e"
|
34
|
+
|
35
|
+
day_names: [Domingo, Segunda, Terça, Quarta, Quinta, Sexta, Sábado]
|
36
|
+
abbr_day_names: [Dom, Seg, Ter, Qua, Qui, Sex, Sáb]
|
37
|
+
|
38
|
+
month_names: [~, Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro]
|
39
|
+
abbr_month_names: [~, Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez]
|
40
|
+
order: [day, month, year]
|
41
|
+
|
42
|
+
|
43
|
+
time:
|
44
|
+
formats:
|
45
|
+
default: "%d %B %Y %H:%M"
|
46
|
+
time: "%H:%M"
|
47
|
+
short: "%d %b %H:%M"
|
48
|
+
long: "%A %d %B %Y %H:%M:%S %Z"
|
49
|
+
long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
|
50
|
+
only_second: "%S"
|
51
|
+
am: 'am'
|
52
|
+
pm: 'pm'
|
53
|
+
|
54
|
+
datetime:
|
55
|
+
distance_in_words:
|
56
|
+
half_a_minute: 'meio minuto'
|
57
|
+
less_than_x_seconds:
|
58
|
+
one: 'menos de 1 segundo'
|
59
|
+
other: 'menos de %{count} segundos'
|
60
|
+
|
61
|
+
x_seconds:
|
62
|
+
one: '1 segundo'
|
63
|
+
other: '%{count} segundos'
|
64
|
+
|
65
|
+
less_than_x_minutes:
|
66
|
+
one: 'menos de um minuto'
|
67
|
+
other: 'menos de %{count} minutos'
|
68
|
+
|
69
|
+
x_minutes:
|
70
|
+
one: '1 minuto'
|
71
|
+
other: '%{count} minutos'
|
72
|
+
|
73
|
+
about_x_hours:
|
74
|
+
one: 'aproximadamente 1 hora'
|
75
|
+
other: 'aproximadamente %{count} horas'
|
76
|
+
|
77
|
+
x_days:
|
78
|
+
one: '1 dia'
|
79
|
+
other: '%{count} dias'
|
80
|
+
|
81
|
+
about_x_months:
|
82
|
+
one: 'aproximadamente 1 mês'
|
83
|
+
other: 'aproximadamente %{count} meses'
|
84
|
+
|
85
|
+
x_months:
|
86
|
+
one: '1 mês'
|
87
|
+
other: '%{count} meses'
|
88
|
+
|
89
|
+
about_x_years:
|
90
|
+
one: 'aproximadamente 1 ano'
|
91
|
+
other: 'aproximadamente %{count} anos'
|
92
|
+
|
93
|
+
over_x_years:
|
94
|
+
one: 'mais de 1 ano'
|
95
|
+
other: 'mais de %{count} anos'
|
96
|
+
|
97
|
+
almost_x_years:
|
98
|
+
one: 'quase 1 ano'
|
99
|
+
other: 'quase %{count} anos'
|
100
|
+
|
101
|
+
prompts:
|
102
|
+
year: "Ano"
|
103
|
+
month: "Mês"
|
104
|
+
day: "Dia"
|
105
|
+
hour: "Hora"
|
106
|
+
minute: "Minuto"
|
107
|
+
second: "Segundos"
|
108
|
+
|
109
|
+
|
110
|
+
number:
|
111
|
+
format:
|
112
|
+
precision: 3
|
113
|
+
separator: ','
|
114
|
+
delimiter: '. '
|
115
|
+
currency:
|
116
|
+
format:
|
117
|
+
unit: 'R$'
|
118
|
+
precision: 2
|
119
|
+
format: '%n %u'
|
120
|
+
human:
|
121
|
+
format:
|
122
|
+
precision: 2
|
123
|
+
storage_units:
|
124
|
+
format: '%n %u'
|
125
|
+
units:
|
126
|
+
byte: 'Byte'
|
127
|
+
kb: 'Kb'
|
128
|
+
mb: 'Mb'
|
129
|
+
gb: 'Gb'
|
130
|
+
tb: 'Tb'
|
131
|
+
|
132
|
+
support:
|
133
|
+
array:
|
134
|
+
sentence_connector: ' e '
|
135
|
+
skip_last_comma: true
|
136
|
+
words_connector: ", "
|
137
|
+
two_words_connector: " e "
|
138
|
+
last_word_connector: " e "
|
data/locales/ru.yml
ADDED
@@ -0,0 +1,223 @@
|
|
1
|
+
ru:
|
2
|
+
locales:
|
3
|
+
en: Английский
|
4
|
+
de: Немецкий
|
5
|
+
fr: Французский
|
6
|
+
pl: Польский
|
7
|
+
pt-BR: "Браз. - Португальский"
|
8
|
+
it: Итальянский
|
9
|
+
nl: Голландский
|
10
|
+
nb: Норвежский
|
11
|
+
es: Испанский
|
12
|
+
ru: Русский
|
13
|
+
et: Эстонский
|
14
|
+
|
15
|
+
errors:
|
16
|
+
messages:
|
17
|
+
blank: "can not be blank"
|
18
|
+
|
19
|
+
pagination:
|
20
|
+
previous: "« Предыдущая"
|
21
|
+
next: "Следующая »"
|
22
|
+
|
23
|
+
date:
|
24
|
+
formats:
|
25
|
+
# Форматы указываются в виде, поддерживаемом strftime.
|
26
|
+
# По умолчанию используется default.
|
27
|
+
# Можно добавлять собственные форматы
|
28
|
+
#
|
29
|
+
#
|
30
|
+
# Use the strftime parameters for formats.
|
31
|
+
# When no format has been given, it uses default.
|
32
|
+
# You can provide other formats here if you like!
|
33
|
+
default: "%d.%m.%Y"
|
34
|
+
short: "%d %b"
|
35
|
+
long: "%d %B %Y"
|
36
|
+
|
37
|
+
# Названия дней недели -- контекстные и отдельностоящие
|
38
|
+
day_names: [воскресенье, понедельник, вторник, среда, четверг, пятница, суббота]
|
39
|
+
standalone_day_names: [Воскресенье, Понедельник, Вторник, Среда, Четверг, Пятница, Суббота]
|
40
|
+
abbr_day_names: [Вс, Пн, Вт, Ср, Чт, Пт, Сб]
|
41
|
+
|
42
|
+
# Названия месяцев -- сокращенные и полные, плюс отдельностоящие.
|
43
|
+
# Не забудьте nil в начале массиве (~)
|
44
|
+
#
|
45
|
+
#
|
46
|
+
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
47
|
+
month_names: [~, января, февраля, марта, апреля, мая, июня, июля, августа, сентября, октября, ноября, декабря]
|
48
|
+
standalone_month_names: [~, Январь, Февраль, Март, Апрель, Май, Июнь, Июль, Август, Сентябрь, Октябрь, Ноябрь, Декабрь]
|
49
|
+
abbr_month_names: [~, янв., февр., марта, апр., мая, июня, июля, авг., сент., окт., нояб., дек.]
|
50
|
+
standalone_abbr_month_names: [~, янв., февр., март, апр., май, июнь, июль, авг., сент., окт., нояб., дек.]
|
51
|
+
|
52
|
+
# Порядок компонентов даты для хелперов
|
53
|
+
#
|
54
|
+
#
|
55
|
+
# Used in date_select and datime_select.
|
56
|
+
order:
|
57
|
+
- :day
|
58
|
+
- :month
|
59
|
+
- :year
|
60
|
+
|
61
|
+
time:
|
62
|
+
# Форматы времени
|
63
|
+
formats:
|
64
|
+
default: "%a, %d %b %Y, %H:%M:%S %z"
|
65
|
+
short: "%d %b, %H:%M"
|
66
|
+
long: "%d %B %Y, %H:%M"
|
67
|
+
|
68
|
+
# am/pm решено перевести как "утра/вечера" :)
|
69
|
+
am: "утра"
|
70
|
+
pm: "вечера"
|
71
|
+
|
72
|
+
number:
|
73
|
+
# Используется в number_with_delimiter()
|
74
|
+
# Также является установками по умолчанию для 'currency', 'percentage', 'precision', 'human'
|
75
|
+
#
|
76
|
+
# Used in number_with_delimiter()
|
77
|
+
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
|
78
|
+
format:
|
79
|
+
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
|
80
|
+
separator: "."
|
81
|
+
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
|
82
|
+
delimiter: " "
|
83
|
+
# Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
|
84
|
+
precision: 3
|
85
|
+
|
86
|
+
# Used in number_to_currency()
|
87
|
+
currency:
|
88
|
+
format:
|
89
|
+
# Формат отображения валюты и обозначение самой валюты
|
90
|
+
#
|
91
|
+
#
|
92
|
+
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
|
93
|
+
format: "%n %u"
|
94
|
+
unit: "руб."
|
95
|
+
# These three are to override number.format and are optional
|
96
|
+
separator: "."
|
97
|
+
delimiter: " "
|
98
|
+
precision: 2
|
99
|
+
|
100
|
+
# Used in number_to_percentage()
|
101
|
+
percentage:
|
102
|
+
format:
|
103
|
+
# These three are to override number.format and are optional
|
104
|
+
# separator:
|
105
|
+
delimiter: ""
|
106
|
+
|
107
|
+
# Used in number_to_precision()
|
108
|
+
precision:
|
109
|
+
format:
|
110
|
+
# These three are to override number.format and are optional
|
111
|
+
# separator:
|
112
|
+
delimiter: ""
|
113
|
+
# precision:
|
114
|
+
|
115
|
+
# Used in number_to_human_size()
|
116
|
+
human:
|
117
|
+
format:
|
118
|
+
# These three are to override number.format and are optional
|
119
|
+
# separator:
|
120
|
+
delimiter: ""
|
121
|
+
precision: 1
|
122
|
+
|
123
|
+
# Rails 2.2
|
124
|
+
# storage_units: [байт, КБ, МБ, ГБ, ТБ]
|
125
|
+
|
126
|
+
# Rails 2.3
|
127
|
+
storage_units:
|
128
|
+
# Storage units output formatting.
|
129
|
+
# %u is the storage unit, %n is the number (default: 2 MB)
|
130
|
+
format: "%n %u"
|
131
|
+
units:
|
132
|
+
byte:
|
133
|
+
one: "байт"
|
134
|
+
few: "байта"
|
135
|
+
many: "байт"
|
136
|
+
other: "байта"
|
137
|
+
kb: "КБ"
|
138
|
+
mb: "МБ"
|
139
|
+
gb: "ГБ"
|
140
|
+
tb: "ТБ"
|
141
|
+
|
142
|
+
# Используется в хелперах distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
143
|
+
#
|
144
|
+
#
|
145
|
+
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
|
146
|
+
datetime:
|
147
|
+
distance_in_words:
|
148
|
+
half_a_minute: "меньше минуты"
|
149
|
+
less_than_x_seconds:
|
150
|
+
one: "меньше %{count} секунды"
|
151
|
+
few: "меньше %{count} секунд"
|
152
|
+
many: "меньше %{count} секунд"
|
153
|
+
other: "меньше %{count} секунды"
|
154
|
+
x_seconds:
|
155
|
+
one: "%{count} секунда"
|
156
|
+
few: "%{count} секунды"
|
157
|
+
many: "%{count} секунд"
|
158
|
+
other: "%{count} секунды"
|
159
|
+
less_than_x_minutes:
|
160
|
+
one: "меньше %{count} минуты"
|
161
|
+
few: "меньше %{count} минут"
|
162
|
+
many: "меньше %{count} минут"
|
163
|
+
other: "меньше %{count} минуты"
|
164
|
+
x_minutes:
|
165
|
+
one: "%{count} минуту"
|
166
|
+
few: "%{count} минуты"
|
167
|
+
many: "%{count} минут"
|
168
|
+
other: "%{count} минуты"
|
169
|
+
about_x_hours:
|
170
|
+
one: "около %{count} часа"
|
171
|
+
few: "около %{count} часов"
|
172
|
+
many: "около %{count} часов"
|
173
|
+
other: "около %{count} часа"
|
174
|
+
x_days:
|
175
|
+
one: "%{count} день"
|
176
|
+
few: "%{count} дня"
|
177
|
+
many: "%{count} дней"
|
178
|
+
other: "%{count} дня"
|
179
|
+
about_x_months:
|
180
|
+
one: "около %{count} месяца"
|
181
|
+
few: "около %{count} месяцев"
|
182
|
+
many: "около %{count} месяцев"
|
183
|
+
other: "около %{count} месяца"
|
184
|
+
x_months:
|
185
|
+
one: "%{count} месяц"
|
186
|
+
few: "%{count} месяца"
|
187
|
+
many: "%{count} месяцев"
|
188
|
+
other: "%{count} месяца"
|
189
|
+
about_x_years:
|
190
|
+
one: "около %{count} года"
|
191
|
+
few: "около %{count} лет"
|
192
|
+
many: "около %{count} лет"
|
193
|
+
other: "около %{count} лет"
|
194
|
+
over_x_years:
|
195
|
+
one: "больше %{count} года"
|
196
|
+
few: "больше %{count} лет"
|
197
|
+
many: "больше %{count} лет"
|
198
|
+
other: "больше %{count} лет"
|
199
|
+
almost_x_years:
|
200
|
+
one: "почти %{count} год"
|
201
|
+
few: "почти %{count} года"
|
202
|
+
many: "почти %{count} лет"
|
203
|
+
other: "почти %{count} лет"
|
204
|
+
prompts:
|
205
|
+
year: "Год"
|
206
|
+
month: "Месяц"
|
207
|
+
day: "День"
|
208
|
+
hour: "Часов"
|
209
|
+
minute: "Минут"
|
210
|
+
second: "Секунд"
|
211
|
+
|
212
|
+
|
213
|
+
# Used in array.to_sentence.
|
214
|
+
support:
|
215
|
+
array:
|
216
|
+
# Rails 2.2
|
217
|
+
sentence_connector: "и"
|
218
|
+
skip_last_comma: true
|
219
|
+
|
220
|
+
# Rails 2.3
|
221
|
+
words_connector: ", "
|
222
|
+
two_words_connector: " и "
|
223
|
+
last_word_connector: " и "
|