feat: add split to parts by tile size

This commit is contained in:
2026-10-07 14:11:32 +05:00
parent 557c74b26e
commit 32cb369ca9
9 changed files with 217 additions and 33 deletions
+9
View File
@@ -235,6 +235,8 @@ export const en: Dict = {
colorTolerance: "Color tolerance",
cols: "Cols",
columns: "Columns",
splitMode: "Split by",
tileSize: "Tile size",
component: "Component",
contrast: "Contrast",
count: "Count",
@@ -323,6 +325,8 @@ export const en: Dict = {
cropArea: "Crop area",
fill: "Fill",
grid: "Grid",
splitMode: "Split by",
tileSize: "Tile size",
noise: "Noise",
offset: "Offset",
options: "Options",
@@ -375,6 +379,11 @@ export const en: Dict = {
orientationSquare: "Square — the sides are equal.",
},
},
"split-into-parts": {
options: {
mode: { grid: "Grid", tile: "Tile size" },
},
},
"show-transparent": {
options: {
mode: { binary: "Black & white mask", highlight: "Color highlight" },
+15
View File
@@ -236,6 +236,8 @@ export const ru: Dict = {
colorTolerance: "Допуск похожести",
cols: "Колонки",
columns: "Столбцы",
splitMode: "Делить по",
tileSize: "Размер тайла",
component: "Компонент",
contrast: "Контраст",
count: "Количество",
@@ -324,6 +326,8 @@ export const ru: Dict = {
cropArea: "Область кадрирования",
fill: "Заливка",
grid: "Сетка",
splitMode: "Режим разделения",
tileSize: "Размер тайла",
noise: "Шум",
offset: "Смещение",
options: "Параметры",
@@ -994,6 +998,17 @@ export const ru: Dict = {
color: "Цвет фона",
},
},
"split-into-parts": {
params: {
mode: "Режим",
columns: "Столбцов",
rows: "Строк",
tile: "Размер тайла",
},
options: {
mode: { grid: "Сетка", tile: "Размер тайла" },
},
},
tile: {
params: { columns: "Столбцов", rows: "Строк" },
},