spree_core 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/admin/admin.js.erb +9 -5
  3. data/app/assets/javascripts/store/product.js.coffee +6 -1
  4. data/app/assets/stylesheets/store/screen.css.scss +1 -1
  5. data/app/controllers/spree/admin/images_controller.rb +4 -0
  6. data/app/controllers/spree/admin/resource_controller.rb +6 -2
  7. data/app/controllers/spree/orders_controller.rb +1 -1
  8. data/app/helpers/spree/admin/navigation_helper.rb +3 -1
  9. data/app/models/spree/classification.rb +3 -0
  10. data/app/models/spree/credit_card.rb +13 -0
  11. data/app/models/spree/order.rb +20 -11
  12. data/app/models/spree/payment.rb +1 -1
  13. data/app/models/spree/payment/processing.rb +5 -0
  14. data/app/models/spree/product.rb +1 -1
  15. data/app/models/spree/product/scopes.rb +5 -8
  16. data/app/views/spree/admin/adjustments/index.html.erb +2 -2
  17. data/app/views/spree/admin/payments/_form.html.erb +3 -1
  18. data/app/views/spree/checkout/edit.html.erb +4 -0
  19. data/app/views/spree/orders/_line_item.html.erb +5 -3
  20. data/config/initializers/user_class_extensions.rb +1 -1
  21. data/config/locales/en.yml +6 -0
  22. data/config/routes.rb +1 -1
  23. data/db/migrate/20130626232741_add_cvv_result_code_and_cvv_result_message_to_spree_payments.rb +6 -0
  24. data/db/migrate/20130628021056_add_unique_index_to_permalink_on_spree_products.rb +5 -0
  25. data/db/migrate/20130628022817_add_unique_index_to_orders_shipments_and_stock_transfers.rb +6 -0
  26. data/db/migrate/20130813140619_expand_order_number_size.rb +9 -0
  27. data/lib/generators/spree/dummy/templates/rails/database.yml +0 -3
  28. data/lib/spree/core/permalinks.rb +17 -13
  29. data/lib/spree/core/s3_support.rb +1 -1
  30. data/lib/spree/core/testing_support/factories/variant_factory.rb +1 -1
  31. data/lib/spree/core/version.rb +1 -1
  32. data/vendor/assets/javascripts/jquery.validate/additional-methods.min.js +6 -22
  33. data/vendor/assets/javascripts/jquery.validate/jquery.validate.min.js +6 -45
  34. data/vendor/assets/javascripts/jquery.validate/localization/messages_ar.js +23 -22
  35. data/vendor/assets/javascripts/jquery.validate/localization/messages_bg.js +22 -20
  36. data/vendor/assets/javascripts/jquery.validate/localization/messages_ca.js +22 -20
  37. data/vendor/assets/javascripts/jquery.validate/localization/messages_cs.js +22 -20
  38. data/vendor/assets/javascripts/jquery.validate/localization/messages_da.js +19 -17
  39. data/vendor/assets/javascripts/jquery.validate/localization/messages_de.js +19 -18
  40. data/vendor/assets/javascripts/jquery.validate/localization/messages_el.js +22 -21
  41. data/vendor/assets/javascripts/jquery.validate/localization/messages_es.js +22 -20
  42. data/vendor/assets/javascripts/jquery.validate/localization/messages_et.js +23 -0
  43. data/vendor/assets/javascripts/jquery.validate/localization/messages_eu.js +25 -0
  44. data/vendor/assets/javascripts/jquery.validate/localization/messages_fa.js +22 -20
  45. data/vendor/assets/javascripts/jquery.validate/localization/messages_fi.js +20 -18
  46. data/vendor/assets/javascripts/jquery.validate/localization/messages_fr.js +44 -20
  47. data/vendor/assets/javascripts/jquery.validate/localization/messages_he.js +22 -20
  48. data/vendor/assets/javascripts/jquery.validate/localization/messages_hr.js +25 -0
  49. data/vendor/assets/javascripts/jquery.validate/localization/messages_hu.js +21 -18
  50. data/vendor/assets/javascripts/jquery.validate/localization/messages_it.js +22 -20
  51. data/vendor/assets/javascripts/jquery.validate/localization/messages_ja.js +22 -20
  52. data/vendor/assets/javascripts/jquery.validate/localization/messages_ka.js +25 -0
  53. data/vendor/assets/javascripts/jquery.validate/localization/messages_kk.js +22 -20
  54. data/vendor/assets/javascripts/jquery.validate/localization/messages_ko.js +25 -0
  55. data/vendor/assets/javascripts/jquery.validate/localization/messages_lt.js +23 -21
  56. data/vendor/assets/javascripts/jquery.validate/localization/messages_lv.js +22 -20
  57. data/vendor/assets/javascripts/jquery.validate/localization/messages_my.js +25 -0
  58. data/vendor/assets/javascripts/jquery.validate/localization/messages_nl.js +32 -20
  59. data/vendor/assets/javascripts/jquery.validate/localization/messages_no.js +22 -20
  60. data/vendor/assets/javascripts/jquery.validate/localization/messages_pl.js +22 -20
  61. data/vendor/assets/javascripts/jquery.validate/localization/messages_pt_BR.js +26 -0
  62. data/vendor/assets/javascripts/jquery.validate/localization/messages_pt_PT.js +26 -0
  63. data/vendor/assets/javascripts/jquery.validate/localization/messages_ro.js +22 -20
  64. data/vendor/assets/javascripts/jquery.validate/localization/messages_ru.js +22 -20
  65. data/vendor/assets/javascripts/jquery.validate/localization/messages_si.js +21 -19
  66. data/vendor/assets/javascripts/jquery.validate/localization/messages_sk.js +19 -18
  67. data/vendor/assets/javascripts/jquery.validate/localization/messages_sl.js +25 -0
  68. data/vendor/assets/javascripts/jquery.validate/localization/messages_sr.js +23 -21
  69. data/vendor/assets/javascripts/jquery.validate/localization/messages_sv.js +23 -0
  70. data/vendor/assets/javascripts/jquery.validate/localization/messages_th.js +22 -20
  71. data/vendor/assets/javascripts/jquery.validate/localization/messages_tr.js +22 -21
  72. data/vendor/assets/javascripts/jquery.validate/localization/messages_uk.js +25 -0
  73. data/vendor/assets/javascripts/jquery.validate/localization/messages_vi.js +22 -20
  74. data/vendor/assets/javascripts/jquery.validate/localization/messages_zh.js +25 -0
  75. data/vendor/assets/javascripts/jquery.validate/localization/messages_zh_TW.js +26 -0
  76. data/vendor/assets/javascripts/jquery.validate/localization/methods_de.js +6 -6
  77. data/vendor/assets/javascripts/jquery.validate/localization/methods_nl.js +3 -3
  78. data/vendor/assets/javascripts/jquery.validate/localization/methods_pt.js +3 -3
  79. metadata +30 -14
  80. data/app/views/spree/orders/new.html.erb +0 -9
