Merge pull request #2553 from Haendlerbund/add-german-localisation-to-vee-validate-in-shop

German localisation for vee-validate in Shop
This commit is contained in:
Jitendra Singh 2020-02-26 15:49:07 +05:30 committed by GitHub
commit 919be311cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 4 deletions

View File

@ -17,7 +17,7 @@
"laravel-mix-merge-manifest": "^0.1.2",
"sass": "^1.24.4",
"sass-loader": "^8.0.0",
"vue": "^2.6.10",
"vue": "^2.6.11",
"vue-template-compiler": "^2.6.11"
},
"dependencies": {

File diff suppressed because one or more lines are too long

View File

@ -39,3 +39,9 @@
*
* Date: 2019-05-01T21:04Z
*/
/**
* vue-class-component v7.0.1
* (c) 2015-present Evan You
* @license MIT
*/

View File

@ -1,4 +1,4 @@
{
"/js/shop.js": "/js/shop.js?id=6d8ea335fbfa47e80e72",
"/js/shop.js": "/js/shop.js?id=6e1a07cb1d6814d16f70",
"/css/shop.css": "/css/shop.css?id=ccf417b825955d8bd301"
}

View File

@ -1,6 +1,7 @@
import $ from 'jquery';
import Vue from 'vue';
import VeeValidate from 'vee-validate';
import VeeValidate, { Validator } from 'vee-validate';
import de from 'vee-validate/dist/locale/de';
import axios from 'axios';
import VueSlider from 'vue-slider-component';
import accounting from 'accounting';
@ -15,6 +16,8 @@ window.axios = axios;
require("./bootstrap");
require("ez-plus/src/jquery.ez-plus.js");
Validator.localize('de', de);
Vue.use(VeeValidate, {
dictionary: {
ar: { messages: localeMessages.ar }