1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-10-11 13:41:57 +00:00
* Added: Socket debugging information, including if the client is connected, latency, ping, etc.
* Changed: Make the text for profile rules more clear about what happens if you have multiple rules for a profile.
This commit is contained in:
SirStendec 2020-02-10 19:43:35 -05:00
parent e0d2eb8d81
commit aedfcecc14
6 changed files with 404 additions and 2 deletions

View file

@ -82,6 +82,26 @@ export class Vue extends Module {
},
methods: {
tNumber_(val, format) {
this.locale;
return t.i18n.formatNumber(val, format);
},
tDate_(val, format) {
this.locale;
return t.i18n.formatDate(val, format);
},
tTime_(val, format) {
this.locale;
return t.i18n.formatTime(val, format);
},
tDateTime_(val, format) {
this.locale;
return t.i18n.formatDateTime(val, format);
},
t_(key, phrase, options) {
this.locale && this.phrases[key];
return t.i18n.t(key, phrase, options);
@ -182,6 +202,18 @@ export class Vue extends Module {
},
tNode(node, data) {
return this.$i18n.tNode_(node, data);
},
tNumber(val, format) {
return this.$i18n.tNumber_(val, format);
},
tDate(val, format) {
return this.$i18n.tDate_(val, format);
},
tTime(val, format) {
return this.$i18n.tTime_(val, format);
},
tDateTime(val, format) {
return this.$i18n.tDateTime_(val, format);
}
}
});