refinerycms 0.9.7.14 → 0.9.7.15

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 (153) hide show
  1. data/Gemfile +1 -1
  2. data/changelog.md +8 -0
  3. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb +4 -4
  4. data/vendor/plugins/authentication/config/locales/da.yml +10 -10
  5. data/vendor/plugins/authentication/config/locales/de.yml +10 -10
  6. data/vendor/plugins/authentication/config/locales/en.yml +11 -11
  7. data/vendor/plugins/authentication/config/locales/es.yml +10 -10
  8. data/vendor/plugins/authentication/config/locales/fr.yml +10 -10
  9. data/vendor/plugins/authentication/config/locales/it.yml +10 -10
  10. data/vendor/plugins/authentication/config/locales/nb.yml +11 -11
  11. data/vendor/plugins/authentication/config/locales/nl.yml +11 -11
  12. data/vendor/plugins/authentication/config/locales/pt-BR.yml +11 -11
  13. data/vendor/plugins/authentication/config/locales/ru.yml +11 -11
  14. data/vendor/plugins/authentication/config/locales/sl.yml +10 -10
  15. data/vendor/plugins/dashboard/config/locales/da.yml +2 -2
  16. data/vendor/plugins/dashboard/config/locales/de.yml +2 -2
  17. data/vendor/plugins/dashboard/config/locales/en.yml +3 -3
  18. data/vendor/plugins/dashboard/config/locales/es.yml +2 -2
  19. data/vendor/plugins/dashboard/config/locales/fr.yml +2 -2
  20. data/vendor/plugins/dashboard/config/locales/it.yml +2 -2
  21. data/vendor/plugins/dashboard/config/locales/nb.yml +3 -3
  22. data/vendor/plugins/dashboard/config/locales/nl.yml +3 -3
  23. data/vendor/plugins/dashboard/config/locales/pt-BR.yml +3 -3
  24. data/vendor/plugins/dashboard/config/locales/ru.yml +3 -3
  25. data/vendor/plugins/dashboard/config/locales/sl.yml +2 -2
  26. data/vendor/plugins/i18n-js/lib/i18n-js.rb +1 -1
  27. data/vendor/plugins/i18n/config/locales/ar.yml +20 -20
  28. data/vendor/plugins/i18n/config/locales/bg.yml +66 -66
  29. data/vendor/plugins/i18n/config/locales/bn-IN.yml +20 -20
  30. data/vendor/plugins/i18n/config/locales/bs.yml +26 -26
  31. data/vendor/plugins/i18n/config/locales/ca-ES.yml +20 -20
  32. data/vendor/plugins/i18n/config/locales/da.yml +24 -24
  33. data/vendor/plugins/i18n/config/locales/de-AT.yml +20 -20
  34. data/vendor/plugins/i18n/config/locales/de.yml +21 -21
  35. data/vendor/plugins/i18n/config/locales/dsb.yml +48 -48
  36. data/vendor/plugins/i18n/config/locales/el.yml +21 -21
  37. data/vendor/plugins/i18n/config/locales/es-AR.yml +19 -19
  38. data/vendor/plugins/i18n/config/locales/es-CO.yml +22 -22
  39. data/vendor/plugins/i18n/config/locales/es-MX.yml +20 -20
  40. data/vendor/plugins/i18n/config/locales/es.yml +22 -22
  41. data/vendor/plugins/i18n/config/locales/et.yml +20 -20
  42. data/vendor/plugins/i18n/config/locales/fa.yml +20 -20
  43. data/vendor/plugins/i18n/config/locales/fi.yml +22 -22
  44. data/vendor/plugins/i18n/config/locales/fr-CH.yml +20 -20
  45. data/vendor/plugins/i18n/config/locales/fr.yml +21 -21
  46. data/vendor/plugins/i18n/config/locales/fur.yml +20 -20
  47. data/vendor/plugins/i18n/config/locales/gl-ES.yml +22 -22
  48. data/vendor/plugins/i18n/config/locales/he.yml +19 -19
  49. data/vendor/plugins/i18n/config/locales/hr.yml +26 -26
  50. data/vendor/plugins/i18n/config/locales/hsb.yml +48 -48
  51. data/vendor/plugins/i18n/config/locales/hu.yml +22 -22
  52. data/vendor/plugins/i18n/config/locales/id.yml +20 -20
  53. data/vendor/plugins/i18n/config/locales/is.yml +20 -20
  54. data/vendor/plugins/i18n/config/locales/it.yml +20 -20
  55. data/vendor/plugins/i18n/config/locales/ja.yml +24 -24
  56. data/vendor/plugins/i18n/config/locales/ko.yml +20 -20
  57. data/vendor/plugins/i18n/config/locales/lo.yml +22 -22
  58. data/vendor/plugins/i18n/config/locales/lt.yml +20 -20
  59. data/vendor/plugins/i18n/config/locales/lv.yml +20 -20
  60. data/vendor/plugins/i18n/config/locales/mk.yml +26 -26
  61. data/vendor/plugins/i18n/config/locales/nb.yml +19 -19
  62. data/vendor/plugins/i18n/config/locales/nl.yml +20 -20
  63. data/vendor/plugins/i18n/config/locales/nn.yml +19 -19
  64. data/vendor/plugins/i18n/config/locales/pl.yml +26 -26
  65. data/vendor/plugins/i18n/config/locales/pt-BR.yml +22 -22
  66. data/vendor/plugins/i18n/config/locales/pt-PT.yml +25 -25
  67. data/vendor/plugins/i18n/config/locales/rm.yml +20 -20
  68. data/vendor/plugins/i18n/config/locales/ro.yml +22 -22
  69. data/vendor/plugins/i18n/config/locales/ru.yml +63 -63
  70. data/vendor/plugins/i18n/config/locales/sk.yml +20 -20
  71. data/vendor/plugins/i18n/config/locales/sl.yml +34 -34
  72. data/vendor/plugins/i18n/config/locales/sr-Latn.yml +26 -26
  73. data/vendor/plugins/i18n/config/locales/sr.yml +26 -26
  74. data/vendor/plugins/i18n/config/locales/sv-SE.yml +23 -23
  75. data/vendor/plugins/i18n/config/locales/sw.yml +20 -20
  76. data/vendor/plugins/i18n/config/locales/tr.yml +22 -22
  77. data/vendor/plugins/i18n/config/locales/uk.yml +62 -62
  78. data/vendor/plugins/i18n/config/locales/vi.yml +21 -21
  79. data/vendor/plugins/i18n/config/locales/zh-CN.yml +21 -21
  80. data/vendor/plugins/i18n/config/locales/zh-TW.yml +20 -20
  81. data/vendor/plugins/i18n/lib/i18n_filter.rb +4 -4
  82. data/vendor/plugins/i18n/lib/routing_filter/README.markdown +2 -2
  83. data/vendor/plugins/i18n/lib/routing_filter/routing_filter.rb +2 -2
  84. data/vendor/plugins/i18n/lib/routing_filter/routing_filter/force_extension.rb +1 -1
  85. data/vendor/plugins/i18n/lib/routing_filter/routing_filter/pagination.rb +2 -2
  86. data/vendor/plugins/i18n/lib/routing_filter/routing_filter/uuid_token.rb +2 -2
  87. data/vendor/plugins/images/config/locales/da.yml +5 -5
  88. data/vendor/plugins/images/config/locales/de.yml +5 -5
  89. data/vendor/plugins/images/config/locales/en.yml +5 -5
  90. data/vendor/plugins/images/config/locales/es.yml +5 -5
  91. data/vendor/plugins/images/config/locales/fr.yml +5 -5
  92. data/vendor/plugins/images/config/locales/it.yml +4 -4
  93. data/vendor/plugins/images/config/locales/nb.yml +5 -5
  94. data/vendor/plugins/images/config/locales/nl.yml +5 -5
  95. data/vendor/plugins/images/config/locales/pt-BR.yml +5 -5
  96. data/vendor/plugins/images/config/locales/ru.yml +5 -5
  97. data/vendor/plugins/images/config/locales/sl.yml +5 -5
  98. data/vendor/plugins/inquiries/config/locales/da.yml +5 -5
  99. data/vendor/plugins/inquiries/config/locales/de.yml +5 -5
  100. data/vendor/plugins/inquiries/config/locales/en.yml +5 -5
  101. data/vendor/plugins/inquiries/config/locales/es.yml +5 -5
  102. data/vendor/plugins/inquiries/config/locales/fr.yml +5 -5
  103. data/vendor/plugins/inquiries/config/locales/it.yml +4 -4
  104. data/vendor/plugins/inquiries/config/locales/nb.yml +5 -5
  105. data/vendor/plugins/inquiries/config/locales/nl.yml +5 -5
  106. data/vendor/plugins/inquiries/config/locales/pt-BR.yml +5 -5
  107. data/vendor/plugins/inquiries/config/locales/ru.yml +5 -5
  108. data/vendor/plugins/inquiries/config/locales/sl.yml +5 -5
  109. data/vendor/plugins/pages/config/locales/da.yml +1 -1
  110. data/vendor/plugins/pages/config/locales/de.yml +1 -1
  111. data/vendor/plugins/pages/config/locales/en.yml +2 -2
  112. data/vendor/plugins/pages/config/locales/es.yml +1 -1
  113. data/vendor/plugins/pages/config/locales/it.yml +1 -1
  114. data/vendor/plugins/pages/config/locales/nb.yml +2 -2
  115. data/vendor/plugins/pages/config/locales/nl.yml +2 -2
  116. data/vendor/plugins/pages/config/locales/pt-BR.yml +3 -3
  117. data/vendor/plugins/pages/config/locales/ru.yml +2 -2
  118. data/vendor/plugins/pages/config/locales/sl.yml +2 -2
  119. data/vendor/plugins/refinery/config/locales/da.yml +14 -14
  120. data/vendor/plugins/refinery/config/locales/de.yml +14 -14
  121. data/vendor/plugins/refinery/config/locales/en.yml +14 -14
  122. data/vendor/plugins/refinery/config/locales/es.yml +14 -14
  123. data/vendor/plugins/refinery/config/locales/fr.yml +13 -13
  124. data/vendor/plugins/refinery/config/locales/it.yml +14 -14
  125. data/vendor/plugins/refinery/config/locales/nb.yml +14 -14
  126. data/vendor/plugins/refinery/config/locales/nl.yml +14 -14
  127. data/vendor/plugins/refinery/config/locales/pt-BR.yml +14 -14
  128. data/vendor/plugins/refinery/config/locales/ru.yml +14 -14
  129. data/vendor/plugins/refinery/config/locales/sl.yml +14 -14
  130. data/vendor/plugins/refinery/lib/refinery.rb +1 -1
  131. data/vendor/plugins/refinery_settings/config/locales/da.yml +1 -1
  132. data/vendor/plugins/refinery_settings/config/locales/de.yml +1 -1
  133. data/vendor/plugins/refinery_settings/config/locales/en.yml +1 -1
  134. data/vendor/plugins/refinery_settings/config/locales/es.yml +1 -1
  135. data/vendor/plugins/refinery_settings/config/locales/fr.yml +1 -1
  136. data/vendor/plugins/refinery_settings/config/locales/it.yml +1 -1
  137. data/vendor/plugins/refinery_settings/config/locales/nb.yml +1 -1
  138. data/vendor/plugins/refinery_settings/config/locales/nl.yml +1 -1
  139. data/vendor/plugins/refinery_settings/config/locales/pt-BR.yml +1 -1
  140. data/vendor/plugins/refinery_settings/config/locales/ru.yml +1 -1
  141. data/vendor/plugins/refinery_settings/config/locales/sl.yml +1 -1
  142. data/vendor/plugins/resources/config/locales/da.yml +4 -4
  143. data/vendor/plugins/resources/config/locales/de.yml +4 -4
  144. data/vendor/plugins/resources/config/locales/en.yml +4 -4
  145. data/vendor/plugins/resources/config/locales/es.yml +4 -4
  146. data/vendor/plugins/resources/config/locales/fr.yml +4 -4
  147. data/vendor/plugins/resources/config/locales/it.yml +4 -4
  148. data/vendor/plugins/resources/config/locales/nb.yml +4 -4
  149. data/vendor/plugins/resources/config/locales/nl.yml +4 -4
  150. data/vendor/plugins/resources/config/locales/pt-BR.yml +4 -4
  151. data/vendor/plugins/resources/config/locales/ru.yml +4 -4
  152. data/vendor/plugins/resources/config/locales/sl.yml +4 -4
  153. metadata +4 -4
