muck-engine 0.1.32 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/README.rdoc +66 -2
  2. data/Rakefile +2 -1
  3. data/VERSION +1 -1
  4. data/lib/muck_engine.rb +2 -1
  5. data/lib/muck_engine/tasks.rb +283 -0
  6. data/muck-engine.gemspec +56 -3
  7. data/rails_i18n/ar.yml +121 -0
  8. data/rails_i18n/bg.yml +190 -0
  9. data/rails_i18n/bn-IN.yml +180 -0
  10. data/rails_i18n/bs.yml +114 -0
  11. data/rails_i18n/ca-ES.yml +155 -0
  12. data/rails_i18n/cz.rb +166 -0
  13. data/rails_i18n/da.yml +149 -0
  14. data/rails_i18n/de-AT.yml +140 -0
  15. data/rails_i18n/de.yml +140 -0
  16. data/rails_i18n/el.yml +191 -0
  17. data/rails_i18n/es-AR.yml +168 -0
  18. data/rails_i18n/es-MX.yml +112 -0
  19. data/rails_i18n/es.yml +173 -0
  20. data/rails_i18n/et.yml +109 -0
  21. data/rails_i18n/fa.yml +119 -0
  22. data/rails_i18n/fi.yml +143 -0
  23. data/rails_i18n/fr-CH.yml +123 -0
  24. data/rails_i18n/fr.yml +138 -0
  25. data/rails_i18n/gl-ES.yml +193 -0
  26. data/rails_i18n/he.yml +103 -0
  27. data/rails_i18n/hu.yml +127 -0
  28. data/rails_i18n/id.yml +122 -0
  29. data/rails_i18n/is.yml +108 -0
  30. data/rails_i18n/it.yml +146 -0
  31. data/rails_i18n/ja.yml +135 -0
  32. data/rails_i18n/ko.yml +153 -0
  33. data/rails_i18n/lt.yml +130 -0
  34. data/rails_i18n/lv.yml +132 -0
  35. data/rails_i18n/mk.yml +115 -0
  36. data/rails_i18n/nl.rb +103 -0
  37. data/rails_i18n/nl.yml +172 -0
  38. data/rails_i18n/no-NB.yml +96 -0
  39. data/rails_i18n/no-NN.yml +96 -0
  40. data/rails_i18n/pl.yml +127 -0
  41. data/rails_i18n/pt-BR.yml +142 -0
  42. data/rails_i18n/pt-PT.yml +133 -0
  43. data/rails_i18n/rm.yml +134 -0
  44. data/rails_i18n/ro.yml +136 -0
  45. data/rails_i18n/ru.yml +210 -0
  46. data/rails_i18n/sk.yml +139 -0
  47. data/rails_i18n/sr-Latn.yml +116 -0
  48. data/rails_i18n/sr.yml +116 -0
  49. data/rails_i18n/sv-SE.yml +195 -0
  50. data/rails_i18n/sw.yml +122 -0
  51. data/rails_i18n/th.rb +126 -0
  52. data/rails_i18n/tr.yml +129 -0
  53. data/rails_i18n/uk.yml +237 -0
  54. data/rails_i18n/vi.yml +198 -0
  55. data/rails_i18n/zh-CN.yml +133 -0
  56. data/rails_i18n/zh-TW.yml +132 -0
  57. metadata +63 -3
