alula 0.4.24 → 0.4.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. data/lib/alula/config.rb +11 -5
  2. data/lib/alula/content.rb +0 -1
  3. data/lib/alula/context.rb +1 -1
  4. data/lib/alula/generators/feedjson.rb +60 -0
  5. data/lib/alula/version.rb +1 -1
  6. data/locales/en.yml +19 -0
  7. data/locales/fi.yml +19 -0
  8. data/locales/l10n/ar.yml +199 -0
  9. data/locales/l10n/az.yml +199 -0
  10. data/locales/l10n/bg.yml +199 -0
  11. data/locales/l10n/bn-IN.yml +182 -0
  12. data/locales/l10n/bs.yml +242 -0
  13. data/locales/l10n/ca.yml +199 -0
  14. data/locales/l10n/cs.yml +198 -0
  15. data/locales/l10n/csb.yml +210 -0
  16. data/locales/l10n/cy.yml +199 -0
  17. data/locales/l10n/da.yml +199 -0
  18. data/locales/l10n/de-AT.yml +203 -0
  19. data/locales/l10n/de-CH.yml +203 -0
  20. data/locales/l10n/de.yml +203 -0
  21. data/locales/l10n/dsb.yml +215 -0
  22. data/locales/l10n/el.yml +199 -0
  23. data/locales/l10n/en-AU.yml +205 -0
  24. data/locales/l10n/en-CA.yml +214 -0
  25. data/locales/l10n/en-GB.yml +205 -0
  26. data/locales/l10n/en-IN.yml +205 -0
  27. data/locales/l10n/en-US.yml +205 -0
  28. data/locales/l10n/en.yml +205 -0
  29. data/locales/l10n/eo.yml +201 -0
  30. data/locales/l10n/es-AR.yml +205 -0
  31. data/locales/l10n/es-CL.yml +199 -0
  32. data/locales/l10n/es-CO.yml +205 -0
  33. data/locales/l10n/es-MX.yml +205 -0
  34. data/locales/l10n/es-PE.yml +181 -0
  35. data/locales/l10n/es-VE.yml +205 -0
  36. data/locales/l10n/es.yml +199 -0
  37. data/locales/l10n/et.yml +199 -0
  38. data/locales/l10n/eu.yml +199 -0
  39. data/locales/l10n/fa.yml +199 -0
  40. data/locales/l10n/fi.yml +199 -0
  41. data/locales/l10n/fr-CA.yml +207 -0
  42. data/locales/l10n/fr-CH.yml +207 -0
  43. data/locales/l10n/fr.yml +222 -0
  44. data/locales/l10n/fur.yml +199 -0
  45. data/locales/l10n/gl-ES.yml +178 -0
  46. data/locales/l10n/gsw-CH.yml +199 -0
  47. data/locales/l10n/he.yml +201 -0
  48. data/locales/l10n/hi-IN.yml +199 -0
  49. data/locales/l10n/hi.yml +199 -0
  50. data/locales/l10n/hr.yml +237 -0
  51. data/locales/l10n/hsb.yml +214 -0
  52. data/locales/l10n/hu.yml +199 -0
  53. data/locales/l10n/id.yml +200 -0
  54. data/locales/l10n/is.yml +213 -0
  55. data/locales/l10n/it.yml +205 -0
  56. data/locales/l10n/ja.yml +197 -0
  57. data/locales/l10n/kn.yml +199 -0
  58. data/locales/l10n/ko.yml +197 -0
  59. data/locales/l10n/lo.yml +186 -0
  60. data/locales/l10n/lt.yml +182 -0
  61. data/locales/l10n/lv.yml +215 -0
  62. data/locales/l10n/mk.yml +170 -0
  63. data/locales/l10n/mn.yml +205 -0
  64. data/locales/l10n/nb.yml +207 -0
  65. data/locales/l10n/nl.yml +199 -0
  66. data/locales/l10n/nn.yml +160 -0
  67. data/locales/l10n/pl.yml +221 -0
  68. data/locales/l10n/pt-BR.yml +207 -0
  69. data/locales/l10n/pt-PT.yml +207 -0
  70. data/locales/l10n/quotes.yml +24 -0
  71. data/locales/l10n/rm.yml +182 -0
  72. data/locales/l10n/ro.yml +199 -0
  73. data/locales/l10n/ru.yml +257 -0
  74. data/locales/l10n/sk.yml +213 -0
  75. data/locales/l10n/sl.yml +210 -0
  76. data/locales/l10n/sr-Latn.yml +170 -0
  77. data/locales/l10n/sr.yml +170 -0
  78. data/locales/l10n/sv-SE.yml +199 -0
  79. data/locales/l10n/sw.yml +197 -0
  80. data/locales/l10n/th.yml +173 -0
  81. data/locales/l10n/tl.yml +229 -0
  82. data/locales/l10n/tr.yml +199 -0
  83. data/locales/l10n/uk.yml +257 -0
  84. data/locales/l10n/vi.yml +201 -0
  85. data/locales/l10n/wo.yml +205 -0
  86. data/locales/l10n/zh-CN.yml +199 -0
  87. data/locales/l10n/zh-TW.yml +199 -0
  88. data/template/Gemfile.erb +15 -0
  89. data/template/README +16 -0
  90. data/template/config.yml.erb +42 -0
  91. data/vendor/assets/images/cookieconsent.cookie-consent-logo.png +0 -0
  92. data/vendor/assets/images/cookieconsent.cross.png +0 -0
  93. data/vendor/assets/images/cookieconsent.globe.png +0 -0
  94. data/vendor/assets/images/cookieconsent.modal-close.png +0 -0
  95. data/vendor/assets/images/cookieconsent.silktide-logo.png +0 -0
  96. data/vendor/assets/images/favicon.png +0 -0
  97. data/vendor/assets/images/grey.gif +0 -0
  98. data/vendor/assets/javascripts/cookieconsent.js.coffee.erb +15 -0
  99. data/vendor/assets/javascripts/jquery.alula.js.coffee +16 -0
  100. data/vendor/assets/javascripts/jquery.js +9227 -0
  101. data/vendor/assets/javascripts/jquery.lazyload.js +210 -0
  102. data/vendor/assets/javascripts/lazyload.js.coffee +15 -0
  103. data/vendor/assets/javascripts/silktide.cookieconsent.js +1515 -0
  104. data/vendor/assets/stylesheets/cookieconsent.css.erb +1587 -0
  105. data/vendor/layouts/feed.json.jbuilder +14 -0
  106. data/vendor/layouts/feed.xml.builder +19 -0
  107. data/vendor/layouts/sitemap.xml.builder +10 -0
  108. data/vendor/static/favicon.ico +0 -0
  109. data/vendor/views/feed_post.html.haml +1 -0
  110. metadata +123 -3