@@ -69,55 +69,55 @@ uk:
69
69
  distance_in_words:
70
70
  half_a_minute: "півхвилини"
71
71
  less_than_x_seconds:
72
- one: "менше {{count}} секунди"
73
- few: "менше {{count}} секунд"
74
- many: "менше {{count}} секунд"
75
- other: "менше {{count}} секунди"
72
+ one: "менше %{count} секунди"
73
+ few: "менше %{count} секунд"
74
+ many: "менше %{count} секунд"
75
+ other: "менше %{count} секунди"
76
76
  x_seconds:
77
- one: "{{count}} секунда"
78
- few: "{{count}} секунди"
79
- many: "{{count}} секунд"
80
- other: "{{count}} секунди"
77
+ one: "%{count} секунда"
78
+ few: "%{count} секунди"
79
+ many: "%{count} секунд"
80
+ other: "%{count} секунди"
81
81
  less_than_x_minutes:
82
- one: "менше {{count}} хвилини"
83
- few: "менше {{count}} хвилин"
84
- many: "менше {{count}} хвилин"
85
- other: "менше {{count}} хвилини"
82
+ one: "менше %{count} хвилини"
83
+ few: "менше %{count} хвилин"
84
+ many: "менше %{count} хвилин"
85
+ other: "менше %{count} хвилини"
86
86
  x_minutes:
