Update
This commit is contained in:
@@ -320,11 +320,16 @@
|
||||
<label>Văn bản cần dịch</label>
|
||||
<textarea id="trans-input" style="font-size:18px" placeholder="Nhập hoặc bôi đen rồi chuột phải..."></textarea>
|
||||
|
||||
<div style="display: flex">
|
||||
<div>
|
||||
<label>Ngôn ngữ đích</label>
|
||||
<select id="trans-target">${LANGS.map(l => `<option value="${l.value}" ${l.value === 'ja' ?'selected': ''}>${l.label}</option>`).join('')}</select>
|
||||
<select id="trans-target">${LANGS.map(l => `<option value="${l.value}" ${l.value === 'ja' ? 'selected' : ''}>${l.label}</option>`).join('')}</select>
|
||||
</div>
|
||||
<div>
|
||||
<label>Model</label>
|
||||
<select id="trans-model">${ModelAI.map(l => `<option value="${l.value}" ${l.value === 'openai' ?'selected': ''}>${l.label}</option>`).join('')}</select>
|
||||
<select id="trans-model">${ModelAI.map(l => `<option value="${l.value}" ${l.value === 'openai' ? 'selected' : ''}>${l.label}</option>`).join('')}</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="primary" id="trans-run">🌐 Dịch</button>
|
||||
|
||||
Reference in New Issue
Block a user