@@ -1,21 +1,22 @@
1
1
  /*
2
2
  * Translated default messages for the jQuery validation plugin.
3
- * Language: SK
4
- * Skipped dateISO/DE, numberDE
3
+ * Locale: SK (Slovak; slovenčina, slovenský jazyk)
5
4
  */
6
- jQuery.extend(jQuery.validator.messages, {
7
- required: "Povinné zadať.",
8
- maxlength: jQuery.validator.format("Maximálne {0} znakov."),
9
- minlength: jQuery.validator.format("Minimálne {0} znakov."),
10
- rangelength: jQuery.validator.format("Minimálne {0} a Maximálne {0} znakov."),
11
- email: "E-mailová adresa musí byť platná.",
12
- url: "URL musí byť platný.",
13
- date: "Musí byť dátum.",
14
- number: "Musí byť číslo.",
15
- digits: "Môže obsahovať iba číslice.",
16
- equalTo: "Dva hodnoty sa musia rovnať.",
17
- range: jQuery.validator.format("Musí byť medzi {0} a {1}."),
18
- max: jQuery.validator.format("Nemôže byť viac ako{0}."),
19
- min: jQuery.validator.format("Nemôže byť menej ako{0}."),
20
- creditcard: "Číslo platobnej karty musí byť platné."
21
- });
5
+ (function ($) {
6
+ $.extend($.validator.messages, {
7
+ required: "Povinné zadať.",
8
+ maxlength: $.validator.format("Maximálne {0} znakov."),
9
+ minlength: $.validator.format("Minimálne {0} znakov."),
10
+ rangelength: $.validator.format("Minimálne {0} a Maximálne {0} znakov."),
11
+ email: "E-mailová adresa musí byť platná.",
12
+ url: "URL musí byť platný.",
13
+ date: "Musí byť dátum.",
14
+ number: "Musí byť číslo.",
15
+ digits: "Môže obsahovať iba číslice.",
16
+ equalTo: "Dva hodnoty sa musia rovnať.",
17
+ range: $.validator.format("Musí byť medzi {0} a {1}."),
18
+ max: $.validator.format("Nemôže byť viac ako{0}."),
19
+ min: $.validator.format("Nemôže byť menej ako{0}."),
20
+ creditcard: "Číslo platobnej karty musí byť platné."
21
+ });
22
+ }(jQuery));
@@ -0,0 +1,25 @@
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 +1,25 @@
1
- /*
1
+ /*
2
2
  * Translated default messages for the jQuery validation plugin.
3
- * Locale: SR
3
+ * Locale: SR (Serbian; српски језик)
4
4
  */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Поље је обавезно.",