87
- one: "{{count}} хвилина"
88
- few: "{{count}} хвилини"
89
- many: "{{count}} хвилин"
90
- other: "{{count}} хвилини"
87
+ one: "%{count} хвилина"
88
+ few: "%{count} хвилини"
89
+ many: "%{count} хвилин"
90
+ other: "%{count} хвилини"
91
91
  about_x_hours:
92
- one: "близько {{count}} година"
93
- few: "близько {{count}} години"
94
- many: "близько {{count}} годин"
95
- other: "близько {{count}} години"
92
+ one: "близько %{count} година"
93
+ few: "близько %{count} години"
94
+ many: "близько %{count} годин"
95
+ other: "близько %{count} години"
96
96
  x_days:
97
- one: "{{count}} день"
98
- few: "{{count}} дні"
99
- many: "{{count}} днів"
100
- other: "{{count}} дня"
97
+ one: "%{count} день"
98
+ few: "%{count} дні"
99
+ many: "%{count} днів"
100
+ other: "%{count} дня"
101
101
  about_x_months:
102
- one: "близько {{count}} місяця"
103
- few: "близько {{count}} місяців"
104
- many: "близько {{count}} місяців"
105
- other: "близько {{count}} місяця"
102
+ one: "близько %{count} місяця"
103
+ few: "близько %{count} місяців"
104
+ many: "близько %{count} місяців"
105
+ other: "близько %{count} місяця"
106
106
  x_months:
