fix: display templates by manufacturer

This commit is contained in:
jialin
2026-05-11 19:49:21 +08:00
committed by jialin
parent 4128de61f9
commit 9e0dd5b003
27 changed files with 614 additions and 194 deletions
+42 -1
View File
@@ -31,5 +31,46 @@ export default {
'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'
'Начинается с ssh-rsa или ssh-ed25519, по одному открытому ключу на строку\n\nПросмотр открытого ключа:\n- RSA\ncat ~/.ssh/id_rsa.pub\n- Ed25519\ncat ~/.ssh/id_ed25519.pub',
'gpuservice.instance': 'Экземпляр GPU',
'gpuservice.instance.add': 'Добавить экземпляр GPU',
'gpuservice.instance.edit': 'Редактировать экземпляр GPU',
'gpuservice.instance.filter.cluster': 'Фильтр по кластеру',
'gpuservice.instance.name': 'Имя экземпляра',
'gpuservice.instance.name.required': 'Введите имя экземпляра',
'gpuservice.instance.section.basic': 'Основная информация',
'gpuservice.instance.section.type': 'Тип экземпляра',
'gpuservice.instance.section.template': 'Шаблон экземпляра',
'gpuservice.instance.section.storage': 'Том хранилища',
'gpuservice.instance.type.required': 'Выберите тип экземпляра',
'gpuservice.instance.gpuCount': 'Количество GPU',
'gpuservice.instance.gpuCount.required': 'Введите количество GPU',
'gpuservice.instance.gpuCount.max':
'Текущий тип экземпляра поддерживает максимум {count} GPU',
'gpuservice.instance.stock': 'Остаток',
'gpuservice.instance.memory': 'VRAM',
'gpuservice.instance.ram': 'Память',
'gpuservice.instance.search.type.placeholder':
'Поиск по имени, VRAM, памяти или vCPU',
'gpuservice.instance.search.template.placeholder':
'Поиск по имени шаблона, образу или пути монтирования',
'gpuservice.instance.template.image': 'Образ',
'gpuservice.instance.template.mount': 'Монтирование',
'gpuservice.storage': 'Хранилище',
'gpuservice.storage.add': 'Добавить хранилище',
'gpuservice.storage.edit': 'Редактировать хранилище',
'gpuservice.storage.filter.cluster': 'Фильтр по кластеру',
'gpuservice.storage.type': 'Тип хранилища',
'gpuservice.storage.type.local': 'Локальное хранилище',
'gpuservice.storage.type.shared': 'Общее хранилище',
'gpuservice.storage.type.object': 'Объектное хранилище',
'gpuservice.storage.capacity': 'Объём',
'gpuservice.storage.accessMode': 'Режим доступа',
'gpuservice.storage.persistent': 'Постоянное хранилище',
'gpuservice.storage.temporary': 'Временное хранилище',
'gpuservice.storage.persistentVolume': 'Постоянный том',
'gpuservice.storage.persistentVolume.required': 'Выберите постоянный том',
'gpuservice.storage.tempCapacity': 'Объём хранилища (ГБ)',
'gpuservice.storage.tempCapacity.required':
'Введите объём локального временного хранилища'
};
+10 -1
View File
@@ -58,7 +58,16 @@ export default {
'noresult.gpuservice.template.subTitle':
'После создания шаблона экземпляра он появится здесь.',
'noresult.gpuservice.template.nofound':
'Подходящие шаблоны экземпляров не найдены.'
'Подходящие шаблоны экземпляров не найдены.',
'noresult.gpuservice.instance.title': 'Нет экземпляров GPU',
'noresult.gpuservice.instance.subTitle':
'После создания экземпляра GPU он появится здесь.',
'noresult.gpuservice.instance.nofound':
'Подходящие экземпляры GPU не найдены.',
'noresult.gpuservice.storage.title': 'Нет хранилищ',
'noresult.gpuservice.storage.subTitle':
'После создания хранилища оно появится здесь.',
'noresult.gpuservice.storage.nofound': 'Подходящие хранилища не найдены.'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========