fix: image decode error i18n

This commit is contained in:
2026-10-08 03:06:55 +05:00
parent fce1b20e85
commit 76039f7bf3
4 changed files with 14 additions and 4 deletions
+2
View File
@@ -192,6 +192,8 @@ export const en: Dict = {
"Crop area doesn't fit: offset plus size exceeds the image bounds",
noCanvasCtx: "Canvas 2D context is unavailable in this environment",
badBase64: "Expected a base64 string or a data-uri of an image",
imageDecode:
"Can't read the image — the file is corrupted or the format is unsupported",
qualityRange: "quality must be within 0..1",
svgSize: "Could not determine SVG dimensions",
svgLoad: "Failed to load SVG — check the markup",
+2
View File
@@ -193,6 +193,8 @@ export const ru: Dict = {
"Область не помещается: смещение + размер превышают границы изображения",
noCanvasCtx: "Canvas 2D context недоступен в этом окружении",
badBase64: "Ожидается base64-строка или data-uri изображения",
imageDecode:
"Не удалось прочитать изображение — файл повреждён или формат не поддерживается",
qualityRange: "quality должно быть в диапазоне 0..1",
svgSize: "Не удалось определить размер SVG",
svgLoad: "Не удалось загрузить SVG — проверьте разметку",