7
- remote: "Средите ово поље.",
8
- email: "Унесите исправну и-мејл адресу",
9
- url: "Унесите исправан URL.",
10
- date: "Унесите исправан датум.",
11
- dateISO: "Унесите исправан датум (ISO).",
12
- number: "Унесите исправан број.",
13
- digits: "Унесите само цифе.",
14
- creditcard: "Унесите исправан број кредитне картице.",
15
- equalTo: "Унесите исту вредност поново.",
16
- accept: "Унесите вредност са одговарајућом екстензијом.",
17
- maxlength: $.validator.format("Унесите мање од {0}карактера."),
18
- minlength: $.validator.format("Унесите барем {0} карактера."),
19
- rangelength: $.validator.format("Унесите вредност дугачку између {0} и {1} карактера."),
20
- range: $.validator.format("Унесите вредност између {0} и {1}."),
21
- max: $.validator.format("Унесите вредност мању или једнаку {0}."),
22
- min: $.validator.format("Унесите вредност већу или једнаку {0}.")
23
- });
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));
@@ -0,0 +1,23 @@
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,23 +1,25 @@
1
1
  /*
2
2
  * Translated default messages for the jQuery validation plugin.
3
- * Locale: TH (Thai)
3
+ * Locale: TH (Thai; ไทย)
4
4
  */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "โปรดระบุ",
7
- remote: "โปรดแก้ไขให้ถูกต้อง",
8
- email: "โปรดระบุที่อยู่อีเมล์ที่ถูกต้อง",
9
- url: "โปรดระบุ URL ที่ถูกต้อง",
10
- date: "โปรดระบุวันที่ ที่ถูกต้อง",
11
- dateISO: "โปรดระบุวันที่ ที่ถูกต้อง (ระบบ ISO).",
12
- number: "โปรดระบุทศนิยมที่ถูกต้อง",
13
- digits: "โปรดระบุจำนวนเต็มที่ถูกต้อง",
14
- creditcard: "โปรดระบุรหัสบัตรเครดิตที่ถูกต้อง",
15
- equalTo: "โปรดระบุค่าเดิมอีกครั้ง",
16
- accept: "โปรดระบุค่าที่มีส่วนขยายที่ถูกต้อง",
17
- maxlength: jQuery.validator.format("โปรดอย่าระบุค่าที่ยาวกว่า {0} อักขระ"),
18
- minlength: jQuery.validator.format("โปรดอย่าระบุค่าที่สั้นกว่า {0} อักขระ"),
19
- rangelength: jQuery.validator.format("โปรดอย่าระบุค่าความยาวระหว่าง {0} ถึง {1} อักขระ"),
20
- range: jQuery.validator.format("โปรดระบุค่าระหว่าง {0} และ {1}"),
21
- max: jQuery.validator.format("โปรดระบุค่าน้อยกว่าหรือเท่ากับ {0}"),
22
- min: jQuery.validator.format("โปรดระบุค่ามากกว่าหรือเท่ากับ {0}")
23
- });
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,24 +1,25 @@
1
1
  /*
2
2
  * Translated default messages for the jQuery validation plugin.
3
- * Language: TR
4
- * Author: kara <kara {at} karalamalar {dot} net>
3
+ * Locale: TR (Turkish; Türkçe)
5
4
  */
