chore: add check locales keys

This commit is contained in:
jialin
2025-03-28 19:15:57 +08:00
parent 2079fc1801
commit c0d92fbdd5
7 changed files with 152 additions and 4 deletions
+8 -1
View File
@@ -116,5 +116,12 @@ export default {
'models.form.backend.warning.llamabox':
'llama-boxバックエンドを使用するには、モデルファイルのフルパスを指定してください(例:<span style="font-weight: 700">/data/models/model.gguf</span>)。分割モデルの場合、最初のシャードのパスを指定してください(例:<span style="font-weight: 700">/data/models/model-00001-of-00004.gguf</span>)。',
'models.form.keyvalue.paste':
'複数行のテキストを貼り付けます。各行にはキーと値のペアが含まれ、キーと値は=記号で区切られ、異なるキーと値のペアは改行文字で区切られます。'
'複数行のテキストを貼り付けます。各行にはキーと値のペアが含まれ、キーと値は=記号で区切られ、異なるキーと値のペアは改行文字で区切られます。',
'models.form.files': 'files',
'models.table.status': 'Status'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'models.form.files',
// 2. 'models.table.status'
// ========== End of To-Do List ==========
+30 -1
View File
@@ -56,5 +56,34 @@ export default {
'ラベルを選択してコマンドを生成し、コピーを使用してコマンドをコピーします。',
'resources.worker.script.install': 'スクリプトインストール',
'resources.worker.container.install': 'コンテナインストール(Linuxのみ)',
'resources.worker.cann.tips': `<span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES</span> を必要なGPUインデックスに設定します。GPU0からGPU3の場合、<span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0,1,2,3</span> または <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0-3</span> を使用します。`
'resources.worker.cann.tips': `<span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES</span> を必要なGPUインデックスに設定します。GPU0からGPU3の場合、<span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0,1,2,3</span> または <span style='color: #000;font-weight: 600'>ASCEND_VISIBLE_DEVICES=0-3</span> を使用します。`,
'resources.modelfiles.form.path': 'Storage path',
'resources.modelfiles.modelfile': 'Model Files',
'resources.modelfiles.download': 'Add Model File',
'resources.modelfiles.size': 'Size',
'resources.modelfiles.selecttarget': 'Select Target',
'resources.modelfiles.form.localdir': 'Local Directory',
'resources.modelfiles.form.localdir.tips':
'The default storage directory is <span class="desc-block">/var/lib/gpustack/cache</span> or the directory specified with <span class="desc-block">--data-dir</span>.',
'resources.modelfiles.retry.download': 'Retry Download',
'resources.modelfiles.storagePath.holder':
'Waiting for download to complete...',
'resources.filter.worker': 'Filter by Worker',
'resources.filter.source': 'Filter by Source',
'resources.modelfiles.delete.tips': 'Also delete the file from disk!'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'resources.modelfiles.form.path',
// 2. 'resources.modelfiles.modelfile',
// 3. 'resources.modelfiles.download',
// 4. 'resources.modelfiles.size',
// 5. 'resources.modelfiles.selecttarget',
// 6. 'resources.modelfiles.form.localdir',
// 7. 'resources.modelfiles.form.localdir.tips',
// 8. 'resources.modelfiles.retry.download',
// 9. 'resources.modelfiles.storagePath.holder',
// 10. 'resources.filter.worker',
// 11. 'resources.filter.source',
// 12. 'resources.modelfiles.delete.tips'
// ========== End of To-Do List ==========