Update localization strings and settings

This commit is contained in:
n4ze3m 2024-03-27 20:00:13 +05:30
parent 65774fe844
commit f5eca6a97b
7 changed files with 15 additions and 13 deletions

View File

@ -2,7 +2,7 @@
"newChat": "പുതിയ ചാറ്റ്",
"selectAPrompt": "ഒരു പ്രോംപ്റ്റ് തിരഞ്ഞെടുക്കുക",
"githubRepository": "ഗിറ്റ്ഹബ് റെപ്പോസിറ്ററി",
"settings": "ക്രമീകരണങ്ങള്‍",
"settings": "സെറ്റിംഗുകൾ",
"sidebarTitle": "ചാറ്റ് ചരിത്രം",
"error": "പിശക്",
"somethingWentWrong": "എന്തോ തെറ്റായി",

View File

@ -6,7 +6,7 @@
},
"formError": {
"noModel": "ദയവായി ഒരു മോഡല്‍ തിരഞ്ഞെടുക്കുക",
"noEmbeddingModel": "ക്രമീകരണങ്ങള്‍ > ഒല്ലാമ പേജിലുള്ള എംബെഡിംഗ് മോഡല്‍ സജ്ജീകരിക്കുക"
"noEmbeddingModel": "സെറ്റിംഗുകൾ > ഒല്ലാമ പേജിലുള്ള എംബെഡിംഗ് മോഡല്‍ സജ്ജീകരിക്കുക"
},
"form": {
"textarea": {

View File

@ -1,7 +1,7 @@
{
"generalSettings": {
"title": "പൊതുവായ ക്രമീകരണങ്ങള്‍",
"heading": "വെബ് UI ക്രമീകരണങ്ങള്‍",
"title": "പൊതുവായ സെറ്റിംഗുകൾ",
"heading": "വെബ് UI സെറ്റിംഗുകൾ",
"settings": {
"speechRecognitionLang": {
"label": "സംഭാഷണ തിരിച്ചറിയല്‍ ഭാഷ",
@ -160,15 +160,15 @@
}
},
"ollamaSettings": {
"title": "ഒല്ലാമാ ക്രമീകരണങ്ങള്‍",
"heading": "ഒല്ലാമാ കോൺഫിഗർ ചെയ്യുക",
"title": "Ollama സെറ്റിംഗുകൾ",
"heading": "Ollama കോൺഫിഗർ ചെയ്യുക",
"settings": {
"ollamaUrl": {
"label": "ഒല്ലാമാ URL",
"placeholder": "ഒല്ലാമാ URL നല്കുക"
"label": "Ollama URL",
"placeholder": "Ollama URL നല്കുക"
},
"ragSettings": {
"label": "RAG ക്രമീകരണങ്ങള്‍",
"label": "RAG സെറ്റിംഗുകൾ",
"model": {
"label": "എംബെഡിംഗ് മോഡല്‍",
"required": "ദയവായി ഒരു മോഡല്‍ തിരഞ്ഞെടുക്കുക",

View File

@ -11,6 +11,7 @@ export const useI18n = () => {
const changeLocale = (lang: string) => {
setLocale(lang)
i18n.changeLanguage(lang)
localStorage.setItem("i18nextLng", lang)
}
return { locale, changeLocale, supportLanguage }

View File

@ -10,6 +10,7 @@ i18n
resources: {
en: en,
ml: ml,
"zh-CN": zh,
zh: zh
},
fallbackLng: "en",

View File

@ -7,9 +7,9 @@ export const supportLanguage = [
{
label: "മലയാളം",
value: "ml"
}
},
{
label: "Chinese",
value: "zh"
label: "简体中文",
value: "zh-CN"
}
]

View File

@ -24,7 +24,7 @@ export default defineConfig({
srcDir: "src",
outDir: "build",
manifest: {
version: "1.1.0",
version: "1.1.1",
name: '__MSG_extName__',
description: '__MSG_extDescription__',
default_locale: 'en',