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,197 @@
1
+ ko:
2
+ date:
3
+ abbr_day_names:
4
+ - 일
5
+ - 월
6
+ - 화
7
+ - 수
8
+ - 목
9
+ - 금
10
+ - 토
11
+ abbr_month_names:
12
+ -
13
+ - 1월
14
+ - 2월
15
+ - 3월
16
+ - 4월
17
+ - 5월
18
+ - 6월
19
+ - 7월
20
+ - 8월
21
+ - 9월
22
+ - 10월
23
+ - 11월
24
+ - 12월
25
+ day_names:
26
+ - 일요일
27
+ - 월요일
28
+ - 화요일
29
+ - 수요일
30
+ - 목요일
31
+ - 금요일
32
+ - 토요일
33
+ formats:
34
+ default: ! '%Y/%m/%d'
35
+ long: ! '%Y년 %m월 %d일 (%a)'
36
+ short: ! '%m/%d'
37
+ month_names:
38
+ -
39
+ - 1월
40
+ - 2월
41
+ - 3월
42
+ - 4월
43
+ - 5월
44
+ - 6월
45
+ - 7월
46
+ - 8월
47
+ - 9월
48
+ - 10월
49
+ - 11월
50
+ - 12월
51
+ order:
52
+ - :year
53
+ - :month
54
+ - :day
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: 약 한 시간
59
+ other: 약 %{count}시간
60
+ about_x_months:
61
+ one: 약 한 달
62
+ other: 약 %{count}달
63
+ about_x_years:
64
+ one: 약 일 년
65
+ other: 약 %{count}년
66
+ almost_x_years:
67
+ one: 일 년 이하
68
+ other: ! '%{count}년 이하'
69
+ half_a_minute: 30초
70
+ less_than_x_minutes:
71
+ one: 일 분 이하
72
+ other: ! '%{count}분 이하'
73
+ less_than_x_seconds:
74
+ one: 일 초 이하
75
+ other: ! '%{count}초 이하'
76
+ over_x_years:
77
+ one: 일 년 이상
78
+ other: ! '%{count}년 이상'
79
+ x_days:
80
+ one: 하루
81
+ other: ! '%{count}일'
82
+ x_minutes:
83
+ one: 일 분
84
+ other: ! '%{count}분'
85
+ x_months:
86
+ one: 한 달
87
+ other: ! '%{count}달'
88
+ x_seconds:
89
+ one: 일 초
90
+ other: ! '%{count}초'
91
+ prompts:
92
+ day: 일
93
+ hour: 시
94
+ minute: 분
95
+ month: 월
96
+ second: 초
97
+ year: 년
98
+ errors: &errors
99
+ format: ! '%{attribute} %{message}'
100
+ messages:
101
+ accepted: 을(를) 반드시 확인해야 합니다
102
+ blank: 에 내용을 입력해 주세요
103
+ confirmation: 은(는) 서로 일치해야 합니다
104
+ empty: 에 내용을 입력해 주세요
105
+ equal_to: 은(는) %{count}과 같아야 합니다
106
+ even: 에 짝수를 입력해 주세요
107
+ exclusion: 은(는) 이미 예약되어 있는 값입니다
108
+ greater_than: 은(는) %{count}보다 커야 합니다
109
+ greater_than_or_equal_to: 은(는) %{count}보다 크거야 같아야 합니다
110
+ inclusion: 은(는) 목록에 포함되어 있는 값이 아닙니다
111
+ invalid: 은(는) 올바르지 않은 값입니다
112
+ less_than: 은(는) %{count}보다 작아야 합니다
113
+ less_than_or_equal_to: 은(는) %{count}과 작거나 같아야 합니다
114
+ not_a_number: 에 숫자를 입력해 주세요
115
+ not_an_integer: 에 정수를 입력해 주세요
116
+ odd: 에 홀수를 입력해 주세요
117
+ record_invalid: 데이터 검증에 실패하였습니다. %{errors}
118
+ taken: 은(는) 이미 존재합니다.
119
+ too_long: 은(는) %{count}자를 넘을 수 없습니다
120
+ too_short: 은(는) 적어도 %{count}자를 넘어야 합니다
121
+ wrong_length: 은(는) %{count}자여야 합니다
122
+ template:
123
+ body: ! '다음 항목에 문제가 발견되었습니다:'
124
+ header:
125
+ one: 한 개의 오류가 발생해 %{model}를 저장 할 수 없습니다
126
+ other: ! '%{count}개의 오류가 발생해 %{model}를 저장 할 수 없습니다'
127
+ helpers:
128
+ select:
129
+ prompt: 선택해주세요
130
+ submit:
131
+ create: 등록
132
+ submit: 제출
133
+ update: 갱신
134
+ number:
135
+ currency:
136
+ format:
137
+ delimiter: ! ','
138
+ format: ! '%n%u'
139
+ precision: 0
140
+ separator: .
141
+ significant: false
142
+ strip_insignificant_zeros: false
143
+ unit: 원
144
+ format:
145
+ delimiter: ! ','
146
+ precision: 3
147
+ separator: .
148
+ significant: false
149
+ strip_insignificant_zeros: false
150
+ human:
151
+ decimal_units:
152
+ format: ! '%n%u'
153
+ units:
154
+ billion: 십억
155
+ million: 백만
156
+ quadrillion: 경
157
+ thousand: 천
158
+ trillion: 조
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: 바이트
169
+ gb: 기가바이트
170
+ kb: 킬로바이트
171
+ mb: 메가바이트
172
+ tb: 테라바이트
173
+ percentage:
174
+ format:
175
+ delimiter: ''
176
+ precision:
177
+ format:
178
+ delimiter: ''
179
+ support:
180
+ array:
181
+ last_word_connector: ! ', '
182
+ two_words_connector: ! '와(과) '
183
+ words_connector: ! ', '
184
+ time:
185
+ am: 오전
186
+ formats:
187
+ default: ! '%Y/%m/%d %H:%M:%S'
188
+ long: ! '%Y년 %B월 %d일, %H시 %M분 %S초 %Z'
189
+ short: ! '%y/%m/%d %H:%M'
190
+ 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
@@ -0,0 +1,186 @@
1
+ lo:
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: ! '%e %B %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
+ one: ປະມານ 1 ຊົ່ວໂມງ
59
+ other: ປະມານ %{count} ຊົ່ວໂມງ
60
+ about_x_months:
61
+ one: ປະມານ 1 ເດືອນ
62
+ other: ປະມານ %{count} ເດືອນ
63
+ about_x_years:
64
+ one: ! 'ປະມານ 1 ປີ '
65
+ other: ! 'ປະມານ %{count} ປີ '
66
+ half_a_minute: ! 'ເຄິ່ງນາທີ '
67
+ less_than_x_minutes:
68
+ one: ! 'ນ້ອຍກວ່າ 1 ນາທີ '
69
+ other: ! 'ນ້ອຍກວ່າ %{count} ນາທີ '
70
+ less_than_x_seconds:
71
+ one: ! 'ນ້ອຍກວ່າ 1 ວິນາທີ '
72
+ other: ! 'ນ້ອຍກວ່າ %{count} ວິນາທີ '
73
+ over_x_years:
74
+ one: ! 'ຫຼາຍກວ່າ 1 ປີ '
75
+ other: ! 'ຫຼາຍກວ່າ %{count} ປີ '
76
+ x_days:
77
+ one: ! '1 ມື້ '
78
+ other: ! '%{count} ມື້ '
79
+ x_minutes:
80
+ one: ! '1 ນາທີ '
81
+ other: ! '%{count} ນາທີ '
82
+ x_months:
83
+ one: 1 ເດືອນ
84
+ other: ! '%{count} ເດືອນ'
85
+ x_seconds:
86
+ one: ! '1 ວິນາທີ '
87
+ other: ! '%{count} ວິນາທີ '
88
+ prompts:
89
+ day: ວັນ
90
+ hour: ຊົ່ວໂມງ
91
+ minute: ນາທີ
92
+ month: ເດືອນ
93
+ second: ວິນາທີ
94
+ year: ປີ
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
+ record_invalid: ! 'ການຢືນຢັນບໍ່ສຳເລັດ : %{errors}'
114
+ taken: ຮັບເອົາໄປແລ້ວ
115
+ too_long: ຍາວໂພດ (ສູງສຸດຄື %{count} ຕົວອັກສອນ)
116
+ too_short: ສັ້ນໂພດ (ຕຳ່ສຸດຄື %{count} ຕົວອັກສອນ)
117
+ wrong_length: ຄວາມຍາວຜິດ (ຄວນຈະເປັນ %{count} ຕົວອັກສອນ)
118
+ template:
119
+ body: ! 'ກະລຸນາກວດສອບຂໍ້ມູນໃນຫ້ອງຕໍ່ໄປນີ້ :'
120
+ header:
121
+ one: ບໍ່ສາມາດບັນທຶກ %{model} ໄດ້ເນື່ອງຈາກເກີດຂໍ້ຜິດພາດ
122
+ other: ບໍ່ສາມາດບັນທຶກ %{model} ໄດ້ເນື່ອງຈາກ ເກີດ %{count} ຂໍ້ຜິດພາດ
123
+ helpers:
124
+ select:
125
+ prompt: โปรดเลือก
126
+ number:
127
+ currency:
128
+ format:
129
+ delimiter: ! ','
130
+ format: ! '%n %u'
131
+ precision: 2
132
+ separator: .
133
+ significant: false
134
+ strip_insignificant_zeros: false
135
+ unit: Kip
136
+ format:
137
+ delimiter: ! ','
138
+ precision: 3
139
+ separator: .
140
+ significant: false
141
+ strip_insignificant_zeros: false
142
+ human:
143
+ decimal_units:
144
+ format: ! '%n %u'
145
+ units:
146
+ unit: ''
147
+ format:
148
+ delimiter: ''
149
+ precision: 1
150
+ significant: true
151
+ strip_insignificant_zeros: true
152
+ storage_units:
153
+ format: ! '%n %u'
154
+ units:
155
+ byte:
156
+ one: Byte
157
+ other: Bytes
158
+ gb: GB
159
+ kb: KB
160
+ mb: MB
161
+ tb: TB
162
+ percentage:
163
+ format:
164
+ delimiter: ''
165
+ precision:
166
+ format:
167
+ delimiter: ''
168
+ support:
169
+ array:
170
+ last_word_connector: ! ', ແລະ '
171
+ two_words_connector: ! 'ແລະ '
172
+ words_connector: ! ', '
173
+ time:
174
+ am: ''
175
+ formats:
176
+ default: ! '%a %d %b %Y %H:%M:%S %z'
177
+ long: ! '%d %B %Y %H:%M น.'
178
+ short: ! '%d %b %H:%M น.'
179
+ pm: ''
180
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
181
+ activemodel:
182
+ errors:
183
+ <<: *errors
184
+ activerecord:
185
+ errors:
186
+ <<: *errors
@@ -0,0 +1,182 @@
1
+ lt:
2
+ date:
3
+ abbr_day_names:
4
+ - Sek
5
+ - Pir
6
+ - Ant
7
+ - Tre
8
+ - Ket
9
+ - Pen
10
+ - Šeš
11
+ abbr_month_names:
12
+ -
13
+ - Sau
14
+ - Vas
15
+ - Kov
16
+ - Bal
17
+ - Geg
18
+ - Bir
19
+ - Lie
20
+ - Rgp
21
+ - Rgs
22
+ - Spa
23
+ - Lap
24
+ - Grd
25
+ day_names:
26
+ - sekmadienis
27
+ - pirmadienis
28
+ - antradienis
29
+ - trečiadienis
30
+ - ketvirtadienis
31
+ - penktadienis
32
+ - šeštadienis
33
+ formats:
34
+ default: ! '%Y-%m-%d'
35
+ long: ! '%B %d, %Y'
36
+ short: ! '%b %d'
37
+ month_names:
38
+ -
39
+ - sausio
40
+ - vasario
41
+ - kovo
42
+ - balandžio
43
+ - gegužės
44
+ - birželio
45
+ - liepos
46
+ - rugpjūčio
47
+ - rugsėjo
48
+ - spalio
49
+ - lapkričio
50
+ - gruodžio
51
+ order:
52
+ - :year
53
+ - :month
54
+ - :day
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: apie 1 valanda
59
+ other: apie %{count} valandų
60
+ about_x_months:
61
+ one: apie 1 mėnuo
62
+ other: apie %{count} mėnesiai
63
+ about_x_years:
64
+ one: apie 1 metai
65
+ other: apie %{count} metų
66
+ half_a_minute: pusė minutės
67
+ less_than_x_minutes:
68
+ one: mažiau nei minutė
69
+ other: mažiau nei %{count} minutės
70
+ less_than_x_seconds:
71
+ one: mažiau nei 1 sekundė
72
+ other: mažiau nei %{count} sekundės
73
+ over_x_years:
74
+ one: virš 1 metų
75
+ other: virš %{count} metų
76
+ x_days:
77
+ one: 1 diena
78
+ other: ! '%{count} dienų'
79
+ x_minutes:
80
+ one: 1 minutė
81
+ other: ! '%{count} minutės'
82
+ x_months:
83
+ one: 1 mėnuo
84
+ other: ! '%{count} mėnesiai'
85
+ x_seconds:
86
+ one: 1 sekundė
87
+ other: ! '%{count} sekundės'
88
+ prompts:
89
+ day: Diena
90
+ hour: Valanda
91
+ minute: Minutė
92
+ month: Mėnuo
93
+ second: Sekundės
94
+ year: Metai
95
+ errors: &errors
96
+ format: ! '%{attribute} %{message}'
97
+ messages:
98
+ accepted: turi būti patvirtintas
99
+ blank: negali būti tuščias
100
+ confirmation: neteisingai pakartotas
101
+ empty: negali būti tuščias
102
+ equal_to: turi būti lygus %{count}
103
+ even: turi būti lyginis
104
+ exclusion: užimtas
105
+ greater_than: turi būti didesnis už %{count}
106
+ greater_than_or_equal_to: turi būti didesnis arba lygus %{count}
107
+ inclusion: nenumatyta reikšmė
108
+ invalid: neteisingas
109
+ less_than: turi būti mažesnis už %{count}
110
+ less_than_or_equal_to: turi būti mažesnis arba lygus %{count}
111
+ not_a_number: ne skaičius
112
+ odd: turi būti nelyginis
113
+ taken: jau užimtas
114
+ too_long: per ilgas (daugiausiai %{count} simboliai)
115
+ too_short: per trumpas (mažiausiai %{count} simboliai)
116
+ wrong_length: neteisingo ilgio (turi būti %{count} simboliai)
117
+ template:
118
+ body: ! 'Šiuose laukuose yra klaidų:'
119
+ header:
120
+ one: Išsaugant objektą %{model} rasta klaida
121
+ other: Išsaugant objektą %{model} rastos %{count} klaidos
122
+ number:
123
+ currency:
124
+ format:
125
+ delimiter: ! ' '
126
+ format: ! '%n %u'
127
+ precision: 2
128
+ separator: ! ','
129
+ significant: false
130
+ strip_insignificant_zeros: false
131
+ unit: Lt
132
+ format:
133
+ delimiter: ! ' '
134
+ precision: 3
135
+ separator: ! ','
136
+ significant: false
137
+ strip_insignificant_zeros: false
138
+ human:
139
+ decimal_units:
140
+ format: ! '%n %u'
141
+ units:
142
+ unit: ''
143
+ format:
144
+ delimiter: ''
145
+ precision: 1
146
+ significant: true
147
+ strip_insignificant_zeros: true
148
+ storage_units:
149
+ format: ! '%n %u'
150
+ units:
151
+ byte:
152
+ one: Baitas
153
+ other: Baitai
154
+ gb: GB
155
+ kb: KB
156
+ mb: MB
157
+ tb: TB
158
+ percentage:
159
+ format:
160
+ delimiter: ''
161
+ precision:
162
+ format:
163
+ delimiter: ''
164
+ support:
165
+ array:
166
+ last_word_connector: ! ' ir '
167
+ two_words_connector: ! ' ir '
168
+ words_connector: ! ', '
169
+ time:
170
+ am: am
171
+ formats:
172
+ default: ! '%a, %d %b %Y %H:%M:%S %z'
173
+ long: ! '%B %d, %Y %H:%M'
174
+ short: ! '%d %b %H:%M'
175
+ pm: pm
176
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
177
+ activemodel:
178
+ errors:
179
+ <<: *errors
180
+ activerecord:
181
+ errors:
182
+ <<: *errors