107
- one: "{{count}} місяць"
108
- few: "{{count}} місяці"
109
- many: "{{count}} місяців"
110
- other: "{{count}} місяця"
107
+ one: "%{count} місяць"
108
+ few: "%{count} місяці"
109
+ many: "%{count} місяців"
110
+ other: "%{count} місяця"
111
111
  about_x_years:
112
- one: "близько {{count}} року"
113
- few: "близько {{count}} років"
114
- many: "близько {{count}} років"
115
- other: "близько {{count}} року"
112
+ one: "близько %{count} року"
113
+ few: "близько %{count} років"
114
+ many: "близько %{count} років"
115
+ other: "близько %{count} року"
116
116
  over_x_years:
117
- one: "більше {{count}} року"
118
- few: "більше {{count}} років"
119
- many: "більше {{count}} років"
120
- other: "більше {{count}} року"
117
+ one: "більше %{count} року"
118
+ few: "більше %{count} років"
119
+ many: "більше %{count} років"
120
+ other: "більше %{count} року"
121
121
  prompts:
122
122
  year: "Рік"
123
123
  month: "Місяць"
@@ -130,10 +130,10 @@ uk:
130
130
  errors:
131
131
  template:
132
132
  header:
133
- one: "{{model}} не збережено через {{count}} помилку"
134
- few: "{{model}} не збережено через {{count}} помилки"
135
- many: "{{model}} не збережено через {{count}} помилок"
136
- other: "{{model}} не збережено через {{count}} помилки"
133
+ one: "%{model} не збережено через %{count} помилку"
134
+ few: "%{model} не збережено через %{count} помилки"
135
+ many: "%{model} не збережено через %{count} помилок"
136
+ other: "%{model} не збережено через %{count} помилки"
137
137
  # The variable :count is also available
