Update localization strings and settings
This commit is contained in:
parent
65774fe844
commit
f5eca6a97b
@ -2,7 +2,7 @@
|
|||||||
"newChat": "പുതിയ ചാറ്റ്",
|
"newChat": "പുതിയ ചാറ്റ്",
|
||||||
"selectAPrompt": "ഒരു പ്രോംപ്റ്റ് തിരഞ്ഞെടുക്കുക",
|
"selectAPrompt": "ഒരു പ്രോംപ്റ്റ് തിരഞ്ഞെടുക്കുക",
|
||||||
"githubRepository": "ഗിറ്റ്ഹബ് റെപ്പോസിറ്ററി",
|
"githubRepository": "ഗിറ്റ്ഹബ് റെപ്പോസിറ്ററി",
|
||||||
"settings": "ക്രമീകരണങ്ങള്",
|
"settings": "സെറ്റിംഗുകൾ",
|
||||||
"sidebarTitle": "ചാറ്റ് ചരിത്രം",
|
"sidebarTitle": "ചാറ്റ് ചരിത്രം",
|
||||||
"error": "പിശക്",
|
"error": "പിശക്",
|
||||||
"somethingWentWrong": "എന്തോ തെറ്റായി",
|
"somethingWentWrong": "എന്തോ തെറ്റായി",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"formError": {
|
"formError": {
|
||||||
"noModel": "ദയവായി ഒരു മോഡല് തിരഞ്ഞെടുക്കുക",
|
"noModel": "ദയവായി ഒരു മോഡല് തിരഞ്ഞെടുക്കുക",
|
||||||
"noEmbeddingModel": "ക്രമീകരണങ്ങള് > ഒല്ലാമ പേജിലുള്ള എംബെഡിംഗ് മോഡല് സജ്ജീകരിക്കുക"
|
"noEmbeddingModel": "സെറ്റിംഗുകൾ > ഒല്ലാമ പേജിലുള്ള എംബെഡിംഗ് മോഡല് സജ്ജീകരിക്കുക"
|
||||||
},
|
},
|
||||||
"form": {
|
"form": {
|
||||||
"textarea": {
|
"textarea": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"generalSettings": {
|
"generalSettings": {
|
||||||
"title": "പൊതുവായ ക്രമീകരണങ്ങള്",
|
"title": "പൊതുവായ സെറ്റിംഗുകൾ",
|
||||||
"heading": "വെബ് UI ക്രമീകരണങ്ങള്",
|
"heading": "വെബ് UI സെറ്റിംഗുകൾ",
|
||||||
"settings": {
|
"settings": {
|
||||||
"speechRecognitionLang": {
|
"speechRecognitionLang": {
|
||||||
"label": "സംഭാഷണ തിരിച്ചറിയല് ഭാഷ",
|
"label": "സംഭാഷണ തിരിച്ചറിയല് ഭാഷ",
|
||||||
@ -160,15 +160,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ollamaSettings": {
|
"ollamaSettings": {
|
||||||
"title": "ഒല്ലാമാ ക്രമീകരണങ്ങള്",
|
"title": "Ollama സെറ്റിംഗുകൾ",
|
||||||
"heading": "ഒല്ലാമാ കോൺഫിഗർ ചെയ്യുക",
|
"heading": "Ollama കോൺഫിഗർ ചെയ്യുക",
|
||||||
"settings": {
|
"settings": {
|
||||||
"ollamaUrl": {
|
"ollamaUrl": {
|
||||||
"label": "ഒല്ലാമാ URL",
|
"label": "Ollama URL",
|
||||||
"placeholder": "ഒല്ലാമാ URL നല്കുക"
|
"placeholder": "Ollama URL നല്കുക"
|
||||||
},
|
},
|
||||||
"ragSettings": {
|
"ragSettings": {
|
||||||
"label": "RAG ക്രമീകരണങ്ങള്",
|
"label": "RAG സെറ്റിംഗുകൾ",
|
||||||
"model": {
|
"model": {
|
||||||
"label": "എംബെഡിംഗ് മോഡല്",
|
"label": "എംബെഡിംഗ് മോഡല്",
|
||||||
"required": "ദയവായി ഒരു മോഡല് തിരഞ്ഞെടുക്കുക",
|
"required": "ദയവായി ഒരു മോഡല് തിരഞ്ഞെടുക്കുക",
|
||||||
|
@ -11,6 +11,7 @@ export const useI18n = () => {
|
|||||||
const changeLocale = (lang: string) => {
|
const changeLocale = (lang: string) => {
|
||||||
setLocale(lang)
|
setLocale(lang)
|
||||||
i18n.changeLanguage(lang)
|
i18n.changeLanguage(lang)
|
||||||
|
localStorage.setItem("i18nextLng", lang)
|
||||||
}
|
}
|
||||||
|
|
||||||
return { locale, changeLocale, supportLanguage }
|
return { locale, changeLocale, supportLanguage }
|
||||||
|
@ -10,6 +10,7 @@ i18n
|
|||||||
resources: {
|
resources: {
|
||||||
en: en,
|
en: en,
|
||||||
ml: ml,
|
ml: ml,
|
||||||
|
"zh-CN": zh,
|
||||||
zh: zh
|
zh: zh
|
||||||
},
|
},
|
||||||
fallbackLng: "en",
|
fallbackLng: "en",
|
||||||
|
@ -7,9 +7,9 @@ export const supportLanguage = [
|
|||||||
{
|
{
|
||||||
label: "മലയാളം",
|
label: "മലയാളം",
|
||||||
value: "ml"
|
value: "ml"
|
||||||
}
|
},
|
||||||
{
|
{
|
||||||
label: "Chinese",
|
label: "简体中文",
|
||||||
value: "zh"
|
value: "zh-CN"
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -24,7 +24,7 @@ export default defineConfig({
|
|||||||
srcDir: "src",
|
srcDir: "src",
|
||||||
outDir: "build",
|
outDir: "build",
|
||||||
manifest: {
|
manifest: {
|
||||||
version: "1.1.0",
|
version: "1.1.1",
|
||||||
name: '__MSG_extName__',
|
name: '__MSG_extName__',
|
||||||
description: '__MSG_extDescription__',
|
description: '__MSG_extDescription__',
|
||||||
default_locale: 'en',
|
default_locale: 'en',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user