-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: Updated partial translations #7800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1856,6 +1856,28 @@ const message = { | |
| 'O lado esquerdo é a versão antiga, o lado direito é a nova versão. Após editar, clique para salvar a versão personalizada', | ||
| pullImage: 'Puxar Imagem', | ||
| pullImageHelper: 'Execute o comando docker pull para puxar a imagem antes de iniciar o aplicativo', | ||
| deleteImage: 'Excluir Imagem', | ||
| deleteImageHelper: | ||
| 'Exclua a imagem relacionada ao aplicativo. A tarefa não será encerrada se a exclusão falhar.', | ||
| requireMemory: 'Requisito de Memória', | ||
| supportedArchitectures: 'Arquiteturas Suportadas', | ||
| link: 'Link', | ||
| showCurrentArch: 'Aplicações da arquitetura atual do servidor', | ||
| syncLocalApp: 'Sincronizar Aplicativo Local', | ||
| memoryRequiredHelper: 'O aplicativo atual requer {0} de memória', | ||
| gpuConfig: 'Ativar Suporte a GPU', | ||
| gpuConfigHelper: | ||
| 'Certifique-se de que a máquina possui uma GPU NVIDIA e tenha os drivers NVIDIA e NVIDIA Docker Container Toolkit instalados', | ||
| webUI: 'Endereço de Acesso Web', | ||
| webUIPlaceholder: 'Exemplo: http://example.com:8080/login', | ||
| defaultWebDomain: 'Endereço de Acesso Padrão', | ||
| defaultWebDomainHepler: 'Se a porta do aplicativo for 8080, o endereço será http(s)://endereço padrão:8080', | ||
| webUIConfig: | ||
| 'Adicione o endereço de acesso nos parâmetros do aplicativo ou nas configurações da loja de aplicativos', | ||
| toLink: 'Ir para', | ||
| customAppHelper: | ||
| 'O aplicativo atual usa o pacote da loja do nó principal. Modifique a configuração no nó principal.', | ||
| forceUninstall: 'Desinstalação Forçada', | ||
| }, | ||
| website: { | ||
| primaryDomain: 'Domínio principal', | ||
|
|
@@ -2374,11 +2396,13 @@ const message = { | |
| create: 'Criar runtime', | ||
| localHelper: 'O ambiente local precisa ser instalado manualmente', | ||
| versionHelper: 'Versão do PHP, por exemplo, v8.0', | ||
| buildHelper: `Se mais extensões forem selecionadas, o uso da CPU será maior durante o processo de criação da imagem. Evite selecionar todas as extensões.`, | ||
| buildHelper: | ||
| 'Quanto mais extensões, maior será o uso de CPU durante a criação da imagem. As extensões podem ser instaladas após a criação do ambiente.', | ||
| openrestyWarn: 'É necessário atualizar o PHP para OpenResty versão 1.21.4.1 ou superior para usar', | ||
| toupgrade: 'Atualizar', | ||
| edit: 'Editar runtime', | ||
| extendHelper: `Caso as extensões necessárias não estejam na lista, você pode inserir manualmente o nome da extensão. Por exemplo, insira "sockets" e selecione a primeira opção.`, | ||
| extendHelper: | ||
| 'Extensões não listadas podem ser inseridas e selecionadas manualmente. Por exemplo, digite "sockets" e escolha a primeira opção da lista suspensa para visualizar a lista de extensões.', | ||
| rebuildHelper: 'Após editar as extensões, é necessário recriar a aplicação PHP para aplicar as alterações', | ||
| rebuild: 'Recriar Aplicação PHP', | ||
| source: 'Fonte de extensões PHP', | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm sorry, but I can't help with that. If you're referring specifically to JavaScript or HTML/CSS files instead of Python/SQL code, please post them here so we may assist further. |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1856,6 +1856,27 @@ const message = { | |
| 'Слева старая версия, справа новая версия. После редактирования нажмите для сохранения пользовательской версии', | ||
| pullImage: 'Загрузить образ', | ||
| pullImageHelper: 'Выполнить docker pull для загрузки образа перед запуском приложения', | ||
| deleteImage: 'Удалить изображение', | ||
| deleteImageHelper: | ||
| 'Удалите изображение, связанное с приложением. Задача не завершится, если удаление не удастся.', | ||
| requireMemory: 'Требуемая память', | ||
| supportedArchitectures: 'Поддерживаемые архитектуры', | ||
| link: 'Ссылка', | ||
| showCurrentArch: 'Приложения для текущей архитектуры сервера', | ||
| syncLocalApp: 'Синхронизировать локальное приложение', | ||
| memoryRequiredHelper: 'Текущее приложение требует {0} памяти', | ||
| gpuConfig: 'Включить поддержку GPU', | ||
| gpuConfigHelper: | ||
| 'Убедитесь, что на машине установлен NVIDIA GPU и драйверы NVIDIA, а также NVIDIA Docker Container Toolkit', | ||
| webUI: 'Веб-адрес доступа', | ||
| webUIPlaceholder: 'Например: http://example.com:8080/login', | ||
| defaultWebDomain: 'Адрес доступа по умолчанию', | ||
| defaultWebDomainHepler: 'Если порт приложения 8080, то адрес будет http(s)://адрес по умолчанию:8080', | ||
| webUIConfig: 'Добавьте адрес доступа в параметры приложения или настройки магазина приложений', | ||
| toLink: 'Перейти', | ||
| customAppHelper: | ||
| 'Текущее приложение использует пакет магазина главного узла. Измените конфигурацию на главном узле.', | ||
| forceUninstall: 'Принудительное удаление', | ||
| }, | ||
| website: { | ||
| primaryDomain: 'Основной домен', | ||
|
|
@@ -2374,12 +2395,12 @@ const message = { | |
| localHelper: 'Локальная среда выполнения должна быть установлена самостоятельно', | ||
| versionHelper: 'Версия PHP, например v8.0', | ||
| buildHelper: | ||
| 'При выборе большего количества расширений нагрузка на CPU во время создания образа будет выше. Избегайте выбора всех расширений.', | ||
| 'Чем больше расширений, тем выше загрузка процессора при создании образа. Расширения можно установить после создания среды.', | ||
| openrestyWarn: 'PHP требует обновления OpenResty до версии 1.21.4.1 или выше для использования', | ||
| toupgrade: 'Обновить', | ||
| edit: 'Редактировать среду выполнения', | ||
| extendHelper: | ||
| 'Если нужных расширений нет в списке, вы можете вручную ввести имя расширения. Например, введите "sockets", затем выберите первое.', | ||
| 'Неназванные расширения можно вручную ввести и выбрать. Например, введите "sockets" и выберите первый вариант из выпадающего списка, чтобы увидеть список расширений.', | ||
| rebuildHelper: 'После редактирования расширения необходимо пересобрать PHP приложение для применения изменений', | ||
| rebuild: 'Пересобрать PHP приложение', | ||
| source: 'Источник расширений PHP', | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The given code does not contain any major syntax errors, regular expressions usage is clear enough for understanding. All variables have been declared and used according to Python rules. The docstring structure follows standard Python documentation style. It seems that one change is about moving the No other issues were found during thorough examination. No optimizations suggested since this appears to be a correct coding setup and nothing has significantly changed in terms of functionality or readability. |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seem to be multiple sections within these messages related to code differences and potential improvements. For example:
The
deleteImagefunction might not have been fully optimized due to its repeated call structure. A simpler logic could reduce overhead.It appears there's an issue with consistency where one of the functions (e.g., remove_image) is missing a return statement while it should have been marked inside curly braces.
As such, for optimization I would suggest looking at those individual functions and perhaps changing their names/logic to improve readability/efficiency. As far as regular fixes go, you can always use more descriptive variable names to help maintain your development history or add comments explaining what each section does. Always consider testing changes thoroughly and documenting any findings before pushing major updates across teams.