Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Merge main, deduplicate layer labels and optimize browser command code

abc2cb56030984b3e7
diff --cc Cargo.toml
index 7502ff4fd,7502ff4fd..36e608b71
--- a/Cargo.toml
+++ b/Cargo.toml
@@@ -100,6 -100,6 +100,11 @@@ opt-level = "s
[profile.wasm-release.package.photocraft-ui-egui]
opt-level = "z"
++# Prefer compact command dispatch and parameter handling in the browser. Native profiles
++# and the speed-oriented pixel-processing crates below keep their existing settings.
++[profile.wasm-release.package.photocraft-engine]
++opt-level = "z"
++
[profile.wasm-release.package.photocraft-raster]
opt-level = 3
[profile.wasm-release.package.photocraft-color]
diff --cc crates/ui-egui/src/i18n/cs.tsv
index e8282ce1c,81ccc1805..c1f341463
--- a/crates/ui-egui/src/i18n/cs.tsv
+++ b/crates/ui-egui/src/i18n/cs.tsv
@@@ -2564,28 -2568,6 +2568,27 @@@ cameraData Lens Objekti
Snap to Origin Přichytit k počátku
Search settings… Hledat nastavení…
No matching settings Žádná odpovídající nastavení
+ Animation Options Možnosti animace
+ Entire Document Celý dokument
+ Filter Options Možnosti filtrování
+ Layer Bounds Hranice vrstvy
+ Layers Panel Options Možnosti panelu Vrstvy
+ Lock Layers Zamknout vrstvy
+ New Artboard… Nové kreslicí plátno…
+ New Group Nová skupina
+ New Group… Nová skupina…
- New Layer Nová vrstva
+ New Layer… Nová vrstva…
+ Panel Options… Možnosti panelu…
+ Prevent Auto-Nesting Zabránit automatickému vnoření
+ Show Layers Zobrazit vrstvy
+ Thumbnail Contents Obsah miniatur
+ Thumbnail Size Velikost miniatur
+ Use Default Masks on Fill Layers Používat výchozí masky u vrstev výplně
+ Expand New Effects Rozbalovat nové efekty
+ Add “copy” to Copied Layers and Groups Přidávat „kopie“ ke kopírovaným vrstvám a skupinám
+ Preview on canvas when reordering layers Zobrazovat náhled na plátně při změně pořadí vrstev
+ Show layer mask badges Zobrazovat odznaky masek vrstev
+
# Select and Mask view modes (#1754)
Onion Skin Cibulová slupka
Marching Ants Pochodující mravenci
diff --cc crates/ui-egui/src/i18n/de.tsv
index 663ac2f0a,08e86b65e..1c8694954
--- a/crates/ui-egui/src/i18n/de.tsv
+++ b/crates/ui-egui/src/i18n/de.tsv
@@@ -2595,27 -2599,6 +2599,26 @@@ cameraData Lens Objekti
Snap to Origin An Ursprung ausrichten
Search settings… Einstellungen durchsuchen…
No matching settings Keine passenden Einstellungen
+ Animation Options Animationsoptionen
+ Entire Document Gesamtes Dokument
+ Filter Options Filteroptionen
+ Layer Bounds Ebenenbegrenzungen
+ Layers Panel Options Optionen des Ebenenbedienfelds
+ Lock Layers Ebenen sperren
+ New Artboard… Neue Zeichenfläche…
+ New Group… Neue Gruppe…
- New Layer Neue Ebene
+ New Layer… Neue Ebene…
+ Panel Options… Bedienfeldoptionen…
+ Prevent Auto-Nesting Automatisches Verschachteln verhindern
+ Show Layers Ebenen einblenden
+ Thumbnail Contents Miniaturinhalt
+ Thumbnail Size Miniaturgröße
+ Use Default Masks on Fill Layers Standardmasken für Füllebenen verwenden
+ Expand New Effects Neue Effekte aufklappen
+ Add “copy” to Copied Layers and Groups „Kopie“ zu kopierten Ebenen und Gruppen hinzufügen
+ Preview on canvas when reordering layers Vorschau auf der Arbeitsfläche beim Neuanordnen von Ebenen
+ Show layer mask badges Ebenenmasken-Abzeichen anzeigen
+
# Select and Mask view modes (#1754)
Onion Skin Zwiebelschicht
Marching Ants Laufende Ameisen
diff --cc crates/ui-egui/src/i18n/es.tsv
index 0dfb3e0ec,844923df6..3ffc1d908
--- a/crates/ui-egui/src/i18n/es.tsv
+++ b/crates/ui-egui/src/i18n/es.tsv
@@@ -2636,27 -2640,6 +2640,26 @@@ cameraData Lens Objetiv
Snap to Origin Ajustar a origen
Search settings… Buscar ajustes…
No matching settings No hay ajustes que coincidan
+ Animation Options Opciones de animación
+ Entire Document Documento entero
+ Filter Options Opciones de filtro
+ Layer Bounds Límites de capa
+ Layers Panel Options Opciones del panel Capas
+ Lock Layers Bloquear capas
+ New Artboard… Nueva mesa de trabajo…
+ New Group… Nuevo grupo…
- New Layer Nueva capa
+ New Layer… Nueva capa…
+ Panel Options… Opciones de panel…
+ Prevent Auto-Nesting Impedir anidación automática
+ Show Layers Mostrar capas
+ Thumbnail Contents Contenido de miniaturas
+ Thumbnail Size Tamaño de miniaturas
+ Use Default Masks on Fill Layers Usar máscaras predeterminadas en capas de relleno
+ Expand New Effects Expandir nuevos efectos
+ Add “copy” to Copied Layers and Groups Añadir «copia» a las capas y grupos duplicados
+ Preview on canvas when reordering layers Previsualizar en el lienzo al reordenar capas
+ Show layer mask badges Mostrar insignias de máscaras de capa
+
# Select and Mask view modes (#1754)
Onion Skin Papel cebolla
Marching Ants Hormigas en marcha
diff --cc crates/ui-egui/src/i18n/fr.tsv
index 17c12674f,ef63939de..11c6ff933
--- a/crates/ui-egui/src/i18n/fr.tsv
+++ b/crates/ui-egui/src/i18n/fr.tsv
@@@ -2973,25 -2977,6 +2977,24 @@@ cameraData Lens Objecti
Snap to Origin Aligner sur l'origine
Search settings… Rechercher des réglages…
No matching settings Aucun réglage correspondant
+ Animation Options Options d’animation
+ Entire Document Document entier
+ Filter Options Options de filtrage
+ Layer Bounds Limites du calque
+ Layers Panel Options Options du panneau Calques
+ Lock Layers Verrouiller les calques
+ New Artboard… Nouveau plan de travail…
+ New Group… Nouveau groupe…
- New Layer Nouveau calque
+ Prevent Auto-Nesting Empêcher l’imbrication automatique
+ Show Layers Afficher les calques
+ Thumbnail Contents Contenu des vignettes
+ Thumbnail Size Taille des vignettes
+ Use Default Masks on Fill Layers Utiliser les masques par défaut sur les calques de remplissage
+ Expand New Effects Développer les nouveaux effets
+ Add “copy” to Copied Layers and Groups Ajouter « copie » aux calques et groupes dupliqués
+ Preview on canvas when reordering layers Prévisualiser sur la zone de travail lors du réagencement des calques
+ Show layer mask badges Afficher les badges des masques de fusion
+
# Select and Mask view modes (#1754)
Onion Skin Pelure d'oignon
Marching Ants Fourmis en marche
diff --cc crates/ui-egui/src/i18n/id.tsv
index 8837626cb,8a18cbfd8..569dfbdb6
--- a/crates/ui-egui/src/i18n/id.tsv
+++ b/crates/ui-egui/src/i18n/id.tsv
@@@ -2960,25 -2964,6 +2964,24 @@@ cameraData Lens Lens
Snap to Origin Jepret ke Titik Asal
Search settings… Cari pengaturan…
No matching settings Tidak ada pengaturan yang cocok
+ Animation Options Opsi Animasi
+ Entire Document Seluruh Dokumen
+ Filter Options Opsi Filter
+ Layer Bounds Batas Lapisan
+ Layers Panel Options Opsi Panel Lapisan
+ Lock Layers Kunci Lapisan
+ New Artboard… Artboard Baru…
+ New Group… Grup Baru…
- New Layer Lapisan Baru
+ Prevent Auto-Nesting Cegah Pengelompokan Otomatis
+ Show Layers Tampilkan Lapisan
+ Thumbnail Contents Isi Gambar Mini
+ Thumbnail Size Ukuran Gambar Mini
+ Use Default Masks on Fill Layers Gunakan Masker Default pada Lapisan Isian
+ Expand New Effects Perluas Efek Baru
+ Add “copy” to Copied Layers and Groups Tambahkan “salinan” ke Lapisan dan Grup yang Disalin
+ Preview on canvas when reordering layers Pratinjau pada kanvas saat mengurutkan ulang lapisan
+ Show layer mask badges Tampilkan Lencana Masker Lapisan
+
# Select and Mask view modes (#1754)
Onion Skin Kulit Bawang
Marching Ants Semut Berbaris
diff --cc crates/ui-egui/src/i18n/it.tsv
index 5ed328fdb,6fe7c70ee..2a0515495
--- a/crates/ui-egui/src/i18n/it.tsv
+++ b/crates/ui-egui/src/i18n/it.tsv
@@@ -2627,27 -2631,6 +2631,26 @@@ cameraData Lens Obiettiv
Snap to Origin Aggancia all'origine
Search settings… Cerca impostazioni…
No matching settings Nessuna impostazione corrispondente
+ Animation Options Opzioni animazione
+ Entire Document Documento intero
+ Filter Options Opzioni filtro
+ Layer Bounds Limiti livello
+ Layers Panel Options Opzioni pannello Livelli
+ Lock Layers Blocca livelli
+ New Artboard… Nuova tavola da disegno…
+ New Group… Nuovo gruppo…
- New Layer Nuovo livello
+ New Layer… Nuovo livello…
+ Panel Options… Opzioni pannello…
+ Prevent Auto-Nesting Impedisci annidamento automatico
+ Show Layers Mostra livelli
+ Thumbnail Contents Contenuto miniature
+ Thumbnail Size Dimensione miniature
+ Use Default Masks on Fill Layers Usa maschere predefinite sui livelli di riempimento
+ Expand New Effects Espandi nuovi effetti
+ Add “copy” to Copied Layers and Groups Aggiungi «copia» ai livelli e ai gruppi duplicati
+ Preview on canvas when reordering layers Anteprima sulla tela durante il riordino dei livelli
+ Show layer mask badges Mostra distintivi delle maschere di livello
+
# Select and Mask view modes (#1754)
Onion Skin Velina
Marching Ants Formiche in marcia
diff --cc crates/ui-egui/src/i18n/ru.tsv
index b9588fd6a,47c209737..3fca705ad
--- a/crates/ui-egui/src/i18n/ru.tsv
+++ b/crates/ui-egui/src/i18n/ru.tsv
@@@ -2896,25 -2900,6 +2900,24 @@@ cameraData Lens Объекти�
Rasterize Layer Style Растрировать стиль слоя
Search settings… Поиск настроек…
No matching settings Нет подходящих настроек
+ Animation Options Параметры анимации
+ Entire Document Весь документ
+ Filter Options Параметры фильтра
+ Layer Bounds Границы слоя
+ Layers Panel Options Параметры панели «Слои»
+ Lock Layers Блокировка слоёв
+ New Artboard… Новая монтажная область…
+ New Group… Новая группа…
- New Layer Новый слой
+ Prevent Auto-Nesting Запретить автоматическое вложение
+ Show Layers Показать слои
+ Thumbnail Contents Содержимое миниатюр
+ Thumbnail Size Размер миниатюр
+ Use Default Masks on Fill Layers Использовать маски по умолчанию для слоёв-заливок
+ Expand New Effects Раскрывать новые эффекты
+ Add “copy” to Copied Layers and Groups Добавлять «копия» к дублированным слоям и группам
+ Preview on canvas when reordering layers Предпросмотр на холсте при изменении порядка слоёв
+ Show layer mask badges Показывать значки типов масок слоя
+
# Select and Mask view modes (#1754)
Onion Skin Калька
Marching Ants Бегущие муравьи
diff --cc crates/ui-egui/src/i18n/zh-hans.tsv
index 7805e894f,112b15ae0..dbcac4e2f
--- a/crates/ui-egui/src/i18n/zh-hans.tsv
+++ b/crates/ui-egui/src/i18n/zh-hans.tsv
@@@ -2565,28 -2569,6 +2569,27 @@@ cameraData Lens 镜�
Snap to Origin 贴紧原点
Search settings… 搜索设置…
No matching settings 没有匹配的设置
+ Animation Options 动画选项
+ Entire Document 整个文档
+ Filter Options 过滤选项
+ Layer Bounds 图层边界
+ Layers Panel Options 图层面板选项
+ Lock Layers 锁定图层
+ New Artboard… 新建画板…
+ New Group 新建组
+ New Group… 新建组…
- New Layer 新建图层
+ New Layer… 新建图层…
+ Panel Options… 面板选项…
+ Prevent Auto-Nesting 防止自动嵌套
+ Show Layers 显示图层
+ Thumbnail Contents 缩略图内容
+ Thumbnail Size 缩略图大小
+ Use Default Masks on Fill Layers 在填充图层上使用默认蒙版
+ Expand New Effects 展开新效果
+ Add “copy” to Copied Layers and Groups 为复制的图层和组添加“副本”
+ Preview on canvas when reordering layers 重新排列图层时在画布上预览
+ Show layer mask badges 显示图层蒙版标记
+
# Select and Mask view modes (#1754)
Onion Skin 洋葱皮
Marching Ants 蚂蚁线
diff --cc crates/ui-egui/src/i18n/zh-hant.tsv
index bfacecc20,c995125f6..69706e743
--- a/crates/ui-egui/src/i18n/zh-hant.tsv
+++ b/crates/ui-egui/src/i18n/zh-hant.tsv
@@@ -2535,28 -2539,6 +2539,27 @@@ cameraData Lens 鏡�
Snap to Origin 靠齊原點
Search settings… 搜尋設定…
No matching settings 沒有符合的設定
+ Animation Options 動畫選項
+ Entire Document 整份文件
+ Filter Options 篩選選項
+ Layer Bounds 圖層邊界
+ Layers Panel Options 圖層面板選項
+ Lock Layers 鎖定圖層
+ New Artboard… 新增工作區域…
+ New Group 新增群組
+ New Group… 新增群組…
- New Layer 新增圖層
+ New Layer… 新增圖層…
+ Panel Options… 面板選項…
+ Prevent Auto-Nesting 防止自動巢狀
+ Show Layers 顯示圖層
+ Thumbnail Contents 縮圖內容
+ Thumbnail Size 縮圖大小
+ Use Default Masks on Fill Layers 在填色圖層使用預設遮色片
+ Expand New Effects 展開新效果
+ Add “copy” to Copied Layers and Groups 為複製的圖層和群組加上「副本」
+ Preview on canvas when reordering layers 重新排列圖層時在畫布上預覽
+ Show layer mask badges 顯示圖層遮色片標記
+
# Select and Mask view modes (#1754)
Onion Skin 洋蔥皮
Marching Ants 螞蟻線