german translations
This commit is contained in:
parent
eae82352f7
commit
64e5f19861
|
|
@ -1,5 +1,5 @@
|
|||
import Vue from 'vue';
|
||||
import VeeValidate from 'vee-validate';
|
||||
import VeeValidate, { Validator } from 'vee-validate';
|
||||
import de from 'vee-validate/dist/locale/de';
|
||||
import ar from 'vee-validate/dist/locale/ar';
|
||||
|
||||
|
|
@ -8,6 +8,10 @@ import './bootstrap';
|
|||
window.Vue = Vue;
|
||||
window.VeeValidate = VeeValidate;
|
||||
|
||||
Vue.use(VeeValidate);
|
||||
|
||||
Validator.localize('de', de);
|
||||
|
||||
Vue.use(VeeValidate, {
|
||||
dictionary: {
|
||||
ar: ar,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
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 ar from 'vee-validate/dist/locale/ar';
|
||||
import axios from 'axios';
|
||||
|
|
@ -15,6 +15,10 @@ window.axios = axios;
|
|||
require("./bootstrap");
|
||||
require("ez-plus/src/jquery.ez-plus.js");
|
||||
|
||||
Vue.use(VeeValidate);
|
||||
|
||||
Validator.localize('de', de);
|
||||
|
||||
Vue.use(VeeValidate, {
|
||||
dictionary: {
|
||||
ar: ar,
|
||||
|
|
|
|||
|
|
@ -5,9 +5,12 @@ import VueToast from 'vue-toast-notification';
|
|||
import 'vue-toast-notification/dist/index.css';
|
||||
import de from 'vee-validate/dist/locale/de';
|
||||
import ar from 'vee-validate/dist/locale/ar';
|
||||
import VeeValidate, { Validator } from 'vee-validate';
|
||||
import axios from 'axios';
|
||||
|
||||
window.axios = require("axios");
|
||||
window.VeeValidate = require("vee-validate");
|
||||
|
||||
window.axios = axios;
|
||||
window.VeeValidate = VeeValidate;
|
||||
window.jQuery = window.$ = require("jquery");
|
||||
window.BootstrapSass = require("bootstrap-sass");
|
||||
|
||||
|
|
@ -17,6 +20,8 @@ Vue.use(VueCarousel);
|
|||
Vue.use(BootstrapSass);
|
||||
Vue.prototype.$http = axios;
|
||||
|
||||
Validator.localize('de', de);
|
||||
|
||||
Vue.use(VeeValidate, {
|
||||
dictionary: {
|
||||
ar: ar,
|
||||
|
|
|
|||
Loading…
Reference in New Issue