i18n: add missing translations
This commit is contained in:
@@ -1102,7 +1102,7 @@
|
||||
{#if (params?.use_mmap ?? null) !== null}
|
||||
<div class="flex justify-between items-center mt-1">
|
||||
<div class="text-xs text-gray-500">
|
||||
{params.use_mmap ? 'Enabled' : 'Disabled'}
|
||||
{params.use_mmap ? $i18n.t('Enabled') : $i18n.t('Disabled')}
|
||||
</div>
|
||||
<div class=" pr-2">
|
||||
<Switch bind:state={params.use_mmap} />
|
||||
@@ -1143,7 +1143,7 @@
|
||||
{#if (params?.use_mlock ?? null) !== null}
|
||||
<div class="flex justify-between items-center mt-1">
|
||||
<div class="text-xs text-gray-500">
|
||||
{params.use_mlock ? 'Enabled' : 'Disabled'}
|
||||
{params.use_mlock ? $i18n.t('Enabled') : $i18n.t('Disabled')}
|
||||
</div>
|
||||
|
||||
<div class=" pr-2">
|
||||
|
||||
@@ -263,7 +263,7 @@
|
||||
bind:value={TTSEngineConfig.dtype}
|
||||
placeholder={$i18n.t('Select dtype')}
|
||||
>
|
||||
<option value="" disabled selected>Select dtype</option>
|
||||
<option value="" disabled selected>{$i18n.t('Select dtype')}</option>
|
||||
<option value="fp32">fp32</option>
|
||||
<option value="fp16">fp16</option>
|
||||
<option value="q8">q8</option>
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
>
|
||||
<div>
|
||||
<div class="text-xs flex items-center justify-between mb-2">
|
||||
<div class="font-medium">Actions</div>
|
||||
<div class="font-medium">{$i18n.t('Actions')}</div>
|
||||
|
||||
<div class="flex items-center gap-2 text-gray-700 dark:text-gray-300">
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user