alula 0.2.3 → 0.4.0b
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +7 -0
- data/Guardfile +9 -0
- data/Rakefile +12 -1
- data/VERSION +1 -1
- data/alula.gemspec +20 -4
- data/lib/alula/attachment_processor.rb +77 -0
- data/lib/alula/cdn.rb +30 -0
- data/lib/alula/cdns/edgecast.rb +16 -0
- data/lib/alula/cdns/hosts.rb +14 -0
- data/lib/alula/cli.rb +90 -39
- data/lib/alula/compressors.rb +22 -10
- data/lib/alula/config.rb +141 -0
- data/lib/alula/content.rb +113 -0
- data/lib/alula/contents/attachment.rb +8 -0
- data/lib/alula/contents/item.rb +409 -0
- data/lib/alula/contents/metadata.rb +73 -0
- data/lib/alula/contents/page.rb +9 -0
- data/lib/alula/contents/post.rb +32 -0
- data/lib/alula/context.rb +72 -0
- data/lib/alula/core_ext.rb +5 -0
- data/lib/alula/core_ext/environment.rb +20 -0
- data/lib/alula/core_ext/filter.rb +20 -0
- data/lib/alula/core_ext/filters/smilies.rb +36 -0
- data/lib/alula/core_ext/manifest.rb +30 -0
- data/lib/alula/core_ext/tag.rb +100 -0
- data/lib/alula/core_ext/tags/attachment.rb +28 -0
- data/lib/alula/core_ext/tags/blockquote.rb +21 -0
- data/lib/alula/core_ext/tags/image.rb +48 -0
- data/lib/alula/core_ext/tags/locale.rb +17 -0
- data/lib/alula/core_ext/tags/video.rb +103 -0
- data/lib/alula/generator.rb +31 -0
- data/lib/alula/generators/feedbuilder.rb +44 -0
- data/lib/alula/generators/paginate.rb +88 -0
- data/lib/alula/generators/sitemap.rb +26 -0
- data/lib/alula/helpers.rb +2 -0
- data/lib/alula/helpers/addons.rb +12 -0
- data/lib/alula/helpers/assets.rb +56 -0
- data/lib/alula/helpers/url_helpers.rb +16 -0
- data/lib/alula/plugin.rb +32 -0
- data/lib/alula/processor.rb +86 -0
- data/lib/alula/processors/dummy.rb +24 -0
- data/lib/alula/processors/image.rb +52 -0
- data/lib/alula/processors/magick.rb +83 -0
- data/lib/alula/processors/video.rb +97 -0
- data/lib/alula/processors/zencoder.rb +199 -0
- data/lib/alula/progress.rb +95 -0
- data/lib/alula/progressbar.rb +66 -0
- data/lib/alula/site.rb +331 -262
- data/lib/alula/storage.rb +46 -0
- data/lib/alula/storages/file_item.rb +43 -0
- data/lib/alula/storages/filestorage.rb +96 -0
- data/lib/alula/storages/item.rb +12 -0
- data/lib/alula/support/commonlogger.rb +30 -0
- data/lib/alula/theme.rb +70 -13
- data/lib/alula/theme/layout.rb +56 -0
- data/lib/alula/theme/view.rb +43 -0
- data/lib/alula/version.rb +1 -1
- data/locales/en.yml +9 -0
- data/locales/fi.yml +10 -0
- data/locales/l10n/ar.yml +199 -0
- data/locales/l10n/az.yml +199 -0
- data/locales/l10n/bg.yml +199 -0
- data/locales/l10n/bn-IN.yml +182 -0
- data/locales/l10n/bs.yml +242 -0
- data/locales/l10n/ca.yml +199 -0
- data/locales/l10n/cs.yml +198 -0
- data/locales/l10n/csb.yml +210 -0
- data/locales/l10n/cy.yml +199 -0
- data/locales/l10n/da.yml +199 -0
- data/locales/l10n/de-AT.yml +203 -0
- data/locales/l10n/de-CH.yml +203 -0
- data/locales/l10n/de.yml +203 -0
- data/locales/l10n/dsb.yml +215 -0
- data/locales/l10n/el.yml +199 -0
- data/locales/l10n/en-AU.yml +205 -0
- data/locales/l10n/en-CA.yml +214 -0
- data/locales/l10n/en-GB.yml +205 -0
- data/locales/l10n/en-IN.yml +205 -0
- data/locales/l10n/en-US.yml +205 -0
- data/locales/l10n/en.yml +205 -0
- data/locales/l10n/eo.yml +201 -0
- data/locales/l10n/es-AR.yml +205 -0
- data/locales/l10n/es-CL.yml +199 -0
- data/locales/l10n/es-CO.yml +205 -0
- data/locales/l10n/es-MX.yml +205 -0
- data/locales/l10n/es-PE.yml +181 -0
- data/locales/l10n/es-VE.yml +205 -0
- data/locales/l10n/es.yml +199 -0
- data/locales/l10n/et.yml +199 -0
- data/locales/l10n/eu.yml +199 -0
- data/locales/l10n/fa.yml +199 -0
- data/locales/l10n/fi.yml +199 -0
- data/locales/l10n/fr-CA.yml +207 -0
- data/locales/l10n/fr-CH.yml +207 -0
- data/locales/l10n/fr.yml +222 -0
- data/locales/l10n/fur.yml +199 -0
- data/locales/l10n/gl-ES.yml +178 -0
- data/locales/l10n/gsw-CH.yml +199 -0
- data/locales/l10n/he.yml +201 -0
- data/locales/l10n/hi-IN.yml +199 -0
- data/locales/l10n/hi.yml +199 -0
- data/locales/l10n/hr.yml +237 -0
- data/locales/l10n/hsb.yml +214 -0
- data/locales/l10n/hu.yml +199 -0
- data/locales/l10n/id.yml +200 -0
- data/locales/l10n/is.yml +213 -0
- data/locales/l10n/it.yml +205 -0
- data/locales/l10n/ja.yml +197 -0
- data/locales/l10n/kn.yml +199 -0
- data/locales/l10n/ko.yml +197 -0
- data/locales/l10n/lo.yml +186 -0
- data/locales/l10n/lt.yml +182 -0
- data/locales/l10n/lv.yml +215 -0
- data/locales/l10n/mk.yml +170 -0
- data/locales/l10n/mn.yml +205 -0
- data/locales/l10n/nb.yml +207 -0
- data/locales/l10n/nl.yml +199 -0
- data/locales/l10n/nn.yml +160 -0
- data/locales/l10n/pl.yml +221 -0
- data/locales/l10n/pt-BR.yml +207 -0
- data/locales/l10n/pt-PT.yml +207 -0
- data/locales/l10n/quotes.yml +24 -0
- data/locales/l10n/rm.yml +182 -0
- data/locales/l10n/ro.yml +199 -0
- data/locales/l10n/ru.yml +257 -0
- data/locales/l10n/sk.yml +213 -0
- data/locales/l10n/sl.yml +210 -0
- data/locales/l10n/sr-Latn.yml +170 -0
- data/locales/l10n/sr.yml +170 -0
- data/locales/l10n/sv-SE.yml +199 -0
- data/locales/l10n/sw.yml +197 -0
- data/locales/l10n/th.yml +173 -0
- data/locales/l10n/tl.yml +229 -0
- data/locales/l10n/tr.yml +199 -0
- data/locales/l10n/uk.yml +257 -0
- data/locales/l10n/vi.yml +201 -0
- data/locales/l10n/wo.yml +205 -0
- data/locales/l10n/zh-CN.yml +199 -0
- data/locales/l10n/zh-TW.yml +199 -0
- data/template/Gemfile.erb +14 -4
- data/template/README +16 -0
- data/template/config.yml.erb +42 -38
- data/test/fixtures/config_001_simple.yml +2 -0
- data/test/fixtures/config_002_l10n.yml +5 -0
- data/test/fixtures/pages/invalid-page.markdown +1 -0
- data/test/fixtures/pages/multilingual-page.markdown +20 -0
- data/test/fixtures/pages/section/subpage.markdown +5 -0
- data/test/fixtures/pages/simple-page.markdown +7 -0
- data/test/fixtures/posts/2012-07-02-invalid-post.markdown +1 -0
- data/test/fixtures/posts/2012-07-02-simple.markdown +7 -0
- data/test/fixtures/posts/2012-07-03-full-metadata.markdown +8 -0
- data/test/fixtures/posts/2012-07-03-multilingual-full-metadata.markdown +20 -0
- data/test/fixtures/theme/test/layouts/default.html.erb +1 -0
- data/test/fixtures/theme/test/views/page.html.erb +1 -0
- data/test/fixtures/theme/test/views/post.html.erb +1 -0
- data/test/minitest_helper.rb +14 -0
- data/test/test_config.rb +33 -0
- data/test/test_content.rb +30 -0
- data/test/test_metadata.rb +83 -0
- data/test/test_page.rb +81 -0
- data/test/test_post.rb +123 -0
- data/test/test_storage.rb +23 -0
- data/test/test_storage_file.rb +32 -0
- data/test/test_theme.rb +45 -0
- data/vendor/assets/images/favicon.png +0 -0
- data/vendor/assets/images/grey.gif +0 -0
- data/vendor/assets/javascripts/jquery.alula.js.coffee +16 -0
- data/vendor/{javascripts → assets/javascripts}/jquery.js +0 -0
- data/vendor/assets/javascripts/jquery.lazyload.js +210 -0
- data/vendor/assets/javascripts/lazyload.js.coffee +15 -0
- data/vendor/layouts/feed.xml.builder +19 -0
- data/vendor/layouts/sitemap.xml.builder +10 -0
- data/vendor/views/feed_post.html.haml +1 -0
- metadata +529 -50
- data/lib/alula.rb +0 -5
- data/lib/alula/assethelper.rb +0 -75
- data/lib/alula/plugins.rb +0 -23
- data/lib/alula/plugins/assets.rb +0 -82
- data/lib/alula/plugins/pagination.rb +0 -121
- data/lib/alula/rake_tasks.rb +0 -42
- data/lib/alula/tasks.rb +0 -2
data/locales/l10n/ar.yml
ADDED
@@ -0,0 +1,199 @@
|
|
1
|
+
ar:
|
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: ! '%Y-%m-%d'
|
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
|
+
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: نصف دقيقة
|
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: ! 'ليس بالامكان حفظ %{model}: %{count} أخطاء.'
|
127
|
+
helpers:
|
128
|
+
select:
|
129
|
+
prompt: الرجاء اختيار
|
130
|
+
submit:
|
131
|
+
create: ! '%{model} إنشاء'
|
132
|
+
submit: ! '%{model} حفظ'
|
133
|
+
update: ! '%{model} نموذج'
|
134
|
+
number:
|
135
|
+
currency:
|
136
|
+
format:
|
137
|
+
delimiter: ! ','
|
138
|
+
format: ! '%u%n'
|
139
|
+
precision: 2
|
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
|
+
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: ! ', و '
|
184
|
+
two_words_connector: ! ' و '
|
185
|
+
words_connector: ! ', '
|
186
|
+
time:
|
187
|
+
am: صباحا
|
188
|
+
formats:
|
189
|
+
default: ! '%a %b %d %H:%M:%S %Z %Y'
|
190
|
+
long: ! '%B %d, %Y %H:%M'
|
191
|
+
short: ! '%d %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
|
data/locales/l10n/az.yml
ADDED
@@ -0,0 +1,199 @@
|
|
1
|
+
az:
|
2
|
+
date:
|
3
|
+
abbr_day_names:
|
4
|
+
- B.
|
5
|
+
- B.E.
|
6
|
+
- Ç.A.
|
7
|
+
- Ç.
|
8
|
+
- C.A.
|
9
|
+
- C.
|
10
|
+
- Ş.
|
11
|
+
abbr_month_names:
|
12
|
+
-
|
13
|
+
- Yan
|
14
|
+
- Fev
|
15
|
+
- Mar
|
16
|
+
- Apr
|
17
|
+
- May
|
18
|
+
- İyn
|
19
|
+
- İyl
|
20
|
+
- Avq
|
21
|
+
- Sen
|
22
|
+
- Okt
|
23
|
+
- Noy
|
24
|
+
- Dek
|
25
|
+
day_names:
|
26
|
+
- Bazar
|
27
|
+
- Bazar ertəsi
|
28
|
+
- Çərşənbə axşamı
|
29
|
+
- Çərşənbə
|
30
|
+
- Cümə axşamı
|
31
|
+
- Cümə
|
32
|
+
- Şənbə
|
33
|
+
formats:
|
34
|
+
default: ! '%d.%m.%Y'
|
35
|
+
long: ! '%d %B %Y'
|
36
|
+
short: ! '%d %b'
|
37
|
+
month_names:
|
38
|
+
-
|
39
|
+
- Yanvar
|
40
|
+
- Fevral
|
41
|
+
- Mart
|
42
|
+
- Aprel
|
43
|
+
- May
|
44
|
+
- İyun
|
45
|
+
- İyul
|
46
|
+
- Avqust
|
47
|
+
- Sentyabr
|
48
|
+
- Oktyabr
|
49
|
+
- Noyabr
|
50
|
+
- Dekabr
|
51
|
+
order:
|
52
|
+
- :day
|
53
|
+
- :month
|
54
|
+
- :year
|
55
|
+
datetime:
|
56
|
+
distance_in_words:
|
57
|
+
about_x_hours:
|
58
|
+
one: təxminən 1 saat
|
59
|
+
other: təxminən %{count} saat
|
60
|
+
about_x_months:
|
61
|
+
one: təxminən 1 ay
|
62
|
+
other: təxminən %{count} ay
|
63
|
+
about_x_years:
|
64
|
+
one: təxminən 1 il
|
65
|
+
other: təxminən %{count} il
|
66
|
+
almost_x_years:
|
67
|
+
one: təqribən 1 il
|
68
|
+
other: təqribən %{count} il
|
69
|
+
half_a_minute: yarım dəqiqə
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: 1 dəqiqədən az
|
72
|
+
other: ! '%{count} dəqiqədən az'
|
73
|
+
less_than_x_seconds:
|
74
|
+
one: 1 saniyədən az
|
75
|
+
other: ! '%{count} saniyədən az'
|
76
|
+
over_x_years:
|
77
|
+
one: 1 ildən çox
|
78
|
+
other: ! '%{count} ildən çox'
|
79
|
+
x_days:
|
80
|
+
one: 1 gün
|
81
|
+
other: ! '%{count} gün'
|
82
|
+
x_minutes:
|
83
|
+
one: 1 dəqiqə
|
84
|
+
other: ! '%{count} dəqiqə'
|
85
|
+
x_months:
|
86
|
+
one: 1 ay
|
87
|
+
other: ! '%{count} ay'
|
88
|
+
x_seconds:
|
89
|
+
one: 1 saniyə
|
90
|
+
other: ! '%{count} saniyə'
|
91
|
+
prompts:
|
92
|
+
day: Gün
|
93
|
+
hour: Saat
|
94
|
+
minute: Dəqiqə
|
95
|
+
month: Ay
|
96
|
+
second: Saniyə
|
97
|
+
year: İl
|
98
|
+
errors: &errors
|
99
|
+
format: ! '%{attribute} %{message}'
|
100
|
+
messages:
|
101
|
+
accepted: qəbul olunmalıdır
|
102
|
+
blank: boş ola bilməz
|
103
|
+
confirmation: təsdiqə uygun deyil
|
104
|
+
empty: boş ola bilməz
|
105
|
+
equal_to: ! '%{count}-ə bərabər olmalıdır'
|
106
|
+
even: cüt olmalıdır
|
107
|
+
exclusion: qorunur
|
108
|
+
greater_than: ! '%{count}-dən böyük olmalıdır'
|
109
|
+
greater_than_or_equal_to: böyük və ya %{count}-ə bərabər olmalıdır
|
110
|
+
inclusion: siyahiyə daxil deyil
|
111
|
+
invalid: yalnışdır
|
112
|
+
less_than: ! '%{count}-dən kiçik olmalıdır'
|
113
|
+
less_than_or_equal_to: kiçik və ya %{count}-ə bərabər olmalıdır
|
114
|
+
not_a_number: rəqəm deyil
|
115
|
+
not_an_integer: tam rəqəm olmalıdır
|
116
|
+
odd: tək olmalıdır
|
117
|
+
record_invalid: ! 'Yoxlama uğursuz oldu: %{errors}'
|
118
|
+
taken: artıq mövcuddur
|
119
|
+
too_long: çox uzundur (%{count} simvoldan çox olmalı deyil)
|
120
|
+
too_short: çox qısadır (%{count} simvoldan az olmalı deyil)
|
121
|
+
wrong_length: uzunluqu səhvdir (%{count} simvol olmalıdır)
|
122
|
+
template:
|
123
|
+
body: ! 'Aşağıdaki səhvlər üzə çıxdı:'
|
124
|
+
header:
|
125
|
+
one: ! '%{model} saxlanmadı: 1 səhv'
|
126
|
+
other: ! '%{model} saxlanmadı: %{count} səhv'
|
127
|
+
helpers:
|
128
|
+
select:
|
129
|
+
prompt: Seçin
|
130
|
+
submit:
|
131
|
+
create: ! '%{model} yarat'
|
132
|
+
submit: ! '%{model} saxla'
|
133
|
+
update: ! '%{model} yenilə'
|
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: AZN
|
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: Milyard
|
155
|
+
million: Milyon
|
156
|
+
quadrillion: Katrilyon
|
157
|
+
thousand: Min
|
158
|
+
trillion: Trilyon
|
159
|
+
unit: ''
|
160
|
+
format:
|
161
|
+
delimiter: ''
|
162
|
+
precision: 1
|
163
|
+
significant: false
|
164
|
+
strip_insignificant_zeros: false
|
165
|
+
storage_units:
|
166
|
+
format: ! '%n %u'
|
167
|
+
units:
|
168
|
+
byte:
|
169
|
+
one: Bayt
|
170
|
+
other: Bayt
|
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: ! ' və '
|
184
|
+
two_words_connector: ! ' və '
|
185
|
+
words_connector: ! ', '
|
186
|
+
time:
|
187
|
+
am: günortaya qədər
|
188
|
+
formats:
|
189
|
+
default: ! '%a, %d %b %Y, %H:%M:%S %z'
|
190
|
+
long: ! '%d %B %Y, %H:%M'
|
191
|
+
short: ! '%d %b, %H:%M'
|
192
|
+
pm: günortadan sonra
|
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
|
data/locales/l10n/bg.yml
ADDED
@@ -0,0 +1,199 @@
|
|
1
|
+
bg:
|
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: ! '%d %B %Y'
|
36
|
+
short: ! '%d %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
|
+
almost_x_years:
|
67
|
+
one: почти 1 година
|
68
|
+
other: почти %{count} години
|
69
|
+
half_a_minute: половин минута
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: по-малко от 1 минута
|
72
|
+
other: по-малко от %{count} минути
|
73
|
+
less_than_x_seconds:
|
74
|
+
one: по-малко от 1 секунда
|
75
|
+
other: по-малко от %{count} секунди
|
76
|
+
over_x_years:
|
77
|
+
one: над 1 година
|
78
|
+
other: над %{count} години
|
79
|
+
x_days:
|
80
|
+
one: 1 ден
|
81
|
+
other: ! '%{count} дни'
|
82
|
+
x_minutes:
|
83
|
+
one: 1 минута
|
84
|
+
other: ! '%{count} минути'
|
85
|
+
x_months:
|
86
|
+
one: 1 месец
|
87
|
+
other: ! '%{count} месеца'
|
88
|
+
x_seconds:
|
89
|
+
one: 1 секунда
|
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: е прекаленo дълго (не може да е повече от %{count} символа)
|
120
|
+
too_short: е прекалено късо (не може да бъде по-малко от %{count} символа)
|
121
|
+
wrong_length: е с грешна дължина (трябва да е с дължина, равна на %{count} символа)
|
122
|
+
template:
|
123
|
+
body: ! 'Възникнаха проблеми със следните полета:'
|
124
|
+
header:
|
125
|
+
one: ! '%{model}: записа е неуспешен заради 1 грешка'
|
126
|
+
other: ! '%{model}: записа е неуспешен заради %{count} грешки'
|
127
|
+
helpers:
|
128
|
+
select:
|
129
|
+
prompt: Моля отбележете
|
130
|
+
submit:
|
131
|
+
create: Създай %{model}
|
132
|
+
submit: Запази %{model}
|
133
|
+
update: Обнови %{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: 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: 1
|
163
|
+
significant: true
|
164
|
+
strip_insignificant_zeros: true
|
165
|
+
storage_units:
|
166
|
+
format: ! '%n %u'
|
167
|
+
units:
|
168
|
+
byte:
|
169
|
+
one: Байт
|
170
|
+
other: Байта
|
171
|
+
gb: ГБ
|
172
|
+
kb: КБ
|
173
|
+
mb: МБ
|
174
|
+
tb: ТБ
|
175
|
+
percentage:
|
176
|
+
format:
|
177
|
+
delimiter: ''
|
178
|
+
precision:
|
179
|
+
format:
|
180
|
+
delimiter: ''
|
181
|
+
support:
|
182
|
+
array:
|
183
|
+
last_word_connector: ! ' и '
|
184
|
+
two_words_connector: ! ' и '
|
185
|
+
words_connector: ! ', '
|
186
|
+
time:
|
187
|
+
am: преди обяд
|
188
|
+
formats:
|
189
|
+
default: ! '%a, %d %b %Y, %H:%M:%S %z'
|
190
|
+
long: ! '%d %B %Y, %H:%M'
|
191
|
+
short: ! '%d %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
|