diff --git a/src/renderer/src/config/translate.ts b/src/renderer/src/config/translate.ts index cbac95aafa..d707fa0431 100644 --- a/src/renderer/src/config/translate.ts +++ b/src/renderer/src/config/translate.ts @@ -134,6 +134,13 @@ export const MALAY: Language = { emoji: '🇲🇾' } +export const UKRAINIAN: Language = { + value: 'Ukrainian', + langCode: 'uk-ua', + label: () => i18n.t('languages.ukrainian'), + emoji: '🇺🇦' +} + export const LanguagesEnum = { enUS: ENGLISH, zhCN: CHINESE_SIMPLIFIED, @@ -153,7 +160,8 @@ export const LanguagesEnum = { viVN: VIETNAMESE, idID: INDONESIAN, urPK: URDU, - msMY: MALAY + msMY: MALAY, + ukUA: UKRAINIAN } as const export const translateLanguageOptions: Language[] = Object.values(LanguagesEnum) diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index b85f02de08..17fc2d8ab4 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -911,6 +911,7 @@ "spanish": "Spanish", "thai": "Thai", "turkish": "Turkish", + "ukrainian": "Ukrainian", "urdu": "Urdu", "vietnamese": "Vietnamese" }, diff --git a/src/renderer/src/i18n/locales/ja-jp.json b/src/renderer/src/i18n/locales/ja-jp.json index 061bf53ddf..385c84d5c3 100644 --- a/src/renderer/src/i18n/locales/ja-jp.json +++ b/src/renderer/src/i18n/locales/ja-jp.json @@ -911,6 +911,7 @@ "spanish": "スペイン語", "thai": "タイ語", "turkish": "トルコ語", + "ukrainian": "ウクライナ語", "urdu": "ウルドゥー語", "vietnamese": "ベトナム語" }, diff --git a/src/renderer/src/i18n/locales/ru-ru.json b/src/renderer/src/i18n/locales/ru-ru.json index 6b31df5b1b..5849110ed5 100644 --- a/src/renderer/src/i18n/locales/ru-ru.json +++ b/src/renderer/src/i18n/locales/ru-ru.json @@ -911,6 +911,7 @@ "spanish": "Испанский", "thai": "Тайский", "turkish": "Туркменский", + "ukrainian": "украинский язык", "urdu": "Урду", "vietnamese": "Вьетнамский" }, diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index 0c986e1f94..d77802c20e 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -911,6 +911,7 @@ "spanish": "西班牙文", "thai": "泰文", "turkish": "土耳其文", + "ukrainian": "乌克兰语", "urdu": "乌尔都文", "vietnamese": "越南文" }, diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json index 2f885bd0d0..7f4069757b 100644 --- a/src/renderer/src/i18n/locales/zh-tw.json +++ b/src/renderer/src/i18n/locales/zh-tw.json @@ -911,6 +911,7 @@ "spanish": "西班牙文", "thai": "泰文", "turkish": "土耳其文", + "ukrainian": "烏克蘭語", "urdu": "烏爾都文", "vietnamese": "越南文" }, diff --git a/src/renderer/src/i18n/translate/el-gr.json b/src/renderer/src/i18n/translate/el-gr.json index 3ccd5822f2..c8e28985e6 100644 --- a/src/renderer/src/i18n/translate/el-gr.json +++ b/src/renderer/src/i18n/translate/el-gr.json @@ -911,6 +911,7 @@ "spanish": "Ισπανικά", "thai": "Ταϊλανδικά", "turkish": "Τουρκικά", + "ukrainian": "ουκρανικά", "urdu": "Ουρντού", "vietnamese": "Βιετναμέζικα" }, @@ -3099,7 +3100,7 @@ "search_placeholder": "Αναζήτηση ID ή ονόματος μονάδας", "title": "Υπηρεσία μονάδων", "vertex_ai": { - "api_host_help": "[to be translated]:Vertex AI 的 API 地址,不建议填写,通常适用于反向代理", + "api_host_help": "Η διεύθυνση API του Vertex AI, δεν συνιστάται να συμπληρωθεί, συνήθως κατάλληλη για αντίστροφη διαμεσολάβηση", "documentation": "Δείτε την επίσημη τεκμηρίωση για περισσότερες λεπτομέρειες ρύθμισης:", "learn_more": "Μάθετε περισσότερα", "location": "Περιοχή", diff --git a/src/renderer/src/i18n/translate/es-es.json b/src/renderer/src/i18n/translate/es-es.json index bee9fc0bf2..ba70b55f69 100644 --- a/src/renderer/src/i18n/translate/es-es.json +++ b/src/renderer/src/i18n/translate/es-es.json @@ -911,6 +911,7 @@ "spanish": "Español", "thai": "tailandés", "turkish": "turco", + "ukrainian": "ucraniano", "urdu": "urdu", "vietnamese": "vietnamita" }, @@ -3099,7 +3100,7 @@ "search_placeholder": "Buscar ID o nombre del modelo", "title": "Servicio de modelos", "vertex_ai": { - "api_host_help": "[to be translated]:Vertex AI 的 API 地址,不建议填写,通常适用于反向代理", + "api_host_help": "Dirección de la API de Vertex AI, no se recomienda completar, normalmente aplicable al proxy inverso", "documentation": "Consulte la documentación oficial para obtener más detalles de configuración:", "learn_more": "Más información", "location": "Región", diff --git a/src/renderer/src/i18n/translate/fr-fr.json b/src/renderer/src/i18n/translate/fr-fr.json index 6d05e213db..a86d4793a4 100644 --- a/src/renderer/src/i18n/translate/fr-fr.json +++ b/src/renderer/src/i18n/translate/fr-fr.json @@ -911,6 +911,7 @@ "spanish": "Espagnol", "thai": "Thaï", "turkish": "Turc", + "ukrainian": "ukrainien", "urdu": "Ourdou", "vietnamese": "Vietnamien" }, @@ -3099,7 +3100,7 @@ "search_placeholder": "Rechercher un ID ou un nom de modèle", "title": "Services de modèles", "vertex_ai": { - "api_host_help": "[to be translated]:Vertex AI 的 API 地址,不建议填写,通常适用于反向代理", + "api_host_help": "Adresse API de Vertex AI, il n'est pas recommandé de la remplir, généralement utilisée pour un proxy inverse", "documentation": "Consultez la documentation officielle pour plus de détails sur la configuration :", "learn_more": "En savoir plus", "location": "Région", diff --git a/src/renderer/src/i18n/translate/pt-pt.json b/src/renderer/src/i18n/translate/pt-pt.json index 6c1e3166d3..6204e7ba04 100644 --- a/src/renderer/src/i18n/translate/pt-pt.json +++ b/src/renderer/src/i18n/translate/pt-pt.json @@ -911,6 +911,7 @@ "spanish": "Espanhol", "thai": "Tailandês", "turkish": "Turco", + "ukrainian": "ucraniano", "urdu": "Urdu", "vietnamese": "Vietnamita" }, @@ -3099,7 +3100,7 @@ "search_placeholder": "Procurar ID ou nome do modelo", "title": "Serviços de Modelos", "vertex_ai": { - "api_host_help": "[to be translated]:Vertex AI 的 API 地址,不建议填写,通常适用于反向代理", + "api_host_help": "O endereço da API do Vertex AI, não é recomendado preencher, normalmente aplicável a proxy reverso", "documentation": "Consulte a documentação oficial para obter mais detalhes de configuração:", "learn_more": "Saiba mais", "location": "Região", diff --git a/src/renderer/src/types/index.ts b/src/renderer/src/types/index.ts index d7348fd5a5..c2340e5b65 100644 --- a/src/renderer/src/types/index.ts +++ b/src/renderer/src/types/index.ts @@ -524,6 +524,7 @@ export type LanguageCode = | 'id-id' | 'ur-pk' | 'ms-my' + | 'uk-ua' // langCode应当能够唯一确认一种语言 export type Language = {