solidus_frontend 1.0.0.pre
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.
- checksums.yaml +7 -0
- data/LICENSE +26 -0
- data/README.md +21 -0
- data/app/assets/images/credit_cards/amex_cid.gif +0 -0
- data/app/assets/images/credit_cards/credit_card.gif +0 -0
- data/app/assets/images/credit_cards/discover_cid.gif +0 -0
- data/app/assets/images/credit_cards/icons/american_express.png +0 -0
- data/app/assets/images/credit_cards/icons/cirrus.png +0 -0
- data/app/assets/images/credit_cards/icons/delta.png +0 -0
- data/app/assets/images/credit_cards/icons/diners_club.png +0 -0
- data/app/assets/images/credit_cards/icons/directdebit.png +0 -0
- data/app/assets/images/credit_cards/icons/discover.png +0 -0
- data/app/assets/images/credit_cards/icons/egold.png +0 -0
- data/app/assets/images/credit_cards/icons/maestro.png +0 -0
- data/app/assets/images/credit_cards/icons/master.png +0 -0
- data/app/assets/images/credit_cards/icons/paypal.png +0 -0
- data/app/assets/images/credit_cards/icons/solo.png +0 -0
- data/app/assets/images/credit_cards/icons/switch.png +0 -0
- data/app/assets/images/credit_cards/icons/visa.png +0 -0
- data/app/assets/images/credit_cards/icons/visaelectron.png +0 -0
- data/app/assets/images/credit_cards/icons/westernunion.png +0 -0
- data/app/assets/images/credit_cards/icons/wirecard.png +0 -0
- data/app/assets/images/credit_cards/icons/worldpay.png +0 -0
- data/app/assets/images/credit_cards/master_cid.jpg +0 -0
- data/app/assets/images/credit_cards/visa_cid.gif +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/icons/add-to-cart.png +0 -0
- data/app/assets/images/icons/checkout.png +0 -0
- data/app/assets/images/icons/delete.png +0 -0
- data/app/assets/images/icons/update.png +0 -0
- data/app/assets/images/spinner.gif +0 -0
- data/app/assets/images/spree/frontend/cart.png +0 -0
- data/app/assets/images/spree/frontend/select_arrow.gif +0 -0
- data/app/assets/javascripts/spree/frontend/cart.js.coffee +15 -0
- data/app/assets/javascripts/spree/frontend/checkout/address.js.coffee +86 -0
- data/app/assets/javascripts/spree/frontend/checkout/payment.js.coffee +79 -0
- data/app/assets/javascripts/spree/frontend/checkout.js.coffee +11 -0
- data/app/assets/javascripts/spree/frontend/product.js.coffee +47 -0
- data/app/assets/javascripts/spree/frontend.js +5 -0
- data/app/assets/stylesheets/spree/frontend/_variables.scss +61 -0
- data/app/assets/stylesheets/spree/frontend/screen.css.scss +1321 -0
- data/app/assets/stylesheets/spree/frontend.css +6 -0
- data/app/controllers/spree/checkout_controller.rb +167 -0
- data/app/controllers/spree/content_controller.rb +23 -0
- data/app/controllers/spree/home_controller.rb +12 -0
- data/app/controllers/spree/locale_controller.rb +16 -0
- data/app/controllers/spree/orders_controller.rb +115 -0
- data/app/controllers/spree/products_controller.rb +45 -0
- data/app/controllers/spree/store_controller.rb +47 -0
- data/app/controllers/spree/taxons_controller.rb +28 -0
- data/app/models/spree/frontend_configuration.rb +5 -0
- data/app/views/spree/address/_form.html.erb +75 -0
- data/app/views/spree/checkout/_address.html.erb +33 -0
- data/app/views/spree/checkout/_confirm.html.erb +12 -0
- data/app/views/spree/checkout/_delivery.html.erb +100 -0
- data/app/views/spree/checkout/_payment.html.erb +71 -0
- data/app/views/spree/checkout/_summary.html.erb +72 -0
- data/app/views/spree/checkout/edit.html.erb +37 -0
- data/app/views/spree/checkout/payment/_check.html.erb +0 -0
- data/app/views/spree/checkout/payment/_gateway.html.erb +32 -0
- data/app/views/spree/content/cvv.html.erb +13 -0
- data/app/views/spree/content/test.html.erb +1 -0
- data/app/views/spree/home/index.html.erb +12 -0
- data/app/views/spree/layouts/spree_application.html.erb +37 -0
- data/app/views/spree/orders/_adjustment_row.html.erb +8 -0
- data/app/views/spree/orders/_adjustments.html.erb +24 -0
- data/app/views/spree/orders/_form.html.erb +28 -0
- data/app/views/spree/orders/_line_item.html.erb +36 -0
- data/app/views/spree/orders/edit.html.erb +47 -0
- data/app/views/spree/orders/show.html.erb +22 -0
- data/app/views/spree/payments/_payment.html.erb +18 -0
- data/app/views/spree/products/_cart_form.html.erb +65 -0
- data/app/views/spree/products/_image.html.erb +5 -0
- data/app/views/spree/products/_promotions.html.erb +19 -0
- data/app/views/spree/products/_properties.html.erb +15 -0
- data/app/views/spree/products/_taxons.html.erb +14 -0
- data/app/views/spree/products/_thumbnails.html.erb +19 -0
- data/app/views/spree/products/index.html.erb +27 -0
- data/app/views/spree/products/show.html.erb +51 -0
- data/app/views/spree/shared/_address.html.erb +38 -0
- data/app/views/spree/shared/_filters.html.erb +27 -0
- data/app/views/spree/shared/_footer.html.erb +6 -0
- data/app/views/spree/shared/_google_analytics.html.erb +36 -0
- data/app/views/spree/shared/_head.html.erb +14 -0
- data/app/views/spree/shared/_header.html.erb +5 -0
- data/app/views/spree/shared/_link_to_cart.html.erb +1 -0
- data/app/views/spree/shared/_main_nav_bar.html.erb +12 -0
- data/app/views/spree/shared/_nav_bar.html.erb +7 -0
- data/app/views/spree/shared/_order_details.html.erb +147 -0
- data/app/views/spree/shared/_products.html.erb +46 -0
- data/app/views/spree/shared/_search.html.erb +11 -0
- data/app/views/spree/shared/_shipment_tracking.html.erb +9 -0
- data/app/views/spree/shared/_sidebar.html.erb +3 -0
- data/app/views/spree/shared/_taxonomies.html.erb +9 -0
- data/app/views/spree/shared/unauthorized.html.erb +0 -0
- data/app/views/spree/store/cart_link.html.erb +1 -0
- data/app/views/spree/taxons/_taxon.html.erb +4 -0
- data/app/views/spree/taxons/show.html.erb +20 -0
- data/config/initializers/assets.rb +1 -0
- data/config/initializers/canonical_rails.rb +15 -0
- data/config/initializers/check_for_orphaned_preferences.rb +9 -0
- data/config/initializers/deprecation_checker.rb +7 -0
- data/config/initializers/rails_5868.rb +8 -0
- data/config/initializers/spree.rb +4 -0
- data/config/routes.rb +37 -0
- data/lib/solidus_frontend.rb +1 -0
- data/lib/spree/frontend/engine.rb +19 -0
- data/lib/spree/frontend/middleware/seo_assist.rb +51 -0
- data/lib/spree/frontend/preference_rescue.rb +25 -0
- data/lib/spree/frontend.rb +10 -0
- data/lib/spree_frontend.rb +1 -0
- data/lib/tasks/rake_util.rb +19 -0
- data/lib/tasks/taxon.rake +14 -0
- data/vendor/assets/images/datepicker/cal.gif +0 -0
- data/vendor/assets/images/flags/ad.png +0 -0
- data/vendor/assets/images/flags/ae.png +0 -0
- data/vendor/assets/images/flags/af.png +0 -0
- data/vendor/assets/images/flags/ag.png +0 -0
- data/vendor/assets/images/flags/ai.png +0 -0
- data/vendor/assets/images/flags/al.png +0 -0
- data/vendor/assets/images/flags/am.png +0 -0
- data/vendor/assets/images/flags/an.png +0 -0
- data/vendor/assets/images/flags/ao.png +0 -0
- data/vendor/assets/images/flags/ar.png +0 -0
- data/vendor/assets/images/flags/as.png +0 -0
- data/vendor/assets/images/flags/at.png +0 -0
- data/vendor/assets/images/flags/au.png +0 -0
- data/vendor/assets/images/flags/aw.png +0 -0
- data/vendor/assets/images/flags/ax.png +0 -0
- data/vendor/assets/images/flags/az.png +0 -0
- data/vendor/assets/images/flags/ba.png +0 -0
- data/vendor/assets/images/flags/bb.png +0 -0
- data/vendor/assets/images/flags/bd.png +0 -0
- data/vendor/assets/images/flags/be.png +0 -0
- data/vendor/assets/images/flags/bf.png +0 -0
- data/vendor/assets/images/flags/bg.png +0 -0
- data/vendor/assets/images/flags/bh.png +0 -0
- data/vendor/assets/images/flags/bi.png +0 -0
- data/vendor/assets/images/flags/bj.png +0 -0
- data/vendor/assets/images/flags/bm.png +0 -0
- data/vendor/assets/images/flags/bn.png +0 -0
- data/vendor/assets/images/flags/bo.png +0 -0
- data/vendor/assets/images/flags/br.png +0 -0
- data/vendor/assets/images/flags/bs.png +0 -0
- data/vendor/assets/images/flags/bt.png +0 -0
- data/vendor/assets/images/flags/bv.png +0 -0
- data/vendor/assets/images/flags/bw.png +0 -0
- data/vendor/assets/images/flags/by.png +0 -0
- data/vendor/assets/images/flags/bz.png +0 -0
- data/vendor/assets/images/flags/ca.png +0 -0
- data/vendor/assets/images/flags/catalonia.png +0 -0
- data/vendor/assets/images/flags/cc.png +0 -0
- data/vendor/assets/images/flags/cd.png +0 -0
- data/vendor/assets/images/flags/cf.png +0 -0
- data/vendor/assets/images/flags/cg.png +0 -0
- data/vendor/assets/images/flags/ch.png +0 -0
- data/vendor/assets/images/flags/ci.png +0 -0
- data/vendor/assets/images/flags/ck.png +0 -0
- data/vendor/assets/images/flags/cl.png +0 -0
- data/vendor/assets/images/flags/cm.png +0 -0
- data/vendor/assets/images/flags/cn.png +0 -0
- data/vendor/assets/images/flags/co.png +0 -0
- data/vendor/assets/images/flags/cr.png +0 -0
- data/vendor/assets/images/flags/cs.png +0 -0
- data/vendor/assets/images/flags/cu.png +0 -0
- data/vendor/assets/images/flags/cv.png +0 -0
- data/vendor/assets/images/flags/cx.png +0 -0
- data/vendor/assets/images/flags/cy.png +0 -0
- data/vendor/assets/images/flags/cz.png +0 -0
- data/vendor/assets/images/flags/de.png +0 -0
- data/vendor/assets/images/flags/dj.png +0 -0
- data/vendor/assets/images/flags/dk.png +0 -0
- data/vendor/assets/images/flags/dm.png +0 -0
- data/vendor/assets/images/flags/do.png +0 -0
- data/vendor/assets/images/flags/dz.png +0 -0
- data/vendor/assets/images/flags/ec.png +0 -0
- data/vendor/assets/images/flags/ee.png +0 -0
- data/vendor/assets/images/flags/eg.png +0 -0
- data/vendor/assets/images/flags/eh.png +0 -0
- data/vendor/assets/images/flags/england.png +0 -0
- data/vendor/assets/images/flags/er.png +0 -0
- data/vendor/assets/images/flags/es.png +0 -0
- data/vendor/assets/images/flags/et.png +0 -0
- data/vendor/assets/images/flags/europeanunion.png +0 -0
- data/vendor/assets/images/flags/fam.png +0 -0
- data/vendor/assets/images/flags/fi.png +0 -0
- data/vendor/assets/images/flags/fj.png +0 -0
- data/vendor/assets/images/flags/fk.png +0 -0
- data/vendor/assets/images/flags/fm.png +0 -0
- data/vendor/assets/images/flags/fo.png +0 -0
- data/vendor/assets/images/flags/fr.png +0 -0
- data/vendor/assets/images/flags/ga.png +0 -0
- data/vendor/assets/images/flags/gb.png +0 -0
- data/vendor/assets/images/flags/gd.png +0 -0
- data/vendor/assets/images/flags/ge.png +0 -0
- data/vendor/assets/images/flags/gf.png +0 -0
- data/vendor/assets/images/flags/gh.png +0 -0
- data/vendor/assets/images/flags/gi.png +0 -0
- data/vendor/assets/images/flags/gl.png +0 -0
- data/vendor/assets/images/flags/gm.png +0 -0
- data/vendor/assets/images/flags/gn.png +0 -0
- data/vendor/assets/images/flags/gp.png +0 -0
- data/vendor/assets/images/flags/gq.png +0 -0
- data/vendor/assets/images/flags/gr.png +0 -0
- data/vendor/assets/images/flags/gs.png +0 -0
- data/vendor/assets/images/flags/gt.png +0 -0
- data/vendor/assets/images/flags/gu.png +0 -0
- data/vendor/assets/images/flags/gw.png +0 -0
- data/vendor/assets/images/flags/gy.png +0 -0
- data/vendor/assets/images/flags/hk.png +0 -0
- data/vendor/assets/images/flags/hm.png +0 -0
- data/vendor/assets/images/flags/hn.png +0 -0
- data/vendor/assets/images/flags/hr.png +0 -0
- data/vendor/assets/images/flags/ht.png +0 -0
- data/vendor/assets/images/flags/hu.png +0 -0
- data/vendor/assets/images/flags/id.png +0 -0
- data/vendor/assets/images/flags/ie.png +0 -0
- data/vendor/assets/images/flags/il.png +0 -0
- data/vendor/assets/images/flags/in.png +0 -0
- data/vendor/assets/images/flags/io.png +0 -0
- data/vendor/assets/images/flags/iq.png +0 -0
- data/vendor/assets/images/flags/ir.png +0 -0
- data/vendor/assets/images/flags/is.png +0 -0
- data/vendor/assets/images/flags/it.png +0 -0
- data/vendor/assets/images/flags/ja.png +0 -0
- data/vendor/assets/images/flags/jm.png +0 -0
- data/vendor/assets/images/flags/jo.png +0 -0
- data/vendor/assets/images/flags/ke.png +0 -0
- data/vendor/assets/images/flags/kg.png +0 -0
- data/vendor/assets/images/flags/kh.png +0 -0
- data/vendor/assets/images/flags/ki.png +0 -0
- data/vendor/assets/images/flags/km.png +0 -0
- data/vendor/assets/images/flags/kn.png +0 -0
- data/vendor/assets/images/flags/kp.png +0 -0
- data/vendor/assets/images/flags/kr.png +0 -0
- data/vendor/assets/images/flags/kw.png +0 -0
- data/vendor/assets/images/flags/ky.png +0 -0
- data/vendor/assets/images/flags/kz.png +0 -0
- data/vendor/assets/images/flags/la.png +0 -0
- data/vendor/assets/images/flags/lb.png +0 -0
- data/vendor/assets/images/flags/lc.png +0 -0
- data/vendor/assets/images/flags/li.png +0 -0
- data/vendor/assets/images/flags/lk.png +0 -0
- data/vendor/assets/images/flags/lr.png +0 -0
- data/vendor/assets/images/flags/ls.png +0 -0
- data/vendor/assets/images/flags/lt.png +0 -0
- data/vendor/assets/images/flags/lu.png +0 -0
- data/vendor/assets/images/flags/lv.png +0 -0
- data/vendor/assets/images/flags/ly.png +0 -0
- data/vendor/assets/images/flags/ma.png +0 -0
- data/vendor/assets/images/flags/mc.png +0 -0
- data/vendor/assets/images/flags/md.png +0 -0
- data/vendor/assets/images/flags/me.png +0 -0
- data/vendor/assets/images/flags/mg.png +0 -0
- data/vendor/assets/images/flags/mh.png +0 -0
- data/vendor/assets/images/flags/mk.png +0 -0
- data/vendor/assets/images/flags/ml.png +0 -0
- data/vendor/assets/images/flags/mm.png +0 -0
- data/vendor/assets/images/flags/mn.png +0 -0
- data/vendor/assets/images/flags/mo.png +0 -0
- data/vendor/assets/images/flags/mp.png +0 -0
- data/vendor/assets/images/flags/mq.png +0 -0
- data/vendor/assets/images/flags/mr.png +0 -0
- data/vendor/assets/images/flags/ms.png +0 -0
- data/vendor/assets/images/flags/mt.png +0 -0
- data/vendor/assets/images/flags/mu.png +0 -0
- data/vendor/assets/images/flags/mv.png +0 -0
- data/vendor/assets/images/flags/mw.png +0 -0
- data/vendor/assets/images/flags/mx.png +0 -0
- data/vendor/assets/images/flags/my.png +0 -0
- data/vendor/assets/images/flags/mz.png +0 -0
- data/vendor/assets/images/flags/na.png +0 -0
- data/vendor/assets/images/flags/nc.png +0 -0
- data/vendor/assets/images/flags/ne.png +0 -0
- data/vendor/assets/images/flags/nf.png +0 -0
- data/vendor/assets/images/flags/ng.png +0 -0
- data/vendor/assets/images/flags/ni.png +0 -0
- data/vendor/assets/images/flags/nl.png +0 -0
- data/vendor/assets/images/flags/no.png +0 -0
- data/vendor/assets/images/flags/np.png +0 -0
- data/vendor/assets/images/flags/nr.png +0 -0
- data/vendor/assets/images/flags/nu.png +0 -0
- data/vendor/assets/images/flags/nz.png +0 -0
- data/vendor/assets/images/flags/om.png +0 -0
- data/vendor/assets/images/flags/pa.png +0 -0
- data/vendor/assets/images/flags/pe.png +0 -0
- data/vendor/assets/images/flags/pf.png +0 -0
- data/vendor/assets/images/flags/pg.png +0 -0
- data/vendor/assets/images/flags/ph.png +0 -0
- data/vendor/assets/images/flags/pk.png +0 -0
- data/vendor/assets/images/flags/pl.png +0 -0
- data/vendor/assets/images/flags/pm.png +0 -0
- data/vendor/assets/images/flags/pn.png +0 -0
- data/vendor/assets/images/flags/pr.png +0 -0
- data/vendor/assets/images/flags/ps.png +0 -0
- data/vendor/assets/images/flags/pt.png +0 -0
- data/vendor/assets/images/flags/pw.png +0 -0
- data/vendor/assets/images/flags/py.png +0 -0
- data/vendor/assets/images/flags/qa.png +0 -0
- data/vendor/assets/images/flags/re.png +0 -0
- data/vendor/assets/images/flags/ro.png +0 -0
- data/vendor/assets/images/flags/rs.png +0 -0
- data/vendor/assets/images/flags/ru.png +0 -0
- data/vendor/assets/images/flags/rw.png +0 -0
- data/vendor/assets/images/flags/sa.png +0 -0
- data/vendor/assets/images/flags/sb.png +0 -0
- data/vendor/assets/images/flags/sc.png +0 -0
- data/vendor/assets/images/flags/scotland.png +0 -0
- data/vendor/assets/images/flags/sd.png +0 -0
- data/vendor/assets/images/flags/se.png +0 -0
- data/vendor/assets/images/flags/sg.png +0 -0
- data/vendor/assets/images/flags/sh.png +0 -0
- data/vendor/assets/images/flags/si.png +0 -0
- data/vendor/assets/images/flags/sj.png +0 -0
- data/vendor/assets/images/flags/sk.png +0 -0
- data/vendor/assets/images/flags/sl.png +0 -0
- data/vendor/assets/images/flags/sm.png +0 -0
- data/vendor/assets/images/flags/sn.png +0 -0
- data/vendor/assets/images/flags/so.png +0 -0
- data/vendor/assets/images/flags/sr.png +0 -0
- data/vendor/assets/images/flags/st.png +0 -0
- data/vendor/assets/images/flags/sv.png +0 -0
- data/vendor/assets/images/flags/sy.png +0 -0
- data/vendor/assets/images/flags/sz.png +0 -0
- data/vendor/assets/images/flags/tc.png +0 -0
- data/vendor/assets/images/flags/td.png +0 -0
- data/vendor/assets/images/flags/tf.png +0 -0
- data/vendor/assets/images/flags/tg.png +0 -0
- data/vendor/assets/images/flags/th.png +0 -0
- data/vendor/assets/images/flags/tj.png +0 -0
- data/vendor/assets/images/flags/tk.png +0 -0
- data/vendor/assets/images/flags/tl.png +0 -0
- data/vendor/assets/images/flags/tm.png +0 -0
- data/vendor/assets/images/flags/tn.png +0 -0
- data/vendor/assets/images/flags/to.png +0 -0
- data/vendor/assets/images/flags/tr.png +0 -0
- data/vendor/assets/images/flags/tt.png +0 -0
- data/vendor/assets/images/flags/tv.png +0 -0
- data/vendor/assets/images/flags/tw.png +0 -0
- data/vendor/assets/images/flags/tz.png +0 -0
- data/vendor/assets/images/flags/ua.png +0 -0
- data/vendor/assets/images/flags/ug.png +0 -0
- data/vendor/assets/images/flags/um.png +0 -0
- data/vendor/assets/images/flags/us.png +0 -0
- data/vendor/assets/images/flags/uy.png +0 -0
- data/vendor/assets/images/flags/uz.png +0 -0
- data/vendor/assets/images/flags/va.png +0 -0
- data/vendor/assets/images/flags/vc.png +0 -0
- data/vendor/assets/images/flags/ve.png +0 -0
- data/vendor/assets/images/flags/vg.png +0 -0
- data/vendor/assets/images/flags/vi.png +0 -0
- data/vendor/assets/images/flags/vn.png +0 -0
- data/vendor/assets/images/flags/vu.png +0 -0
- data/vendor/assets/images/flags/wales.png +0 -0
- data/vendor/assets/images/flags/wf.png +0 -0
- data/vendor/assets/images/flags/ws.png +0 -0
- data/vendor/assets/images/flags/ye.png +0 -0
- data/vendor/assets/images/flags/yt.png +0 -0
- data/vendor/assets/images/flags/za.png +0 -0
- data/vendor/assets/images/flags/zm.png +0 -0
- data/vendor/assets/images/flags/zw.png +0 -0
- data/vendor/assets/images/jquery.formalize/button.png +0 -0
- data/vendor/assets/images/jquery.formalize/select_arrow.gif +0 -0
- data/vendor/assets/javascripts/jquery.formalize.min.js +1 -0
- data/vendor/assets/javascripts/jquery.validate/additional-methods.min.js +12 -0
- data/vendor/assets/javascripts/jquery.validate/jquery.validate.min.js +12 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ar.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_bg.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ca.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_cs.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_da.js +22 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_de.js +22 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_el.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_es.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_et.js +23 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_eu.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fa.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fi.js +23 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fr.js +47 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ge.js +23 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_he.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_hr.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_hu.js +24 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_it.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ja.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ka.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_kk.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ko.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_lt.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_lv.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ms.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_nl.js +35 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_no.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_pl.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ptbr.js +24 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ptpt.js +24 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ro.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ru.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_se.js +23 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_si.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sk.js +22 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sl.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sr.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sv.js +23 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_th.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_tr.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_tw.js +24 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_uk.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_vi.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_zh.js +25 -0
- data/vendor/assets/javascripts/jquery.validate/localization/messages_zhtw.js +26 -0
- data/vendor/assets/javascripts/jquery.validate/localization/methods_de.js +12 -0
- data/vendor/assets/javascripts/jquery.validate/localization/methods_nl.js +9 -0
- data/vendor/assets/javascripts/jquery.validate/localization/methods_pt.js +9 -0
- data/vendor/assets/stylesheets/jquery.formalize.css.erb +363 -0
- metadata +527 -0
@@ -0,0 +1,23 @@
|
|
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
|
+
});
|
@@ -0,0 +1,25 @@
|
|
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));
|
@@ -0,0 +1,22 @@
|
|
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));
|
@@ -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));
|
@@ -0,0 +1,25 @@
|
|
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));
|
@@ -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));
|
@@ -0,0 +1,25 @@
|
|
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));
|
@@ -0,0 +1,25 @@
|
|
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));
|
@@ -0,0 +1,24 @@
|
|
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
|
+
});
|
@@ -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));
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/*
|
2
|
+
* Translated default messages for the jQuery validation plugin.
|
3
|
+
* Locale: VI (Vietnamese; Tiếng Việt)
|
4
|
+
*/
|
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} kí 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));
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* Localized default methods for the jQuery validation plugin.
|
3
|
+
* Locale: DE
|
4
|
+
*/
|
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
|
+
}
|
12
|
+
});
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*
|
2
|
+
* Localized default methods for the jQuery validation plugin.
|
3
|
+
* Locale: NL
|
4
|
+
*/
|
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
|
+
});
|