amber 0.2.6 → 0.3.8

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 (129) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +14 -1
  3. data/README.md +88 -19
  4. data/bin/amber +26 -13
  5. data/lib/amber.rb +25 -39
  6. data/lib/amber/cli.rb +25 -1
  7. data/lib/amber/i18n.rb +43 -0
  8. data/lib/amber/render/apache.rb +44 -0
  9. data/lib/amber/render/asset.rb +28 -2
  10. data/lib/amber/render/helpers/blog_helper.rb +35 -0
  11. data/lib/amber/render/helpers/date_helper.rb +14 -0
  12. data/lib/amber/render/helpers/haml_helper.rb +9 -0
  13. data/lib/amber/render/helpers/html_helper.rb +30 -8
  14. data/lib/amber/render/helpers/navigation_helper.rb +31 -32
  15. data/lib/amber/render/layout.rb +2 -1
  16. data/lib/amber/render/template.rb +24 -11
  17. data/lib/amber/render/view.rb +31 -12
  18. data/lib/amber/server.rb +122 -56
  19. data/lib/amber/site.rb +171 -29
  20. data/lib/amber/site_configuration.rb +26 -11
  21. data/lib/amber/static_page.rb +34 -20
  22. data/lib/amber/static_page/filesystem.rb +3 -7
  23. data/lib/amber/static_page/page_properties.rb +7 -0
  24. data/lib/amber/static_page/render.rb +47 -31
  25. data/lib/amber/templates/apache_config.erb +12 -0
  26. data/lib/amber/templates/apache_config_with_prefix.erb +14 -0
  27. data/lib/amber/templates/htaccess.erb +176 -0
  28. data/lib/amber/version.rb +5 -0
  29. data/locales/rails-i18n/af.yml +201 -0
  30. data/locales/rails-i18n/ar.yml +274 -0
  31. data/locales/rails-i18n/az.yml +192 -0
  32. data/locales/rails-i18n/bg.yml +192 -0
  33. data/locales/rails-i18n/bn.yml +175 -0
  34. data/locales/rails-i18n/bs.yml +243 -0
  35. data/locales/rails-i18n/ca.yml +192 -0
  36. data/locales/rails-i18n/cs.yml +210 -0
  37. data/locales/rails-i18n/cy.yml +242 -0
  38. data/locales/rails-i18n/da.yml +198 -0
  39. data/locales/rails-i18n/de-AT.yml +202 -0
  40. data/locales/rails-i18n/de-CH.yml +206 -0
  41. data/locales/rails-i18n/de.yml +202 -0
  42. data/locales/rails-i18n/el.yml +198 -0
  43. data/locales/rails-i18n/en-AU.yml +198 -0
  44. data/locales/rails-i18n/en-CA.yml +207 -0
  45. data/locales/rails-i18n/en-GB.yml +198 -0
  46. data/locales/rails-i18n/en-IE.yml +198 -0
  47. data/locales/rails-i18n/en-IN.yml +198 -0
  48. data/locales/rails-i18n/en-NZ.yml +198 -0
  49. data/locales/rails-i18n/en-US.yml +204 -0
  50. data/locales/rails-i18n/en-ZA.yml +204 -0
  51. data/locales/rails-i18n/en.yml +204 -0
  52. data/locales/rails-i18n/eo.yml +194 -0
  53. data/locales/rails-i18n/es-419.yml +207 -0
  54. data/locales/rails-i18n/es-AR.yml +198 -0
  55. data/locales/rails-i18n/es-CL.yml +192 -0
  56. data/locales/rails-i18n/es-CO.yml +198 -0
  57. data/locales/rails-i18n/es-CR.yml +198 -0
  58. data/locales/rails-i18n/es-EC.yml +204 -0
  59. data/locales/rails-i18n/es-MX.yml +204 -0
  60. data/locales/rails-i18n/es-PA.yml +204 -0
  61. data/locales/rails-i18n/es-PE.yml +177 -0
  62. data/locales/rails-i18n/es-US.yml +198 -0
  63. data/locales/rails-i18n/es-VE.yml +198 -0
  64. data/locales/rails-i18n/es.yml +192 -0
  65. data/locales/rails-i18n/et.yml +192 -0
  66. data/locales/rails-i18n/eu.yml +192 -0
  67. data/locales/rails-i18n/fa.yml +192 -0
  68. data/locales/rails-i18n/fi.yml +192 -0
  69. data/locales/rails-i18n/fr-CA.yml +200 -0
  70. data/locales/rails-i18n/fr-CH.yml +200 -0
  71. data/locales/rails-i18n/fr.yml +214 -0
  72. data/locales/rails-i18n/gl.yml +171 -0
  73. data/locales/rails-i18n/he.yml +194 -0
  74. data/locales/rails-i18n/hi-IN.yml +192 -0
  75. data/locales/rails-i18n/hi.yml +192 -0
  76. data/locales/rails-i18n/hr.yml +236 -0
  77. data/locales/rails-i18n/hu.yml +192 -0
  78. data/locales/rails-i18n/id.yml +193 -0
  79. data/locales/rails-i18n/is.yml +212 -0
  80. data/locales/rails-i18n/iso-639-2/csb.yml +203 -0
  81. data/locales/rails-i18n/iso-639-2/dsb.yml +208 -0
  82. data/locales/rails-i18n/iso-639-2/fur.yml +192 -0
  83. data/locales/rails-i18n/iso-639-2/gsw-CH.yml +196 -0
  84. data/locales/rails-i18n/iso-639-2/hsb.yml +207 -0
  85. data/locales/rails-i18n/iso-639-2/pap-AW.yml +205 -0
  86. data/locales/rails-i18n/iso-639-2/pap-CW.yml +205 -0
  87. data/locales/rails-i18n/iso-639-2/scr.yml +236 -0
  88. data/locales/rails-i18n/it-CH.yml +198 -0
  89. data/locales/rails-i18n/it.yml +204 -0
  90. data/locales/rails-i18n/ja.yml +194 -0
  91. data/locales/rails-i18n/km.yml +54 -0
  92. data/locales/rails-i18n/kn.yml +192 -0
  93. data/locales/rails-i18n/ko.yml +190 -0
  94. data/locales/rails-i18n/lo.yml +227 -0
  95. data/locales/rails-i18n/lt.yml +217 -0
  96. data/locales/rails-i18n/lv.yml +229 -0
  97. data/locales/rails-i18n/mk.yml +198 -0
  98. data/locales/rails-i18n/mn.yml +198 -0
  99. data/locales/rails-i18n/ms.yml +200 -0
  100. data/locales/rails-i18n/nb.yml +205 -0
  101. data/locales/rails-i18n/ne.yml +198 -0
  102. data/locales/rails-i18n/nl.yml +204 -0
  103. data/locales/rails-i18n/nn.yml +201 -0
  104. data/locales/rails-i18n/or.yml +192 -0
  105. data/locales/rails-i18n/pl.yml +236 -0
  106. data/locales/rails-i18n/pt-BR.yml +206 -0
  107. data/locales/rails-i18n/pt.yml +200 -0
  108. data/locales/rails-i18n/rm.yml +223 -0
  109. data/locales/rails-i18n/ro.yml +205 -0
  110. data/locales/rails-i18n/ru.yml +256 -0
  111. data/locales/rails-i18n/sk.yml +206 -0
  112. data/locales/rails-i18n/sl.yml +205 -0
  113. data/locales/rails-i18n/sr.yml +236 -0
  114. data/locales/rails-i18n/sv.yml +192 -0
  115. data/locales/rails-i18n/sw.yml +190 -0
  116. data/locales/rails-i18n/ta.yml +204 -0
  117. data/locales/rails-i18n/th.yml +166 -0
  118. data/locales/rails-i18n/tl.yml +224 -0
  119. data/locales/rails-i18n/tr.yml +204 -0
  120. data/locales/rails-i18n/uk.yml +250 -0
  121. data/locales/rails-i18n/ur.yml +204 -0
  122. data/locales/rails-i18n/uz.yml +250 -0
  123. data/locales/rails-i18n/vi.yml +198 -0
  124. data/locales/rails-i18n/wo.yml +198 -0
  125. data/locales/rails-i18n/zh-CN.yml +203 -0
  126. data/locales/rails-i18n/zh-HK.yml +204 -0
  127. data/locales/rails-i18n/zh-TW.yml +203 -0
  128. data/locales/rails-i18n/zh-YUE.yml +204 -0
  129. metadata +164 -74
