alula 0.2.3 → 0.4.0b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile +7 -0
  3. data/Guardfile +9 -0
  4. data/Rakefile +12 -1
  5. data/VERSION +1 -1
  6. data/alula.gemspec +20 -4
  7. data/lib/alula/attachment_processor.rb +77 -0
  8. data/lib/alula/cdn.rb +30 -0
  9. data/lib/alula/cdns/edgecast.rb +16 -0
  10. data/lib/alula/cdns/hosts.rb +14 -0
  11. data/lib/alula/cli.rb +90 -39
  12. data/lib/alula/compressors.rb +22 -10
  13. data/lib/alula/config.rb +141 -0
  14. data/lib/alula/content.rb +113 -0
  15. data/lib/alula/contents/attachment.rb +8 -0
  16. data/lib/alula/contents/item.rb +409 -0
  17. data/lib/alula/contents/metadata.rb +73 -0
  18. data/lib/alula/contents/page.rb +9 -0
  19. data/lib/alula/contents/post.rb +32 -0
  20. data/lib/alula/context.rb +72 -0
  21. data/lib/alula/core_ext.rb +5 -0
  22. data/lib/alula/core_ext/environment.rb +20 -0
  23. data/lib/alula/core_ext/filter.rb +20 -0
  24. data/lib/alula/core_ext/filters/smilies.rb +36 -0
  25. data/lib/alula/core_ext/manifest.rb +30 -0
  26. data/lib/alula/core_ext/tag.rb +100 -0
  27. data/lib/alula/core_ext/tags/attachment.rb +28 -0
  28. data/lib/alula/core_ext/tags/blockquote.rb +21 -0
  29. data/lib/alula/core_ext/tags/image.rb +48 -0
  30. data/lib/alula/core_ext/tags/locale.rb +17 -0
  31. data/lib/alula/core_ext/tags/video.rb +103 -0
  32. data/lib/alula/generator.rb +31 -0
  33. data/lib/alula/generators/feedbuilder.rb +44 -0
  34. data/lib/alula/generators/paginate.rb +88 -0
  35. data/lib/alula/generators/sitemap.rb +26 -0
  36. data/lib/alula/helpers.rb +2 -0
  37. data/lib/alula/helpers/addons.rb +12 -0
  38. data/lib/alula/helpers/assets.rb +56 -0
  39. data/lib/alula/helpers/url_helpers.rb +16 -0
  40. data/lib/alula/plugin.rb +32 -0
  41. data/lib/alula/processor.rb +86 -0
  42. data/lib/alula/processors/dummy.rb +24 -0
  43. data/lib/alula/processors/image.rb +52 -0
  44. data/lib/alula/processors/magick.rb +83 -0
  45. data/lib/alula/processors/video.rb +97 -0
  46. data/lib/alula/processors/zencoder.rb +199 -0
  47. data/lib/alula/progress.rb +95 -0
  48. data/lib/alula/progressbar.rb +66 -0
  49. data/lib/alula/site.rb +331 -262
  50. data/lib/alula/storage.rb +46 -0
  51. data/lib/alula/storages/file_item.rb +43 -0
  52. data/lib/alula/storages/filestorage.rb +96 -0
  53. data/lib/alula/storages/item.rb +12 -0
  54. data/lib/alula/support/commonlogger.rb +30 -0
  55. data/lib/alula/theme.rb +70 -13
  56. data/lib/alula/theme/layout.rb +56 -0
  57. data/lib/alula/theme/view.rb +43 -0
  58. data/lib/alula/version.rb +1 -1
  59. data/locales/en.yml +9 -0
  60. data/locales/fi.yml +10 -0
  61. data/locales/l10n/ar.yml +199 -0
  62. data/locales/l10n/az.yml +199 -0
  63. data/locales/l10n/bg.yml +199 -0
  64. data/locales/l10n/bn-IN.yml +182 -0
  65. data/locales/l10n/bs.yml +242 -0
  66. data/locales/l10n/ca.yml +199 -0
  67. data/locales/l10n/cs.yml +198 -0
  68. data/locales/l10n/csb.yml +210 -0
  69. data/locales/l10n/cy.yml +199 -0
  70. data/locales/l10n/da.yml +199 -0
  71. data/locales/l10n/de-AT.yml +203 -0
  72. data/locales/l10n/de-CH.yml +203 -0
  73. data/locales/l10n/de.yml +203 -0
  74. data/locales/l10n/dsb.yml +215 -0
  75. data/locales/l10n/el.yml +199 -0
  76. data/locales/l10n/en-AU.yml +205 -0
  77. data/locales/l10n/en-CA.yml +214 -0
  78. data/locales/l10n/en-GB.yml +205 -0
  79. data/locales/l10n/en-IN.yml +205 -0
  80. data/locales/l10n/en-US.yml +205 -0
  81. data/locales/l10n/en.yml +205 -0
  82. data/locales/l10n/eo.yml +201 -0
  83. data/locales/l10n/es-AR.yml +205 -0
  84. data/locales/l10n/es-CL.yml +199 -0
  85. data/locales/l10n/es-CO.yml +205 -0
  86. data/locales/l10n/es-MX.yml +205 -0
  87. data/locales/l10n/es-PE.yml +181 -0
  88. data/locales/l10n/es-VE.yml +205 -0
  89. data/locales/l10n/es.yml +199 -0
  90. data/locales/l10n/et.yml +199 -0
  91. data/locales/l10n/eu.yml +199 -0
  92. data/locales/l10n/fa.yml +199 -0
  93. data/locales/l10n/fi.yml +199 -0
  94. data/locales/l10n/fr-CA.yml +207 -0
  95. data/locales/l10n/fr-CH.yml +207 -0
  96. data/locales/l10n/fr.yml +222 -0
  97. data/locales/l10n/fur.yml +199 -0
  98. data/locales/l10n/gl-ES.yml +178 -0
  99. data/locales/l10n/gsw-CH.yml +199 -0
  100. data/locales/l10n/he.yml +201 -0
  101. data/locales/l10n/hi-IN.yml +199 -0
  102. data/locales/l10n/hi.yml +199 -0
  103. data/locales/l10n/hr.yml +237 -0
  104. data/locales/l10n/hsb.yml +214 -0
  105. data/locales/l10n/hu.yml +199 -0
  106. data/locales/l10n/id.yml +200 -0
  107. data/locales/l10n/is.yml +213 -0
  108. data/locales/l10n/it.yml +205 -0
  109. data/locales/l10n/ja.yml +197 -0
  110. data/locales/l10n/kn.yml +199 -0
  111. data/locales/l10n/ko.yml +197 -0
  112. data/locales/l10n/lo.yml +186 -0
  113. data/locales/l10n/lt.yml +182 -0
  114. data/locales/l10n/lv.yml +215 -0
  115. data/locales/l10n/mk.yml +170 -0
  116. data/locales/l10n/mn.yml +205 -0
  117. data/locales/l10n/nb.yml +207 -0
  118. data/locales/l10n/nl.yml +199 -0
  119. data/locales/l10n/nn.yml +160 -0
  120. data/locales/l10n/pl.yml +221 -0
  121. data/locales/l10n/pt-BR.yml +207 -0
  122. data/locales/l10n/pt-PT.yml +207 -0
  123. data/locales/l10n/quotes.yml +24 -0
  124. data/locales/l10n/rm.yml +182 -0
  125. data/locales/l10n/ro.yml +199 -0
  126. data/locales/l10n/ru.yml +257 -0
  127. data/locales/l10n/sk.yml +213 -0
  128. data/locales/l10n/sl.yml +210 -0
  129. data/locales/l10n/sr-Latn.yml +170 -0
  130. data/locales/l10n/sr.yml +170 -0
  131. data/locales/l10n/sv-SE.yml +199 -0
  132. data/locales/l10n/sw.yml +197 -0
  133. data/locales/l10n/th.yml +173 -0
  134. data/locales/l10n/tl.yml +229 -0
  135. data/locales/l10n/tr.yml +199 -0
  136. data/locales/l10n/uk.yml +257 -0
  137. data/locales/l10n/vi.yml +201 -0
  138. data/locales/l10n/wo.yml +205 -0
  139. data/locales/l10n/zh-CN.yml +199 -0
  140. data/locales/l10n/zh-TW.yml +199 -0
  141. data/template/Gemfile.erb +14 -4
  142. data/template/README +16 -0
  143. data/template/config.yml.erb +42 -38
  144. data/test/fixtures/config_001_simple.yml +2 -0
  145. data/test/fixtures/config_002_l10n.yml +5 -0
  146. data/test/fixtures/pages/invalid-page.markdown +1 -0
  147. data/test/fixtures/pages/multilingual-page.markdown +20 -0
  148. data/test/fixtures/pages/section/subpage.markdown +5 -0
  149. data/test/fixtures/pages/simple-page.markdown +7 -0
  150. data/test/fixtures/posts/2012-07-02-invalid-post.markdown +1 -0
  151. data/test/fixtures/posts/2012-07-02-simple.markdown +7 -0
  152. data/test/fixtures/posts/2012-07-03-full-metadata.markdown +8 -0
  153. data/test/fixtures/posts/2012-07-03-multilingual-full-metadata.markdown +20 -0
  154. data/test/fixtures/theme/test/layouts/default.html.erb +1 -0
  155. data/test/fixtures/theme/test/views/page.html.erb +1 -0
  156. data/test/fixtures/theme/test/views/post.html.erb +1 -0
  157. data/test/minitest_helper.rb +14 -0
  158. data/test/test_config.rb +33 -0
  159. data/test/test_content.rb +30 -0
  160. data/test/test_metadata.rb +83 -0
  161. data/test/test_page.rb +81 -0
  162. data/test/test_post.rb +123 -0
  163. data/test/test_storage.rb +23 -0
  164. data/test/test_storage_file.rb +32 -0
  165. data/test/test_theme.rb +45 -0
  166. data/vendor/assets/images/favicon.png +0 -0
  167. data/vendor/assets/images/grey.gif +0 -0
  168. data/vendor/assets/javascripts/jquery.alula.js.coffee +16 -0
  169. data/vendor/{javascripts → assets/javascripts}/jquery.js +0 -0
  170. data/vendor/assets/javascripts/jquery.lazyload.js +210 -0
  171. data/vendor/assets/javascripts/lazyload.js.coffee +15 -0
  172. data/vendor/layouts/feed.xml.builder +19 -0
  173. data/vendor/layouts/sitemap.xml.builder +10 -0
  174. data/vendor/views/feed_post.html.haml +1 -0
  175. metadata +529 -50
  176. data/lib/alula.rb +0 -5
  177. data/lib/alula/assethelper.rb +0 -75
  178. data/lib/alula/plugins.rb +0 -23
  179. data/lib/alula/plugins/assets.rb +0 -82
  180. data/lib/alula/plugins/pagination.rb +0 -121
  181. data/lib/alula/rake_tasks.rb +0 -42
  182. data/lib/alula/tasks.rb +0 -2