data/lib/alula/config.rb CHANGED
@@ -103,15 +103,21 @@ module Alula
103
103
  items: 10,
104
104
  template: "/:locale/page/:page/",
105
105
  },
106
- feedbuilder: {
107
- items: 10,
108
- name: "feed.xml",
109
- slug: "feed",
106
+ feedjson: {
107
+ items: 10,
108
+ name: "feed.json",
109
+ slug: "feedjson",
110
110
  template: "/:locale/:name",
111
111
  },
112
+ feedbuilder: {
113
+ items: 10,
114
+ name: "feed.xml",
115
+ slug: "feed",
116
+ template: "/:locale/:name",
117
+ },
112
118
  sitemap: {},
113
119
  archive: {
114
- template: "/:locale/:name/",
120
+ template: "/:locale/:name/",
115
121
  templates: [
116
122
  "/:year/",
117
123
  "/:year/:month/",
data/lib/alula/content.rb CHANGED
@@ -74,7 +74,6 @@ module Alula
74
74
 
75
75
  def generate_content
76
76
  @site.config.content.generators.each do |type, options|
77
-
78
77
  generator = Alula::Generator.load(type: type, options: options, site: @site)
79
78
  if generator
80
79
  generator.generate
data/lib/alula/context.rb CHANGED
@@ -29,7 +29,7 @@ module Alula
29
29
  @data = new_data
30
30
  end
31
31
 
32
- def respond_to?(name)
32
+ def respond_to?(name, include_private=false)
33
33
  if name.to_s =~ /=$/ and @data.key?(name.to_s[0..-2])
34
34
  true
35
35
  elsif @data.key?(name)
@@ -0,0 +1,60 @@
1
+ require 'tilt/jbuilder'
2
+ # Rabl.register!
3
+
4
+ module Alula
5
+ class FeedJSON < Generator
6
+ def allow_compressing?
7
+ :normal
8
+ end
9
+
10
+ def generate
11
+ # Loop all languages and count posts per language
12
+ @languages = {}
13
+ (self.site.content.posts + self.site.content.pages).each do |post|
14
+ post.languages.each do |lang|
15
+ @languages[lang] ||= []
16
+ @languages[lang] << post
17
+ end
18
+ end
19
+ titles = Hash[@languages.collect {|lang, x| [lang, I18n.t("feedjson.recent_posts", locale: lang)]}]
20
+ posts = Hash[
21
+ @languages.collect do |lang, posts|
22
+ [ lang, posts.slice(0, self.options.items) ]
23
+ end
24
+ ]
25
+
26
+ @feedjson = Alula::Content::Page.new({
27
+ generator: self,
28
+ posts: posts,
29
+ title: titles,
30
+ name: self.options.name,
31
+ slug: self.options.slug,
32
+ sidebar: false,
33
+ template: self.options.template,
34
+ site: self.site,
35
+ layout: "feed.json",
36
+ },
37
+ :previous => ->(hook, locale = nil) { nil },
38
+ :next => ->(hook, locale = nil) { nil },
39
+ :navigation => ->(hook, locale = nil) { nil },
40
+ :write => ->(hook, locale = nil) {
41
+ begin
42
+ _old_renderer = self.posts.collect{|p| p.metadata.renderer}
43
+ self.posts.cycle(1) { |p| p.flush; p.metadata.renderer = self.generator;}
44
+ hook.call
45
+ ensure
46
+ self.posts.cycle(1) {|p| p.metadata.renderer = _old_renderer.shift }
47
+ end
48
+ },
49
+ )
50
+ self.site.content.pages << @feedjson
51
+
52
+ # Add link to head
53
+ Alula::Plugin.addon(:head, ->(context) {
54
+ "<link rel=\"alternate\" type=\"application/json\" title=\"FeedJSON\" href=\"#{context.url_for(@feedjson.url(context.locale))}\">"
55
+ })
56
+ end
57
+ end
58
+ end
59
+
60
+ Alula::Generator.register :feedjson, Alula::FeedJSON
data/lib/alula/version.rb CHANGED
@@ -2,7 +2,7 @@ module Alula
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- PATCH = 24
5
+ PATCH = 25
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
data/locales/en.yml ADDED
@@ -0,0 +1,19 @@
1
+ en:
2
+ recent_posts: Recent Posts
3
+ paginate:
4
+ title: Page %{page}
5
+ description: Paged posts for %{page}
6
+ older_posts: Older
7
+ newer_posts: Newer
8
+ post:
9
+ previous: Previous Post
10
+ next: Next Post
11
+ archive:
12
+ title:
13
+ year: Archive for %{year}
14
+ year-month: Archive for %{year} %{monthname}
15
+ year-month-day: Archive for %{year} %{monthname} %{day}
16
+ description:
17
+ year: Archive for %{year}
18
+ year-month: Archive for %{year} %{monthname}
19
+ year-month-day: Archive for %{year} %{monthname} %{day}
data/locales/fi.yml ADDED
@@ -0,0 +1,19 @@
1
+ fi:
2
+ recent_posts: Viimeisimmät kirjoitukset
3
+ paginate:
4
+ title: Sivu %{page}
5
+ description: Sivutetut kirjoitukset, sivu %{page}
6
+ older_posts: Vanhemmat
7
+ newer_posts: Uudemmat
8
+ post:
9
+ previous: Edellinen kirjoitus
10
+ next: Seuraava kirjoitus
11
+ archive:
12
+ title:
13
+ year: Arkisto %{year}
14
+ year-month: Arkisto %{year} %{monthname}
15
+ year-month-day: Arkisto %{year} %{monthname} %{day}
16
+ description:
17
+ year: Arkisto %{year}
18
+ year-month: Arkisto %{year} %{monthname}
19
+ year-month-day: Arkisto %{year} %{monthname} %{day}
@@ -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
@@ -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