Refine i18n support (#236)

This commit is contained in:
Germey authored and GitHub committed 2025-07-27 18:57:31 +08:00
1 parent f256e2059e
commit 0c0eea7483
15 files changed
+139 -186

No files matched your search

-1
View File
@@ -305,7 +305,6 @@ export default defineComponent({
},
async onRestoreConversation(id: string) {
console.debug('onRestoreConversation id', id);
this.$router.push({ ...this.$route, params: { id } });
const conversation = this.conversations?.find((conversation: IChatConversation) => conversation.id === id);
// change the model and model group
const model = conversation?.model;
+2
View File
@@ -152,6 +152,8 @@
:size="180"
:margin="2"
class="block mb-2 ml-auto mr-auto"
type="image/png"
:color="{ dark: '#000000', light: '#ffffff' }"
/>
<p class="mt-0">
{{ $t('distribution.message.distributionQrDescription') }}
+1 -3
View File
@@ -41,7 +41,6 @@ import {
} from '@/router';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import { getBaseUrlAuth, getBaseUrlPlatform } from '@/utils';
import LocaleSelector from '@/components/common/LocaleSelector.vue';
import HelpDialog from '@/components/common/HelpDialog.vue';
interface ILink {
@@ -58,8 +57,7 @@ export default defineComponent({
components: {
ElImage,
HelpDialog,
FontAwesomeIcon,
LocaleSelector
FontAwesomeIcon
},
data() {
return {