locomotivecms_steam 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +21 -0
  3. data/.travis.yml +4 -0
  4. data/CHANGELOG.md +19 -0
  5. data/Gemfile +8 -0
  6. data/Gemfile.lock +188 -0
  7. data/LICENSE +20 -0
  8. data/README.md +36 -0
  9. data/Rakefile +17 -0
  10. data/bin/publish +28 -0
  11. data/config/locales/de.yml +157 -0
  12. data/config/locales/en.yml +189 -0
  13. data/config/locales/es.yml +133 -0
  14. data/config/locales/et.yml +154 -0
  15. data/config/locales/fr.yml +148 -0
  16. data/config/locales/it.yml +155 -0
  17. data/config/locales/nb.yml +191 -0
  18. data/config/locales/nl.yml +160 -0
  19. data/config/locales/pl.yml +203 -0
  20. data/config/locales/pt-BR.yml +139 -0
  21. data/config/locales/ru.yml +224 -0
  22. data/lib/locomotive/steam/core_ext.rb +5 -0
  23. data/lib/locomotive/steam/core_ext/array.rb +3 -0
  24. data/lib/locomotive/steam/core_ext/boolean/false.rb +3 -0
  25. data/lib/locomotive/steam/core_ext/boolean/true.rb +3 -0
  26. data/lib/locomotive/steam/core_ext/hash.rb +27 -0
  27. data/lib/locomotive/steam/core_ext/string.rb +8 -0
  28. data/lib/locomotive/steam/exceptions.rb +62 -0
  29. data/lib/locomotive/steam/initializers.rb +5 -0
  30. data/lib/locomotive/steam/initializers/i18n.rb +3 -0
  31. data/lib/locomotive/steam/initializers/markdown.rb +27 -0
  32. data/lib/locomotive/steam/initializers/will_paginate.rb +16 -0
  33. data/lib/locomotive/steam/liquid.rb +22 -0
  34. data/lib/locomotive/steam/liquid/drops/base.rb +46 -0
  35. data/lib/locomotive/steam/liquid/drops/content_entry.rb +48 -0
  36. data/lib/locomotive/steam/liquid/drops/content_types.rb +117 -0
  37. data/lib/locomotive/steam/liquid/drops/page.rb +28 -0
  38. data/lib/locomotive/steam/liquid/drops/session_proxy.rb +18 -0
  39. data/lib/locomotive/steam/liquid/drops/site.rb +26 -0
  40. data/lib/locomotive/steam/liquid/errors.rb +17 -0
  41. data/lib/locomotive/steam/liquid/filters/date.rb +136 -0
  42. data/lib/locomotive/steam/liquid/filters/html.rb +188 -0
  43. data/lib/locomotive/steam/liquid/filters/misc.rb +49 -0
  44. data/lib/locomotive/steam/liquid/filters/resize.rb +18 -0
  45. data/lib/locomotive/steam/liquid/filters/text.rb +55 -0
  46. data/lib/locomotive/steam/liquid/filters/translate.rb +28 -0
  47. data/lib/locomotive/steam/liquid/patches.rb +47 -0
  48. data/lib/locomotive/steam/liquid/scopeable.rb +149 -0
  49. data/lib/locomotive/steam/liquid/tags/consume.rb +97 -0
  50. data/lib/locomotive/steam/liquid/tags/csrf.rb +34 -0
  51. data/lib/locomotive/steam/liquid/tags/editable.rb +6 -0
  52. data/lib/locomotive/steam/liquid/tags/editable/base.rb +50 -0
  53. data/lib/locomotive/steam/liquid/tags/editable/control.rb +19 -0
  54. data/lib/locomotive/steam/liquid/tags/editable/file.rb +15 -0
  55. data/lib/locomotive/steam/liquid/tags/editable/long_text.rb +15 -0
  56. data/lib/locomotive/steam/liquid/tags/editable/short_text.rb +20 -0
  57. data/lib/locomotive/steam/liquid/tags/editable/text.rb +15 -0
  58. data/lib/locomotive/steam/liquid/tags/extends.rb +25 -0
  59. data/lib/locomotive/steam/liquid/tags/google_analytics.rb +28 -0
  60. data/lib/locomotive/steam/liquid/tags/hybrid.rb +27 -0
  61. data/lib/locomotive/steam/liquid/tags/inline_editor.rb +16 -0
  62. data/lib/locomotive/steam/liquid/tags/link_to.rb +56 -0
  63. data/lib/locomotive/steam/liquid/tags/locale_switcher.rb +106 -0
  64. data/lib/locomotive/steam/liquid/tags/nav.rb +287 -0
  65. data/lib/locomotive/steam/liquid/tags/paginate.rb +105 -0
  66. data/lib/locomotive/steam/liquid/tags/path_helper.rb +98 -0
  67. data/lib/locomotive/steam/liquid/tags/path_to.rb +36 -0
  68. data/lib/locomotive/steam/liquid/tags/seo.rb +74 -0
  69. data/lib/locomotive/steam/liquid/tags/session_assign.rb +41 -0
  70. data/lib/locomotive/steam/liquid/tags/snippet.rb +63 -0
  71. data/lib/locomotive/steam/liquid/tags/with_scope.rb +44 -0
  72. data/lib/locomotive/steam/listen.rb +64 -0
  73. data/lib/locomotive/steam/logger.rb +54 -0
  74. data/lib/locomotive/steam/monkey_patches.rb +5 -0
  75. data/lib/locomotive/steam/monkey_patches/better_errors.rb +70 -0
  76. data/lib/locomotive/steam/monkey_patches/dragonfly.rb +79 -0
  77. data/lib/locomotive/steam/monkey_patches/haml.rb +15 -0
  78. data/lib/locomotive/steam/monkey_patches/httparty.rb +46 -0
  79. data/lib/locomotive/steam/monkey_patches/mounter.rb +32 -0
  80. data/lib/locomotive/steam/server.rb +81 -0
  81. data/lib/locomotive/steam/server/dynamic_assets.rb +33 -0
  82. data/lib/locomotive/steam/server/entry_submission.rb +120 -0
  83. data/lib/locomotive/steam/server/favicon.rb +18 -0
  84. data/lib/locomotive/steam/server/locale.rb +42 -0
  85. data/lib/locomotive/steam/server/logging.rb +32 -0
  86. data/lib/locomotive/steam/server/middleware.rb +61 -0
  87. data/lib/locomotive/steam/server/page.rb +69 -0
  88. data/lib/locomotive/steam/server/path.rb +34 -0
  89. data/lib/locomotive/steam/server/renderer.rb +118 -0
  90. data/lib/locomotive/steam/server/templatized_page.rb +32 -0
  91. data/lib/locomotive/steam/server/timezone.rb +18 -0
  92. data/lib/locomotive/steam/standalone_server.rb +33 -0
  93. data/lib/locomotive/steam/version.rb +5 -0
  94. data/lib/steam.rb +4 -0
  95. data/locomotivecms_steam.gemspec +42 -0
  96. data/spec/fixtures/default/README +0 -0
  97. data/spec/fixtures/default/app/content_types/bands.yml +19 -0
  98. data/spec/fixtures/default/app/content_types/events.yml +25 -0
  99. data/spec/fixtures/default/app/content_types/messages.yml +17 -0
  100. data/spec/fixtures/default/app/content_types/songs.yml +25 -0
  101. data/spec/fixtures/default/app/content_types/updates.yml +33 -0
  102. data/spec/fixtures/default/app/views/pages/404.liquid.haml +10 -0
  103. data/spec/fixtures/default/app/views/pages/about_us.fr.liquid.haml +7 -0
  104. data/spec/fixtures/default/app/views/pages/about_us.liquid.haml +21 -0
  105. data/spec/fixtures/default/app/views/pages/about_us.nb.liquid.haml +4 -0
  106. data/spec/fixtures/default/app/views/pages/about_us/jane_doe.liquid.haml +4 -0
  107. data/spec/fixtures/default/app/views/pages/about_us/john_doe.fr.liquid.haml +5 -0
  108. data/spec/fixtures/default/app/views/pages/about_us/john_doe.liquid.haml +6 -0
  109. data/spec/fixtures/default/app/views/pages/all.liquid.haml +13 -0
  110. data/spec/fixtures/default/app/views/pages/archives/news.liquid.haml +10 -0
  111. data/spec/fixtures/default/app/views/pages/contact.liquid.haml +54 -0
  112. data/spec/fixtures/default/app/views/pages/contest.liquid.haml +18 -0
  113. data/spec/fixtures/default/app/views/pages/events.liquid.haml +42 -0
  114. data/spec/fixtures/default/app/views/pages/filtered.liquid.haml +10 -0
  115. data/spec/fixtures/default/app/views/pages/grunge_bands.liquid.haml +8 -0
  116. data/spec/fixtures/default/app/views/pages/index.fr.liquid.haml +3 -0
  117. data/spec/fixtures/default/app/views/pages/index.liquid.haml +100 -0
  118. data/spec/fixtures/default/app/views/pages/music.fr.liquid.haml +4 -0
  119. data/spec/fixtures/default/app/views/pages/music.liquid.haml +42 -0
  120. data/spec/fixtures/default/app/views/pages/songs/template.fr.liquid.haml +16 -0
  121. data/spec/fixtures/default/app/views/pages/songs/template.liquid.haml +18 -0
  122. data/spec/fixtures/default/app/views/pages/songs/template/band.liquid.haml +16 -0
  123. data/spec/fixtures/default/app/views/pages/store.fr.liquid.haml +5 -0
  124. data/spec/fixtures/default/app/views/pages/store.liquid +5 -0
  125. data/spec/fixtures/default/app/views/pages/tags/nav.liquid.haml +6 -0
  126. data/spec/fixtures/default/app/views/pages/tags/nav_in_deep.liquid.haml +6 -0
  127. data/spec/fixtures/default/app/views/pages/unlisted_pages.liquid.haml +9 -0
  128. data/spec/fixtures/default/app/views/snippets/A_Complicated-one.liquid.haml +1 -0
  129. data/spec/fixtures/default/app/views/snippets/footer.liquid.haml +6 -0
  130. data/spec/fixtures/default/app/views/snippets/header.liquid.haml +1 -0
  131. data/spec/fixtures/default/app/views/snippets/song.fr.liquid.haml +8 -0
  132. data/spec/fixtures/default/app/views/snippets/song.liquid +12 -0
  133. data/spec/fixtures/default/config/deploy.yml +12 -0
  134. data/spec/fixtures/default/config/deploy_example.yml +12 -0
  135. data/spec/fixtures/default/config/site.yml +15 -0
  136. data/spec/fixtures/default/config/translations.yml +3 -0
  137. data/spec/fixtures/default/data/bands.yml +10 -0
  138. data/spec/fixtures/default/data/events.yml +53 -0
  139. data/spec/fixtures/default/data/songs.yml +46 -0
  140. data/spec/fixtures/default/data/updates.yml +48 -0
  141. data/spec/fixtures/default/public/fonts/chunkfive-webfont.eot +0 -0
  142. data/spec/fixtures/default/public/fonts/chunkfive-webfont.svg +213 -0
  143. data/spec/fixtures/default/public/fonts/chunkfive-webfont.ttf +0 -0
  144. data/spec/fixtures/default/public/fonts/chunkfive-webfont.woff +0 -0
  145. data/spec/fixtures/default/public/fonts/chunkfive.css +8 -0
  146. data/spec/fixtures/default/public/fonts/chunkfive.otf +0 -0
  147. data/spec/fixtures/default/public/images/nav_on.png +0 -0
  148. data/spec/fixtures/default/public/images/photo_frame.png +0 -0
  149. data/spec/fixtures/default/public/images/sep.png +0 -0
  150. data/spec/fixtures/default/public/images/top.jpg +0 -0
  151. data/spec/fixtures/default/public/javascripts/application.js.coffee +2 -0
  152. data/spec/fixtures/default/public/javascripts/common.js +1 -0
  153. data/spec/fixtures/default/public/samples/asset_collections/cover.jpg +0 -0
  154. data/spec/fixtures/default/public/samples/photo.jpg +0 -0
  155. data/spec/fixtures/default/public/samples/photo_2.jpg +0 -0
  156. data/spec/fixtures/default/public/stylesheets/application.css +64 -0
  157. data/spec/fixtures/default/public/stylesheets/other/extra.css.less +8 -0
  158. data/spec/fixtures/default/public/stylesheets/other/style.css.scss +13 -0
  159. data/spec/fixtures/default/public/stylesheets/reboot.css +82 -0
  160. data/spec/integration/integration_helper.rb +15 -0
  161. data/spec/integration/server/basic_spec.rb +170 -0
  162. data/spec/integration/server/contact_form_spec.rb +111 -0
  163. data/spec/integration/server/liquid_spec.rb +91 -0
  164. data/spec/integration/server/with_scope_spec.rb +20 -0
  165. data/spec/locales/locales_spec.rb +22 -0
  166. data/spec/spec_helper.rb +21 -0
  167. data/spec/support.rb +4 -0
  168. data/spec/support/examples/locale_file.rb +14 -0
  169. data/spec/support/examples/matching_locale.rb +8 -0
  170. data/spec/support/helpers.rb +22 -0
  171. data/spec/support/matchers/hash.rb +5 -0
  172. metadata +564 -0