6
- jQuery.extend(jQuery.validator.messages, {
7
- required: "Bu alanın doldurulması zorunludur.",
8
- remote: "Lütfen bu alanı düzeltin.",
9
- email: "Lütfen geçerli bir e-posta adresi giriniz.",
10
- url: "Lütfen geçerli bir web adresi (URL) giriniz.",
11
- date: "Lütfen geçerli bir tarih giriniz.",
12
- dateISO: "Lütfen geçerli bir tarih giriniz(ISO formatında)",
13
- number: "Lütfen geçerli bir sayı giriniz.",
14
- digits: "Lütfen sadece sayısal karakterler giriniz.",
15
- creditcard: "Lütfen geçerli bir kredi kartı giriniz.",
16
- equalTo: "Lütfen aynı değeri tekrar giriniz.",
17
- accept: "Lütfen geçerli uzantıya sahip bir değer giriniz.",
18
- maxlength: jQuery.validator.format("Lütfen en fazla {0} karakter uzunluğunda bir değer giriniz."),
19
- minlength: jQuery.validator.format("Lütfen en az {0} karakter uzunluğunda bir değer giriniz."),
20
- rangelength: jQuery.validator.format("Lütfen en az {0} ve en fazla {1} uzunluğunda bir değer giriniz."),
21
- range: jQuery.validator.format("Lütfen {0} ile {1} arasında bir değer giriniz."),
22
- max: jQuery.validator.format("Lütfen {0} değerine eşit ya da daha küçük bir değer giriniz."),
23
- min: jQuery.validator.format("Lütfen {0} değerine eşit ya da daha büyük bir değer giriniz.")
24
- });
5
+ (function ($) {
6
+ $.extend($.validator.messages, {
7
+ required: "Bu alanın doldurulması zorunludur.",
8
+ remote: "Lütfen bu alanı düzeltin.",
9
+ email: "Lütfen geçerli bir e-posta adresi giriniz.",
10
+ url: "Lütfen geçerli bir web adresi (URL) giriniz.",
11
+ date: "Lütfen geçerli bir tarih giriniz.",
12
+ dateISO: "Lütfen geçerli bir tarih giriniz(ISO formatında)",
13
+ number: "Lütfen geçerli bir sayı giriniz.",
14
+ digits: "Lütfen sadece sayısal karakterler giriniz.",
15
+ creditcard: "Lütfen geçerli bir kredi kartı giriniz.",
16
+ equalTo: "Lütfen aynı değeri tekrar giriniz.",
17
+ accept: "Lütfen geçerli uzantıya sahip bir değer giriniz.",
18
+ maxlength: $.validator.format("Lütfen en fazla {0} karakter uzunluğunda bir değer giriniz."),
19
+ minlength: $.validator.format("Lütfen en az {0} karakter uzunluğunda bir değer giriniz."),
20
+ rangelength: $.validator.format("Lütfen en az {0} ve en fazla {1} uzunluğunda bir değer giriniz."),
21
+ range: $.validator.format("Lütfen {0} ile {1} arasında bir değer giriniz."),
22
+ max: $.validator.format("Lütfen {0} değerine eşit ya da daha küçük bir değer giriniz."),
23
+ min: $.validator.format("Lütfen {0} değerine eşit ya da daha büyük bir değer giriniz.")
24
+ });
25
+ }(jQuery));
@@ -0,0 +1,25 @@
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,23 +1,25 @@
1
1
  /*
2
2
  * Translated default messages for the jQuery validation plugin.
3
- * Locale: VI (Vietnamese)
3
+ * Locale: VI (Vietnamese; Tiếng Việt)
4
4
  */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Hãy nhập.",
