more i18n fixes

This commit is contained in:
ThatOneCalculator 2022-11-11 00:41:34 -08:00
parent 08582788bf
commit 27883b4480
17 changed files with 22 additions and 7 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "12.119.0-calc.12.7", "version": "12.119.0-calc.12.8",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -74,6 +74,7 @@ export default defineComponent({
showBody: this.expanded, showBody: this.expanded,
omitted: null, omitted: null,
ignoreOmit: false, ignoreOmit: false,
i18n,
}; };
}, },
mounted() { mounted() {

View file

@ -94,6 +94,7 @@ export default defineComponent({
data() { data() {
return { return {
values: {}, values: {},
i18n,
}; };
}, },

View file

@ -79,7 +79,8 @@ export default defineComponent({
data() { data() {
return { return {
inputValue: this.input.default ? this.input.default : null inputValue: this.input.default ? this.input.default : null,
i18n,
}; };
}, },

View file

@ -42,6 +42,7 @@ export default defineComponent({
data() { data() {
return { return {
menu: null as Promise<null> | null, menu: null as Promise<null> | null,
i18n,
}; };
}, },

View file

@ -58,6 +58,7 @@ export default defineComponent({
tags: emojiTags, tags: emojiTags,
selectedTags: new Set(), selectedTags: new Set(),
searchEmojis: null, searchEmojis: null,
i18n,
}; };
}, },

View file

@ -133,6 +133,7 @@ export default defineComponent({
overviewHeight: '1fr', overviewHeight: '1fr',
queueHeight: '1fr', queueHeight: '1fr',
paused: false, paused: false,
i18n,
}; };
}, },
@ -205,7 +206,7 @@ export default defineComponent({
pointRadius: 0, pointRadius: 0,
tension: 0, tension: 0,
borderWidth: 2, borderWidth: 2,
borderColor: '#935dbf', borderColor: '#ebbcba',
borderDash: [5, 5], borderDash: [5, 5],
fill: false, fill: false,
data: [], data: [],

View file

@ -81,11 +81,11 @@ export default defineComponent({
} }
&.warn { &.warn {
border: solid 2px #dec44c; border: solid 2px #f6c177;
} }
&.error { &.error {
border: solid 2px #f00; border: solid 2px #eb6f92;
} }
& + .cpjygsrt { & + .cpjygsrt {
@ -131,14 +131,14 @@ export default defineComponent({
} }
> .warn { > .warn {
color: #b19e49; color: #ea9d34;
margin: 0; margin: 0;
padding: 16px 16px 0 16px; padding: 16px 16px 0 16px;
font-size: 14px; font-size: 14px;
} }
> .error { > .error {
color: #f00; color: #b4637a;
margin: 0; margin: 0;
padding: 16px 16px 0 16px; padding: 16px 16px 0 16px;
font-size: 14px; font-size: 14px;

View file

@ -65,6 +65,7 @@ export default defineComponent({
stats: null, stats: null,
tags: [], tags: [],
onlineUsersCount: null, onlineUsersCount: null,
i18n,
}; };
}, },

View file

@ -85,6 +85,7 @@ export default defineComponent({
stats: null, stats: null,
tags: [], tags: [],
onlineUsersCount: null, onlineUsersCount: null,
i18n,
}; };
}, },

View file

@ -60,6 +60,7 @@ export default defineComponent({
connection: null, connection: null,
navbarItemDef: navbarItemDef, navbarItemDef: navbarItemDef,
settingsWindowed: false, settingsWindowed: false,
i18n,
}; };
}, },

View file

@ -66,6 +66,7 @@ export default defineComponent({
navbarItemDef: navbarItemDef, navbarItemDef: navbarItemDef,
iconOnly: false, iconOnly: false,
settingsWindowed: false, settingsWindowed: false,
i18n,
}; };
}, },

View file

@ -29,6 +29,7 @@ export default defineComponent({
data() { data() {
return { return {
editMode: false, editMode: false,
i18n,
}; };
}, },

View file

@ -8,6 +8,7 @@ import { defineComponent, defineAsyncComponent } from 'vue';
import DesignA from './visitor/a.vue'; import DesignA from './visitor/a.vue';
import DesignB from './visitor/b.vue'; import DesignB from './visitor/b.vue';
import XCommon from './_common_/common.vue'; import XCommon from './_common_/common.vue';
import { i18n } from '@/i18n';
export default defineComponent({ export default defineComponent({
components: { components: {

View file

@ -70,6 +70,7 @@ export default defineComponent({
}, },
mainRouter, mainRouter,
isDesktop: window.innerWidth >= DESKTOP_THRESHOLD, isDesktop: window.innerWidth >= DESKTOP_THRESHOLD,
i18n,
}; };
}, },

View file

@ -61,6 +61,7 @@ export default defineComponent({
return { return {
narrow: null, narrow: null,
showMenu: false, showMenu: false,
i18n,
isTimelineAvailable: !instance.disableLocalTimeline || !instance.disableRecommendedTimeline || !instance.disableGlobalTimeline, isTimelineAvailable: !instance.disableLocalTimeline || !instance.disableRecommendedTimeline || !instance.disableGlobalTimeline,
}; };
}, },

View file

@ -82,6 +82,7 @@ export default defineComponent({
endpoint: 'announcements', endpoint: 'announcements',
limit: 10, limit: 10,
}, },
i18n,
}; };
}, },