fix: ssh key, template test

This commit is contained in:
jialin
2026-05-11 19:49:21 +08:00
committed by jialin
parent 63ac4e0e75
commit fc900c8ce6
45 changed files with 1027 additions and 1090 deletions
+35
View File
@@ -0,0 +1,35 @@
export default {
'gpuservice.template': 'Шаблон экземпляра GPU',
'gpuservice.template.add': 'Добавить шаблон экземпляра',
'gpuservice.template.edit': 'Редактировать шаблон экземпляра',
'gpuservice.template.filter.name': 'Фильтр по имени',
'gpuservice.template.filter.vendor': 'Фильтр по производителю',
'gpuservice.template.image': 'Образ',
'gpuservice.template.imagePullPolicy': 'Политика загрузки образа',
'gpuservice.template.imagePullPolicy.always': 'Всегда загружать',
'gpuservice.template.imagePullPolicy.ifNotPresent':
'Загружать при отсутствии',
'gpuservice.template.imagePullPolicy.never': 'Никогда не загружать',
'gpuservice.template.command': 'Команда запуска контейнера',
'gpuservice.template.command.placeholder':
'Один аргумент на строку, например:\n/bin/bash\n-c\nyour command',
'gpuservice.template.mountPath': 'Путь монтирования',
'gpuservice.template.containerDisk': 'Диск контейнера (Gi)',
'gpuservice.template.memory': 'Память (Gi)',
'gpuservice.template.ports': 'Порты',
'gpuservice.template.ports.add': 'Добавить порт',
'gpuservice.template.ports.invalid': 'Заполните настройки портов полностью.',
'gpuservice.template.env': 'Переменные окружения',
'gpuservice.template.env.add': 'Добавить переменную окружения',
'gpuservice.template.env.invalid':
'Заполните переменные окружения полностью.',
'gpuservice.template.env.name': 'Имя',
'gpuservice.template.env.value': 'Значение',
'gpuservice.template.card.image': 'Образ',
'gpuservice.template.card.mount': 'Монтирование',
'gpuservice.template.card.resources': 'Ресурсы',
'gpuservice.template.card.ports': 'Порты',
'gpuservice.publicKey.label': 'Открытый ключ SSH',
'gpuservice.publicKey.placeholder':
'Начинается с ssh-rsa или ssh-ed25519, по одному открытому ключу на строку\n\nПросмотр открытого ключа:\n- RSA\ncat ~/.ssh/id_rsa.pub\n- Ed25519\ncat ~/.ssh/id_ed25519.pub'
};
+6 -1
View File
@@ -53,7 +53,12 @@ export default {
'noresult.instances.title': 'No instances',
'noresult.instances.subTitle':
'There are no running model instances. Deploy a model to create one automatically.',
'noresult.instances.nofound': 'No matching instances found.'
'noresult.instances.nofound': 'No matching instances found.',
'noresult.gpuservice.template.title': 'Нет шаблонов экземпляров',
'noresult.gpuservice.template.subTitle':
'После создания шаблона экземпляра он появится здесь.',
'noresult.gpuservice.template.nofound':
'Подходящие шаблоны экземпляров не найдены.'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========