138
138
  body: "Помилки виявлено в таких полях:"
139
139
 
@@ -148,27 +148,27 @@ uk:
148
148
  empty: "не може бути порожнім"
149
149
  blank: "не може бути пустим"
150
150
  too_long:
151
- one: "занадто довгий (максимум {{count}} знак)"
152
- few: "занадто довгий (максимум {{count}} знаки)"
153
- many: "занадто довгий (максимум {{count}} знаків)"
154
- other: "занадто довгий (максимум {{count}} знаку)"
151
+ one: "занадто довгий (максимум %{count} знак)"
152
+ few: "занадто довгий (максимум %{count} знаки)"
153
+ many: "занадто довгий (максимум %{count} знаків)"
154
+ other: "занадто довгий (максимум %{count} знаку)"
155
155
  too_short:
156
- one: "занадто короткий (мінімум {{count}} знак)"
157
- few: "занадто короткий (мінімум {{count}} знаки)"
158
- many: "занадто короткий (мінімум {{count}} знаків)"
159
- other: "занадто короткий (мінімум {{count}} знаку)"
156
+ one: "занадто короткий (мінімум %{count} знак)"
157
+ few: "занадто короткий (мінімум %{count} знаки)"
158
+ many: "занадто короткий (мінімум %{count} знаків)"
159
+ other: "занадто короткий (мінімум %{count} знаку)"
160
160
  wrong_length:
161
- one: "неправильна довжина (має бути {{count}} знак)"
162
- few: "неправильна довжина (має бути {{count}} знаки)"
163
- many: "неправильна довжина (має бути {{count}} знаків)"
164
- other: "неправильна довжина (має бути {{count}} знаку)"
161
+ one: "неправильна довжина (має бути %{count} знак)"
162
+ few: "неправильна довжина (має бути %{count} знаки)"
163
+ many: "неправильна довжина (має бути %{count} знаків)"
164
+ other: "неправильна довжина (має бути %{count} знаку)"
165
165
  taken: "вже зайнятий"
166
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}}"
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
172
  odd: "має бути непарним"
173
173
  even: "має бути парним"
174
174
  # Append your own errors here or at the model/attributes scope.
@@ -179,7 +179,7 @@ uk:
179
179
  # For example,
180
180
  # models:
181
181
  # user:
182
- # blank: "This is a custom blank message for {{model}}: {{attribute}}"
182
+ # blank: "This is a custom blank message for %{model}: %{attribute}"
183
183
  # attributes:
184
184
  # login:
185
185
  # blank: "This is a custom blank message for User login"
@@ -68,34 +68,34 @@ vi:
68
68
  half_a_minute: "30 giây"
69
69
  less_than_x_seconds:
70
70
  one: "chưa tới 1 giây"
71
- other: "chưa tới {{count}} giây"
71
+ other: "chưa tới %{count} giây"
72
72
  x_seconds:
73
73
  one: "1 giây"
74
- other: "{{count}} giây"
74
+ other: "%{count} giây"
75
75
  less_than_x_minutes:
76
76
  one: "chưa tới 1 phút"
77
- other: "chưa tới {{count}} phút"
77
+ other: "chưa tới %{count} phút"
78
78
  x_minutes:
79
79
  one: "1 phút"
80
- other: "{{count}} phút"
80
+ other: "%{count} phút"
81
81
  about_x_hours:
82
82
  one: "khoảng 1 giờ"
