Skip to content

Commit

Permalink
Merge pull request #180 from bropines/main
Browse files Browse the repository at this point in the history
Update translations
  • Loading branch information
canisminor1990 authored Sep 11, 2023
2 parents 37a5a8f + 3b23e70 commit d6cfb73
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 d6cfb73

Please sign in to comment.