@@ -0,0 +1,170 @@
1
+ sr:
2
+ date:
3
+ abbr_day_names:
4
+ - Нед
5
+ - Пон
6
+ - Уто
7
+ - Сре
8
+ - Чет
9
+ - Пет
10
+ - Суб
11
+ abbr_month_names:
12
+ -
13
+ - Јан
14
+ - Феб
15
+ - Мар
16
+ - Апр
17
+ - Мај
18
+ - Јун
19
+ - Јул
20
+ - Авг
21
+ - Сеп
22
+ - Окт
23
+ - Нов
24
+ - Дец
25
+ day_names:
26
+ - Недеља
27
+ - Понедељак
28
+ - Уторак
29
+ - Среда
30
+ - Четвртак
31
+ - Петак
32
+ - Субота
33
+ formats:
34
+ default: ! '%d/%m/%Y'
35
+ long: ! '%B %e, %Y'
36
+ short: ! '%e %b'
37
+ month_names:
38
+ -
39
+ - Јануар
40
+ - Фабруар
41
+ - Март
42
+ - Април
43
+ - Мај
44
+ - Јун
45
+ - Јул
46
+ - Август
47
+ - Септембар
48
+ - Октобар
49
+ - Новембар
50
+ - Децембар
51
+ order:
52
+ - :day
53
+ - :month
54
+ - :year
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ few: око %{count} сата
59
+ one: око 1 сат
60
+ other: око %{count} сати
61
+ about_x_months:
62
+ few: око %{count} месеца
63
+ one: око 1 месец
64
+ other: око %{count} месеци
65
+ about_x_years:
66
+ one: око 1 године
67
+ other: око %{count} године
68
+ half_a_minute: пола минуте
69
+ less_than_x_minutes:
70
+ one: мање од 1 минут
71
+ other: мање од %{count} минута
72
+ zero: мање од минута
73
+ less_than_x_seconds:
74
+ few: мање од %{count} секунде
75
+ one: мање од 1 секунд
76
+ other: мање од %{count} секунди
77
+ zero: мање од 1 секунде
78
+ over_x_years:
79
+ one: преко 1 године
80
+ other: преко %{count} године
81
+ x_days:
82
+ one: 1 дан
83
+ other: ! '%{count} дана'
84
+ x_minutes:
85
+ one: 1 минут
86
+ other: ! '%{count} минута'
87
+ x_months:
88
+ few: ! '%{count} месеца'
89
+ one: 1 месец
90
+ other: ! '%{count} месеци'
91
+ x_seconds:
92
+ few: ! '%{count} секунде'
93
+ one: 1 секунда
94
+ other: ! '%{count} секунди'
95
+ errors: &errors
96
+ format: ! '%{attribute} %{message}'
97
+ messages:
98
+ accepted: мора бити прихваћено
99
+ blank: мора бити дат
100
+ confirmation: се не слаже са својом потврдом
101
+ empty: мора бити дат
102
+ equal_to: мора бити једнако %{count}
103
+ even: мора бити парно
104
+ exclusion: није доступно
105
+ greater_than: мора бити веће од %{count}
106
+ greater_than_or_equal_to: мора бити веће или једнако %{count}
107
+ inclusion: није у листи
108
+ invalid: није исправан
109
+ less_than: мора бити мање од %{count}
110
+ less_than_or_equal_to: мора бити мање или једнако %{count}
111
+ not_a_number: није број
112
+ odd: мора бити непарно
113
+ taken: је заузето
114
+ too_long: је предугачак (не више од %{count} карактера)
115
+ too_short: је прекратак (не мање од %{count} карактера)
116
+ wrong_length: није одговарајуће дужине (мора имати %{count} карактера)
117
+ template:
118
+ body: ! 'Молим Вас да проверите следећа поља:'
119
+ header:
120
+ few: ! 'Нисам успео сачувати %{model}: %{count} грешке.'
121
+ one: ! 'Нисам успео сачувати %{model}: 1 грешка.'
122
+ other: ! 'Нисам успео сачувати %{model}: %{count} грешки.'
123
+ number:
124
+ currency:
125
+ format:
126
+ delimiter: ! ','
127
+ format: ! '%n %u'
128
+ precision: 2
129
+ separator: .
130
+ significant: false
131
+ strip_insignificant_zeros: false
132
+ unit: ДИН
133
+ format:
134
+ delimiter: .
135
+ precision: 3
136
+ separator: ! ','
137
+ significant: false
138
+ strip_insignificant_zeros: false
139
+ human:
140
+ decimal_units:
141
+ format: ! '%n %u'
142
+ units:
143
+ unit: ''
144
+ format:
145
+ delimiter: ''
146
+ precision: 3
147
+ significant: true
148
+ strip_insignificant_zeros: true
149
+ storage_units:
150
+ format: ! '%n %u'
151
+ percentage:
152
+ format:
153
+ delimiter: ''
154
+ precision:
155
+ format:
156
+ delimiter: ''
157
+ time:
158
+ am: АМ
159
+ formats:
160
+ default: ! '%a %b %d %H:%M:%S %Z %Y'
161
+ long: ! '%B %d, %Y %H:%M'
162
+ short: ! '%d %b %H:%M'
163
+ pm: ПМ
164
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
165
+ activemodel:
166
+ errors:
167
+ <<: *errors
168
+ activerecord:
169
+ errors:
170
+ <<: *errors
@@ -0,0 +1,199 @@
1
+ sv-SE:
2
+ date:
3
+ abbr_day_names:
4
+ - sön
5
+ - mån
6
+ - tis
7
+ - ons
8
+ - tor
9
+ - fre
10
+ - lör
11
+ abbr_month_names:
12
+ -
13
+ - jan
14
+ - feb
15
+ - mar
16
+ - apr
17
+ - maj
18
+ - jun
19
+ - jul
20
+ - aug
21
+ - sep
22
+ - okt
23
+ - nov
24
+ - dec
25
+ day_names:
26
+ - söndag
27
+ - måndag
28
+ - tisdag
29
+ - onsdag
30
+ - torsdag
31
+ - fredag
32
+ - lördag
33
+ formats:
34
+ default: ! '%Y-%m-%d'
35
+ long: ! '%e %B %Y'
36
+ short: ! '%e %b'
37
+ month_names:
38
+ -
39
+ - januari
40
+ - februari
41
+ - mars
42
+ - april
43
+ - maj
44
+ - juni
45
+ - juli
46
+ - augusti
47
+ - september
48
+ - oktober
49
+ - november
50
+ - december
51
+ order:
52
+ - :day
53
+ - :month
54
+ - :year
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: ungefär en timme
59
+ other: ungefär %{count} timmar
60
+ about_x_months:
61
+ one: ungefär en månad
62
+ other: ungefär %{count} månader
63
+ about_x_years:
64
+ one: ungefär ett år
65
+ other: ungefär %{count} år
66
+ almost_x_years:
67
+ one: nästan ett år
68
+ other: nästan %{count} år
69
+ half_a_minute: en halv minut
70
+ less_than_x_minutes:
71
+ one: mindre än en minut
72
+ other: mindre än %{count} minuter
73
+ less_than_x_seconds:
74
+ one: mindre än en sekund
75
+ other: mindre än %{count} sekunder
76
+ over_x_years:
77
+ one: mer än ett år
78
+ other: mer än %{count} år
79
+ x_days:
80
+ one: en dag
81
+ other: ! '%{count} dagar'
82
+ x_minutes:
83
+ one: en minut
84
+ other: ! '%{count} minuter'
85
+ x_months:
86
+ one: en månad
87
+ other: ! '%{count} månader'
88
+ x_seconds:
89
+ one: en sekund
90
+ other: ! '%{count} sekunder'
91
+ prompts:
92
+ day: Dag
93
+ hour: Timme
94
+ minute: Minut
95
+ month: Månad
96
+ second: Sekund
97
+ year: År
98
+ errors: &errors
99
+ format: ! '%{attribute} %{message}'
100
+ messages:
101
+ accepted: måste vara accepterad
102
+ blank: måste anges
103
+ confirmation: stämmer inte överens
104
+ empty: får ej vara tom
105
+ equal_to: måste vara samma som
106
+ even: måste vara jämnt
107
+ exclusion: är reserverat
108
+ greater_than: måste vara större än %{count}
109
+ greater_than_or_equal_to: måste vara större än eller lika med %{count}
110
+ inclusion: finns inte i listan
111
+ invalid: har fel format
112
+ less_than: måste vara mindre än %{count}
113
+ less_than_or_equal_to: måste vara mindre än eller lika med %{count}
114
+ not_a_number: är inte ett nummer
115
+ not_an_integer: måste vara ett heltal
116
+ odd: måste vara udda
117
+ record_invalid: ! 'Ett fel uppstod: %{errors}'
118
+ taken: har redan tagits
119
+ too_long: är för lång (maximum är %{count} tecken)
120
+ too_short: är för kort (minimum är %{count} tecken)
121
+ wrong_length: har fel längd (ska vara %{count} tecken)
122
+ template:
123
+ body: ! 'Det var problem med följande fält:'
124
+ header:
125
+ one: Ett fel förhindrade denna %{model} från att sparas
126
+ other: ! '%{count} fel förhindrade denna %{model} från att sparas'
127
+ helpers:
128
+ select:
129
+ prompt: Välj
130
+ submit:
131
+ create: Skapa %{model}
132
+ submit: Spara %{model}
133
+ update: Ändra %{model}
134
+ number:
135
+ currency:
136
+ format:
137
+ delimiter: ! ','
138
+ format: ! '%n %u'
139
+ precision: 2
140
+ separator: .
141
+ significant: false
142
+ strip_insignificant_zeros: false
143
+ unit: kr
144
+ format:
145
+ delimiter:  
146
+ precision: 2
147
+ separator: ! ','
148
+ significant: false
149
+ strip_insignificant_zeros: false
150
+ human:
151
+ decimal_units:
152
+ format: ! '%n %u'
153
+ units:
154
+ billion: Miljard
155
+ million: Miljon
156
+ quadrillion: Biljard
157
+ thousand: Tusen
158
+ trillion: Biljon
159
+ unit: ''
160
+ format:
161
+ delimiter: ''
162
+ precision: 1
163
+ significant: true
164
+ strip_insignificant_zeros: true
165
+ storage_units:
166
+ format: ! '%n %u'
167
+ units:
168
+ byte:
169
+ one: Byte
170
+ other: Bytes
171
+ gb: GB
172
+ kb: KB
173
+ mb: MB
174
+ tb: TB
175
+ percentage:
176
+ format:
177
+ delimiter: ''
178
+ precision:
179
+ format:
180
+ delimiter: ''
181
+ support:
182
+ array:
183
+ last_word_connector: ! ' och '
184
+ two_words_connector: ! ' och '
185
+ words_connector: ! ', '
186
+ time:
187
+ am: ''
188
+ formats:
189
+ default: ! '%a, %e %b %Y %H:%M:%S %z'
190
+ long: ! '%e %B %Y %H:%M'
191
+ short: ! '%e %b %H:%M'
192
+ pm: ''
193
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
194
+ activemodel:
195
+ errors:
196
+ <<: *errors
197
+ activerecord:
198
+ errors:
199
+ <<: *errors
@@ -0,0 +1,197 @@
1
+ sw:
2
+ date:
3
+ abbr_day_names:
4
+ - J2
5
+ - J3
6
+ - J4
7
+ - J5
8
+ - Al
9
+ - Ij
10
+ - J1
11
+ abbr_month_names:
12
+ -
13
+ - Jan
14
+ - Feb
15
+ - Mac
16
+ - Apr
17
+ - Mei
18
+ - Jun
19
+ - Jul
20
+ - Ago
21
+ - Sep
22
+ - Okt
23
+ - Nov
24
+ - Des
25
+ day_names:
26
+ - Jumapili
27
+ - Jumatatu
28
+ - Jumanne
29
+ - Jumatano
30
+ - Alhamisi
31
+ - Ijumaa
32
+ - Jumamosi
33
+ formats:
34
+ default: ! '%d-%m-%Y'
35
+ long: ! '%e %B, %Y'
36
+ short: ! '%e %b'
37
+ month_names:
38
+ -
39
+ - Mwezi wa kwanza
40
+ - Mwezi wa pili
41
+ - Mwezi wa tatu
42
+ - Mwezi wa nne
43
+ - Mwezi wa tano
44
+ - Mwezi wa sita
45
+ - Mwezi wa saba
46
+ - Mwezi wa nane
47
+ - Mwezi wa tisa
48
+ - Mwezi wa kumi
49
+ - Mwezi wa kumi na moja
50
+ - Mwezi wa kumi na mbili
51
+ order:
52
+ - :day
53
+ - :month
54
+ - :year
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: kama saa limoja
59
+ other: kama masaa %{count}
60
+ about_x_months:
61
+ one: kama mwezi 1
62
+ other: kama miezi %{count}
63
+ about_x_years:
64
+ one: kama mwaka 1
65
+ other: kama miaka %{count}
66
+ almost_x_years:
67
+ one: karibia mwaka
68
+ other: karibia miaka %{count}
69
+ half_a_minute: nusu dakika
70
+ less_than_x_minutes:
71
+ one: chini ya dakika 1
72
+ other: chini ya dakika %{count}
73
+ less_than_x_seconds:
74
+ one: chini ya sekunde 1
75
+ other: chini ya sekunde %{count}
76
+ over_x_years:
77
+ one: zaidi ya mwaka 1
78
+ other: zaidi ya miaka %{count}
79
+ x_days:
80
+ one: siku 1
81
+ other: siku %{count}
82
+ x_minutes:
83
+ one: dakika 1
84
+ other: dakika %{count}
85
+ x_months:
86
+ one: mwezi 1
87
+ other: miezi %{count}
88
+ x_seconds:
89
+ one: sekunde 1
90
+ other: sekunde %{count}
91
+ prompts:
92
+ day: Siku
93
+ hour: Saa
94
+ minute: Dakika
95
+ month: Mwezi
96
+ second: Sekunde
97
+ year: Mwaka
98
+ errors: &errors
99
+ format: ! '%{attribute} %{message}'
100
+ messages:
101
+ accepted: lazima ikubaliwe
102
+ blank: haitakiwi kuwa wazi
103
+ confirmation: haifanani na hapo chini
104
+ empty: haitakiwi kuwa tupu
105
+ equal_to: z/iwe sawa na %{count}
106
+ even: z/iwe shufwa
107
+ exclusion: haiwezi kutumika
108
+ greater_than: z/iwe zaidi ya %{count}
109
+ greater_than_or_equal_to: z/iwe sawa ama zaidi ya %{count}
110
+ inclusion: haipo kwenye orodha
111
+ invalid: haifai
112
+ less_than: z/isizidi %{count}
113
+ less_than_or_equal_to: z/iwe sawa na, ama chini ya %{count}
114
+ not_a_number: inaruhusiwa namba tu
115
+ not_an_integer: inaruhusiwa namba tu
116
+ odd: z/iwe witiri
117
+ record_invalid: ! 'Uhalalishaji umeshindikana: %{errors}'
118
+ taken: imesajiliwa
119
+ too_long: ndefu sana (isizidi herufi %{count})
120
+ too_short: fupi mno (isipungue herufi %{count})
121
+ wrong_length: idadi ya herufi hazilingani (inatakiwa %{count})
122
+ template:
123
+ body: ! 'Tafadhali kagua sehemu zifuatazo:'
124
+ header:
125
+ one: ! '%{model} haikuhifadhiwa kwa sababu moja.'
126
+ other: ! '%{model} haikuhifadhiwa kwa sababu %{count}.'
127
+ helpers:
128
+ select:
129
+ prompt: Tafadhali teua
130
+ submit:
131
+ create: Unda %{model}
132
+ submit: Akibisha %{model}
133
+ update: Sasaisha %{model}
134
+ number:
135
+ currency:
136
+ format:
137
+ delimiter: .
138
+ format: ! '%n%u'
139
+ precision: 2
140
+ separator: ! ','
141
+ significant: false
142
+ strip_insignificant_zeros: false
143
+ unit: /=
144
+ format:
145
+ delimiter: .
146
+ precision: 2
147
+ separator: ! ','
148
+ significant: false
149
+ strip_insignificant_zeros: false
150
+ human:
151
+ decimal_units:
152
+ format: ! '%n %u'
153
+ units:
154
+ billion: Bilioni
155
+ million: Milioni
156
+ quadrillion: Kuadrilioni
157
+ thousand: Elfu
158
+ trillion: Trilioni
159
+ unit: ''
160
+ format:
161
+ delimiter: ''
162
+ precision: 3
163
+ significant: true
164
+ strip_insignificant_zeros: true
165
+ storage_units:
166
+ format: ! '%n %u'
167
+ units:
168
+ byte: Baiti
169
+ gb: GB
170
+ kb: KB
171
+ mb: MB
172
+ tb: TB
173
+ percentage:
174
+ format:
175
+ delimiter: ''
176
+ precision:
177
+ format:
178
+ delimiter: ''
179
+ support:
180
+ array:
181
+ last_word_connector: ! ', na '
182
+ two_words_connector: ! ' na '
183
+ words_connector: ! ', '
184
+ time:
185
+ am: am
186
+ formats:
187
+ default: ! '%a, %d %b %Y %H:%M:%S'
188
+ long: ! '%A, %e. %B %Y, %H:%M:%S'
189
+ short: ! '%e %b %Y %H:%M'
190
+ pm: pm
191
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
192
+ activemodel:
193
+ errors:
194
+ <<: *errors
195
+ activerecord:
196
+ errors:
197
+ <<: *errors