spree_core 2.3.4 → 2.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/spree/base_helper.rb +1 -1
  3. data/app/helpers/spree/products_helper.rb +7 -8
  4. data/app/models/spree/adjustment.rb +3 -1
  5. data/app/models/spree/asset.rb +1 -1
  6. data/app/models/spree/classification.rb +1 -1
  7. data/app/models/spree/credit_card.rb +2 -2
  8. data/app/models/spree/gateway/bogus.rb +3 -2
  9. data/app/models/spree/inventory_unit.rb +1 -1
  10. data/app/models/spree/item_adjustments.rb +8 -4
  11. data/app/models/spree/line_item.rb +5 -0
  12. data/app/models/spree/order.rb +8 -4
  13. data/app/models/spree/order/checkout.rb +2 -0
  14. data/app/models/spree/payment.rb +6 -3
  15. data/app/models/spree/payment_method.rb +7 -3
  16. data/app/models/spree/payment_method/check.rb +2 -0
  17. data/app/models/spree/price.rb +1 -13
  18. data/app/models/spree/product.rb +26 -24
  19. data/app/models/spree/promotion.rb +2 -2
  20. data/app/models/spree/promotion/actions/create_item_adjustments.rb +5 -3
  21. data/app/models/spree/promotion/actions/create_line_items.rb +1 -0
  22. data/app/models/spree/promotion_handler/coupon.rb +5 -1
  23. data/app/models/spree/return_authorization.rb +2 -2
  24. data/app/models/spree/shipping_category.rb +2 -2
  25. data/app/models/spree/shipping_method_category.rb +1 -1
  26. data/app/models/spree/stock_item.rb +1 -1
  27. data/app/models/spree/stock_location.rb +1 -1
  28. data/app/models/spree/store.rb +1 -1
  29. data/app/models/spree/tax_category.rb +2 -2
  30. data/app/models/spree/tax_rate.rb +7 -4
  31. data/app/models/spree/variant.rb +18 -17
  32. data/app/models/spree/zone.rb +15 -17
  33. data/app/models/spree/zone_member.rb +1 -1
  34. data/config/initializers/user_class_extensions.rb +10 -9
  35. data/config/locales/en.yml +4 -1
  36. data/db/migrate/20140530024945_move_order_token_from_tokenized_permission.rb +1 -1
  37. data/db/migrate/20140601011216_set_shipment_total_for_users_upgrading.rb +3 -5
  38. data/db/migrate/20141021194502_add_state_lock_version_to_order.rb +5 -0
  39. data/db/migrate/20141101231208_fix_adjustment_order_presence.rb +13 -0
  40. data/db/migrate/20141105213646_update_classifications_positions.rb +9 -0
  41. data/lib/generators/spree/install/install_generator.rb +3 -7
  42. data/lib/spree/core.rb +3 -3
  43. data/lib/spree/core/controller_helpers/order.rb +8 -7
  44. data/lib/spree/core/importer/order.rb +16 -3
  45. data/lib/spree/core/search/base.rb +1 -1
  46. data/lib/spree/core/validators/email.rb +1 -1
  47. data/lib/spree/core/version.rb +1 -1
  48. data/lib/spree/localized_number.rb +20 -0
  49. data/lib/spree/migrations.rb +7 -3
  50. data/lib/spree/money.rb +2 -2
  51. data/lib/spree/permitted_attributes.rb +3 -1
  52. data/lib/spree/testing_support/ability_helpers.rb +25 -25
  53. data/lib/spree/testing_support/capybara_ext.rb +2 -2
  54. data/lib/spree/testing_support/factories/line_item_factory.rb +1 -1
  55. data/lib/spree/testing_support/factories/order_factory.rb +1 -1
  56. data/lib/spree/testing_support/factories/promotion_factory.rb +4 -4
  57. data/lib/spree/testing_support/factories/stock_factory.rb +2 -2
  58. data/lib/spree/testing_support/flash.rb +2 -2
  59. metadata +16 -19
  60. data/vendor/assets/javascripts/jquery.validate/localization/messages_et.js +0 -23
  61. data/vendor/assets/javascripts/jquery.validate/localization/messages_eu.js +0 -25
  62. data/vendor/assets/javascripts/jquery.validate/localization/messages_hr.js +0 -25
  63. data/vendor/assets/javascripts/jquery.validate/localization/messages_ka.js +0 -25
  64. data/vendor/assets/javascripts/jquery.validate/localization/messages_ko.js +0 -25
  65. data/vendor/assets/javascripts/jquery.validate/localization/messages_my.js +0 -25
  66. data/vendor/assets/javascripts/jquery.validate/localization/messages_pt_BR.js +0 -26
  67. data/vendor/assets/javascripts/jquery.validate/localization/messages_pt_PT.js +0 -26
  68. data/vendor/assets/javascripts/jquery.validate/localization/messages_sl.js +0 -25
  69. data/vendor/assets/javascripts/jquery.validate/localization/messages_sv.js +0 -23
  70. data/vendor/assets/javascripts/jquery.validate/localization/messages_uk.js +0 -25
  71. data/vendor/assets/javascripts/jquery.validate/localization/messages_zh.js +0 -25
  72. data/vendor/assets/javascripts/jquery.validate/localization/messages_zh_TW.js +0 -26
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: ET (Estonian; eesti, eesti keel)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "See väli peab olema täidetud.",
8
- maxlength: $.validator.format("Palun sisestage vähem kui {0} tähemärki."),
9
- minlength: $.validator.format("Palun sisestage vähemalt {0} tähemärki."),
10
- rangelength: $.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1} tähemärki."),
11
- email: "Palun sisestage korrektne e-maili aadress.",
12
- url: "Palun sisestage korrektne URL.",
13
- date: "Palun sisestage korrektne kuupäev.",
14
- dateISO: "Palun sisestage korrektne kuupäev (YYYY-MM-DD).",
15
- number: "Palun sisestage korrektne number.",
16
- digits: "Palun sisestage ainult numbreid.",
17
- equalTo: "Palun sisestage sama väärtus uuesti.",
18
- range: $.validator.format("Palun sisestage väärtus vahemikus {0} kuni {1}."),
19
- max: $.validator.format("Palun sisestage väärtus, mis on väiksem või võrdne arvuga {0}."),
20
- min: $.validator.format("Palun sisestage väärtus, mis on suurem või võrdne arvuga {0}."),
21
- creditcard: "Palun sisestage korrektne krediitkaardi number."
22
- });
23
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: EU (Basque; euskara, euskera)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "Eremu hau beharrezkoa da.",
8
- remote: "Mesedez, bete eremu hau.",
9
- email: "Mesedez, idatzi baliozko posta helbide bat.",
10
- url: "Mesedez, idatzi baliozko URL bat.",
11
- date: "Mesedez, idatzi baliozko data bat.",
12
- dateISO: "Mesedez, idatzi baliozko (ISO) data bat.",
13
- number: "Mesedez, idatzi baliozko zenbaki oso bat.",
14
- digits: "Mesedez, idatzi digituak soilik.",
15
- creditcard: "Mesedez, idatzi baliozko txartel zenbaki bat.",
16
- equalTo: "Mesedez, idatzi berdina berriro ere.",
17
- accept: "Mesedez, idatzi onartutako luzapena duen balio bat.",
18
- maxlength: $.validator.format("Mesedez, ez idatzi {0} karaktere baino gehiago."),
19
- minlength: $.validator.format("Mesedez, ez idatzi {0} karaktere baino gutxiago."),
20
- rangelength: $.validator.format("Mesedez, idatzi {0} eta {1} karaktere arteko balio bat."),
21
- range: $.validator.format("Mesedez, idatzi {0} eta {1} arteko balio bat."),
22
- max: $.validator.format("Mesedez, idatzi {0} edo txikiagoa den balio bat."),
23
- min: $.validator.format("Mesedez, idatzi {0} edo handiagoa den balio bat.")
24
- });
25
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: HR (Croatia; hrvatski jezik)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "Ovo polje je obavezno.",
8
- remote: "Ovo polje treba popraviti.",
9
- email: "Unesite ispravnu e-mail adresu.",
10
- url: "Unesite ispravan URL.",
11
- date: "Unesite ispravan datum.",
12
- dateISO: "Unesite ispravan datum (ISO).",
13
- number: "Unesite ispravan broj.",
14
- digits: "Unesite samo brojeve.",
15
- creditcard: "Unesite ispravan broj kreditne kartice.",
16
- equalTo: "Unesite ponovo istu vrijednost.",
17
- accept: "Unesite vrijednost sa ispravnom ekstenzijom.",
18
- maxlength: $.validator.format("Maksimalni broj znakova je {0} ."),
19
- minlength: $.validator.format("Minimalni broj znakova je {0} ."),
20
- rangelength: $.validator.format("Unesite vrijednost između {0} i {1} znakova."),
21
- range: $.validator.format("Unesite vrijednost između {0} i {1}."),
22
- max: $.validator.format("Unesite vrijednost manju ili jednaku {0}."),
23
- min: $.validator.format("Unesite vrijednost veću ili jednaku {0}.")
24
- });
25
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: KA (Georgian; ქართული)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "ამ ველის შევსება აუცილებელია.",
8
- remote: "გთხოვთ მიუთითოთ სწორი მნიშვნელობა.",
9
- email: "გთხოვთ მიუთითოთ ელ-ფოსტის კორექტული მისამართი.",
10
- url: "გთხოვთ მიუთითოთ კორექტული URL.",
11
- date: "გთხოვთ მიუთითოთ კორექტული თარიღი.",
12
- dateISO: "გთხოვთ მიუთითოთ კორექტული თარიღი ISO ფორმატში.",
13
- number: "გთხოვთ მიუთითოთ ციფრი.",
14
- digits: "გთხოვთ მიუთითოთ მხოლოდ ციფრები.",
15
- creditcard: "გთხოვთ მიუთითოთ საკრედიტო ბარათის კორექტული ნომერი.",
16
- equalTo: "გთხოვთ მიუთითოთ ასეთივე მნიშვნელობა კიდევ ერთხელ.",
17
- accept: "გთხოვთ აირჩიოთ ფაილი კორექტული გაფართოებით.",
18
- maxlength: $.validator.format("დასაშვებია არაუმეტეს {0} სიმბოლო."),
19
- minlength: $.validator.format("აუცილებელია შეიყვანოთ მინიმუმ {0} სიმბოლო."),
20
- rangelength: $.validator.format("ტექსტში სიმბოლოების რაოდენობა უნდა იყოს {0}-დან {1}-მდე."),
21
- range: $.validator.format("გთხოვთ შეიყვანოთ ციფრი {0}-დან {1}-მდე."),
22
- max: $.validator.format("გთხოვთ შეიყვანოთ ციფრი რომელიც ნაკლებია ან უდრის {0}-ს."),
23
- min: $.validator.format("გთხოვთ შეიყვანოთ ციფრი რომელიც მეტია ან უდრის {0}-ს.")
24
- });
25
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: KO (Korean; 한국어)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "필수 항목입니다.",
8
- remote: "항목을 수정하세요.",
9
- email: "유효하지 않은 E-Mail주소입니다.",
10
- url: "유효하지 않은 주소입니다.",
11
- date: "옳바른 날짜를 입력하세요.",
12
- dateISO: "옳바른 날짜(ISO)를 입력하세요.",
13
- number: "유효한 숫자가 아닙니다.",
14
- digits: "숫자만 입력 가능합니다.",
15
- creditcard: "신용카드번호가 바르지 않습니다.",
16
- equalTo: "같은값을 다시 입력하세요.",
17
- accept: "옳바른 확장자가 아닙니다.",
18
- maxlength: $.format("{0}자를 넘을 수 없습니다. "),
19
- minlength: $.format("{0}자 이하로 입력하세요."),
20
- rangelength: $.format("문자 길이를 {0} 에서 {1} 사이의로 입력하세요."),
21
- range: $.format("{0} 에서 {1} 값을 입력하세요."),
22
- max: $.format("{0} 이하의 값을 입력하세요."),
23
- min: $.format("{0} 이상의 값을 입력하세요.")
24
- });
25
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: MY (Malay; Melayu)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "Medan ini diperlukan.",
8
- remote: "Sila betulkan medan ini.",
9
- email: "Sila masukkan alamat emel yang betul.",
10
- url: "Sila masukkan URL yang betul.",
11
- date: "Sila masukkan tarikh yang betul.",
12
- dateISO: "Sila masukkan tarikh(ISO) yang betul.",
13
- number: "Sila masukkan nombor yang betul.",
14
- digits: "Sila masukkan nilai digit sahaja.",
15
- creditcard: "Sila masukkan nombor kredit kad yang betul.",
16
- equalTo: "Sila masukkan nilai yang sama semula.",
17
- accept: "Sila masukkan nilai yang telah diterima.",
18
- maxlength: $.validator.format("Sila masukkan nilai tidak lebih dari {0} aksara."),
19
- minlength: $.validator.format("Sila masukkan nilai sekurang-kurangnya {0} aksara."),
20
- rangelength: $.validator.format("Sila masukkan panjang nilai antara {0} dan {1} aksara."),
21
- range: $.validator.format("Sila masukkan nilai antara {0} dan {1} aksara."),
22
- max: $.validator.format("Sila masukkan nilai yang kurang atau sama dengan {0}."),
23
- min: $.validator.format("Sila masukkan nilai yang lebih atau sama dengan {0}.")
24
- });
25
- }(jQuery));
@@ -1,26 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: PT (Portuguese; português)
4
- * Region: BR (Brazil)
5
- */
6
- (function ($) {
7
- $.extend($.validator.messages, {
8
- required: "Este campo é requerido.",
9
- remote: "Por favor, corrija este campo.",
10
- email: "Por favor, forneça um endereço eletrônico válido.",
11
- url: "Por favor, forneça uma URL válida.",
12
- date: "Por favor, forneça uma data válida.",
13
- dateISO: "Por favor, forneça uma data válida (ISO).",
14
- number: "Por favor, forneça um número válido.",
15
- digits: "Por favor, forneça somente dígitos.",
16
- creditcard: "Por favor, forneça um cartão de crédito válido.",
17
- equalTo: "Por favor, forneça o mesmo valor novamente.",
18
- accept: "Por favor, forneça um valor com uma extensão válida.",
19
- maxlength: $.validator.format("Por favor, forneça não mais que {0} caracteres."),
20
- minlength: $.validator.format("Por favor, forneça ao menos {0} caracteres."),
21
- rangelength: $.validator.format("Por favor, forneça um valor entre {0} e {1} caracteres de comprimento."),
22
- range: $.validator.format("Por favor, forneça um valor entre {0} e {1}."),
23
- max: $.validator.format("Por favor, forneça um valor menor ou igual a {0}."),
24
- min: $.validator.format("Por favor, forneça um valor maior ou igual a {0}.")
25
- });
26
- }(jQuery));
@@ -1,26 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: PT (Portuguese; português)
4
- * Region: PT (Portugal)
5
- */
6
- (function ($) {
7
- $.extend($.validator.messages, {
8
- required: "Campo de preenchimento obrigatório.",
9
- remote: "Por favor, corrija este campo.",
10
- email: "Por favor, introduza um endereço eletrónico válido.",
11
- url: "Por favor, introduza um URL válido.",
12
- date: "Por favor, introduza uma data válida.",
13
- dateISO: "Por favor, introduza uma data válida (ISO).",
14
- number: "Por favor, introduza um número válido.",
15
- digits: "Por favor, introduza apenas dígitos.",
16
- creditcard: "Por favor, introduza um número de cartão de crédito válido.",
17
- equalTo: "Por favor, introduza de novo o mesmo valor.",
18
- accept: "Por favor, introduza um ficheiro com uma extensão válida.",
19
- maxlength: $.validator.format("Por favor, não introduza mais do que {0} caracteres."),
20
- minlength: $.validator.format("Por favor, introduza pelo menos {0} caracteres."),
21
- rangelength: $.validator.format("Por favor, introduza entre {0} e {1} caracteres."),
22
- range: $.validator.format("Por favor, introduza um valor entre {0} e {1}."),
23
- max: $.validator.format("Por favor, introduza um valor menor ou igual a {0}."),
24
- min: $.validator.format("Por favor, introduza um valor maior ou igual a {0}.")
25
- });
26
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Language: SL (Slovenian; slovenski jezik)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "To polje je obvezno.",
8
- remote: "Prosimo popravite to polje.",
9
- email: "Prosimo vnesite veljaven email naslov.",
10
- url: "Prosimo vnesite veljaven URL naslov.",
11
- date: "Prosimo vnesite veljaven datum.",
12
- dateISO: "Prosimo vnesite veljaven ISO datum.",
13
- number: "Prosimo vnesite veljavno število.",
14
- digits: "Prosimo vnesite samo števila.",
15
- creditcard: "Prosimo vnesite veljavno številko kreditne kartice.",
16
- equalTo: "Prosimo ponovno vnesite vrednost.",
17
- accept: "Prosimo vnesite vrednost z veljavno končnico.",
18
- maxlength: $.validator.format("Prosimo vnesite največ {0} znakov."),
19
- minlength: $.validator.format("Prosimo vnesite najmanj {0} znakov."),
20
- rangelength: $.validator.format("Prosimo vnesite najmanj {0} in največ {1} znakov."),
21
- range: $.validator.format("Prosimo vnesite vrednost med {0} in {1}."),
22
- max: $.validator.format("Prosimo vnesite vrednost manjše ali enako {0}."),
23
- min: $.validator.format("Prosimo vnesite vrednost večje ali enako {0}.")
24
- });
25
- }(jQuery));
@@ -1,23 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: SV (Swedish; Svenska)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "Detta fält är obligatoriskt.",
8
- maxlength: $.validator.format("Du får ange högst {0} tecken."),
9
- minlength: $.validator.format("Du måste ange minst {0} tecken."),
10
- rangelength: $.validator.format("Ange minst {0} och max {1} tecken."),
11
- email: "Ange en korrekt e-postadress.",
12
- url: "Ange en korrekt URL.",
13
- date: "Ange ett korrekt datum.",
14
- dateISO: "Ange ett korrekt datum (ÅÅÅÅ-MM-DD).",
15
- number: "Ange ett korrekt nummer.",
16
- digits: "Ange endast siffror.",
17
- equalTo: "Ange samma värde igen.",
18
- range: $.validator.format("Ange ett värde mellan {0} och {1}."),
19
- max: $.validator.format("Ange ett värde som är mindre eller lika med {0}."),
20
- min: $.validator.format("Ange ett värde som är större eller lika med {0}."),
21
- creditcard: "Ange ett korrekt kreditkortsnummer."
22
- });
23
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: UK (Ukrainian; українська мова)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "Це поле необхідно заповнити.",
8
- remote: "Будь ласка, введіть правильне значення.",
9
- email: "Будь ласка, введіть коректну адресу електронної пошти.",
10
- url: "Будь ласка, введіть коректний URL.",
11
- date: "Будь ласка, введіть коректну дату.",
12
- dateISO: "Будь ласка, введіть коректну дату у форматі ISO.",
13
- number: "Будь ласка, введіть число.",
14
- digits: "Вводите потрібно лише цифри.",
15
- creditcard: "Будь ласка, введіть правильний номер кредитної карти.",
16
- equalTo: "Будь ласка, введіть таке ж значення ще раз.",
17
- accept: "Будь ласка, виберіть файл з правильним розширенням.",
18
- maxlength: $.validator.format("Будь ласка, введіть не більше {0} символів."),
19
- minlength: $.validator.format("Будь ласка, введіть не менше {0} символів."),
20
- rangelength: $.validator.format("Будь ласка, введіть значення довжиною від {0} до {1} символів."),
21
- range: $.validator.format("Будь ласка, введіть число від {0} до {1}."),
22
- max: $.validator.format("Будь ласка, введіть число, менше або рівно {0}."),
23
- min: $.validator.format("Будь ласка, введіть число, більше або рівно {0}.")
24
- });
25
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "必选字段",
8
- remote: "请修正该字段",
9
- email: "请输入正确格式的电子邮件",
10
- url: "请输入合法的网址",
11
- date: "请输入合法的日期",
12
- dateISO: "请输入合法的日期 (ISO).",
13
- number: "请输入合法的数字",
14
- digits: "只能输入整数",
15
- creditcard: "请输入合法的信用卡号",
16
- equalTo: "请再次输入相同的值",
17
- accept: "请输入拥有合法后缀名的字符串",
18
- maxlength: $.validator.format("请输入一个长度最多是 {0} 的字符串"),
19
- minlength: $.validator.format("请输入一个长度最少是 {0} 的字符串"),
20
- rangelength: $.validator.format("请输入一个长度介于 {0} 和 {1} 之间的字符串"),
21
- range: $.validator.format("请输入一个介于 {0} 和 {1} 之间的值"),
22
- max: $.validator.format("请输入一个最大为 {0} 的值"),
23
- min: $.validator.format("请输入一个最小为 {0} 的值")
24
- });
25
- }(jQuery));
@@ -1,26 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
4
- * Region: TW (Taiwan)
5
- */
6
- (function ($) {
7
- $.extend($.validator.messages, {
8
- required: "必填",
9
- remote: "請修正此欄位",
10
- email: "請輸入正確的電子信箱",
11
- url: "請輸入合法的URL",
12
- date: "請輸入合法的日期",
13
- dateISO: "請輸入合法的日期 (ISO).",
14
- number: "請輸入數字",
15
- digits: "請輸入整數",
16
- creditcard: "請輸入合法的信用卡號碼",
17
- equalTo: "請重複輸入一次",
18
- accept: "請輸入有效的後缀字串",
19
- maxlength: $.validator.format("請輸入長度不大於{0} 的字串"),
20
- minlength: $.validator.format("請輸入長度不小於 {0} 的字串"),
21
- rangelength: $.validator.format("請輸入長度介於 {0} 和 {1} 之間的字串"),
22
- range: $.validator.format("請輸入介於 {0} 和 {1} 之間的數值"),
23
- max: $.validator.format("請輸入不大於 {0} 的數值"),
24
- min: $.validator.format("請輸入不小於 {0} 的數值")
25
- });
26
- }(jQuery));