solidus_frontend 2.4.2 → 2.5.0.beta1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_frontend might be problematic. Click here for more details.

Files changed (132) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +1 -5
  3. data/Rakefile +7 -7
  4. data/app/assets/config/solidus_frontend_manifest.js +0 -2
  5. data/app/assets/javascripts/spree/frontend.js +0 -1
  6. data/app/assets/javascripts/spree/frontend/cart.js +30 -0
  7. data/app/assets/javascripts/spree/frontend/checkout.js +24 -0
  8. data/app/assets/javascripts/spree/frontend/checkout/address.js +128 -0
  9. data/app/assets/javascripts/spree/frontend/checkout/coupon-code.js +40 -0
  10. data/app/assets/javascripts/spree/frontend/checkout/payment.js +55 -0
  11. data/app/assets/javascripts/spree/frontend/product.js +81 -0
  12. data/app/assets/stylesheets/spree/frontend/_variables.scss +3 -0
  13. data/app/assets/stylesheets/spree/frontend/screen.css.scss +2 -2
  14. data/app/controllers/spree/checkout_controller.rb +3 -3
  15. data/app/controllers/spree/locale_controller.rb +2 -2
  16. data/app/controllers/spree/orders_controller.rb +5 -6
  17. data/app/controllers/spree/products_controller.rb +0 -1
  18. data/app/controllers/spree/store_controller.rb +1 -1
  19. data/app/controllers/spree/taxons_controller.rb +0 -1
  20. data/app/views/spree/address/_form.html.erb +23 -21
  21. data/app/views/spree/checkout/_address.html.erb +5 -5
  22. data/app/views/spree/checkout/_confirm.html.erb +3 -3
  23. data/app/views/spree/checkout/_delivery.html.erb +18 -14
  24. data/app/views/spree/checkout/_payment.html.erb +6 -6
  25. data/app/views/spree/checkout/_summary.html.erb +5 -5
  26. data/app/views/spree/checkout/edit.html.erb +2 -6
  27. data/app/views/spree/checkout/payment/_gateway.html.erb +9 -9
  28. data/app/views/spree/content/cvv.html.erb +1 -1
  29. data/app/views/spree/orders/_adjustments.html.erb +4 -4
  30. data/app/views/spree/orders/_form.html.erb +6 -6
  31. data/app/views/spree/orders/_line_item.html.erb +4 -4
  32. data/app/views/spree/orders/edit.html.erb +9 -9
  33. data/app/views/spree/orders/show.html.erb +4 -4
  34. data/app/views/spree/payments/_payment.html.erb +1 -1
  35. data/app/views/spree/products/_cart_form.html.erb +7 -7
  36. data/app/views/spree/products/_image.html.erb +2 -2
  37. data/app/views/spree/products/_promotions.html.erb +1 -1
  38. data/app/views/spree/products/_properties.html.erb +1 -1
  39. data/app/views/spree/products/_taxons.html.erb +1 -1
  40. data/app/views/spree/products/index.html.erb +1 -1
  41. data/app/views/spree/products/show.html.erb +1 -1
  42. data/app/views/spree/shared/_address.html.erb +2 -2
  43. data/app/views/spree/shared/_filters.html.erb +2 -2
  44. data/app/views/spree/shared/_footer.html.erb +1 -1
  45. data/app/views/spree/shared/_image.html.erb +12 -0
  46. data/app/views/spree/shared/_login_bar_items.html.erb +1 -0
  47. data/app/views/spree/shared/_main_nav_bar.html.erb +2 -2
  48. data/app/views/spree/shared/_nav_bar.html.erb +1 -0
  49. data/app/views/spree/shared/_order_details.html.erb +20 -20
  50. data/app/views/spree/shared/_products.html.erb +3 -3
  51. data/app/views/spree/shared/_search.html.erb +3 -3
  52. data/app/views/spree/shared/_shipment_tracking.html.erb +1 -1
  53. data/app/views/spree/shared/_taxonomies.html.erb +2 -2
  54. data/lib/generators/solidus/views/override_generator.rb +1 -0
  55. data/lib/spree/frontend.rb +4 -2
  56. data/solidus_frontend.gemspec +1 -2
  57. data/spec/controllers/spree/checkout_controller_spec.rb +12 -12
  58. data/spec/controllers/spree/current_order_tracking_spec.rb +1 -1
  59. data/spec/controllers/spree/orders_controller_ability_spec.rb +6 -4
  60. data/spec/controllers/spree/orders_controller_spec.rb +4 -3
  61. data/spec/controllers/spree/orders_controller_transitions_spec.rb +1 -1
  62. data/spec/controllers/spree/products_controller_spec.rb +3 -2
  63. data/spec/features/caching/products_spec.rb +7 -7
  64. data/spec/features/cart_spec.rb +1 -1
  65. data/spec/features/checkout_spec.rb +10 -9
  66. data/spec/features/coupon_code_spec.rb +12 -13
  67. data/spec/features/locale_spec.rb +0 -38
  68. data/spec/features/order_spec.rb +1 -1
  69. data/spec/features/products_spec.rb +4 -4
  70. data/spec/features/promotion_code_invalidation_spec.rb +3 -3
  71. data/spec/features/quantity_promotions_spec.rb +5 -5
  72. data/spec/generators/solidus/views/override_generator_spec.rb +2 -1
  73. data/spec/spec_helper.rb +19 -41
  74. data/spec/support/shared_contexts/custom_products.rb +17 -17
  75. metadata +19 -88
  76. data/Gemfile +0 -7
  77. data/app/assets/javascripts/spree/frontend/cart.js.coffee +0 -15
  78. data/app/assets/javascripts/spree/frontend/checkout.js.coffee +0 -17
  79. data/app/assets/javascripts/spree/frontend/checkout/address.js.coffee +0 -91
  80. data/app/assets/javascripts/spree/frontend/checkout/coupon-code.js.coffee +0 -34
  81. data/app/assets/javascripts/spree/frontend/checkout/payment.js.coffee +0 -42
  82. data/app/assets/javascripts/spree/frontend/product.js.coffee +0 -47
  83. data/vendor/assets/javascripts/jquery.validate/additional-methods.min.js +0 -12
  84. data/vendor/assets/javascripts/jquery.validate/jquery.validate.min.js +0 -12
  85. data/vendor/assets/javascripts/jquery.validate/localization/messages_ar.js +0 -25
  86. data/vendor/assets/javascripts/jquery.validate/localization/messages_bg.js +0 -25
  87. data/vendor/assets/javascripts/jquery.validate/localization/messages_ca.js +0 -25
  88. data/vendor/assets/javascripts/jquery.validate/localization/messages_cs.js +0 -25
  89. data/vendor/assets/javascripts/jquery.validate/localization/messages_da.js +0 -22
  90. data/vendor/assets/javascripts/jquery.validate/localization/messages_de.js +0 -22
  91. data/vendor/assets/javascripts/jquery.validate/localization/messages_el.js +0 -25
  92. data/vendor/assets/javascripts/jquery.validate/localization/messages_es.js +0 -25
  93. data/vendor/assets/javascripts/jquery.validate/localization/messages_et.js +0 -23
  94. data/vendor/assets/javascripts/jquery.validate/localization/messages_eu.js +0 -25
  95. data/vendor/assets/javascripts/jquery.validate/localization/messages_fa.js +0 -25
  96. data/vendor/assets/javascripts/jquery.validate/localization/messages_fi.js +0 -23
  97. data/vendor/assets/javascripts/jquery.validate/localization/messages_fr.js +0 -47
  98. data/vendor/assets/javascripts/jquery.validate/localization/messages_ge.js +0 -23
  99. data/vendor/assets/javascripts/jquery.validate/localization/messages_he.js +0 -25
  100. data/vendor/assets/javascripts/jquery.validate/localization/messages_hr.js +0 -25
  101. data/vendor/assets/javascripts/jquery.validate/localization/messages_hu.js +0 -24
  102. data/vendor/assets/javascripts/jquery.validate/localization/messages_it.js +0 -25
  103. data/vendor/assets/javascripts/jquery.validate/localization/messages_ja.js +0 -25
  104. data/vendor/assets/javascripts/jquery.validate/localization/messages_ka.js +0 -25
  105. data/vendor/assets/javascripts/jquery.validate/localization/messages_kk.js +0 -25
  106. data/vendor/assets/javascripts/jquery.validate/localization/messages_ko.js +0 -25
  107. data/vendor/assets/javascripts/jquery.validate/localization/messages_lt.js +0 -25
  108. data/vendor/assets/javascripts/jquery.validate/localization/messages_lv.js +0 -25
  109. data/vendor/assets/javascripts/jquery.validate/localization/messages_ms.js +0 -25
  110. data/vendor/assets/javascripts/jquery.validate/localization/messages_nl.js +0 -35
  111. data/vendor/assets/javascripts/jquery.validate/localization/messages_no.js +0 -25
  112. data/vendor/assets/javascripts/jquery.validate/localization/messages_pl.js +0 -25
  113. data/vendor/assets/javascripts/jquery.validate/localization/messages_ptbr.js +0 -24
  114. data/vendor/assets/javascripts/jquery.validate/localization/messages_ptpt.js +0 -24
  115. data/vendor/assets/javascripts/jquery.validate/localization/messages_ro.js +0 -25
  116. data/vendor/assets/javascripts/jquery.validate/localization/messages_ru.js +0 -25
  117. data/vendor/assets/javascripts/jquery.validate/localization/messages_se.js +0 -23
  118. data/vendor/assets/javascripts/jquery.validate/localization/messages_si.js +0 -25
  119. data/vendor/assets/javascripts/jquery.validate/localization/messages_sk.js +0 -22
  120. data/vendor/assets/javascripts/jquery.validate/localization/messages_sl.js +0 -25
  121. data/vendor/assets/javascripts/jquery.validate/localization/messages_sr.js +0 -25
  122. data/vendor/assets/javascripts/jquery.validate/localization/messages_sv.js +0 -23
  123. data/vendor/assets/javascripts/jquery.validate/localization/messages_th.js +0 -25
  124. data/vendor/assets/javascripts/jquery.validate/localization/messages_tr.js +0 -25
  125. data/vendor/assets/javascripts/jquery.validate/localization/messages_tw.js +0 -24
  126. data/vendor/assets/javascripts/jquery.validate/localization/messages_uk.js +0 -25
  127. data/vendor/assets/javascripts/jquery.validate/localization/messages_vi.js +0 -25
  128. data/vendor/assets/javascripts/jquery.validate/localization/messages_zh.js +0 -25
  129. data/vendor/assets/javascripts/jquery.validate/localization/messages_zhtw.js +0 -26
  130. data/vendor/assets/javascripts/jquery.validate/localization/methods_de.js +0 -12
  131. data/vendor/assets/javascripts/jquery.validate/localization/methods_nl.js +0 -9
  132. data/vendor/assets/javascripts/jquery.validate/localization/methods_pt.js +0 -9
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: MS (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,35 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: NL (Dutch; Nederlands, Vlaams)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "Dit is een verplicht veld.",
8
- remote: "Controleer dit veld.",
9
- email: "Vul hier een geldig e-mailadres in.",
10
- url: "Vul hier een geldige URL in.",
11
- date: "Vul hier een geldige datum in.",
12
- dateISO: "Vul hier een geldige datum in (ISO-formaat).",
13
- number: "Vul hier een geldig getal in.",
14
- digits: "Vul hier alleen getallen in.",
15
- creditcard: "Vul hier een geldig creditcardnummer in.",
16
- equalTo: "Vul hier dezelfde waarde in.",
17
- accept: "Vul hier een waarde in met een geldige extensie.",
18
- maxlength: $.validator.format("Vul hier maximaal {0} tekens in."),
19
- minlength: $.validator.format("Vul hier minimaal {0} tekens in."),
20
- rangelength: $.validator.format("Vul hier een waarde in van minimaal {0} en maximaal {1} tekens."),
21
- range: $.validator.format("Vul hier een waarde in van minimaal {0} en maximaal {1}."),
22
- max: $.validator.format("Vul hier een waarde in kleiner dan of gelijk aan {0}."),
23
- min: $.validator.format("Vul hier een waarde in groter dan of gelijk aan {0}."),
24
-
25
- // for validations in additional-methods.js
26
- iban: "Vul hier een geldig IBAN in.",
27
- dateNL: "Vul hier een geldige datum in.",
28
- phoneNL: "Vul hier een geldig Nederlands telefoonnummer in.",
29
- mobileNL: "Vul hier een geldig Nederlands mobiel telefoonnummer in.",
30
- postalcodeNL: "Vul hier een geldige postcode in.",
31
- bankaccountNL: "Vul hier een geldig bankrekeningnummer in.",
32
- giroaccountNL: "Vul hier een geldig gironummer in.",
33
- bankorgiroaccountNL: "Vul hier een geldig bank- of gironummer in."
34
- });
35
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: NO (Norwegian; Norsk)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "Dette feltet er obligatorisk.",
8
- maxlength: $.validator.format("Maksimalt {0} tegn."),
9
- minlength: $.validator.format("Minimum {0} tegn."),
10
- rangelength: $.validator.format("Angi minimum {0} og maksimum {1} tegn."),
11
- email: "Oppgi en gyldig epostadresse.",
12
- url: "Angi en gyldig URL.",
13
- date: "Angi en gyldig dato.",
14
- dateISO: "Angi en gyldig dato (ÅÅÅÅ-MM-DD).",
15
- dateSE: "Angi en gyldig dato.",
16
- number: "Angi et gyldig nummer.",
17
- numberSE: "Angi et gyldig nummer.",
18
- digits: "Skriv kun tall.",
19
- equalTo: "Skriv samme verdi igjen.",
20
- range: $.validator.format("Angi en verdi mellom {0} og {1}."),
21
- max: $.validator.format("Angi en verdi som er mindre eller lik {0}."),
22
- min: $.validator.format("Angi en verdi som er større eller lik {0}."),
23
- creditcard: "Angi et gyldig kredittkortnummer."
24
- });
25
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: PL (Polish; język polski, polszczyzna)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "To pole jest wymagane.",
8
- remote: "Proszę o wypełnienie tego pola.",
9
- email: "Proszę o podanie prawidłowego adresu email.",
10
- url: "Proszę o podanie prawidłowego URL.",
11
- date: "Proszę o podanie prawidłowej daty.",
12
- dateISO: "Proszę o podanie prawidłowej daty (ISO).",
13
- number: "Proszę o podanie prawidłowej liczby.",
14
- digits: "Proszę o podanie samych cyfr.",
15
- creditcard: "Proszę o podanie prawidłowej karty kredytowej.",
16
- equalTo: "Proszę o podanie tej samej wartości ponownie.",
17
- accept: "Proszę o podanie wartości z prawidłowym rozszerzeniem.",
18
- maxlength: $.validator.format("Proszę o podanie nie więcej niż {0} znaków."),
19
- minlength: $.validator.format("Proszę o podanie przynajmniej {0} znaków."),
20
- rangelength: $.validator.format("Proszę o podanie wartości o długości od {0} do {1} znaków."),
21
- range: $.validator.format("Proszę o podanie wartości z przedziału od {0} do {1}."),
22
- max: $.validator.format("Proszę o podanie wartości mniejszej bądź równej {0}."),
23
- min: $.validator.format("Proszę o podanie wartości większej bądź równej {0}.")
24
- });
25
- }(jQuery));
@@ -1,24 +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 ($) {$.extend($.validator.messages, {
7
- required: "Este campo é requerido.",
8
- remote: "Por favor, corrija este campo.",
9
- email: "Por favor, forneça um endereço eletrônico válido.",
10
- url: "Por favor, forneça uma URL válida.",
11
- date: "Por favor, forneça uma data válida.",
12
- dateISO: "Por favor, forneça uma data válida (ISO).",
13
- number: "Por favor, forneça um número válido.",
14
- digits: "Por favor, forneça somente dígitos.",
15
- creditcard: "Por favor, forneça um cartão de crédito válido.",
16
- equalTo: "Por favor, forneça o mesmo valor novamente.",
17
- accept: "Por favor, forneça um valor com uma extensão válida.",
18
- maxlength: $.validator.format("Por favor, forneça não mais que {0} caracteres."),
19
- minlength: $.validator.format("Por favor, forneça ao menos {0} caracteres."),
20
- rangelength: $.validator.format("Por favor, forneça um valor entre {0} e {1} caracteres de comprimento."),
21
- range: $.validator.format("Por favor, forneça um valor entre {0} e {1}."),
22
- max: $.validator.format("Por favor, forneça um valor menor ou igual a {0}."),
23
- min: $.validator.format("Por favor, forneça um valor maior ou igual a {0}.")
24
- });}(jQuery));
@@ -1,24 +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 ($) {$.extend($.validator.messages, {
7
- required: "Campo de preenchimento obrigatório.",
8
- remote: "Por favor, corrija este campo.",
9
- email: "Por favor, introduza um endereço eletrónico válido.",
10
- url: "Por favor, introduza um URL válido.",
11
- date: "Por favor, introduza uma data válida.",
12
- dateISO: "Por favor, introduza uma data válida (ISO).",
13
- number: "Por favor, introduza um número válido.",
14
- digits: "Por favor, introduza apenas dígitos.",
15
- creditcard: "Por favor, introduza um número de cartão de crédito válido.",
16
- equalTo: "Por favor, introduza de novo o mesmo valor.",
17
- accept: "Por favor, introduza um ficheiro com uma extensão válida.",
18
- maxlength: $.validator.format("Por favor, não introduza mais do que {0} caracteres."),
19
- minlength: $.validator.format("Por favor, introduza pelo menos {0} caracteres."),
20
- rangelength: $.validator.format("Por favor, introduza entre {0} e {1} caracteres."),
21
- range: $.validator.format("Por favor, introduza um valor entre {0} e {1}."),
22
- max: $.validator.format("Por favor, introduza um valor menor ou igual a {0}."),
23
- min: $.validator.format("Por favor, introduza um valor maior ou igual a {0}.")
24
- });}(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: RO (Romanian, limba română)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "Acest câmp este obligatoriu.",
8
- remote: "Te rugăm să completezi acest câmp.",
9
- email: "Te rugăm să introduci o adresă de email validă",
10
- url: "Te rugăm sa introduci o adresă URL validă.",
11
- date: "Te rugăm să introduci o dată corectă.",
12
- dateISO: "Te rugăm să introduci o dată (ISO) corectă.",
13
- number: "Te rugăm să introduci un număr întreg valid.",
14
- digits: "Te rugăm să introduci doar cifre.",
15
- creditcard: "Te rugăm să introduci un numar de carte de credit valid.",
16
- equalTo: "Te rugăm să reintroduci valoarea.",
17
- accept: "Te rugăm să introduci o valoare cu o extensie validă.",
18
- maxlength: $.validator.format("Te rugăm să nu introduci mai mult de {0} caractere."),
19
- minlength: $.validator.format("Te rugăm să introduci cel puțin {0} caractere."),
20
- rangelength: $.validator.format("Te rugăm să introduci o valoare între {0} și {1} caractere."),
21
- range: $.validator.format("Te rugăm să introduci o valoare între {0} și {1}."),
22
- max: $.validator.format("Te rugăm să introduci o valoare egal sau mai mică decât {0}."),
23
- min: $.validator.format("Te rugăm să introduci o valoare egal sau mai mare decât {0}.")
24
- });
25
- }(jQuery));
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: RU (Russian; русский язык)
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 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Language: SE
4
- */
5
- jQuery.extend(jQuery.validator.messages, {
6
- required: "Detta fält är obligatoriskt.",
7
- maxlength: jQuery.validator.format("Du får ange högst {0} tecken."),
8
- minlength: jQuery.validator.format("Du måste ange minst {0} tecken."),
9
- rangelength: jQuery.validator.format("Ange minst {0} och max {1} tecken."),
10
- email: "Ange en korrekt e-postadress.",
11
- url: "Ange en korrekt URL.",
12
- date: "Ange ett korrekt datum.",
13
- dateISO: "Ange ett korrekt datum (ÅÅÅÅ-MM-DD).",
14
- dateSE: "Ange ett korrekt datum.",
15
- number: "Ange ett korrekt nummer.",
16
- numberSE: "Ange ett korrekt nummer.",
17
- digits: "Ange endast siffror.",
18
- equalTo: "Ange samma värde igen.",
19
- range: jQuery.validator.format("Ange ett värde mellan {0} och {1}."),
20
- max: jQuery.validator.format("Ange ett värde som är större eller lika med {0}."),
21
- min: jQuery.validator.format("Ange ett värde som är mindre eller lika med {0}."),
22
- creditcard: "Ange ett korrekt kreditkortsnummer."
23
- });
@@ -1,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: SI (Slovenian)
4
- */
5
- (function ($) {
6
- $.extend($.validator.messages, {
7
- required: "To polje je obvezno.",
8
- remote: "Vpis v tem polju ni v pravi obliki.",
9
- email: "Prosimo, vnesite pravi email naslov.",
10
- url: "Prosimo, vnesite pravi URL.",
11
- date: "Prosimo, vnesite pravi datum.",
12
- dateISO: "Prosimo, vnesite pravi datum (ISO).",
13
- number: "Prosimo, vnesite pravo številko.",
14
- digits: "Prosimo, vnesite samo številke.",
15
- creditcard: "Prosimo, vnesite pravo številko kreditne kartice.",
16
- equalTo: "Prosimo, ponovno vnesite enako vsebino.",
17
- accept: "Prosimo, vnesite vsebino z pravo končnico.",
18
- maxlength: $.validator.format("Prosimo, da ne vnašate več kot {0} znakov."),
19
- minlength: $.validator.format("Prosimo, vnesite vsaj {0} znakov."),
20
- rangelength: $.validator.format("Prosimo, vnesite od {0} do {1} znakov."),
21
- range: $.validator.format("Prosimo, vnesite vrednost med {0} in {1}."),
22
- max: $.validator.format("Prosimo, vnesite vrednost manjšo ali enako {0}."),
23
- min: $.validator.format("Prosimo, vnesite vrednost večjo ali enako {0}.")
24
- });
25
- }(jQuery));
@@ -1,22 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: SK (Slovak; slovenčina, slovenský jazyk)
4
- */
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));
@@ -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,25 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Locale: SR (Serbian; српски језик)
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 +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: TH (Thai; ไทย)
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: TR (Turkish; Türkçe)
4
- */
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));
@@ -1,24 +0,0 @@
1
- /*
2
- * Translated default messages for the jQuery validation plugin.
3
- * Language: TW (Taiwan - Traditional Chinese)
4
- * Author: Mr.BB <Boris Yang>
5
- */
6
- jQuery.extend(jQuery.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: jQuery.validator.format("請輸入長度不大於{0} 的字串"),
19
- minlength: jQuery.validator.format("請輸入長度不小於 {0} 的字串"),
20
- rangelength: jQuery.validator.format("請輸入長度介於 {0} 和 {1} 之間的字串"),
21
- range: jQuery.validator.format("請輸入介於 {0} 和 {1} 之間的數值"),
22
- max: jQuery.validator.format("請輸入不大於 {0} 的數值"),
23
- min: jQuery.validator.format("請輸入不小於 {0} 的數值")
24
- });