chore: display warning message after form change in edit model

This commit is contained in:
jialin
2025-04-10 12:21:55 +08:00
parent 1182fdeb43
commit 7c79accda7
23 changed files with 126 additions and 71 deletions
+2 -1
View File
@@ -132,5 +132,6 @@ export default {
'The model requires approximately {vram} VRAM and {ram} RAM.',
'models.form.check.claims2': 'The model requires approximately {vram} VRAM.',
'models.form.update.tips':
'Changes will only apply after you delete and recreate the instance.'
'Changes will only apply after you delete and recreate the instance.',
'models.table.download.progress': 'Download Progress'
};
+1 -1
View File
@@ -51,7 +51,7 @@ export default {
'resources.worker.container.supported': 'Do not support macOS or Windows.',
'resources.worker.current.version': 'Current version is {version}.',
'resources.worker.driver.install':
'Ensure all necessary drivers and libraries are installed on the system prior to installing GPUStack.',
'Install <a href="https://docs.gpustack.ai/latest/installation/installation-requirements/" target="_blank">required drivers and libraries</a> prior to GPUStack installation.',
'resources.worker.select.command':
'Select a label to generate the command and copy it using the copy button.',
'resources.worker.script.install': 'Script Installation',
+4 -2
View File
@@ -129,7 +129,8 @@ export default {
'The model requires approximately {vram} VRAM and {ram} RAM.',
'models.form.check.claims2': 'The model requires approximately {vram} VRAM.',
'models.form.update.tips':
'Changes will only apply after you delete and recreate the instance.'
'Changes will only apply after you delete and recreate the instance.',
'models.table.download.progress': 'Download Progress'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -147,5 +148,6 @@ export default {
// 12. 'models.form.check.claims',
// 13. 'model.deploy.search.placeholder',
// 14. 'models.form.update.tips,
// 15. models.form.check.claims2
// 15. models.form.check.claims2,
// 16. 'models.table.download.progress'
// ========== End of To-Do List ==========
+2 -1
View File
@@ -52,7 +52,7 @@ export default {
'MacOSまたはWindowsはサポートされていません。',
'resources.worker.current.version': '現在のバージョンは {version} です。',
'resources.worker.driver.install':
'GPUStackをインストールする前に、必要なすべてのドライバーとライブラリがシステムにインストールされていることを確認してください。',
'Install <a href="https://docs.gpustack.ai/latest/installation/installation-requirements/" target="_blank">required drivers and libraries</a> prior to GPUStack installation.',
'resources.worker.select.command':
'ラベルを選択してコマンドを生成し、コピーを使用してコマンドをコピーします。',
'resources.worker.script.install': 'スクリプトインストール',
@@ -95,4 +95,5 @@ export default {
// 16. 'resources.filter.path',
// 17. 'resources.form.workerSelector.description,
// 18. 'resources.worker.cann.tips',
// 19. 'resources.worker.driver.install'
// ========== End of To-Do List ==========
+3 -1
View File
@@ -132,7 +132,8 @@ export default {
'Модель требует примерно {vram} VRAM и {ram} RAM.',
'models.form.check.claims2': 'Модель требует примерно {vram} VRAM.',
'models.form.update.tips':
'Changes will only apply after you delete and recreate the instance.'
'Changes will only apply after you delete and recreate the instance.',
'models.table.download.progress': 'Download Progress'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -140,4 +141,5 @@ export default {
// 2. 'models.form.partialoffload.tips
// 3. 'model.deploy.search.placeholder',
// 4. 'models.form.update.tips',
// 5. 'models.table.download.progress
// ========== End of To-Do List ==========
+3 -2
View File
@@ -51,7 +51,7 @@ export default {
'resources.worker.container.supported': 'Только для Linux.',
'resources.worker.current.version': 'Текущая версия: {version}',
'resources.worker.driver.install':
'Установите необходимые драйверы и библиотеки перед установкой GPUStack.',
'Install <a href="https://docs.gpustack.ai/latest/installation/installation-requirements/" target="_blank">required drivers and libraries</a> prior to GPUStack installation.',
'resources.worker.select.command':
'Выберите метку для генерации команды и скопируйте её.',
'resources.worker.script.install': 'Установка скриптом',
@@ -76,5 +76,6 @@ export default {
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'resources.worker.cann.tips',
// 2. 'resources.worker.add.step2.tips'
// 2. 'resources.worker.add.step2.tips',
// 3. 'resources.worker.driver.install'
// ========== End of To-Do List ==========
+2 -1
View File
@@ -124,5 +124,6 @@ export default {
'models.form.check.passed': '兼容性检查通过',
'models.form.check.claims': '该模型大约需要 {vram} 显存和 {ram} 内存。',
'models.form.check.claims2': '该模型大约需要 {vram} 显存。',
'models.form.update.tips': '更改仅在删除并重新创建实例后生效。'
'models.form.update.tips': '更改仅在删除并重新创建实例后生效。',
'models.table.download.progress': '下载进度'
};
+1 -1
View File
@@ -27,7 +27,7 @@ export default {
'playground.params.seed.tips':
'如果指定,系统将尽最大努力进行确定性采样,以便使用相同 Seed 和参数的重复请求应返回相同的结果。',
'playground.params.stop.tips':
'停止序列是一个预定义或用户指定的文本字符串,当这些序列出现时,它会提示 AI 停止生成后续的 Token',
'停止序列是一个预定义或用户指定的文本字符串,当这些序列出现时,它会提示 AI 停止生成后续的 Token',
'playground.viewcode.tips':
'{here} 查看 API 密钥。您应该使用环境变量或密钥管理工具将您的密钥暴露给您的应用程序。',
'playground.viewcode.here': '这里',
+1 -1
View File
@@ -51,7 +51,7 @@ export default {
'resources.worker.current.version': '当前版本为 {version}',
'resources.worker.select.command': '选择一个标签生成命令并使用复制按钮复制',
'resources.worker.driver.install':
'在安装 GPUStack 之前,确保系统上安装了所有必需的驱动程序和库',
'在安装 GPUStack 之前,请安装<a href="https://docs.gpustack.ai/latest/installation/installation-requirements/" target="_blank">所需的驱动程序和库</a>。',
'resources.worker.script.install': '脚本安装',
'resources.worker.container.install': '容器安装(仅支持 Linux)',
'resources.worker.cann.tips':