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:
@@ -18,7 +18,7 @@
|
||||
<v-date-picker :locale="defaultLocale" v-model="dateOnly">
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn text color="primary" @click="dlgdate = false">{{
|
||||
lt("OK")
|
||||
t("OK")
|
||||
}}</v-btn>
|
||||
</v-date-picker>
|
||||
</v-dialog>
|
||||
@@ -60,8 +60,8 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
lt(ltKey) {
|
||||
return window.$gz.translation.get(ltKey);
|
||||
t(tKey) {
|
||||
return window.$gz.translation.get(tKey);
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
||||
Reference in New Issue
Block a user