83
- other: "khoảng {{count}} giờ"
83
+ other: "khoảng %{count} giờ"
84
84
  x_days:
85
85
  one: "1 ngày"
86
- other: "{{count}} ngày"
86
+ other: "%{count} ngày"
87
87
  about_x_months:
88
88
  one: "khoảng 1 tháng"
89
- other: "khoảng {{count}} tháng"
89
+ other: "khoảng %{count} tháng"
90
90
  x_months:
91
91
  one: "1 tháng"
92
- other: "{{count}} tháng"
92
+ other: "%{count} tháng"
93
93
  about_x_years:
94
94
  one: "khoảng 1 năm"
95
- other: "khoảng {{count}} năm"
95
+ other: "khoảng %{count} năm"
96
96
  over_x_years:
97
97
  one: "hơn 1 năm"
98
- other: "hơn {{count}} năm"
98
+ other: "hơn %{count} năm"
99
99
  prompts:
100
100
  year: "Năm"
101
101
  month: "Tháng"
@@ -108,8 +108,8 @@ vi:
108
108
  errors:
109
109
  template:
110
110
  header:
111
- one: "1 lỗi ngăn không cho lưu {{model}} này"
112
- other: "{{count}} lỗi ngăn không cho lưu {{model}} này"
111
+ one: "1 lỗi ngăn không cho lưu %{model} này"
112
+ other: "%{count} lỗi ngăn không cho lưu %{model} này"
113
113
  # The variable :count is also available
114
114
  body: "Có lỗi với các mục sau:"
115
115
 
@@ -123,16 +123,16 @@ vi:
123
123
  accepted: "phải được đồng ý"
124
124
  empty: "không thể rỗng"
125
125
  blank: "không thể để trắng"
126
- too_long: "quá dài (tối đa {{count}} ký tự)"
127
- too_short: "quá ngắn (tối thiểu {{count}} ký tự)"
128
- wrong_length: "độ dài không đúng (phải là {{count}} ký tự)"
126
+ too_long: "quá dài (tối đa %{count} ký tự)"
127
+ too_short: "quá ngắn (tối thiểu %{count} ký tự)"
128
+ wrong_length: "độ dài không đúng (phải là %{count} ký tự)"
129
129
  taken: "đã có"
130
130
  not_a_number: "không phải là số"
131
- greater_than: "phải lớn hơn {{count}}"
132
- greater_than_or_equal_to: "phải lớn hơn hoặc bằng {{count}}"
133
- equal_to: "phải bằng {{count}}"
134
- less_than: "phải nhỏ hơn {{count}}"
135
- less_than_or_equal_to: "phải nhỏ hơn hoặc bằng {{count}}"
131
+ greater_than: "phải lớn hơn %{count}"
132
+ greater_than_or_equal_to: "phải lớn hơn hoặc bằng %{count}"
133
+ equal_to: "phải bằng %{count}"
134
+ less_than: "phải nhỏ hơn %{count}"
135
+ less_than_or_equal_to: "phải nhỏ hơn hoặc bằng %{count}"
136
136
  odd: "phải là số chẵn"
137
137
  even: "phải là số lẻ"
138
138
  # Append your own errors here or at the model/attributes scope.
@@ -143,7 +143,7 @@ vi:
143
143
  # For example,
144
144
  # models:
145
145
  # user:
146
- # blank: "This is a custom blank message for {{model}}: {{attribute}}"
146
+ # blank: "This is a custom blank message for %{model}: %{attribute}"
147
147
  # attributes:
148
148
  # login:
149
149
  # blank: "This is a custom blank message for User login"
@@ -26,34 +26,34 @@
26
26
  half_a_minute: "半分钟"
27
27
  less_than_x_seconds:
28
28
  one: "不到一秒"
29
- other: "不到 {{count}} 秒"
29
+ other: "不到 %{count} 秒"
30
30
  x_seconds:
31
31
  one: "一秒"
32
- other: "{{count}} 秒"
32
+ other: "%{count} 秒"
33
33
  less_than_x_minutes:
34
34
  one: "不到一分钟"
35
- other: "不到 {{count}} 分钟"
35
+ other: "不到 %{count} 分钟"
36
36
  x_minutes:
37
37
  one: "一分钟"
38
- other: "{{count}} 分钟"
38
+ other: "%{count} 分钟"
39
39
  about_x_hours:
40
40
  one: "大约一小时"
41
- other: "大约 {{count}} 小时"
41
+ other: "大约 %{count} 小时"
42
42
  x_days:
43
43
  one: "一天"
44
- other: "{{count}} 天"
44
+ other: "%{count} 天"
45
45
  about_x_months:
46
46
  one: "大约一个月"
47
- other: "大约 {{count}} 个月"
47
+ other: "大约 %{count} 个月"
48
48
  x_months:
49
49
  one: "一个月"
50
- other: "{{count}} 个月"
50
+ other: "%{count} 个月"
51
51
  about_x_years:
52
52
  one: "大约一年"
53
- other: "大约 {{count}} 年"
53
+ other: "大约 %{count} 年"
54
54
  over_x_years:
55
55
  one: "一年多"
56
- other: "{{count}} 年多"
56
+ other: "%{count} 年多"
57
57
  prompts:
58
58
  year: "年"
59
59
  month: "月"
@@ -105,11 +105,11 @@
105
105
  errors:
106
106
  template:
107
107
  header:
108
- one: "有 1 个错误发生导致「{{model}}」无法被保存。"
109
- other: "有 {{count}} 个错误发生导致「{{model}}」无法被保存。"
108
+ one: "有 1 个错误发生导致「%{model}」无法被保存。"
109
+ other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
110
110
  body: "如下字段出现错误:"
111
111
  messages:
112
- record_invalid: "校验失败: {{errors}}"
112
+ record_invalid: "校验失败: %{errors}"
113
113
  inclusion: "不包含于列表中"
114
114
  exclusion: "是保留关键字"
115
115
  invalid: "是无效的"
@@ -117,15 +117,15 @@
117
117
  accepted: "必须是可被接受的"
118
118
  empty: "不能留空"
119
119
  blank: "不能为空字符"
120
- too_long: "过长(最长为 {{count}} 个字符)"
121
- too_short: "过短(最短为 {{count}} 个字符)"
122
- wrong_length: "长度非法(必须为 {{count}} 个字符)"
120
+ too_long: "过长(最长为 %{count} 个字符)"
121
+ too_short: "过短(最短为 %{count} 个字符)"
122
+ wrong_length: "长度非法(必须为 %{count} 个字符)"
123
123
  taken: "已经被使用"
124
124
  not_a_number: "不是数字"
125
- greater_than: "必须大于 {{count}}"
126
- greater_than_or_equal_to: "必须大于或等于 {{count}}"
127
- equal_to: "必须等于 {{count}}"
128
- less_than: "必须小于 {{count}}"
129
- less_than_or_equal_to: "必须小于或等于 {{count}}"
125
+ greater_than: "必须大于 %{count}"
126
+ greater_than_or_equal_to: "必须大于或等于 %{count}"
127
+ equal_to: "必须等于 %{count}"
128
+ less_than: "必须小于 %{count}"
129
+ less_than_or_equal_to: "必须小于或等于 %{count}"
130
130
  odd: "必须为单数"
131
131
  even: "必须为双数"
@@ -26,34 +26,34 @@
26
26
  half_a_minute: "半分鐘"
27
27
  less_than_x_seconds:
28
28
  one: "不到一秒"
29
- other: "不到 {{count}} 秒"
29
+ other: "不到 %{count} 秒"
30
30
  x_seconds:
31
31
  one: "一秒"
32
- other: "{{count}} 秒"
32
+ other: "%{count} 秒"
33
33
  less_than_x_minutes:
34
34
  one: "不到一分鐘"
35
- other: "不到 {{count}} 分鐘"
35
+ other: "不到 %{count} 分鐘"
36
36
  x_minutes:
37
37
  one: "一分鐘"
38
- other: "{{count}} 分鐘"
38
+ other: "%{count} 分鐘"
39
39
  about_x_hours:
40
40
  one: "大約一小時"
41
- other: "大約 {{count}} 小時"
41
+ other: "大約 %{count} 小時"
42
42
  x_days:
43
43
  one: "一天"
44
- other: "{{count}} 天"
44
+ other: "%{count} 天"
45
45
  about_x_months:
46
46
  one: "大約一個月"
47
- other: "大約 {{count}} 個月"
47
+ other: "大約 %{count} 個月"
48
48
  x_months:
49
49
  one: "一個月"
50
- other: "{{count}} 個月"
50
+ other: "%{count} 個月"
51
51
  about_x_years:
52
52
  one: "大約一年"
53
- other: "大約 {{count}} 年"
53
+ other: "大約 %{count} 年"
54
54
  over_x_years:
55
55
  one: "一年多"
56
- other: "{{count}} 年多"
56
+ other: "%{count} 年多"
57
57
  prompts:
58
58
  year: "年"
59
59
  month: "月"
@@ -105,8 +105,8 @@
105
105
  errors:
106
106
  template:
107
107
  header:
108
- one: "有 1 個錯誤發生使得「{{model}}」無法被儲存。"
109
- other: "有 {{count}} 個錯誤發生使得「{{model}}」無法被儲存。"
108
+ one: "有 1 個錯誤發生使得「%{model}」無法被儲存。"
109
+ other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。"
110
110
  body: "下面欄位有問題:"
111
111
  messages:
112
112
  inclusion: "沒有包含在列表中"
@@ -116,16 +116,16 @@
116
116
  accepted: "必須是可被接受的"
117
117
  empty: "不能留空"
118
118
  blank: "不能是空白字元"
119
- too_long: "過長(最長是 {{count}} 個字)"
120
- too_short: "過短(最短是 {{count}} 個字)"
121
- wrong_length: "字數錯誤(必須是 {{count}} 個字)"
119
+ too_long: "過長(最長是 %{count} 個字)"
120
+ too_short: "過短(最短是 %{count} 個字)"
121
+ wrong_length: "字數錯誤(必須是 %{count} 個字)"
122
122
  taken: "已經被使用"
123
123
  not_a_number: "不是數字"
124
- greater_than: "必須大於 {{count}}"
125
- greater_than_or_equal_to: "必須大於或等於 {{count}}"
126
- equal_to: "必須等於 {{count}}"
127
- less_than: "必須小於 {{count}}"
128
- less_than_or_equal_to: "必須小於或等於 {{count}}"
124
+ greater_than: "必須大於 %{count}"
125
+ greater_than_or_equal_to: "必須大於或等於 %{count}"
126
+ equal_to: "必須等於 %{count}"
127
+ less_than: "必須小於 %{count}"
128
+ less_than_or_equal_to: "必須小於或等於 %{count}"
129
129
  odd: "必須是奇數"
130
130
  even: "必須是偶數"
131
131
 
@@ -16,13 +16,13 @@ module RoutingFilter
16
16
  ::I18n.locale = ::Refinery::I18n.default_frontend_locale
17
17
  end
18
18
 
19
- returning yield do |params|
19
+ yield.tap do |params|
20
20
  unless path =~ %r{^/(admin|refinery|wymiframe)} or ::I18n.locale == ::Refinery::I18n.default_frontend_locale
21
21
  params[:locale] = (locale.presence || ::Refinery::I18n.current_frontend_locale)
22
22
  end
23
23
  end
24
24
  else
25
- returning yield do |result|
25
+ yield.tap do |result|
26
26
  result
27
27
  end
28
28
  end
@@ -31,14 +31,14 @@ module RoutingFilter
31
31
  def around_generate(*args, &block)
32
32
  if ::Refinery::I18n.enabled?
33
33
  locale = args.extract_options!.delete(:locale) || ::I18n.locale
34
- returning yield do |result|
34
+ yield.tap do |result|
35
35
  if (locale != ::Refinery::I18n.default_frontend_locale and result !~ %r{^/(refinery|wymiframe)})
36
36
  result.sub!(%r(^(http.?://[^/]*)?(.*))){ "#{$1}/#{locale}#{$2}" }
37
37
  end
38
38
  result
39
39
  end
40
40
  else
41
- returning yield do |result|
41
+ yield.tap do |result|
42
42
  result
43
43
  end
44
44
  end