@@ -0,0 +1,198 @@
1
+ it-CH:
2
+ date:
3
+ abbr_day_names:
4
+ - Dom
5
+ - Lun
6
+ - Mar
7
+ - Mer
8
+ - Gio
9
+ - Ven
10
+ - Sab
11
+ abbr_month_names:
12
+ -
13
+ - Gen
14
+ - Feb
15
+ - Mar
16
+ - Apr
17
+ - Mag
18
+ - Giu
19
+ - Lug
20
+ - Ago
21
+ - Set
22
+ - Ott
23
+ - Nov
24
+ - Dic
25
+ day_names:
26
+ - Domenica
27
+ - Lunedì
28
+ - Martedì
29
+ - Mercoledì
30
+ - Giovedì
31
+ - Venerdì
32
+ - Sabato
33
+ formats:
34
+ default: ! '%d-%m-%Y'
35
+ long: ! '%d %B %Y'
36
+ short: ! '%d %b'
37
+ month_names:
38
+ -
39
+ - Gennaio
40
+ - Febbraio
41
+ - Marzo
42
+ - Aprile
43
+ - Maggio
44
+ - Giugno
45
+ - Luglio
46
+ - Agosto
47
+ - Settembre
48
+ - Ottobre
49
+ - Novembre
50
+ - Dicembre
51
+ order:
52
+ - :day
53
+ - :month
54
+ - :year
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: circa un'ora
59
+ other: circa %{count} ore
60
+ about_x_months:
61
+ one: circa un mese
62
+ other: circa %{count} mesi
63
+ about_x_years:
64
+ one: circa un anno
65
+ other: circa %{count} anni
66
+ almost_x_years:
67
+ one: circa 1 anno
68
+ other: circa %{count} anni
69
+ half_a_minute: mezzo minuto
70
+ less_than_x_minutes:
71
+ one: meno di un minuto
72
+ other: meno di %{count} minuti
73
+ less_than_x_seconds:
74
+ one: meno di un secondo
75
+ other: meno di %{count} secondi
76
+ over_x_years:
77
+ one: oltre un anno
78
+ other: oltre %{count} anni
79
+ x_days:
80
+ one: 1 giorno
81
+ other: ! '%{count} giorni'
82
+ x_minutes:
83
+ one: 1 minuto
84
+ other: ! '%{count} minuti'
85
+ x_months:
86
+ one: 1 mese
87
+ other: ! '%{count} mesi'
88
+ x_seconds:
89
+ one: 1 secondo
90
+ other: ! '%{count} secondi'
91
+ prompts:
92
+ day: Giorno
93
+ hour: Ora
94
+ minute: Minuto
95
+ month: Mese
96
+ second: Secondi
97
+ year: Anno
98
+ errors:
99
+ format: ! '%{attribute} %{message}'
100
+ messages:
101
+ accepted: deve essere accettata
102
+ blank: non può essere lasciato in bianco
103
+ confirmation: non coincide con la conferma
104
+ empty: non può essere vuoto
105
+ equal_to: deve essere uguale a %{count}
106
+ even: deve essere pari
107
+ exclusion: è riservato
108
+ greater_than: deve essere superiore a %{count}
109
+ greater_than_or_equal_to: deve essere superiore o uguale a %{count}
110
+ inclusion: non è incluso nella lista
111
+ invalid: non è valido
112
+ less_than: deve essere meno di %{count}
113
+ less_than_or_equal_to: deve essere meno o uguale a %{count}
114
+ not_a_number: non è un numero
115
+ not_an_integer: non è un intero
116
+ odd: deve essere dispari
117
+ record_invalid: ! 'Validazione fallita: %{errors}'
118
+ taken: è già in uso
119
+ too_long:
120
+ one: è troppo lungo (il massimo è 1 carattere)
121
+ other: è troppo lungo (il massimo è %{count} caratteri)
122
+ too_short:
123
+ one: è troppo corto (il minimo è 1 carattere)
124
+ other: è troppo corto (il minimo è %{count} caratteri)
125
+ wrong_length:
126
+ one: è della lunghezza sbagliata (deve essere di 1 carattere)
127
+ other: è della lunghezza sbagliata (deve essere di %{count} caratteri)
128
+ template:
129
+ body: ! 'Per favore ricontrolla i seguenti campi:'
130
+ header:
131
+ one: ! 'Non posso salvare questo %{model}: 1 errore'
132
+ other: ! 'Non posso salvare questo %{model}: %{count} errori.'
133
+ helpers:
134
+ select:
135
+ prompt: Per favore, seleziona
136
+ submit:
137
+ create: Crea %{model}
138
+ submit: Invia %{model}
139
+ update: Aggiorna %{model}
140
+ number:
141
+ currency:
142
+ format:
143
+ delimiter: ! ''''
144
+ format: ! '%u %n'
145
+ precision: 2
146
+ separator: .
147
+ significant: false
148
+ strip_insignificant_zeros: false
149
+ unit: CHF
150
+ format:
151
+ delimiter: ! ','
152
+ precision: 2
153
+ separator: .
154
+ significant: false
155
+ strip_insignificant_zeros: false
156
+ human:
157
+ decimal_units:
158
+ format: ! '%n %u'
159
+ units:
160
+ billion: Miliardi
161
+ million: Milioni
162
+ quadrillion: Biliardi
163
+ thousand: Mila
164
+ trillion: Bilioni
165
+ unit: ''
166
+ format:
167
+ delimiter: ''
168
+ precision: 1
169
+ significant: true
170
+ strip_insignificant_zeros: true
171
+ storage_units:
172
+ format: ! '%n %u'
173
+ units:
174
+ byte:
175
+ one: Byte
176
+ other: Byte
177
+ gb: GB
178
+ kb: KB
179
+ mb: MB
180
+ tb: TB
181
+ percentage:
182
+ format:
183
+ delimiter: ''
184
+ precision:
185
+ format:
186
+ delimiter: ''
187
+ support:
188
+ array:
189
+ last_word_connector: ! ' e '
190
+ two_words_connector: ! ' e '
191
+ words_connector: ! ', '
192
+ time:
193
+ am: am
194
+ formats:
195
+ default: ! '%a %d %b %Y, %H:%M:%S %z'
196
+ long: ! '%d %B %Y %H:%M'
197
+ short: ! '%d %b %H:%M'
198
+ pm: pm
@@ -0,0 +1,204 @@
1
+ it:
2
+ date:
3
+ abbr_day_names:
4
+ - dom
5
+ - lun
6
+ - mar
7
+ - mer
8
+ - gio
9
+ - ven
10
+ - sab
11
+ abbr_month_names:
12
+ -
13
+ - gen
14
+ - feb
15
+ - mar
16
+ - apr
17
+ - mag
18
+ - giu
19
+ - lug
20
+ - ago
21
+ - set
22
+ - ott
23
+ - nov
24
+ - dic
25
+ day_names:
26
+ - domenica
27
+ - lunedì
28
+ - martedì
29
+ - mercoledì
30
+ - giovedì
31
+ - venerdì
32
+ - sabato
33
+ formats:
34
+ default: ! '%d/%m/%Y'
35
+ long: ! '%d %B %Y'
36
+ short: ! '%d %b'
37
+ month_names:
38
+ -
39
+ - gennaio
40
+ - febbraio
41
+ - marzo
42
+ - aprile
43
+ - maggio
44
+ - giugno
45
+ - luglio
46
+ - agosto
47
+ - settembre
48
+ - ottobre
49
+ - novembre
50
+ - dicembre
51
+ order:
52
+ - :day
53
+ - :month
54
+ - :year
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: circa un'ora
59
+ other: circa %{count} ore
60
+ about_x_months:
61
+ one: circa un mese
62
+ other: circa %{count} mesi
63
+ about_x_years:
64
+ one: circa un anno
65
+ other: circa %{count} anni
66
+ almost_x_years:
67
+ one: circa 1 anno
68
+ other: circa %{count} anni
69
+ half_a_minute: mezzo minuto
70
+ less_than_x_minutes:
71
+ one: meno di un minuto
72
+ other: meno di %{count} minuti
73
+ less_than_x_seconds:
74
+ one: meno di un secondo
75
+ other: meno di %{count} secondi
76
+ over_x_years:
77
+ one: oltre un anno
78
+ other: oltre %{count} anni
79
+ x_days:
80
+ one: 1 giorno
81
+ other: ! '%{count} giorni'
82
+ x_minutes:
83
+ one: 1 minuto
84
+ other: ! '%{count} minuti'
85
+ x_months:
86
+ one: 1 mese
87
+ other: ! '%{count} mesi'
88
+ x_seconds:
89
+ one: 1 secondo
90
+ other: ! '%{count} secondi'
91
+ prompts:
92
+ day: Giorno
93
+ hour: Ora
94
+ minute: Minuto
95
+ month: Mese
96
+ second: Secondi
97
+ year: Anno
98
+ errors:
99
+ format: ! '%{attribute} %{message}'
100
+ messages:
101
+ accepted: deve essere accettata
102
+ blank: non può essere lasciato in bianco
103
+ present: deve essere lasciato in bianco
104
+ confirmation: non coincide con la conferma
105
+ empty: non può essere vuoto
106
+ equal_to: deve essere uguale a %{count}
107
+ even: deve essere pari
108
+ exclusion: è riservato
109
+ greater_than: deve essere superiore a %{count}
110
+ greater_than_or_equal_to: deve essere superiore o uguale a %{count}
111
+ inclusion: non è incluso nella lista
112
+ invalid: non è valido
113
+ less_than: deve essere meno di %{count}
114
+ less_than_or_equal_to: deve essere meno o uguale a %{count}
115
+ not_a_number: non è un numero
116
+ not_an_integer: non è un intero
117
+ odd: deve essere dispari
118
+ record_invalid: ! 'Validazione fallita: %{errors}'
119
+ restrict_dependent_destroy:
120
+ one: "Il record non può essere cancellato perchè esiste un %{record} dipendente"
121
+ many: "Il record non può essere cancellato perchè esistono %{record} dipendenti"
122
+ taken: è già in uso
123
+ too_long:
124
+ one: è troppo lungo (il massimo è 1 carattere)
125
+ other: è troppo lungo (il massimo è %{count} caratteri)
126
+ too_short:
127
+ one: è troppo corto (il minimo è 1 carattere)
128
+ other: è troppo corto (il minimo è %{count} caratteri)
129
+ wrong_length:
130
+ one: è della lunghezza sbagliata (deve essere di 1 carattere)
131
+ other: è della lunghezza sbagliata (deve essere di %{count} caratteri)
132
+ other_than: "devono essere di numero diverso da %{count}"
133
+ template:
134
+ body: ! 'Per favore ricontrolla i seguenti campi:'
135
+ header:
136
+ one: ! 'Non posso salvare questo %{model}: 1 errore'
137
+ other: ! 'Non posso salvare questo %{model}: %{count} errori.'
138
+ helpers:
139
+ select:
140
+ prompt: Per favore, seleziona
141
+ submit:
142
+ create: Crea %{model}
143
+ submit: Invia %{model}
144
+ update: Aggiorna %{model}
145
+ number:
146
+ currency:
147
+ format:
148
+ delimiter: .
149
+ format: ! '%n %u'
150
+ precision: 2
151
+ separator: ! ','
152
+ significant: false
153
+ strip_insignificant_zeros: false
154
+ unit: €
155
+ format:
156
+ delimiter: .
157
+ precision: 2
158
+ separator: ! ','
159
+ significant: false
160
+ strip_insignificant_zeros: false
161
+ human:
162
+ decimal_units:
163
+ format: ! '%n %u'
164
+ units:
165
+ billion: Miliardi
166
+ million: Milioni
167
+ quadrillion: Biliardi
168
+ thousand: Mila
169
+ trillion: Bilioni
170
+ unit: ''
171
+ format:
172
+ delimiter: ''
173
+ precision: 1
174
+ significant: true
175
+ strip_insignificant_zeros: true
176
+ storage_units:
177
+ format: ! '%n %u'
178
+ units:
179
+ byte:
180
+ one: Byte
181
+ other: Byte
182
+ gb: GB
183
+ kb: KB
184
+ mb: MB
185
+ tb: TB
186
+ percentage:
187
+ format:
188
+ delimiter: ''
189
+ format: "%n%"
190
+ precision:
191
+ format:
192
+ delimiter: ''
193
+ support:
194
+ array:
195
+ last_word_connector: ! ' e '
196
+ two_words_connector: ! ' e '
197
+ words_connector: ! ', '
198
+ time:
199
+ am: am
200
+ formats:
201
+ default: ! '%a %d %b %Y, %H:%M:%S %z'
202
+ long: ! '%d %B %Y %H:%M'
203
+ short: ! '%d %b %H:%M'
204
+ pm: pm
@@ -0,0 +1,194 @@
1
+ ja:
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: 約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: 30秒前後
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:
99
+ format: ! '%{attribute}%{message}'
100
+ messages:
101
+ accepted: を受諾してください。
102
+ blank: を入力してください。
103
+ present: は入力しないでください。
104
+ confirmation: と%{attribute}の入力が一致しません。
105
+ empty: を入力してください。
106
+ equal_to: は%{count}にしてください。
107
+ even: は偶数にしてください。
108
+ exclusion: は予約されています。
109
+ greater_than: は%{count}より大きい値にしてください。
110
+ greater_than_or_equal_to: は%{count}以上の値にしてください。
111
+ inclusion: は一覧にありません。
112
+ invalid: は不正な値です。
113
+ less_than: は%{count}より小さい値にしてください。
114
+ less_than_or_equal_to: は%{count}以下の値にしてください。
115
+ not_a_number: は数値で入力してください。
116
+ not_an_integer: は整数で入力してください。
117
+ odd: は奇数にしてください。
118
+ record_invalid: バリデーションに失敗しました。 %{errors}
119
+ restrict_dependent_destroy: ! '%{record}が存在しているので削除できません。'
120
+ taken: はすでに存在します。
121
+ too_long: は%{count}文字以内で入力してください。
122
+ too_short: は%{count}文字以上で入力してください。
123
+ wrong_length: は%{count}文字で入力してください。
124
+ other_than: "は%{count}以外の値にしてください。"
125
+ template:
126
+ body: 次の項目を確認してください。
127
+ header:
128
+ one: ! '%{model}にエラーが発生しました。'
129
+ other: ! '%{model}に%{count}個のエラーが発生しました。'
130
+ helpers:
131
+ select:
132
+ prompt: 選択してください。
133
+ submit:
134
+ create: 登録する
135
+ submit: 保存する
136
+ update: 更新する
137
+ number:
138
+ currency:
139
+ format:
140
+ delimiter: ! ','
141
+ format: ! '%n%u'
142
+ precision: 0
143
+ separator: .
144
+ significant: false
145
+ strip_insignificant_zeros: false
146
+ unit: 円
147
+ format:
148
+ delimiter: ! ','
149
+ precision: 3
150
+ separator: .
151
+ significant: false
152
+ strip_insignificant_zeros: false
153
+ human:
154
+ decimal_units:
155
+ format: ! '%n %u'
156
+ units:
157
+ billion: 十億
158
+ million: 百万
159
+ quadrillion: 千兆
160
+ thousand: 千
161
+ trillion: 兆
162
+ unit: ''
163
+ format:
164
+ delimiter: ''
165
+ precision: 3
166
+ significant: true
167
+ strip_insignificant_zeros: true
168
+ storage_units:
169
+ format: ! '%n%u'
170
+ units:
171
+ byte: バイト
172
+ gb: ギガバイト
173
+ kb: キロバイト
174
+ mb: メガバイト
175
+ tb: テラバイト
176
+ percentage:
177
+ format:
178
+ delimiter: ''
179
+ format: "%n%"
180
+ precision:
181
+ format:
182
+ delimiter: ''
183
+ support:
184
+ array:
185
+ last_word_connector: と
186
+ two_words_connector: と
187
+ words_connector: と
188
+ time:
189
+ am: 午前
190
+ formats:
191
+ default: ! '%Y/%m/%d %H:%M:%S'
192
+ long: ! '%Y年%m月%d日(%a) %H時%M分%S秒 %z'
193
+ short: ! '%y/%m/%d %H:%M'
194
+ pm: 午後