Skip to content

Commit

Permalink
🌐 feat: Update Russian and English localy (LLM tab)
Browse files Browse the repository at this point in the history
  • Loading branch information
bropines committed Sep 11, 2023
1 parent 70ae7aa commit 3b23e70
Show file tree
Hide file tree
Showing 2 changed files with 120 additions and 2 deletions.
61 changes: 60 additions & 1 deletion locales/en_US/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,64 @@
"session": "Session Settings",
"sessionWithName": "Session Settings Β· {{name}}"
},
"llm": {
"AzureOpenAI": {
"endpoint": {
"desc": "This value can be found in the Keys and Endpoints section when checking out a resource on an Azure site.",
"placeholder": "https://docs-test-001.openai.azure.com",
"title": "Azure API URL"
},
"models": {
"desc": "Supported models",
"title": "List of models"
},
"title": "Azure OpenAI Settings",
"token": {
"desc": "This value can be found in the Keys and Endpoints section when checking out a resource on an Azure site. You can use KEY1 or KEY2",
"placeholder": "Azure API Key",
"title": "API Key"
}
},
"OpenAI": {
"azureApiVersion": {
"desc": "Azure API version in YYYY-MM-DD format, check [latest version](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
"fetch": "Get list",
"title": "Azure API version"
},
"check": {
"button": "Check",
"desc": "Check that the Api Key and proxy server address are filled in correctly.",
"pass": "Connection successful",
"title": "Checking connectivity"
},
"endpoint": {
"desc": "Must contain http(s):// in addition to the default address.",
"placeholder": "https://api.openai.com/v1",
"title": "API proxy address"
},
"models": {
"count": "Total supported models: {{count}}",
"desc": "Supported models",
"fetch": "Fetching the list of models",
"notSupport": "Azure OpenAI currently does not support viewing lists of models",
"notSupportTip": "Make sure that the deployment name matches the model name",
"refetch": "Fetching the list of models",
"title": "List of models"
},
"title": "OpenAI Settings",
"token": {
"desc": "Use your own OpenAI key",
"placeholder": "OpenAI API Key",
"title": "API Key"
},
"useAzure": {
"desc": "Using OpenAI services from Azure",
"fetch": "Get list",
"title": "Azure OpenAI"
}
},
"waitingForMore": "<1>Access to other models is planned</1>, so stay tuned ✨"
},
"settingAgent": {
"avatar": {
"title": "Avatar"
Expand Down Expand Up @@ -170,6 +228,7 @@
},
"tab": {
"agent": "Default Assistant",
"common": "Common Settings"
"common": "Common Settings",
"llm": "Custom LLM API"
}
}
61 changes: 60 additions & 1 deletion locales/ru_RU/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,64 @@
"session": "Настройки сСссии",
"sessionWithName": "Настройки сСссии Β· {{name}}"
},
"llm": {
"AzureOpenAI": {
"endpoint": {
"desc": "Π­Ρ‚ΠΎ Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡ‚ΠΈ Π² Ρ€Π°Π·Π΄Π΅Π»Π΅ Β«ΠšΠ»ΡŽΡ‡ΠΈ ΠΈ ΠΊΠΎΠ½Π΅Ρ‡Π½Ρ‹Π΅ Ρ‚ΠΎΡ‡ΠΊΠΈΒ» ΠΏΡ€ΠΈ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠ΅ рСсурса Π½Π° сайтС Azure.",
"placeholder": "https://docs-test-001.openai.azure.com",
"title": "АдрСс API Azure"
},
"models": {
"desc": "ΠŸΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅ΠΌΡ‹Π΅ ΠΌΠΎΠ΄Π΅Π»ΠΈ",
"title": "Бписок модСлСй"
},
"title": "Настройки Azure OpenAI",
"token": {
"desc": "Π­Ρ‚ΠΎ Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡ‚ΠΈ Π² Ρ€Π°Π·Π΄Π΅Π»Π΅ Β«ΠšΠ»ΡŽΡ‡ΠΈ ΠΈ ΠΊΠΎΠ½Π΅Ρ‡Π½Ρ‹Π΅ Ρ‚ΠΎΡ‡ΠΊΠΈΒ» ΠΏΡ€ΠΈ ΠΏΡ€ΠΎΠ²Π΅Ρ€ΠΊΠ΅ рСсурса Π½Π° сайтС Azure. МоТно ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ KEY1 ΠΈΠ»ΠΈ KEY2",
"placeholder": "Azure ΠšΠ»ΡŽΡ‡ API",
"title": "ΠšΠ»ΡŽΡ‡ API"
}
},
"OpenAI": {
"azureApiVersion": {
"desc": "ВСрсия API Azure Π² Ρ„ΠΎΡ€ΠΌΠ°Ρ‚Π΅ Π“Π“Π“Π“-ММ-Π”Π”, ΠΏΡ€ΠΎΠ²Π΅Ρ€ΡŒΡ‚Π΅ [послСднюю Π²Π΅Ρ€ΡΠΈΡŽ](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
"fetch": "ΠŸΠΎΠ»ΡƒΡ‡ΠΈΡ‚ΡŒ список",
"title": "ВСрсия Azure Api"
},
"check": {
"button": "ΠŸΡ€ΠΎΠ²Π΅Ρ€ΠΈΡ‚ΡŒ",
"desc": "ΠŸΡ€ΠΎΠ²Π΅Ρ€ΡŒΡ‚Π΅ ΠΏΡ€Π°Π²ΠΈΠ»ΡŒΠ½ΠΎΡΡ‚ΡŒ заполнСния Api Key ΠΈ адрСса прокси-сСрвСра.",
"pass": "ΠŸΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΡƒΡΠΏΠ΅ΡˆΠ½ΠΎ",
"title": "ΠŸΡ€ΠΎΠ²Π΅Ρ€ΠΊΠ° возмоТности ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΡ"
},
"endpoint": {
"desc": "Π”ΠΎΠ»ΠΆΠ΅Π½ ΡΠΎΠ΄Π΅Ρ€ΠΆΠ°Ρ‚ΡŒ http(s):// Π² Π΄ΠΎΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅ ΠΊ адрСсу ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ.",
"placeholder": "https://api.openai.com/v1",
"title": "адрСс API прокси"
},
"models": {
"count": "ВсСго поддСрТиваСтся {{count}} ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ",
"desc": "ΠŸΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅ΠΌΡ‹Π΅ ΠΌΠΎΠ΄Π΅Π»ΠΈ",
"fetch": "ΠŸΠΎΠ»ΡƒΡ‡Π΅Π½ΠΈΠ΅ списка ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ",
"notSupport": "Azure OpenAI Π² настоящСС врСмя Π½Π΅ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅Ρ‚ просмотр списков ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ",
"notSupportTip": "НСобходимо ΡƒΠ±Π΅Π΄ΠΈΡ‚ΡŒΡΡ Π² Ρ‚ΠΎΠΌ, Ρ‡Ρ‚ΠΎ имя развСртывания совпадаСт с ΠΈΠΌΠ΅Π½Π΅ΠΌ ΠΌΠΎΠ΄Π΅Π»ΠΈ",
"refetch": "ΠŸΠΎΠ»ΡƒΡ‡Π΅Π½ΠΈΠ΅ списка ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ",
"title": "Бписок модСлСй"
},
"title": "Настройки OpenAI",
"token": {
"desc": "Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠΉΡ‚Π΅ свой собствСнный ΠΊΠ»ΡŽΡ‡ OpenAI",
"placeholder": "ΠšΠ»ΡŽΡ‡ API OpenAI",
"title": "ΠšΠ»ΡŽΡ‡ API"
},
"useAzure": {
"desc": "ИспользованиС слуТб OpenAI ΠΈΠ· Azure",
"fetch": "ΠŸΠΎΠ»ΡƒΡ‡ΠΈΡ‚ΡŒ список",
"title": "Azure OpenAI"
}
},
"waitingForMore": "<1>ΠŸΠ»Π°Π½ΠΈΡ€ΡƒΠ΅Ρ‚ΡΡ доступ ΠΊ Π΄Ρ€ΡƒΠ³ΠΈΠΌ модСлям</1>, Ρ‚Π°ΠΊ Ρ‡Ρ‚ΠΎ слСдитС Π·Π° обновлСниями ✨"
},
"settingAgent": {
"avatar": {
"title": "Аватар"
Expand Down Expand Up @@ -170,6 +228,7 @@
},
"tab": {
"agent": "ΠŸΠΎΠΌΠΎΡ‰Π½ΠΈΠΊ ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ",
"common": "ΠžΠ±Ρ‰ΠΈΠ΅ настройки"
"common": "ΠžΠ±Ρ‰ΠΈΠ΅ настройки",
"llm": "ΠŸΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»ΡŒΡΠΊΠΈΠΉ API GPT"
}
}

0 comments on commit 3b23e70

Please sign in to comment.