diff --git a/change/@acedatacloud-nexior-bfa3fff3-4122-409d-be45-648133c2e226.json b/change/@acedatacloud-nexior-bfa3fff3-4122-409d-be45-648133c2e226.json new file mode 100644 index 00000000..9711207b --- /dev/null +++ b/change/@acedatacloud-nexior-bfa3fff3-4122-409d-be45-648133c2e226.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "add gemini support", + "packageName": "@acedatacloud/nexior", + "email": "cqc@cuiqingcai.com", + "dependentChangeType": "patch" +} diff --git a/src/components/chat/ModelSelector.vue b/src/components/chat/ModelSelector.vue index e2c3353e..7bed4235 100644 --- a/src/components/chat/ModelSelector.vue +++ b/src/components/chat/ModelSelector.vue @@ -32,7 +32,12 @@ import { defineComponent } from 'vue'; import { ElDropdown, ElDropdownItem, ElDropdownMenu } from 'element-plus'; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; import { IChatModelGroup } from '@/models'; -import { CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK } from '@/constants'; +import { + CHAT_MODEL_GROUP_CHATGPT, + CHAT_MODEL_GROUP_DEEPSEEK, + CHAT_MODEL_GROUP_GROK, + CHAT_MODEL_GROUP_GEMINI +} from '@/constants'; interface IData { options: IChatModelGroup[]; @@ -49,7 +54,7 @@ export default defineComponent({ emits: ['update:modelValue', 'select', 'model-group-changed', 'model-changed'], data(): IData { return { - options: [CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK] + options: [CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK, CHAT_MODEL_GROUP_GEMINI] }; }, computed: { @@ -72,7 +77,12 @@ export default defineComponent({ mounted() { // renew models if modelGroup is already set console.debug('ModelSelector mounted, checking model group'); - const modelGroups = [CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, CHAT_MODEL_GROUP_GROK]; + const modelGroups = [ + CHAT_MODEL_GROUP_CHATGPT, + CHAT_MODEL_GROUP_DEEPSEEK, + CHAT_MODEL_GROUP_GROK, + CHAT_MODEL_GROUP_GEMINI + ]; const foundGroup = modelGroups.find((group) => group.name === this.modelGroup.name); console.debug('Found model group:', foundGroup); if (foundGroup) { diff --git a/src/components/common/Navigator.vue b/src/components/common/Navigator.vue index 2bca6cff..69191027 100644 --- a/src/components/common/Navigator.vue +++ b/src/components/common/Navigator.vue @@ -40,6 +40,8 @@ import { ROUTE_DEEPSEEK_CONVERSATION, ROUTE_GROK_CONVERSATION_NEW, ROUTE_GROK_CONVERSATION, + ROUTE_GEMINI_CONVERSATION_NEW, + ROUTE_GEMINI_CONVERSATION, ROUTE_KLING_INDEX, ROUTE_KLING_HISTORY, ROUTE_PIXVERSE_INDEX, @@ -50,7 +52,12 @@ import { ROUTE_SORA_HISTORY, ROUTE_NANOBANANA_INDEX } from '@/router/constants'; -import { CHAT_MODEL_ICON_CHATGPT, CHAT_MODEL_ICON_DEEPSEEK, CHAT_MODEL_ICON_GROK } from '@/constants/chat'; +import { + CHAT_MODEL_ICON_CHATGPT, + CHAT_MODEL_ICON_DEEPSEEK, + CHAT_MODEL_ICON_GROK, + CHAT_MODEL_ICON_GEMINI +} from '@/constants/chat'; import Logo from './Logo.vue'; import UserCenter from '@/components/user/Center.vue'; @@ -113,6 +120,17 @@ export default defineComponent({ routes: [ROUTE_GROK_CONVERSATION, ROUTE_GROK_CONVERSATION_NEW] }); } + // Add gemini's leftmost icon + if (this.$store?.state?.site?.features?.gemini?.enabled) { + result.push({ + route: { + name: ROUTE_GEMINI_CONVERSATION_NEW + }, + displayName: this.$t('common.nav.gemini'), + logo: CHAT_MODEL_ICON_GEMINI, + routes: [ROUTE_GEMINI_CONVERSATION, ROUTE_GEMINI_CONVERSATION_NEW] + }); + } // Add midjourney's leftmost icon if (this.$store?.state?.site?.features?.midjourney?.enabled) { result.push({ diff --git a/src/components/setting/Function.vue b/src/components/setting/Function.vue index cb630ff5..3331966b 100644 --- a/src/components/setting/Function.vue +++ b/src/components/setting/Function.vue @@ -4,6 +4,7 @@ v-for="(feature, featureIndex) in [ 'chatgpt', 'grok', + 'gemini', 'deepseek', 'midjourney', 'qrart', diff --git a/src/constants/chat.ts b/src/constants/chat.ts index 9bcbfafc..a7a41624 100644 --- a/src/constants/chat.ts +++ b/src/constants/chat.ts @@ -23,10 +23,14 @@ export const CHAT_MODEL_NAME_GROK_4 = 'grok-4'; export const CHAT_MODEL_NAME_GROK_3 = 'grok-3'; export const CHAT_MODEL_NAME_GROK_3_REASONER = 'grok-3-reasoning'; export const CHAT_MODEL_NAME_GROK_3_DEEPSEARCH = 'grok-3-deepsearch'; +export const CHAT_MODEL_NAME_GEMINI_3_0_PRO = 'gemini-3.0-pro'; +export const CHAT_MODEL_NAME_GEMINI_2_5_PRO = 'gemini-2.5-pro'; +export const CHAT_MODEL_NAME_GEMINI_2_5_FLASH = 'gemini-2.5-flash'; export const CHAT_MODEL_ICON_CHATGPT = 'https://cdn.acedata.cloud/7dljuv.png'; export const CHAT_MODEL_ICON_GROK = 'https://cdn.acedata.cloud/p1ge98.png'; export const CHAT_MODEL_ICON_DEEPSEEK = 'https://cdn.acedata.cloud/4rb23t.jpg'; +export const CHAT_MODEL_ICON_GEMINI = 'https://cdn.acedata.cloud/psfx0g.jpg'; export const CHAT_SERVICE_ID = 'b1fbcc32-e218-4253-9dc3-4fe600a1bfb9'; @@ -207,6 +211,33 @@ export const CHAT_MODEL_GROK_3_DEEPSEARCH: IChatModel = { getDescription: () => i18n.global.t('chat.model.grok3DeepsearchDescription') }; +export const CHAT_MODEL_GEMINI_3_0_PRO: IChatModel = { + enabled: true, + name: CHAT_MODEL_NAME_GEMINI_3_0_PRO, + icon: CHAT_MODEL_ICON_GEMINI, + modelGroup: 'gemini', + getDisplayName: () => i18n.global.t('chat.model.gemini30Pro'), + getDescription: () => i18n.global.t('chat.model.gemini30ProDescription') +}; + +export const CHAT_MODEL_GEMINI_2_5_PRO: IChatModel = { + enabled: true, + name: CHAT_MODEL_NAME_GEMINI_2_5_PRO, + icon: CHAT_MODEL_ICON_GEMINI, + modelGroup: 'gemini', + getDisplayName: () => i18n.global.t('chat.model.gemini25Pro'), + getDescription: () => i18n.global.t('chat.model.gemini25ProDescription') +}; + +export const CHAT_MODEL_GEMINI_2_5_FLASH: IChatModel = { + enabled: true, + name: CHAT_MODEL_NAME_GEMINI_2_5_FLASH, + icon: CHAT_MODEL_ICON_GEMINI, + modelGroup: 'gemini', + getDisplayName: () => i18n.global.t('chat.model.gemini25Flash'), + getDescription: () => i18n.global.t('chat.model.gemini25FlashDescription') +}; + export const CHAT_MODEL_GROUP_CHATGPT: IChatModelGroup = { icon: CHAT_MODEL_ICON_CHATGPT, name: 'chatgpt', @@ -243,6 +274,14 @@ export const CHAT_MODEL_GROUP_GROK: IChatModelGroup = { models: [CHAT_MODEL_GROK_4, CHAT_MODEL_GROK_3, CHAT_MODEL_GROK_3_REASONER, CHAT_MODEL_GROK_3_DEEPSEARCH] }; +export const CHAT_MODEL_GROUP_GEMINI: IChatModelGroup = { + icon: CHAT_MODEL_ICON_GEMINI, + name: 'gemini', + getDisplayName: () => i18n.global.t('chat.modelGroup.gemini'), + getDescription: () => i18n.global.t('chat.modelGroup.geminiDescription'), + models: [CHAT_MODEL_GEMINI_3_0_PRO, CHAT_MODEL_GEMINI_2_5_PRO, CHAT_MODEL_GEMINI_2_5_FLASH] +}; + export const CHAT_MODELS: IChatModel[] = [ CHAT_MODEL_GPT_5_ALL, CHAT_MODEL_GPT_5, @@ -259,11 +298,15 @@ export const CHAT_MODELS: IChatModel[] = [ CHAT_MODEL_GROK_4, CHAT_MODEL_GROK_3, CHAT_MODEL_GROK_3_REASONER, - CHAT_MODEL_GROK_3_DEEPSEARCH + CHAT_MODEL_GROK_3_DEEPSEARCH, + CHAT_MODEL_GEMINI_3_0_PRO, + CHAT_MODEL_GEMINI_2_5_PRO, + CHAT_MODEL_GEMINI_2_5_FLASH ]; export const CHAT_MODEL_GROUPS: IChatModelGroup[] = [ CHAT_MODEL_GROUP_CHATGPT, CHAT_MODEL_GROUP_DEEPSEEK, - CHAT_MODEL_GROUP_GROK + CHAT_MODEL_GROUP_GROK, + CHAT_MODEL_GROUP_GEMINI ]; diff --git a/src/i18n/ar/chat.json b/src/i18n/ar/chat.json index 125b4b99..afdf069c 100644 --- a/src/i18n/ar/chat.json +++ b/src/i18n/ar/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "في وقت سابق", "description": "اسم المجموعة في الصفحة، أي في وقت سابق" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/ar/common.json b/src/i18n/ar/common.json index 3c020161..68613574 100644 --- a/src/i18n/ar/common.json +++ b/src/i18n/ar/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "إعدادات الوظائف", "description": "عنوان قسم إعدادات الوظائف في صفحة الإعدادات" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/ar/site.json b/src/i18n/ar/site.json index 8a405284..540a1bdf 100644 --- a/src/i18n/ar/site.json +++ b/src/i18n/ar/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "معطل", "description": "نص التبديل، يشير إلى أنه تم تعطيله" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/de/chat.json b/src/i18n/de/chat.json index 038d6461..7f46b3fb 100644 --- a/src/i18n/de/chat.json +++ b/src/i18n/de/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Früher", "description": "网页中的分组名称,即 更早" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/de/common.json b/src/i18n/de/common.json index bbd25594..c8b3915d 100644 --- a/src/i18n/de/common.json +++ b/src/i18n/de/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Funktionseinstellungen", "description": "Titel des Abschnitts für Funktionseinstellungen auf der Einstellungsseite" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/de/site.json b/src/i18n/de/site.json index 7f331059..cf5a9b1a 100644 --- a/src/i18n/de/site.json +++ b/src/i18n/de/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Deaktiviert", "description": "Schaltertext, der anzeigt, dass es deaktiviert ist" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/el/chat.json b/src/i18n/el/chat.json index 420b08c0..f39357f8 100644 --- a/src/i18n/el/chat.json +++ b/src/i18n/el/chat.json @@ -242,5 +242,37 @@ "group.earlier": { "message": "Πιο νωρίς", "description": "Το όνομα της ομάδας στην ιστοσελίδα, δηλαδή Πιο νωρίς" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/el/common.json b/src/i18n/el/common.json index c1a8887a..5187e88b 100644 --- a/src/i18n/el/common.json +++ b/src/i18n/el/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Ρυθμίσεις λειτουργίας", "description": "Επικεφαλίδα της ενότητας ρυθμίσεων λειτουργίας στη σελίδα ρυθμίσεων" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/el/site.json b/src/i18n/el/site.json index 1566f65b..b673fa13 100644 --- a/src/i18n/el/site.json +++ b/src/i18n/el/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Απενεργοποιημένο", "description": "Κείμενο διακόπτη που δηλώνει ότι είναι απενεργοποιημένο" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/en/chat.json b/src/i18n/en/chat.json index a25d26d7..6e4f4fe8 100644 --- a/src/i18n/en/chat.json +++ b/src/i18n/en/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Earlier", "description": "The group name in the webpage, which is Earlier" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/en/common.json b/src/i18n/en/common.json index d79e8b34..baa07968 100644 --- a/src/i18n/en/common.json +++ b/src/i18n/en/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Function Settings", "description": "Title for the function settings section in the settings page" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/en/site.json b/src/i18n/en/site.json index f0b5564f..fca87ca6 100644 --- a/src/i18n/en/site.json +++ b/src/i18n/en/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Disabled", "description": "Toggle text indicating that it is disabled" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/es/chat.json b/src/i18n/es/chat.json index f715d76a..728cab09 100644 --- a/src/i18n/es/chat.json +++ b/src/i18n/es/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Más temprano", "description": "Nombre del grupo en la página web, es decir, Más temprano" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/es/common.json b/src/i18n/es/common.json index 6a569a98..66d79d75 100644 --- a/src/i18n/es/common.json +++ b/src/i18n/es/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Configuración de funciones", "description": "Título de la sección de configuración de funciones en la página de configuración" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/es/site.json b/src/i18n/es/site.json index 252a7ba3..d0ca5d03 100644 --- a/src/i18n/es/site.json +++ b/src/i18n/es/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Deshabilitado", "description": "Texto del interruptor que indica que está deshabilitado" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/fi/chat.json b/src/i18n/fi/chat.json index a515a436..19cebd48 100644 --- a/src/i18n/fi/chat.json +++ b/src/i18n/fi/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Aikaisemmin", "description": "Verkkosivun ryhmän nimi, eli Aikaisemmin" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/fi/common.json b/src/i18n/fi/common.json index a6c87f5b..1ad3a1af 100644 --- a/src/i18n/fi/common.json +++ b/src/i18n/fi/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Toiminta-asetukset", "description": "Asetussivun toiminta-asetusten osion otsikko" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/fi/site.json b/src/i18n/fi/site.json index 66990c21..22430d09 100644 --- a/src/i18n/fi/site.json +++ b/src/i18n/fi/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Poistettu käytöstä", "description": "Kytkin teksti, joka osoittaa, että se on poistettu käytöstä" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/fr/chat.json b/src/i18n/fr/chat.json index 05fd8bf7..49475e0f 100644 --- a/src/i18n/fr/chat.json +++ b/src/i18n/fr/chat.json @@ -218,5 +218,37 @@ "group.earlier": { "message": "Plus tôt", "description": "Nom du groupe dans la page web, c'est-à-dire Plus tôt" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/fr/common.json b/src/i18n/fr/common.json index a5f67e35..61d7c3c5 100644 --- a/src/i18n/fr/common.json +++ b/src/i18n/fr/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Paramètres de fonctionnalité", "description": "Titre de la section des paramètres de fonctionnalité dans la page des paramètres" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/fr/site.json b/src/i18n/fr/site.json index 35d9649e..84f0bfcd 100644 --- a/src/i18n/fr/site.json +++ b/src/i18n/fr/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Désactivé", "description": "Texte du commutateur indiquant que c'est désactivé" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/it/chat.json b/src/i18n/it/chat.json index 19292107..b544e70e 100644 --- a/src/i18n/it/chat.json +++ b/src/i18n/it/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Prima", "description": "Nome del gruppo nella pagina web, ovvero Prima" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/it/common.json b/src/i18n/it/common.json index 2e369643..726fe9ce 100644 --- a/src/i18n/it/common.json +++ b/src/i18n/it/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Impostazioni delle funzionalità", "description": "Titolo della sezione impostazioni delle funzionalità nella pagina delle impostazioni" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/it/site.json b/src/i18n/it/site.json index c309f1c5..3672d627 100644 --- a/src/i18n/it/site.json +++ b/src/i18n/it/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Disabilitato", "description": "Testo dell'interruttore che indica che è stato disabilitato" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/ja/chat.json b/src/i18n/ja/chat.json index 35ed56db..afffcfc1 100644 --- a/src/i18n/ja/chat.json +++ b/src/i18n/ja/chat.json @@ -138,5 +138,37 @@ "group.earlier": { "message": "以前", "description": "ウェブページ内のグループ名、すなわち 以前" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/ja/common.json b/src/i18n/ja/common.json index 5c1e6198..006544da 100644 --- a/src/i18n/ja/common.json +++ b/src/i18n/ja/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "機能設定", "description": "設定ページの機能設定部分のタイトル" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/ja/site.json b/src/i18n/ja/site.json index 51a33e25..9df4bed6 100644 --- a/src/i18n/ja/site.json +++ b/src/i18n/ja/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "無効", "description": "スイッチのテキスト、無効になっていることを示します" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/ko/chat.json b/src/i18n/ko/chat.json index 48a0f465..e20361a1 100644 --- a/src/i18n/ko/chat.json +++ b/src/i18n/ko/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "더 이전", "description": "웹페이지의 그룹 이름, 즉 더 이전" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/ko/common.json b/src/i18n/ko/common.json index 4ea9d8e7..17cd7bbf 100644 --- a/src/i18n/ko/common.json +++ b/src/i18n/ko/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "기능 설정", "description": "설정 페이지의 기능 설정 섹션 제목" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/ko/site.json b/src/i18n/ko/site.json index fb121519..46d18e61 100644 --- a/src/i18n/ko/site.json +++ b/src/i18n/ko/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "비활성화됨", "description": "스위치 텍스트, 비활성화되었음을 나타냄" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/pl/chat.json b/src/i18n/pl/chat.json index a9533f8d..780e3559 100644 --- a/src/i18n/pl/chat.json +++ b/src/i18n/pl/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Wcześniej", "description": "Nazwa grupy na stronie, czyli Wcześniej" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/pl/common.json b/src/i18n/pl/common.json index 5e3a2af0..c668060b 100644 --- a/src/i18n/pl/common.json +++ b/src/i18n/pl/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Ustawienia funkcji", "description": "Tytuł sekcji ustawień funkcji na stronie ustawień" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/pl/site.json b/src/i18n/pl/site.json index 60be394e..1f2b7b13 100644 --- a/src/i18n/pl/site.json +++ b/src/i18n/pl/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Wyłączone", "description": "Tekst przełącznika, który wskazuje, że jest wyłączone" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/pt/chat.json b/src/i18n/pt/chat.json index 87e01b8e..d87f67b2 100644 --- a/src/i18n/pt/chat.json +++ b/src/i18n/pt/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Mais cedo", "description": "Nome do grupo na página da web, ou seja, Mais cedo" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/pt/common.json b/src/i18n/pt/common.json index fcb16db3..5daf092e 100644 --- a/src/i18n/pt/common.json +++ b/src/i18n/pt/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Configurações de Funcionalidade", "description": "Título da seção de configurações de funcionalidade na página de configurações" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/pt/site.json b/src/i18n/pt/site.json index a74b94f4..18152e92 100644 --- a/src/i18n/pt/site.json +++ b/src/i18n/pt/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Desativado", "description": "Texto do botão que indica que está desativado" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/ru/chat.json b/src/i18n/ru/chat.json index 8760e367..e4b7f3f6 100644 --- a/src/i18n/ru/chat.json +++ b/src/i18n/ru/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Ранее", "description": "网页中的分组名称,即 更早" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/ru/common.json b/src/i18n/ru/common.json index c1b8f599..b1a7898e 100644 --- a/src/i18n/ru/common.json +++ b/src/i18n/ru/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Настройки функций", "description": "Заголовок раздела настроек функций на странице настроек" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/ru/site.json b/src/i18n/ru/site.json index 58030ca6..c17b7ea9 100644 --- a/src/i18n/ru/site.json +++ b/src/i18n/ru/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Отключено", "description": "Текст переключателя, указывающий, что функция отключена" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/sr/chat.json b/src/i18n/sr/chat.json index 64d7baba..5cc1bef1 100644 --- a/src/i18n/sr/chat.json +++ b/src/i18n/sr/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Ranije", "description": "Naziv grupe na stranici, tj. Ranije" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/sr/common.json b/src/i18n/sr/common.json index 4da8684c..7ac8ab3c 100644 --- a/src/i18n/sr/common.json +++ b/src/i18n/sr/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Postavke funkcija", "description": "Naslov dela sa postavkama funkcija na stranici sa postavkama" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/sr/site.json b/src/i18n/sr/site.json index f6d5d178..8f3f0fe7 100644 --- a/src/i18n/sr/site.json +++ b/src/i18n/sr/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Onemogućeno", "description": "Tekst prekidača koji označava da je onemogućeno" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/sv/chat.json b/src/i18n/sv/chat.json index 83e16423..68863052 100644 --- a/src/i18n/sv/chat.json +++ b/src/i18n/sv/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Tidigare", "description": "Webbplatsens gruppnamn, det vill säga Tidigare" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/sv/common.json b/src/i18n/sv/common.json index e1ff5bf5..9ae4451d 100644 --- a/src/i18n/sv/common.json +++ b/src/i18n/sv/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Funktionsinställningar", "description": "Titeln på avsnittet för funktionsinställningar på inställningssidan" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/sv/site.json b/src/i18n/sv/site.json index 7f8d31cc..713d0a35 100644 --- a/src/i18n/sv/site.json +++ b/src/i18n/sv/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Inaktiverad", "description": "Text på knappen som indikerar att den är inaktiverad" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/uk/chat.json b/src/i18n/uk/chat.json index 7df64105..c893d049 100644 --- a/src/i18n/uk/chat.json +++ b/src/i18n/uk/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "Раніше", "description": "Назва групи на веб-сторінці, тобто Раніше" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/uk/common.json b/src/i18n/uk/common.json index 78e1d002..44762d96 100644 --- a/src/i18n/uk/common.json +++ b/src/i18n/uk/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "Налаштування функцій", "description": "Заголовок розділу налаштувань функцій на сторінці налаштувань" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/uk/site.json b/src/i18n/uk/site.json index d1e79320..54c07adc 100644 --- a/src/i18n/uk/site.json +++ b/src/i18n/uk/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "Вимкнено", "description": "Текст перемикача, що вказує на те, що функція вимкнена" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/i18n/zh-CN/chat.json b/src/i18n/zh-CN/chat.json index 6937bce1..69f15faa 100644 --- a/src/i18n/zh-CN/chat.json +++ b/src/i18n/zh-CN/chat.json @@ -342,5 +342,37 @@ "group.earlier": { "message": "更早", "description": "网页中的分组名称,即 更早" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } } diff --git a/src/i18n/zh-CN/common.json b/src/i18n/zh-CN/common.json index 17a0ba23..18998d8e 100644 --- a/src/i18n/zh-CN/common.json +++ b/src/i18n/zh-CN/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "功能设置", "description": "设置页面中的功能设置部分的标题" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } } diff --git a/src/i18n/zh-CN/site.json b/src/i18n/zh-CN/site.json index 1350679c..c6f85c9c 100644 --- a/src/i18n/zh-CN/site.json +++ b/src/i18n/zh-CN/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "已禁用", "description": "开关文字,表示已经禁用" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } } diff --git a/src/i18n/zh-TW/chat.json b/src/i18n/zh-TW/chat.json index 050f8ba0..556f58a2 100644 --- a/src/i18n/zh-TW/chat.json +++ b/src/i18n/zh-TW/chat.json @@ -206,5 +206,37 @@ "group.earlier": { "message": "更早", "description": "网页中的分组名称,即 更早" + }, + "modelGroup.gemini": { + "message": "Gemini", + "description": "The name of the service model, i.e., Gemini" + }, + "modelGroup.geminiDescription": { + "message": "AI model developed by Google", + "description": "Description of the Gemini model" + }, + "model.gemini30Pro": { + "message": "gemini-3.0-pro", + "description": "The name of the service model" + }, + "model.gemini30ProDescription": { + "message": "Suitable for advanced reasoning and multimodal tasks", + "description": "Description of the Gemini 3.0 Pro model" + }, + "model.gemini25Pro": { + "message": "gemini-2.5-pro", + "description": "The name of the service model" + }, + "model.gemini25ProDescription": { + "message": "Great all-round model", + "description": "Description of the Gemini 2.5 Pro model" + }, + "model.gemini25Flash": { + "message": "gemini-2.5-flash", + "description": "The name of the service model" + }, + "model.gemini25FlashDescription": { + "message": "Fast and lightweight Gemini model", + "description": "Description of the Gemini 2.5 Flash model" } -} \ No newline at end of file +} diff --git a/src/i18n/zh-TW/common.json b/src/i18n/zh-TW/common.json index 241fa9b2..3096430e 100644 --- a/src/i18n/zh-TW/common.json +++ b/src/i18n/zh-TW/common.json @@ -566,5 +566,9 @@ "settings.function": { "message": "功能設置", "description": "設置頁面中的功能設置部分的標題" + }, + "nav.gemini": { + "message": "Gemini", + "description": "Text in the website navigation bar to display the Gemini page, must remain as 'Gemini'" } -} \ No newline at end of file +} diff --git a/src/i18n/zh-TW/site.json b/src/i18n/zh-TW/site.json index 3dca16e4..a6d27135 100644 --- a/src/i18n/zh-TW/site.json +++ b/src/i18n/zh-TW/site.json @@ -374,5 +374,13 @@ "button.disabled": { "message": "已禁用", "description": "開關文字,表示已經禁用" + }, + "field.featuresGemini": { + "message": "Gemini", + "description": "Displayed as the title in the editing box" + }, + "message.featuresGemini": { + "message": "Enable or disable the Gemini feature module.", + "description": "Description of the Gemini feature" } -} \ No newline at end of file +} diff --git a/src/models/chat.ts b/src/models/chat.ts index 079a1681..6d960f9f 100644 --- a/src/models/chat.ts +++ b/src/models/chat.ts @@ -19,7 +19,10 @@ import { CHAT_MODEL_NAME_GPT_5_MINI, CHAT_MODEL_NAME_GPT_5_ALL, CHAT_MODEL_NAME_GPT_4O_ALL, - CHAT_MODEL_NAME_GROK_4 + CHAT_MODEL_NAME_GROK_4, + CHAT_MODEL_NAME_GEMINI_2_5_FLASH, + CHAT_MODEL_NAME_GEMINI_2_5_PRO, + CHAT_MODEL_NAME_GEMINI_3_0_PRO } from '@/constants'; export type IChatModelName = @@ -41,13 +44,16 @@ export type IChatModelName = | typeof CHAT_MODEL_NAME_O3 | typeof CHAT_MODEL_NAME_O4_MINI | typeof CHAT_MODEL_NAME_GPT_4O_IMAGE - | typeof CHAT_MODEL_NAME_O3; + | typeof CHAT_MODEL_NAME_O3 + | typeof CHAT_MODEL_NAME_GEMINI_3_0_PRO + | typeof CHAT_MODEL_NAME_GEMINI_2_5_PRO + | typeof CHAT_MODEL_NAME_GEMINI_2_5_FLASH; export interface IChatModel { enabled?: boolean; name: IChatModelName; icon: string; - modelGroup?: 'chatgpt' | 'deepseek' | 'grok'; + modelGroup?: 'chatgpt' | 'deepseek' | 'grok' | 'gemini'; getDisplayName: () => string; getDescription: () => string; isSearchSupported?: boolean; @@ -58,7 +64,7 @@ export interface IChatModel { } export interface IChatModelGroup { - name: 'chatgpt' | 'deepseek' | 'grok'; + name: 'chatgpt' | 'deepseek' | 'grok' | 'gemini'; icon: string; getDisplayName: () => string; getDescription: () => string; diff --git a/src/models/site.ts b/src/models/site.ts index 405bf365..82f3d0c3 100644 --- a/src/models/site.ts +++ b/src/models/site.ts @@ -2,6 +2,7 @@ export interface ISiteFeatures { chatgpt?: any; deepseek?: any; grok?: any; + gemini?: any; midjourney?: any; flux?: any; qrart?: any; diff --git a/src/router/constants.ts b/src/router/constants.ts index 3e353869..e8d058ce 100644 --- a/src/router/constants.ts +++ b/src/router/constants.ts @@ -13,6 +13,8 @@ export const ROUTE_DEEPSEEK_CONVERSATION_NEW = 'deepseek-conversation-new'; export const ROUTE_GROK_CONVERSATION = 'grok-conversation'; export const ROUTE_GROK_CONVERSATION_NEW = 'grok-conversation-new'; +export const ROUTE_GEMINI_CONVERSATION = 'gemini-conversation'; +export const ROUTE_GEMINI_CONVERSATION_NEW = 'gemini-conversation-new'; export const ROUTE_MIDJOURNEY_INDEX = 'midjourney-index'; diff --git a/src/router/gemini.ts b/src/router/gemini.ts new file mode 100644 index 00000000..06172095 --- /dev/null +++ b/src/router/gemini.ts @@ -0,0 +1,29 @@ +import { CHAT_MODEL_GROUP_GEMINI } from '@/constants'; +import { ROUTE_GEMINI_CONVERSATION, ROUTE_GEMINI_CONVERSATION_NEW } from './constants'; + +export default { + path: '/gemini', + meta: { + modelGroup: CHAT_MODEL_GROUP_GEMINI, + appName: 'chat' + }, + component: () => import('@/layouts/Main.vue'), + children: [ + { + path: '', + redirect: { + name: ROUTE_GEMINI_CONVERSATION_NEW + } + }, + { + path: 'conversations', + name: ROUTE_GEMINI_CONVERSATION_NEW, + component: () => import('@/pages/chat/Conversation.vue') + }, + { + path: 'conversations/:id', + name: ROUTE_GEMINI_CONVERSATION, + component: () => import('@/pages/chat/Conversation.vue') + } + ] +}; diff --git a/src/router/index.ts b/src/router/index.ts index f9930b43..bbaeeab3 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from 'vue-router'; import auth from './auth'; import console from './console'; import grok from './grok'; +import gemini from './gemini'; import deepseek from './deepseek'; import chatgpt from './chatgpt'; import midjourney from './midjourney'; @@ -35,6 +36,7 @@ const routes = [ auth, chatgpt, grok, + gemini, deepseek, qrart, luma,