data/rails_i18n/th.rb ADDED
@@ -0,0 +1,126 @@
1
+ # Thai translation for Ruby on Rails
2
+ # original by Prem Sichanugrist (s@sikachu.com/sikandsak@gmail.com)
3
+ # activerecord keys fixed by Jittat Fakcharoenphol (jittat@gmail.com)
4
+
5
+ {
6
+ :'th' => {
7
+ :date => {
8
+ :formats => {
9
+ :default => lambda { |date| "%d-%m-#{date.year+543}" },
10
+ :short => "%e %b",
11
+ :long => lambda { |date| "%e %B #{date.year+543}" },
12
+ :long_ordinal => lambda { |date| "%e %B #{date.year+543}" },
13
+ :only_day => "%e"
14
+ },
15
+ :day_names => %w(อาทิตย์ จันทร์ อังคาร พุธ พฤหัสบดี ศุกร์ เสาร์),
16
+ :abbr_day_names => %w(อา จ อ พ พฤ ศ ส),
17
+ :month_names => [nil] + %w(มกราคม กุมภาพันธ์ มีนาคม เมษายน พฤษภาคม มิถุนายน กรกฎาคม สิงหาคม กันยายน ตุลาคม พฤศจิกายน ธันวาคม),
18
+ :abbr_month_names => [nil] + %w(ม.ค. ก.พ. มี.ค. เม.ย. พ.ค. มิ.ย. ก.ค. ส.ค. ก.ย. ต.ค. พ.ย. ธ.ค.),
19
+ :order => [:day, :month, :year]
20
+ },
21
+ :time => {
22
+ :formats => {
23
+ :default => lambda { |time| "%a %d %b #{time.year+543} %H:%M:%S %Z" },
24
+ :time => "%H:%M น.",
25
+ :short => "%d %b %H:%M น.",
26
+ :long => lambda { |time| "%d %B #{time.year+543} %H:%M น." },
27
+ :long_ordinal => lambda { |time| "%d %B #{time.year+543} %H:%M น." },
28
+ :only_second => "%S"
29
+ },
30
+ :time_with_zone => {
31
+ :formats => {
32
+ :default => lambda { |time| "%Y-%m-%d %H:%M:%S #{time.formatted_offset(false, 'UTC')}" }
33
+ }
34
+ },
35
+ :am => '',
36
+ :pm => ''
37
+ },
38
+ :datetime => {
39
+ :formats => {
40
+ :default => "%Y-%m-%dT%H:%M:%S%Z"
41
+ },
42
+ :distance_in_words => {
43
+ :half_a_minute => 'ครึ่งนาทีที่ผ่านมา',
44
+ :less_than_x_seconds => 'น้อยกว่า {{count}} วินาที',
45
+ :x_seconds => '{{count}} วินาที',
46
+ :less_than_x_minutes => 'น้อยกว่า {{count}} วินาที',
47
+ :x_minutes => '{{count}} นาที',
48
+ :about_x_hours => 'ประมาณ {{count}} ชั่วโมง',
49
+ :x_hours => '{{count}} ชั่วโมง',
50
+ :about_x_days => 'ประมาณ {{count}} วัน',
51
+ :x_days => '{{count}} วัน',
52
+ :about_x_months => 'ประมาณ {{count}} เดือน',
53
+ :x_months => '{{count}} เดือน',
54
+ :about_x_years => 'ประมาณ {{count}} ปี',
55
+ :over_x_years => 'เกิน {{count}} ปี'
56
+ }
57
+ },
58
+
59
+ # numbers
60
+ :number => {
61
+ :format => {
62
+ :precision => 3,
63
+ :separator => '.',
64
+ :delimiter => ','
65
+ },
66
+ :currency => {
67
+ :format => {
68
+ :unit => 'Baht',
69
+ :precision => 2,
70
+ :format => '%n %u'
71
+ }
72
+ },
73
+ :human => {
74
+ :format => {
75
+ :precision => 1,
76
+ :delimiter => ''
77
+ },
78
+ :storage_units => {
79
+ :format => "%n %u",
80
+ :units => {
81
+ :byte => "B",
82
+ :kb => "KB",
83
+ :mb => "MB",
84
+ :gb => "GB",
85
+ :tb => "TB",
86
+ }
87
+ }
88
+ },
89
+ },
90
+
91
+ # Active Record
92
+ :activerecord => {
93
+ :errors => {
94
+ :template => {
95
+ :header => {
96
+ :one => "ไม่สามารถบันทึก {{model}} ได้เนื่องจากเกิดข้อผิดพลาด",
97
+ :other => "ไม่สามารถบันทึก {{model}} ได้เนื่องจากเกิด {{count}} ข้อผิดพลาด"
98
+ },
99
+ :body => "โปรดตรวจสอบข้อมูลที่คุณกรอกในช่องต่อไปนี้:"
100
+ },
101
+ :messages => {
102
+ :inclusion => "ไม่ได้อยู่ในลิสต์",
103
+ :exclusion => "ถูกจองเอาไว้แล้ว",
104
+ :invalid => "ไม่ถูกต้อง",
105
+ :confirmation => "ไม่ตรงกับการยืนยัน",
106
+ :accepted => "ต้องอยู่ในรูปแบบที่ยอมรับ",
107
+ :empty => "ต้องไม้เว้นว่างเอาไว้",
108
+ :blank => "ต้องไม่เว้นว่างเอาไว้",
109
+ :too_long => "ยาวเกินไป (ต้องไม่เกิน {{count}} ตัวอักษร)",
110
+ :too_short => "สั้นเกินไป (ต้องยาวกว่า {{count}} ตัวอักษร)",
111
+ :wrong_length => "มีความยาวไม่ถูกต้อง (ต้องมีความยาว {{count}} ตัวอักษร)",
112
+ :taken => "ถูกใช้ไปแล้ว",
113
+ :not_a_number => "ไม่ใช่ตัวเลข",
114
+ :greater_than => "ต้องมากกว่า {{count}}",
115
+ :greater_than_or_equal_to => "ต้องมากกว่าหรือเท่ากับ {{count}}",
116
+ :equal_to => "ต้องเท่ากับ {{count}}",
117
+ :less_than => "ต้องน้อยกว่า {{count}}",
118
+ :less_than_or_equal_to => "ต้องน้อยกว่าหรือเท่ากับ {{count}}",
119
+ :odd => "ต้องเป็นเลขคี่",
120
+ :even => "ต้องเป็นเลขคู่"
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+
data/rails_i18n/tr.yml ADDED
@@ -0,0 +1,129 @@
1
+ # Turkish translations for Ruby on Rails
2
+ # by Ozgun Ataman (ozataman@gmail.com)
3
+
4
+ tr:
5
+ locale:
6
+ native_name: Türkçe
7
+ address_separator: " "
8
+ date:
9
+ formats:
10
+ default: "%d.%m.%Y"
11
+ numeric: "%d.%m.%Y"
12
+ short: "%e %b"
13
+ long: "%e %B %Y, %A"
14
+ only_day: "%e"
15
+
16
+ day_names: [Pazar, Pazartesi, Salı, Çarşamba, Perşembe, Cuma, Cumartesi]
17
+ abbr_day_names: [Pzr, Pzt, Sal, Çrş, Prş, Cum, Cts]
18
+ month_names: [~, Ocak, Şubat, Mart, Nisan, Mayıs, Haziran, Temmuz, Ağustos, Eylül, Ekim, Kasım, Aralık]
19
+ abbr_month_names: [~, Oca, Şub, Mar, Nis, May, Haz, Tem, Ağu, Eyl, Eki, Kas, Ara]
20
+ order: [ :day, :month, :year ]
21
+
22
+ time:
23
+ formats:
24
+ default: "%a %d.%b.%y %H:%M"
25
+ numeric: "%d.%b.%y %H:%M"
26
+ short: "%e %B, %H:%M"
27
+ long: "%e %B %Y, %A, %H:%M"
28
+ time: "%H:%M"
29
+
30
+ am: "öğleden önce"
31
+ pm: "öğleden sonra"
32
+
33
+ datetime:
34
+ distance_in_words:
35
+ half_a_minute: 'yarım dakika'
36
+ less_than_x_seconds:
37
+ zero: '1 saniyeden az'
38
+ one: '1 saniyeden az'
39
+ other: '{{count}} saniyeden az'
40
+ x_seconds:
41
+ one: '1 saniye'
42
+ other: '{{count}} saniye'
43
+ less_than_x_minutes:
44
+ zero: '1 dakikadan az'
45
+ one: '1 dakikadan az'
46
+ other: '{{count}} dakikadan az'
47
+ x_minutes:
48
+ one: '1 dakika'
49
+ other: '{{count}} dakika'
50
+ about_x_hours:
51
+ one: '1 saat civarında'
52
+ other: '{{count}} saat civarında'
53
+ x_days:
54
+ one: '1 gün'
55
+ other: '{{count}} gün'
56
+ about_x_months:
57
+ one: '1 ay civarında'
58
+ other: '{{count}} ay civarında'
59
+ x_months:
60
+ one: '1 ay'
61
+ other: '{{count}} ay'
62
+ about_x_years:
63
+ one: '1 yıl civarında'
64
+ other: '{{count}} yıl civarında'
65
+ over_x_years:
66
+ one: '1 yıldan fazla'
67
+ other: '{{count}} yıldan fazla'
68
+
69
+ number:
70
+ format:
71
+ precision: 2
72
+ separator: ','
73
+ delimiter: '.'
74
+ currency:
75
+ format:
76
+ unit: 'TL'
77
+ format: '%n %u'
78
+ separator: ','
79
+ delimiter: '.'
80
+ precision: 2
81
+ percentage:
82
+ format:
83
+ delimiter: '.'
84
+ separator: ','
85
+ precision: 2
86
+ precision:
87
+ format:
88
+ delimiter: '.'
89
+ separator: ','
90
+ human:
91
+ format:
92
+ delimiter: '.'
93
+ separator: ','
94
+ precision: 2
95
+
96
+ support:
97
+ array:
98
+ sentence_connector: "ve"
99
+ skip_last_comma: true
100
+
101
+ activerecord:
102
+ errors:
103
+ template:
104
+ header:
105
+ one: "{{model}} girişi kaydedilemedi: 1 hata."
106
+ other: "{{model}} girişi kadedilemedi: {{count}} hata."
107
+ body: "Lütfen aşağıdaki hataları düzeltiniz:"
108
+
109
+ messages:
110
+ inclusion: "kabul edilen bir kelime değil"
111
+ exclusion: "kullanılamaz"
112
+ invalid: "geçersiz"
113
+ confirmation: "teyidi uyuşmamakta"
114
+ accepted: "kabul edilmeli"
115
+ empty: "doldurulmalı"
116
+ blank: "doldurulmalı"
117
+ too_long: "çok uzun (en fazla {{count}} karakter)"
118
+ too_short: "çok kısa (en az {{count}} karakter)"
119
+ wrong_length: "yanlış uzunlukta (tam olarak {{count}} karakter olmalı)"
120
+ taken: "hali hazırda kullanılmakta"
121
+ not_a_number: "geçerli bir sayı değil"
122
+ greater_than: "{{count}} sayısından büyük olmalı"
123
+ greater_than_or_equal_to: "{{count}} sayısına eşit veya büyük olmalı"
124
+ equal_to: "tam olarak {{count}} olmalı"
125
+ less_than: "{{count}} sayısından küçük olmalı"
126
+ less_than_or_equal_to: "{{count}} sayısına eşit veya küçük olmalı"
127
+ odd: "tek olmalı"
128
+ even: "çift olmalı"
129
+ models:
data/rails_i18n/uk.yml ADDED
@@ -0,0 +1,237 @@
1
+ # Ukrainian translations for Ruby on Rails
2
+ # by Andrii Ponomarov (http://github.com/andrii)
3
+ # improved (I hope) by Iwakura Taro
4
+ # it is recomended to use russian rubygem to make i18n of your app
5
+
6
+ uk:
7
+ number:
8
+ # Used in number_with_delimiter()
9
+ # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
10
+ format:
11
+ # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
12
+ separator: ","
13
+ # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
14
+ delimiter: " "
15
+ # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
16
+ precision: 3
17
+
18
+ # Used in number_to_currency()
19
+ currency:
20
+ format:
21
+ # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
22
+ format: "%n %u"
23
+ unit: "грн."
24
+ # These three are to override number.format and are optional
25
+ separator: ","
26
+ delimiter: " "
27
+ precision: 2
28
+
29
+ # Used in number_to_percentage()
30
+ percentage:
31
+ format:
32
+ # These three are to override number.format and are optional
33
+ # separator:
34
+ delimiter: ""
35
+ # precision:
36
+
37
+ # Used in number_to_precision()
38
+ precision:
39
+ format:
40
+ # These three are to override number.format and are optional
41
+ # separator:
42
+ delimiter: ""
43
+ # precision:
44
+
45
+ # Used in number_to_human_size()
46
+ human:
47
+ format:
48
+ # These three are to override number.format and are optional
49
+ # separator:
50
+ delimiter: ""
51
+ precision: 1
52
+ storage_units:
53
+ # Storage units output formatting.
54
+ # %u is the storage unit, %n is the number (default: 2 MB)
55
+ format: "%n %u"
56
+ units:
57
+ byte:
58
+ one: "байт"
59
+ few: "байти"
60
+ many: "байтів"
61
+ other: "байту"
62
+ kb: "кБ"
63
+ mb: "МБ"
64
+ gb: "ГБ"
65
+ tb: "ТБ"
66
+
67
+ # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
68
+ datetime:
69
+ distance_in_words:
70
+ half_a_minute: "півхвилини"
71
+ less_than_x_seconds:
72
+ one: "менше {{count}} секунди"
73
+ few: "менше {{count}} секунд"
74
+ many: "менше {{count}} секунд"
75
+ other: "менше {{count}} секунди"
76
+ x_seconds:
77
+ one: "{{count}} секунда"
78
+ few: "{{count}} секунди"
79
+ many: "{{count}} секунд"
80
+ other: "{{count}} секунди"
81
+ less_than_x_minutes:
82
+ one: "менше {{count}} хвилини"
83
+ few: "менше {{count}} хвилин"
84
+ many: "менше {{count}} хвилин"
85
+ other: "менше {{count}} хвилини"
86
+ x_minutes:
87
+ one: "{{count}} хвилина"
88
+ few: "{{count}} хвилини"
89
+ many: "{{count}} хвилин"
90
+ other: "{{count}} хвилини"
91
+ about_x_hours:
92
+ one: "близько {{count}} година"
93
+ few: "близько {{count}} години"
94
+ many: "близько {{count}} годин"
95
+ other: "близько {{count}} години"
96
+ x_days:
97
+ one: "{{count}} день"
98
+ few: "{{count}} дні"
99
+ many: "{{count}} днів"
100
+ other: "{{count}} дня"
101
+ about_x_months:
102
+ one: "близько {{count}} місяця"
103
+ few: "близько {{count}} місяців"
104
+ many: "близько {{count}} місяців"
105
+ other: "близько {{count}} місяця"
106
+ x_months:
107
+ one: "{{count}} місяць"
108
+ few: "{{count}} місяці"
109
+ many: "{{count}} місяців"
110
+ other: "{{count}} місяця"
111
+ about_x_years:
112
+ one: "близько {{count}} року"
113
+ few: "близько {{count}} років"
114
+ many: "близько {{count}} років"
115
+ other: "близько {{count}} року"
116
+ over_x_years:
117
+ one: "більше {{count}} року"
118
+ few: "більше {{count}} років"
119
+ many: "більше {{count}} років"
120
+ other: "більше {{count}} року"
121
+ prompts:
122
+ year: "Рік"
123
+ month: "Місяць"
124
+ day: "День"
125
+ hour: "Година"
126
+ minute: "Хвилина"
127
+ second: "Секунда"
128
+
129
+ activerecord:
130
+ errors:
131
+ template:
132
+ header:
133
+ one: "{{model}} не збережено через {{count}} помилку"
134
+ few: "{{model}} не збережено через {{count}} помилки"
135
+ many: "{{model}} не збережено через {{count}} помилок"
136
+ other: "{{model}} не збережено через {{count}} помилки"
137
+ # The variable :count is also available
138
+ body: "Помилки виявлено в таких полях:"
139
+
140
+ # The values :model, :attribute and :value are always available for interpolation
141
+ # The value :count is available when applicable. Can be used for pluralization.
142
+ messages:
143
+ inclusion: "не включено до переліку"
144
+ exclusion: "зарезервовано"
145
+ invalid: "недійсний"
146
+ confirmation: "не збігається з підтвердженням"
147
+ accepted: "має бути прийнятий"
148
+ empty: "не може бути порожнім"
149
+ blank: "не може бути пустим"
150
+ too_long:
151
+ one: "занадто довгий (максимум {{count}} знак)"
152
+ few: "занадто довгий (максимум {{count}} знаки)"
153
+ many: "занадто довгий (максимум {{count}} знаків)"
154
+ other: "занадто довгий (максимум {{count}} знаку)"
155
+ too_short:
156
+ one: "занадто короткий (мінімум {{count}} знак)"
157
+ few: "занадто короткий (мінімум {{count}} знаки)"
158
+ many: "занадто короткий (мінімум {{count}} знаків)"
159
+ other: "занадто короткий (мінімум {{count}} знаку)"
160
+ wrong_length:
161
+ one: "неправильна довжина (має бути {{count}} знак)"
162
+ few: "неправильна довжина (має бути {{count}} знаки)"
163
+ many: "неправильна довжина (має бути {{count}} знаків)"
164
+ other: "неправильна довжина (має бути {{count}} знаку)"
165
+ taken: "вже зайнятий"
166
+ not_a_number: "не число"
167
+ greater_than: "має бути більше ніж {{count}}"
168
+ greater_than_or_equal_to: "має бути більше ніж або дорівнювати {{count}}"
169
+ equal_to: "має дорівнювати {{count}}"
170
+ less_than: "має бути менше ніж {{count}}"
171
+ less_than_or_equal_to: "має бути менше ніж або дорівнювати {{count}}"
172
+ odd: "має бути непарним"
173
+ even: "має бути парним"
174
+ # Append your own errors here or at the model/attributes scope.
175
+
176
+ # You can define own errors for models or model attributes.
177
+ # The values :model, :attribute and :value are always available for interpolation.
178
+ #
179
+ # For example,
180
+ # models:
181
+ # user:
182
+ # blank: "This is a custom blank message for {{model}}: {{attribute}}"
183
+ # attributes:
184
+ # login:
185
+ # blank: "This is a custom blank message for User login"
186
+ # Will define custom blank validation message for User model and
187
+ # custom blank validation message for login attribute of User model.
188
+ #models:
189
+
190
+ # Translate model names. Used in Model.human_name().
191
+ #models:
192
+ # For example,
193
+ # user: "Dude"
194
+ # will translate User model name to "Dude"
195
+
196
+ # Translate model attribute names. Used in Model.human_attribute_name(attribute).
197
+ #attributes:
198
+ # For example,
199
+ # user:
200
+ # login: "Handle"
201
+ # will translate User attribute "login" as "Handle"
202
+
203
+ date:
204
+ formats:
205
+ # Use the strftime parameters for formats.
206
+ # When no format has been given, it uses default.
207
+ # You can provide other formats here if you like!
208
+ default: "%d.%m.%Y"
209
+ short: "%d %b"
210
+ long: "%d %B %Y"
211
+
212
+ day_names: [неділя, понеділок, вівторок, середа, четвер, "п'ятниця", субота]
213
+ abbr_day_names: [нд., пн., вт., ср., чт., пт., сб.]
214
+
215
+ # Don't forget the nil at the beginning; there's no such thing as a 0th month
216
+ month_names: [~, Січень, Лютий, Березень, Квітень, Травень, Червень, Липень, Серпень, Вересень, Жовтень, Листопад, Грудень]
217
+ abbr_month_names: [~, січ., лют., бер., квіт., трав., черв., лип., серп., вер., жовт., лист., груд.]
218
+ # Used in date_select and datime_select.
219
+ order: [ :day, :month, :year ]
220
+
221
+ time:
222
+ formats:
223
+ default: "%a, %d %b %Y, %H:%M:%S %z"
224
+ short: "%d %b, %H:%M"
225
+ long: "%d %B %Y, %H:%M"
226
+ am: "до полудня"
227
+ pm: "по полудні"
228
+
229
+ # Used in array.to_sentence.
230
+ support:
231
+ array:
232
+ sentence_connector: "і"
233
+ skip_last_comma: true
234
+ words_connector: ", "
235
+ two_words_connector: " і "
236
+ last_word_connector: " та "
237
+