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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user