feat: move all common messages to i18n (ru\en)

This commit is contained in:
2026-08-25 05:45:34 +05:00
parent 8255d33098
commit 2301b0e165
22 changed files with 100 additions and 87 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
import SliderField from './ui/SliderField.svelte';
import TextField from './ui/TextField.svelte';
import type { ParamDef } from '$lib/registry';
import { t } from '$lib/i18n/t';
interface Props {
params: ParamDef[];
@@ -27,7 +28,7 @@
<div class="params-grid">
{#if hasMask}
<CheckboxField id="show-mask" label="Показать маску" bind:checked={showMask} />
<CheckboxField id="show-mask" label={t('ui.showMask')} bind:checked={showMask} />
{/if}
{#each params as param (param.id)}
<div class="field">