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
+3 -2
View File
@@ -3,6 +3,7 @@
import { downloadBlob, encode } from '$lib/core/io';
import type { PixelImage } from '$lib/core/types';
import type { OutputFormat } from '$lib/registry';
import { t } from '$lib/i18n/t';
interface Props {
image: PixelImage | null;
@@ -38,8 +39,8 @@
fullWidth
disabled={!image || !format}
{busy}
busyText="Готовим файл…"
busyText={t('download.busy')}
onclick={download}
>
Скачать .{format?.ext ?? 'png'}
{t('download.file', { ext: format?.ext ?? 'png' })}
</Button>