7
- remote: "Hãy sửa cho đúng.",
8
- email: "Hãy nhập email.",
9
- url: "Hãy nhập URL.",
10
- date: "Hãy nhập ngày.",
11
- dateISO: "Hãy nhập ngày (ISO).",
12
- number: "Hãy nhập số.",
13
- digits: "Hãy nhập chữ số.",
14
- creditcard: "Hãy nhập số thẻ tín dụng.",
15
- equalTo: "Hãy nhập thêm lần nữa.",
16
- accept: "Phần mở rộng không đúng.",
17
- maxlength: jQuery.format("Hãy nhập từ {0} kí tự trở xuống."),
18
- minlength: jQuery.format("Hãy nhập từ {0} kí tự trở lên."),
19
- rangelength: jQuery.format("Hãy nhập từ {0} đến {1} tự."),
20
- range: jQuery.format("Hãy nhập từ {0} đến {1}."),
21
- max: jQuery.format("Hãy nhập từ {0} trở xuống."),
22
- min: jQuery.format("Hãy nhập từ {1} trở lên.")
23
- });
5
+ (function ($) {
6
+ $.extend($.validator.messages, {
7
+ required: "Hãy nhập.",
8
+ remote: "Hãy sửa cho đúng.",
9
+ email: "Hãy nhập email.",
10
+ url: "Hãy nhập URL.",
11
+ date: "Hãy nhập ngày.",
12
+ dateISO: "Hãy nhập ngày (ISO).",
13
+ number: "Hãy nhập số.",
14
+ digits: "Hãy nhập chữ số.",
15
+ creditcard: "Hãy nhập số thẻ tín dụng.",
16
+ equalTo: "Hãy nhập thêm lần nữa.",
17
+ accept: "Phần mở rộng không đúng.",
18
+ maxlength: $.format("Hãy nhập từ {0} kí tự trở xuống."),
19
+ minlength: $.format("Hãy nhập từ {0} tự trở lên."),
20
+ rangelength: $.format("Hãy nhập từ {0} đến {1} kí tự."),
21
+ range: $.format("Hãy nhập từ {0} đến {1}."),
22
+ max: $.format("Hãy nhập từ {0} trở xuống."),
23
+ min: $.format("Hãy nhập từ {1} trở lên.")
24
+ });
25
+ }(jQuery));
@@ -0,0 +1,25 @@
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));
@@ -0,0 +1,26 @@
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));
@@ -3,10 +3,10 @@
3
3
  * Locale: DE
4
4
  */
5
5
  jQuery.extend(jQuery.validator.methods, {
6
- date: function(value, element) {
7
- return this.optional(element) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);
8
- },
9
- number: function(value, element) {
10
- return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);
11
- }
6
+ date: function(value, element) {
7
+ return this.optional(element) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);
8
+ },
9
+ number: function(value, element) {
10
+ return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);
11
+ }
12
12
  });
@@ -3,7 +3,7 @@
3
3
  * Locale: NL
4
4
  */
5
5
  jQuery.extend(jQuery.validator.methods, {
6
- date: function(value, element) {
7
- return this.optional(element) || /^\d\d?[\.\/-]\d\d?[\.\/-]\d\d\d?\d?$/.test(value);
8
- }
6
+ date: function(value, element) {
7
+ return this.optional(element) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test(value);
8
+ }
9
9
  });
@@ -3,7 +3,7 @@
3
3
  * Locale: PT_BR
4
4
  */
