feat(webui): optimize frontend terminology and i18n keys
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
<!-- Log Buffer -->
|
||||
<div class="form-control col-span-full">
|
||||
<label class="label">
|
||||
<span class="label-text text-gray-300" x-text="$store.global.t('logBufferSize')">Log Buffer
|
||||
<span class="label-text text-gray-300" x-text="$store.global.t('maxDisplayLogs')">Log Buffer
|
||||
Size</span>
|
||||
<span class="label-text-alt font-mono text-neon-purple"
|
||||
x-text="$store.settings.logLimit + ' ' + $store.global.t('lines')"></span>
|
||||
@@ -303,7 +303,7 @@
|
||||
</div>
|
||||
|
||||
<div class="divider text-xs font-mono text-gray-600 my-2"
|
||||
x-text="$store.global.t('aliasOverrides')">ALIAS OVERRIDES</div>
|
||||
x-text="$store.global.t('defaultModelAliases')">DEFAULT MODEL ALIASES</div>
|
||||
|
||||
<!-- Overrides -->
|
||||
<div class="space-y-4">
|
||||
@@ -460,7 +460,7 @@
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4" />
|
||||
</svg>
|
||||
<span x-show="!loading" x-text="$store.global.t('writeToConfig')">Write to Config</span>
|
||||
<span x-show="!loading" x-text="$store.global.t('applyToClaude')">Apply to Claude CLI</span>
|
||||
<span x-show="loading" class="loading loading-spinner loading-xs"></span>
|
||||
</button>
|
||||
</div>
|
||||
@@ -524,7 +524,7 @@
|
||||
<div x-show="!isEditing(modelId)"
|
||||
class="flex items-center gap-2 group-hover:text-white transition-colors cursor-pointer py-2"
|
||||
@click="startEditing(modelId); newMapping = config.mapping || ''; $nextTick(() => $refs['input-' + modelId]?.focus())">
|
||||
<span x-text="config.mapping || 'Click to set...'"
|
||||
<span x-text="config.mapping || $store.global.t('clickToSet')"
|
||||
:class="{'text-gray-600 italic': !config.mapping, 'text-gray-300': config.mapping}"
|
||||
class="text-xs font-mono"></span>
|
||||
<svg class="w-3 h-3 text-gray-600 opacity-0 group-hover:opacity-100 transition-opacity"
|
||||
@@ -698,7 +698,7 @@
|
||||
<div class="flex flex-col gap-1">
|
||||
<span class="text-sm font-medium text-gray-200"
|
||||
:class="serverConfig.persistTokenCache ? 'text-neon-green' : ''"
|
||||
x-text="$store.global.t('persistTokenCache')">Persist Token Cache</span>
|
||||
x-text="$store.global.t('persistentSessions')">Persist Token Cache</span>
|
||||
<span class="text-[11px] text-gray-500"
|
||||
x-text="$store.global.t('persistTokenDesc')">Save OAuth tokens to disk for faster
|
||||
restarts</span>
|
||||
@@ -729,9 +729,9 @@
|
||||
</div>
|
||||
<div>
|
||||
<span class="text-sm font-semibold text-gray-200"
|
||||
x-text="$store.global.t('dangerZone')">Advanced Tuning</span>
|
||||
x-text="$store.global.t('advancedSettings')">Advanced Settings</span>
|
||||
<span class="text-[10px] text-gray-600 block"
|
||||
x-text="$store.global.t('serverReadOnly')">Experienced users only</span>
|
||||
x-text="$store.global.t('serverReadOnly')">Settings managed via config.json</span>
|
||||
</div>
|
||||
</div>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
Reference in New Issue
Block a user