fix: update i18n - fields components

This commit is contained in:
2026-09-13 06:25:53 +05:00
parent 6c88a23e48
commit 4b44bc439c
7 changed files with 33 additions and 22 deletions
@@ -1,4 +1,5 @@
<script lang="ts">
import { t } from "$lib/i18n/t";
import type { FieldSpec, Plate, PlateSpec } from "$lib/registry-schema";
interface Props {
@@ -31,7 +32,7 @@
<span class="plate-label">{label}</span>
<div class="plate-row {current.enabled ? '' : 'off'}">
<label class="plate-enabled">
<span>Backing plate</span>
<span>{t("ui.backingPlate")}</span>
<input
type="checkbox"
checked={current.enabled}
@@ -49,7 +50,7 @@
</label>
<label class="plate-opacity">
<span>
Opacity
{t("ui.opacity")}
<output>{current.opacity}%</output>
</span>
<input