5
5
  jQuery.extend(jQuery.validator.methods, {
6
- date: function(value, element) {
7
- return this.optional(element) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(value);
8
- }
6
+ date: function(value, element) {
7
+ return this.optional(element) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(value);
8
+ }
9
9
  });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-13 00:00:00.000000000 Z
11
+ date: 2013-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acts_as_list
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - ~>
130
130
  - !ruby/object:Gem::Version
131
- version: 1.3.4
131
+ version: 1.11.1
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ~>
137
137
  - !ruby/object:Gem::Version
138
- version: 1.3.4
138
+ version: 1.11.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: ransack
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - ~>
158
158
  - !ruby/object:Gem::Version
159
- version: '1.31'
159
+ version: '1.34'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ~>
165
165
  - !ruby/object:Gem::Version
166
- version: '1.31'
166
+ version: '1.34'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: json
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -184,28 +184,28 @@ dependencies:
184
184
  requirements:
185
185
  - - ~>
186
186
  - !ruby/object:Gem::Version
187
- version: 3.2.13
187
+ version: 3.2.14
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ~>
193
193
  - !ruby/object:Gem::Version
194
- version: 3.2.13
194
+ version: 3.2.14
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: kaminari
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - '='
200
200
  - !ruby/object:Gem::Version
201
- version: 0.13.0
201
+ version: 0.14.1
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - '='
207
207
  - !ruby/object:Gem::Version
208
- version: 0.13.0
208
+ version: 0.14.1
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: deface
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -254,14 +254,14 @@ dependencies:
254
254
  requirements:
255
255
  - - '='
256
256
  - !ruby/object:Gem::Version
257
- version: 5.0.0
257
+ version: 5.1.1
258
258
  type: :runtime
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - '='
263
263
  - !ruby/object:Gem::Version
264
- version: 5.0.0
264
+ version: 5.1.1
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: rabl
267
267
  requirement: !ruby/object:Gem::Requirement
@@ -730,7 +730,6 @@ files:
730
730
  - app/views/spree/orders/_form.html.erb
731
731
  - app/views/spree/orders/_line_item.html.erb
732
732
  - app/views/spree/orders/edit.html.erb
733
- - app/views/spree/orders/new.html.erb
734
733
  - app/views/spree/orders/show.html.erb
735
734
  - app/views/spree/payments/_payment.html.erb
736
735
  - app/views/spree/products/_cart_form.html.erb
@@ -900,6 +899,10 @@ files:
900
899
  - db/migrate/20130319064308_change_spree_return_authorization_amount_precision.rb
901
900
  - db/migrate/20130319082943_change_adjustments_amount_precision.rb
902
901
  - db/migrate/20130328195253_add_seo_metas_to_taxons.rb
902
+ - db/migrate/20130626232741_add_cvv_result_code_and_cvv_result_message_to_spree_payments.rb
903
+ - db/migrate/20130628021056_add_unique_index_to_permalink_on_spree_products.rb
904
+ - db/migrate/20130628022817_add_unique_index_to_orders_shipments_and_stock_transfers.rb
905
+ - db/migrate/20130813140619_expand_order_number_size.rb
903
906
  - db/seeds.rb
904
907
  - vendor/assets/fonts/fontawesome-webfont.eot
905
908
  - vendor/assets/fonts/fontawesome-webfont.svg
@@ -1202,20 +1205,28 @@ files:
1202
1205
  - vendor/assets/javascripts/jquery.validate/localization/messages_de.js
1203
1206
  - vendor/assets/javascripts/jquery.validate/localization/messages_el.js
1204
1207
  - vendor/assets/javascripts/jquery.validate/localization/messages_es.js
1208
+ - vendor/assets/javascripts/jquery.validate/localization/messages_et.js
1209
+ - vendor/assets/javascripts/jquery.validate/localization/messages_eu.js
1205
1210
  - vendor/assets/javascripts/jquery.validate/localization/messages_fa.js
1206
1211
  - vendor/assets/javascripts/jquery.validate/localization/messages_fi.js
