moved t function to global and misc cleanup

This commit is contained in:
2020-04-04 17:06:25 +00:00
parent 90c388ecc2
commit 43de3c8fb0
20 changed files with 242 additions and 286 deletions

View File

@@ -18,7 +18,7 @@
<v-date-picker :locale="defaultLocale" v-model="dateOnly">
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgdate = false">{{
t("OK")
$ay.t("OK")
}}</v-btn>
</v-date-picker>
</v-dialog>
@@ -59,11 +59,6 @@ export default {
required: false
}
},
methods: {
t(tKey) {
return window.$gz.translation.get(tKey);
}
},
watch: {
date() {
//this tortuous fuckery is required so that the input and change events only fire on a real change, not initial page load