This commit is contained in:
2019-07-19 19:41:58 +00:00
parent 177f08f49d
commit 7bbe2bd315
22 changed files with 191 additions and 192 deletions

View File

@@ -11,7 +11,7 @@
</v-flex>
<v-flex mb-4 v-if="this.formReady">
<h1 class="display-2 font-weight-bold mb-3">
{{ this.$gzlocale.get("Welcome") }}
{{ lt("Welcome") }}
</h1>
</v-flex>
</v-layout>
@@ -21,7 +21,7 @@
<script>
export default {
created() {
this.$gzlocale
window.$gz.locale
.fetch(["Welcome"])
.then(() => (this.formReady = true))
.catch(err => {
@@ -31,6 +31,11 @@ export default {
},
data() {
return { formReady: false };
},
methods: {
lt(ltKey) {
return window.$gz.locale.get(ltKey);
}
}
};
</script>