1207
1212
  - vendor/assets/javascripts/jquery.validate/localization/messages_fr.js
1208
1213
  - vendor/assets/javascripts/jquery.validate/localization/messages_ge.js
1209
1214
  - vendor/assets/javascripts/jquery.validate/localization/messages_he.js
1215
+ - vendor/assets/javascripts/jquery.validate/localization/messages_hr.js
1210
1216
  - vendor/assets/javascripts/jquery.validate/localization/messages_hu.js
1211
1217
  - vendor/assets/javascripts/jquery.validate/localization/messages_it.js
1212
1218
  - vendor/assets/javascripts/jquery.validate/localization/messages_ja.js
1219
+ - vendor/assets/javascripts/jquery.validate/localization/messages_ka.js
1213
1220
  - vendor/assets/javascripts/jquery.validate/localization/messages_kk.js
1221
+ - vendor/assets/javascripts/jquery.validate/localization/messages_ko.js
1214
1222
  - vendor/assets/javascripts/jquery.validate/localization/messages_lt.js
1215
1223
  - vendor/assets/javascripts/jquery.validate/localization/messages_lv.js
1224
+ - vendor/assets/javascripts/jquery.validate/localization/messages_my.js
1216
1225
  - vendor/assets/javascripts/jquery.validate/localization/messages_nl.js
1217
1226
  - vendor/assets/javascripts/jquery.validate/localization/messages_no.js
1218
1227
  - vendor/assets/javascripts/jquery.validate/localization/messages_pl.js
1228
+ - vendor/assets/javascripts/jquery.validate/localization/messages_pt_BR.js
1229
+ - vendor/assets/javascripts/jquery.validate/localization/messages_pt_PT.js
1219
1230
  - vendor/assets/javascripts/jquery.validate/localization/messages_ptbr.js
1220
1231
  - vendor/assets/javascripts/jquery.validate/localization/messages_ptpt.js
1221
1232
  - vendor/assets/javascripts/jquery.validate/localization/messages_ro.js
@@ -1223,12 +1234,17 @@ files:
1223
1234
  - vendor/assets/javascripts/jquery.validate/localization/messages_se.js
1224
1235
  - vendor/assets/javascripts/jquery.validate/localization/messages_si.js
1225
1236
  - vendor/assets/javascripts/jquery.validate/localization/messages_sk.js
1237
+ - vendor/assets/javascripts/jquery.validate/localization/messages_sl.js
1226
1238
  - vendor/assets/javascripts/jquery.validate/localization/messages_sr.js
1239
+ - vendor/assets/javascripts/jquery.validate/localization/messages_sv.js
1227
1240
  - vendor/assets/javascripts/jquery.validate/localization/messages_th.js
1228
1241
  - vendor/assets/javascripts/jquery.validate/localization/messages_tr.js
1229
1242
  - vendor/assets/javascripts/jquery.validate/localization/messages_tw.js
1230
1243
  - vendor/assets/javascripts/jquery.validate/localization/messages_ua.js
1244
+ - vendor/assets/javascripts/jquery.validate/localization/messages_uk.js
1231
1245
  - vendor/assets/javascripts/jquery.validate/localization/messages_vi.js
1246
+ - vendor/assets/javascripts/jquery.validate/localization/messages_zh.js
1247
+ - vendor/assets/javascripts/jquery.validate/localization/messages_zh_TW.js
1232
1248
  - vendor/assets/javascripts/jquery.validate/localization/methods_de.js
1233
1249
  - vendor/assets/javascripts/jquery.validate/localization/methods_nl.js
1234
1250
  - vendor/assets/javascripts/jquery.validate/localization/methods_pt.js
@@ -1266,7 +1282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1266
1282
  requirements:
1267
1283
  - none
1268
1284
  rubyforge_project: spree_core
1269
- rubygems_version: 2.0.0
1285
+ rubygems_version: 2.1.0
1270
1286
  signing_key:
1271
1287
  specification_version: 4
1272
1288
  summary: Core e-commerce functionality for the Spree project.