renamed lt function to t as it's no longer localized text and t is shorter, also renamed parameter ltKey to tKey for similar reasons

This commit is contained in:
2020-03-27 19:45:37 +00:00
parent cb21d9ece9
commit e548ecb12f
18 changed files with 222 additions and 223 deletions

View File

@@ -27,7 +27,7 @@
>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgdate = false">{{
lt("OK")
t("OK")
}}</v-btn>
</v-date-picker>
</v-dialog>
@@ -58,7 +58,7 @@
>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="dlgtime = false">{{
lt("OK")
t("OK")
}}</v-btn>
</v-time-picker>
</v-dialog>
@@ -101,8 +101,8 @@ export default {
}
},
methods: {
lt(ltKey) {
return window.$gz.translation.get(ltKey);
t(tKey) {
return window.$gz.translation.get(tKey);
}
},
watch: {