@@ -0,0 +1,160 @@
1
+ nl:
2
+ locomotive:
3
+ locales:
4
+ en: Engels
5
+ de: Duits
6
+ fr: Frans
7
+ pt-BR: "Braziliaans Portugees"
8
+ it: Italiaans
9
+ nl: Nederlands
10
+ nb: Noors
11
+ ru: Russisch
12
+ et: Estlands
13
+
14
+ errors:
15
+ messages:
16
+ blank: "kan ikke være blank"
17
+
18
+ number:
19
+ format:
20
+ separator: ","
21
+ precision: 2
22
+ delimiter: .
23
+ human:
24
+ storage_units:
25
+ format: "%n %u"
26
+ units:
27
+ kb: KB
28
+ tb: TB
29
+ gb: GB
30
+ byte:
31
+ one: Byte
32
+ other: Bytes
33
+ mb: MB
34
+ currency:
35
+ format:
36
+ format: "%u %n"
37
+ unit: !binary |
38
+ 4oKs
39
+
40
+ separator: .
41
+ precision: 2
42
+ delimiter: .
43
+
44
+ time:
45
+ am: "'s ochtends"
46
+ formats:
47
+ default: "%a %d %b %Y %H:%M:%S %Z"
48
+ time: "%H:%M"
49
+ short: "%d %b %H:%M"
50
+ only_second: "%S"
51
+ datetime:
52
+ formats:
53
+ default: "%d-%m-%YT%H:%M:%S%Z"
54
+ long: "%d %B %Y %H:%M"
55
+ pm: "'s middages"
56
+ date:
57
+ month_names:
58
+ -
59
+ - Januari
60
+ - Februari
61
+ - Maart
62
+ - April
63
+ - Mei
64
+ - Juni
65
+ - Juli
66
+ - Augustus
67
+ - September
68
+ - Oktober
69
+ - November
70
+ - December
71
+ abbr_day_names:
72
+ - Zon
73
+ - Maa
74
+ - Din
75
+ - Woe
76
+ - Don
77
+ - Vri
78
+ - Zat
79
+ order:
80
+ - :day
81
+ - :month
82
+ - :year
83
+ formats:
84
+ only_day: "%e"
85
+ default: "%d/%m/%Y"
86
+ short: "%e %b"
87
+ long: "%e %B %Y"
88
+ day_names:
89
+ - Zondag
90
+ - Maandag
91
+ - Dinsdag
92
+ - Woensdag
93
+ - Donderdag
94
+ - Vrijdag
95
+ - Zaterdag
96
+ abbr_month_names:
97
+ -
98
+ - Jan
99
+ - Feb
100
+ - Mar
101
+ - Apr
102
+ - Mei
103
+ - Jun
104
+ - Jul
105
+ - Aug
106
+ - Sep
107
+ - Okt
108
+ - Nov
109
+ - Dec
110
+ support:
111
+ array:
112
+ words_connector: ","
113
+ last_word_connector: ", en"
114
+ two_words_connector: en
115
+ datetime:
116
+ format:
117
+ default: "%Y-%m-%dT%H:%M:%S%Z"
118
+ prompts:
119
+ minute: Minuut
120
+ second: Seconden
121
+ month: Maand
122
+ hour: Uur
123
+ day: Dag
124
+ year: Jaar
125
+ distance_in_words:
126
+ less_than_x_minutes:
127
+ one: "minder dan \xC3\xA9\xC3\xA9n minuut"
128
+ other: minder dan {{count}} minuten
129
+ x_days:
130
+ one: 1 dag
131
+ other: "{{count}} dagen"
132
+ x_seconds:
133
+ one: 1 seconde
134
+ other: "{{count}} seconden"
135
+ about_x_hours:
136
+ one: "ongeveer \xC3\xA9\xC3\xA9n uur"
137
+ other: ongeveer {{count}} uur
138
+ less_than_x_seconds:
139
+ one: "minder dan \xC3\xA9\xC3\xA9n seconde"
140
+ other: minder dan {{count}} seconden
141
+ x_months:
142
+ one: 1 maand
143
+ other: "{{count}} maanden"
144
+ x_minutes:
145
+ one: 1 minuut
146
+ other: "{{count}} minuten"
147
+ about_x_years:
148
+ one: "ongeveer \xC3\xA9\xC3\xA9n jaar"
149
+ other: ongeveer {{count}} jaren
150
+ about_x_months:
151
+ one: "ongeveer \xC3\xA9\xC3\xA9n maand"
152
+ other: ongeveer {{count}} maanden
153
+ over_x_years:
154
+ one: "langer dan \xC3\xA9\xC3\xA9n jaar"
155
+ other: langer {{count}} jaar
156
+ half_a_minute: halve minuut
157
+
158
+ pagination:
159
+ previous: "« Vorige"
160
+ next: "Volgende »"
@@ -0,0 +1,203 @@
1
+ pl:
2
+ locomotive:
3
+ locales:
4
+ en: angielski
5
+ de: niemiecki
6
+ fr: francuski
7
+ pl: polski
8
+ pt-BR: "portugalski (brazylijski)"
9
+ it: włoski
10
+ nl: niderlandzki
11
+ nb: norweski
12
+ es: hiszpański
13
+ ru: rosyjski
14
+ et: estoński
15
+
16
+ errors:
17
+ messages:
18
+ blank: "nie może być puste"
19
+
20
+ date:
21
+ formats:
22
+ default: "%d-%m-%Y"
23
+ short: "%d %b"
24
+ long: "%B %d, %Y"
25
+ long_ordinal: "%B %d, %Y"
26
+ only_day: "%e"
27
+ day_names:
28
+ - niedziela
29
+ - poniedziałek
30
+ - wtorek
31
+ - środa
32
+ - czwartek
33
+ - piątek
34
+ - sobota
35
+ abbr_day_names:
36
+ - nie
37
+ - pon
38
+ - wto
39
+ - śro
40
+ - czw
41
+ - pia
42
+ - sob
43
+ month_names:
44
+ - ~
45
+ - styczeń
46
+ - luty
47
+ - marzec
48
+ - kwiecień
49
+ - maj
50
+ - czerwiec
51
+ - lipiec
52
+ - sierpień
53
+ - wrzesień
54
+ - październik
55
+ - listopad
56
+ - grudzień
57
+ abbr_month_names:
58
+ - ~
59
+ - sty
60
+ - lut
61
+ - mar
62
+ - kwi
63
+ - maj
64
+ - cze
65
+ - lip
66
+ - sie
67
+ - wrz
68
+ - paź
69
+ - lis
70
+ - gru
71
+ order:
72
+ - :day
73
+ - :month
74
+ - :year
75
+
76
+ pagination:
77
+ previous: "« Poprzednia"
78
+ next: "Następna »"
79
+
80
+ time:
81
+ formats:
82
+ default: "%a, %d %b %Y %H:%M:%S %z"
83
+ short: "%d %b %H:%M"
84
+ long: "%B %d, %Y %H:%M"
85
+ am: "przed południem"
86
+ pm: "po południu"
87
+
88
+ support:
89
+ array:
90
+ words_connector: ", "
91
+ two_words_connector: " i "
92
+ last_word_connector: " oraz "
93
+
94
+ select:
95
+ prompt: "Wybierz"
96
+
97
+ number:
98
+ format:
99
+ separator: ","
100
+ delimiter: " "
101
+ precision: 3
102
+ significant: false
103
+ strip_insignificant_zeros: false
104
+
105
+ currency:
106
+ format:
107
+ format: "%u %n"
108
+ unit: "PLN"
109
+ separator: ","
110
+ delimiter: " "
111
+ precision: 2
112
+ significant: false
113
+ strip_insignificant_zeros: true
114
+
115
+ percentage:
116
+ format:
117
+ delimiter: ""
118
+
119
+ precision:
120
+ format:
121
+ delimiter: ""
122
+
123
+ human:
124
+ format:
125
+ delimiter: ""
126
+ precision: 3
127
+ significant: true
128
+ strip_insignificant_zeros: true
129
+ storage_units:
130
+ format: "%n %u"
131
+ units:
132
+ byte:
133
+ one: "bajt"
134
+ other: "bajty"
135
+ kb: "KB"
136
+ mb: "MB"
137
+ gb: "GB"
138
+ tb: "TB"
139
+ decimal_units:
140
+ format: "%n %u"
141
+ units:
142
+ unit: ""
143
+ thousand: Tysiąc
144
+ million: Milion
145
+ billion: Miliard
146
+ trillion: Bilion
147
+ quadrillion: Biliard
148
+
149
+ datetime:
150
+ distance_in_words:
151
+ half_a_minute: "pół minuty"
152
+ less_than_x_seconds:
153
+ one: "mniej niż sekundę"
154
+ few: "mniej niż %{count} sekundy"
155
+ other: "mniej niż %{count} sekund"
156
+ x_seconds:
157
+ one: "1 sekunda"
158
+ few: "%{count} sekundy"
159
+ other: "%{count} sekund"
160
+ less_than_x_minutes:
161
+ one: "mniej niż minutę"
162
+ few: "mniej niż %{count} minuty"
163
+ other: "mniej niż %{count} minut"
164
+ x_minutes:
165
+ one: "1 minuta"
166
+ few: "%{count} minuty"
167
+ other: "%{count} minut"
168
+ about_x_hours:
169
+ one: "około godziny"
170
+ few: "około %{count} godziny"
171
+ other: "około %{count} godzin"
172
+ x_days:
173
+ one: "1 dzień"
174
+ few: "%{count} dni"
175
+ other: "%{count} dni"
176
+ about_x_months:
177
+ one: "około miesiąca"
178
+ few: "około %{count} miesiące"
179
+ other: "około %{count} miesięcy"
180
+ x_months:
181
+ one: "1 miesiąc"
182
+ few: "%{count} miesiące"
183
+ other: "%{count} miesięcy"
184
+ about_x_years:
185
+ one: "około rok"
186
+ few: "około %{count} lata"
187
+ other: "około %{count} lat"
188
+ over_x_years:
189
+ one: "ponad rok"
190
+ few: "ponad %{count} lata"
191
+ other: "ponad %{count} lat"
192
+ almost_x_years:
193
+ one: "prawie rok"
194
+ few: "prawie %{count} lata"
195
+ other: "prawie %{count} lat"
196
+ prompts:
197
+ year: "Rok"
198
+ month: "Miesiąc"
199
+ day: "Dzień"
200
+ hour: "Godzina"
201
+ minute: "Minuta"
202
+ second: "Sekundy"
203
+
@@ -0,0 +1,139 @@
1
+ pt-BR:
2
+ locomotive:
3
+ locales:
4
+ en: Inglês
5
+ de: Alemão
6
+ fr: Francês
7
+ pl: Polonês
8
+ pt-BR: "Português do Brasil"
9
+ it: Italiano
10
+ nl: Holandês
11
+ nb: Norueguês
12
+ es: Espanhol
13
+ ru: Russo
14
+ et: Estoniano
15
+
16
+ errors:
17
+ messages:
18
+ blank: "não pode ficar em branco"
19
+
20
+ date:
21
+ formats:
22
+ default: "%d/%m/%Y"
23
+
24
+ pagination:
25
+ previous: "« Anterior"
26
+ next: "Próximo »"
27
+
28
+ date:
29
+ formats:
30
+ default: "%d/%m/%Y"
31
+ short: "%e %b"
32
+ long: "%e %B %Y"
33
+ long_ordinal: "%e %B %Y"
34
+ only_day: "%e"
35
+
36
+ day_names: [Domingo, Segunda, Terça, Quarta, Quinta, Sexta, Sábado]
37
+ abbr_day_names: [Dom, Seg, Ter, Qua, Qui, Sex, Sáb]
38
+
39
+ month_names: [~, Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro]
40
+ abbr_month_names: [~, Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez]
41
+ order: [day, month, year]
42
+
43
+
44
+ time:
45
+ formats:
46
+ default: "%d %B %Y %H:%M"
47
+ time: "%H:%M"
48
+ short: "%d %b %H:%M"
49
+ long: "%A %d %B %Y %H:%M:%S %Z"
50
+ long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
51
+ only_second: "%S"
52
+ am: 'am'
53
+ pm: 'pm'
54
+
55
+ datetime:
56
+ distance_in_words:
57
+ half_a_minute: 'meio minuto'
58
+ less_than_x_seconds:
59
+ one: 'menos de 1 segundo'
60
+ other: 'menos de %{count} segundos'
61
+
62
+ x_seconds:
63
+ one: '1 segundo'
64
+ other: '%{count} segundos'
65
+
66
+ less_than_x_minutes:
67
+ one: 'menos de um minuto'
68
+ other: 'menos de %{count} minutos'
69
+
70
+ x_minutes:
71
+ one: '1 minuto'
72
+ other: '%{count} minutos'
73
+
74
+ about_x_hours:
75
+ one: 'aproximadamente 1 hora'
76
+ other: 'aproximadamente %{count} horas'
77
+
78
+ x_days:
79
+ one: '1 dia'
80
+ other: '%{count} dias'
81
+
82
+ about_x_months:
83
+ one: 'aproximadamente 1 mês'
84
+ other: 'aproximadamente %{count} meses'
85
+
86
+ x_months:
87
+ one: '1 mês'
88
+ other: '%{count} meses'
89
+
90
+ about_x_years:
91
+ one: 'aproximadamente 1 ano'
92
+ other: 'aproximadamente %{count} anos'
93
+
94
+ over_x_years:
95
+ one: 'mais de 1 ano'
96
+ other: 'mais de %{count} anos'
97
+
98
+ almost_x_years:
99
+ one: 'quase 1 ano'
100
+ other: 'quase %{count} anos'
101
+
102
+ prompts:
103
+ year: "Ano"
104
+ month: "Mês"
105
+ day: "Dia"
106
+ hour: "Hora"
107
+ minute: "Minuto"
108
+ second: "Segundos"
109
+
110
+
111
+ number:
112
+ format:
113
+ precision: 3
114
+ separator: ','
115
+ delimiter: '. '
116
+ currency:
117
+ format:
118
+ unit: 'R$'
119
+ precision: 2
120
+ format: '%n %u'
121
+ human:
122
+ format:
123
+ precision: 2
124
+ storage_units:
125
+ format: '%n %u'
126
+ units:
127
+ byte: 'Byte'
128
+ kb: 'Kb'
129
+ mb: 'Mb'
130
+ gb: 'Gb'
131
+ tb: 'Tb'
132
+
133
+ support:
134
+ array:
135
+ sentence_connector: ' e '
136
+ skip_last_comma: true
137
+ words_connector: ", "
138
+ two_words_connector: " e "
139
+ last_word_connector: " e "