PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Merge main into fix/5559-bitmap-dialog
David Mannb22b7b46453d
diff --cc crates/ui-egui/src/filter_dialog.rsindex a24468e7e,a908df5eb..f8bc91c23--- a/crates/ui-egui/src/filter_dialog.rs+++ b/crates/ui-egui/src/filter_dialog.rs@@@ -388,9 -396,11 +396,14 @@@ fn apply_command_defaults(app: &Photocrif command == "edit.assignProfile" {assign_profile_defaults(app, fields);}+ if command == crate::bitmap_dialog::COMMAND {+ crate::bitmap_dialog::defaults(app, fields);+ }+ // Photoshop's Replace Color opens with its sample eyedropper active (#6279): the first click+ // on the image picks the colour.+ if command == REPLACE_COLOR {+ fields.insert(COLOR_EYEDROPPER.into(), json!(true));+ }}/// Assign Profile offers only the profiles the document's colour mode can take (#4951): thediff --cc crates/ui-egui/src/i18n/cs.tsvindex 6d960db73,6789b7513..ef6301acc--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@@ -3796,17 -3816,7 +3816,18 @@@ navigator Zoom Zvětšen�There are too many sets: delete one first. Sad je příliš mnoho: nejprve jednu smažte.set name název sady{set} (modified) {set} (změněno)+ Show file name in title Zobrazit název souboru v titulu++# Image › Mode › Bitmap (#5559)+ 50% Threshold 50% práh+ Pattern Dither Rozptyl se vzorkem+ Diffusion Dither Difuzní rozptyl+ Halftone Screen Polotónový rastr+ Custom Pattern Vlastní vzorek+ Frequency: Frekvence:+ Lines/Inch Linky/palec+ Lines/Centimeter Linky/centimetr+ Ellipse ElipsaAccept and Go to Conflict Přijmout a přejít ke konfliktuChanges undone. Změny vráceny.Choose a new shortcut for this command, or leave it without one. Zvolte pro tento příkaz novou zkratku, nebo ho nechte bez ní.diff --cc crates/ui-egui/src/i18n/de.tsvindex 0f3b8f1b2,3aa7e7212..368faa6be--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@@ -3190,17 -3212,7 +3212,18 @@@ curves Smooth GlätteThere are too many sets: delete one first. Zu viele Sätze: Löschen Sie zuerst einen.set name Name des Satzes{set} (modified) {set} (geändert)+ Show file name in title Dateiname im Titel anzeigen++# Image › Mode › Bitmap (#5559)+ 50% Threshold 50 %-Schwellenwert+ Pattern Dither Musterdither+ Diffusion Dither Diffusionsdither+ Halftone Screen Rasterung+ Custom Pattern Eigenes Muster+ Frequency: Frequenz:+ Lines/Inch Linien/Zoll+ Lines/Centimeter Linien/Zentimeter+ Ellipse EllipseAccept and Go to Conflict Übernehmen und zum KonfliktChanges undone. Änderungen rückgängig gemacht.Choose a new shortcut for this command, or leave it without one. Wählen Sie einen neuen Kurzbefehl für diesen Befehl oder lassen Sie ihn ohne.diff --cc crates/ui-egui/src/i18n/el.tsvindex 0fb4a277e,7b653fbbf..374c8ce0c--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@@ -3888,17 -3908,7 +3908,18 @@@ curves Smooth Εξομάλυνσ�There are too many sets: delete one first. Υπάρχουν πάρα πολλά σύνολα: διαγράψτε πρώτα ένα.set name όνομα συνόλου{set} (modified) {set} (τροποποιημένο)+ Show file name in title Εμφάνιση ονόματος αρχείου στον τίτλο++# Image › Mode › Bitmap (#5559)+ 50% Threshold Κατώφλι 50%+ Pattern Dither Πρόσμιξη μοτίβου+ Diffusion Dither Πρόσμιξη διάχυσης+ Halftone Screen Ράστερ ημιτόνων+ Custom Pattern Προσαρμοσμένο μοτίβο+ Frequency: Συχνότητα:+ Lines/Inch Γραμμές/ίντσα+ Lines/Centimeter Γραμμές/εκατοστό+ Ellipse ΈλλειψηAccept and Go to Conflict Αποδοχή και μετάβαση στη σύγκρουσηChanges undone. Οι αλλαγές αναιρέθηκαν.Choose a new shortcut for this command, or leave it without one. Επιλέξτε νέα συντόμευση για αυτήν την εντολή ή αφήστε την χωρίς.diff --cc crates/ui-egui/src/i18n/es.tsvindex f5dbc9fdf,eab6215df..993704b1d--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@@ -4150,17 -4170,7 +4170,18 @@@ navigator Zoom ZooThere are too many sets: delete one first. Hay demasiados conjuntos: elimine uno primero.set name nombre del conjunto{set} (modified) {set} (modificado)+ Show file name in title Mostrar nombre de archivo en el título++# Image › Mode › Bitmap (#5559)+ 50% Threshold Umbral 50%+ Pattern Dither Tramado de motivo+ Diffusion Dither Tramado de difusión+ Halftone Screen Trama de semitonos+ Custom Pattern Motivo personalizado+ Frequency: Frecuencia:+ Lines/Inch Líneas/pulgada+ Lines/Centimeter Líneas/centímetro+ Ellipse ElipseAccept and Go to Conflict Aceptar e ir al conflictoChanges undone. Cambios deshechos.Choose a new shortcut for this command, or leave it without one. Elija un nuevo método abreviado para este comando o déjelo sin ninguno.diff --cc crates/ui-egui/src/i18n/fr.tsvindex 150021bb1,80c7f110f..53c109e91--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@@ -3193,18 -3215,7 +3215,19 @@@ curves Smooth Lisseset name nom du jeu{set} (modified) {set} (modifié)Random Aléatoire+ Show file name in title Afficher le nom de fichier dans le titre++# Image › Mode › Bitmap (#5559)+ 50% Threshold Seuil 50 %+ Pattern Dither Simulation par motif+ Diffusion Dither Simulation par diffusion+ Halftone Screen Trame de demi-teintes+ Custom Pattern Motif personnalisé+ Frequency: Fréquence :+ Lines/Inch Lignes/pouce+ Lines/Centimeter Lignes/centimètre+ Ellipse Ellipse+ Cross CroixAccept and Go to Conflict Accepter et aller au conflitChanges undone. Modifications annulées.Choose a new shortcut for this command, or leave it without one. Choisissez un nouveau raccourci pour cette commande ou laissez-la sans raccourci.diff --cc crates/ui-egui/src/i18n/hu.tsvindex 2dccc6501,ca747637c..665c660ee--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@@ -4107,17 -4127,7 +4127,18 @@@ cameraRaw Yellow SárgThere are too many sets: delete one first. Túl sok készlet van: előbb töröljön egyet.set name készlet neve{set} (modified) {set} (módosítva)+ Show file name in title Fájlnév megjelenítése a címben++# Image › Mode › Bitmap (#5559)+ 50% Threshold 50%-os küszöb+ Pattern Dither Mintázatos keverés+ Diffusion Dither Diffúziós keverés+ Halftone Screen Féltónusrács+ Custom Pattern Egyéni mintázat+ Frequency: Gyakoriság:+ Lines/Inch Vonal/hüvelyk+ Lines/Centimeter Vonal/centiméter+ Ellipse EllipszisAccept and Go to Conflict Elfogadás és ugrás az ütközéshezChanges undone. Változások visszavonva.Choose a new shortcut for this command, or leave it without one. Válasszon új billentyűparancsot ehhez a parancshoz, vagy hagyja nélküle.diff --cc crates/ui-egui/src/i18n/id.tsvindex 610cb94da,4fd06fd88..52c7db929--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@@ -3180,18 -3202,7 +3202,19 @@@ curves Smooth Haluskaset name nama set{set} (modified) {set} (diubah)Random Acak+ Show file name in title Tampilkan nama file di judul++# Image › Mode › Bitmap (#5559)+ 50% Threshold Threshold 50%+ Pattern Dither Dither Pola+ Diffusion Dither Dither Difusi+ Halftone Screen Layar Halftone+ Custom Pattern Pola Kustom+ Frequency: Frekuensi:+ Lines/Inch Garis/Inci+ Lines/Centimeter Garis/Sentimeter+ Ellipse Elips+ Cross SilangAccept and Go to Conflict Terima dan Buka KonflikChanges undone. Perubahan dibatalkan.Choose a new shortcut for this command, or leave it without one. Pilih pintasan baru untuk perintah ini, atau biarkan tanpa pintasan.diff --cc crates/ui-egui/src/i18n/it.tsvindex 79154ff26,1143b138f..abcea76f4--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@@ -4309,17 -4329,7 +4329,18 @@@ shape Appearance AspettThere are too many sets: delete one first. Ci sono troppi set: eliminane prima uno.set name nome del set{set} (modified) {set} (modificato)+ Show file name in title Mostra nome file nel titolo++# Image › Mode › Bitmap (#5559)+ 50% Threshold Soglia 50%+ Pattern Dither Dithering pattern+ Diffusion Dither Dithering diffusione+ Halftone Screen Retino mezzetinte+ Custom Pattern Pattern personalizzato+ Frequency: Frequenza:+ Lines/Inch Linee/Pollice+ Lines/Centimeter Linee/Centimetro+ Ellipse EllisseAccept and Go to Conflict Accetta e vai al conflittoChanges undone. Modifiche annullate.Choose a new shortcut for this command, or leave it without one. Scegli una nuova scorciatoia per questo comando o lascialo senza.diff --cc crates/ui-egui/src/i18n/ja.tsvindex 7c6f92d6b,8564b9b30..c4f96e12f--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@@ -3864,17 -3884,7 +3884,18 @@@ curves Smooth スムー�There are too many sets: delete one first. セットが多すぎます。先に 1 つ削除してください。set name セット名{set} (modified) {set}(変更あり)+ Show file name in title タイトルにファイル名を表示++# Image › Mode › Bitmap (#5559)+ 50% Threshold 50% しきい値+ Pattern Dither パターンディザ+ Diffusion Dither 拡散ディザ+ Halftone Screen ハーフトーンスクリーン+ Custom Pattern カスタムパターン+ Frequency: 線数:+ Lines/Inch 線/インチ+ Lines/Centimeter 線/センチメートル+ Ellipse 楕円Accept and Go to Conflict 適用して競合へ移動Changes undone. 変更を取り消しました。Choose a new shortcut for this command, or leave it without one. このコマンドに新しいショートカットを選択するか、なしのままにしてください。diff --cc crates/ui-egui/src/i18n/ko.tsvindex dd1b35a5a,b99fde823..d6987535c--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@@ -3366,17 -3388,7 +3388,18 @@@ curves Smooth 매끄럽�There are too many sets: delete one first. 세트가 너무 많습니다. 먼저 하나를 삭제하세요.set name 세트 이름{set} (modified) {set}(수정됨)+ Show file name in title 제목에 파일 이름 표시++# Image › Mode › Bitmap (#5559)+ 50% Threshold 50% 한계값+ Pattern Dither 패턴 디더+ Diffusion Dither 확산 디더+ Halftone Screen 하프톤 스크린+ Custom Pattern 사용자 정의 패턴+ Frequency: 빈도:+ Lines/Inch 선/인치+ Lines/Centimeter 선/센티미터+ Ellipse 타원Accept and Go to Conflict 적용 후 충돌 항목으로 이동Changes undone. 변경 사항을 취소했습니다.Choose a new shortcut for this command, or leave it without one. 이 명령의 새 단축키를 선택하거나 단축키 없이 두세요.diff --cc crates/ui-egui/src/i18n/nl.tsvindex 123731e7d,791d173cb..1f9dd30d9--- a/crates/ui-egui/src/i18n/nl.tsv+++ b/crates/ui-egui/src/i18n/nl.tsv@@@ -3948,17 -3968,7 +3968,18 @@@ curves Smooth Vloeiend makeThere are too many sets: delete one first. Er zijn te veel sets: verwijder er eerst een.set name naam van de set{set} (modified) {set} (gewijzigd)+ Show file name in title Bestandsnaam in titel weergeven++# Image › Mode › Bitmap (#5559)+ 50% Threshold 50% drempel+ Pattern Dither Patroondithering+ Diffusion Dither Diffusiedithering+ Halftone Screen Halftoonraster+ Custom Pattern Aangepast patroon+ Frequency: Frequentie:+ Lines/Inch Lijnen/inch+ Lines/Centimeter Lijnen/centimeter+ Ellipse EllipsAccept and Go to Conflict Accepteren en naar conflictChanges undone. Wijzigingen ongedaan gemaakt.Choose a new shortcut for this command, or leave it without one. Kies een nieuwe sneltoets voor deze opdracht of laat hem zonder.diff --cc crates/ui-egui/src/i18n/pl.tsvindex 12f181081,23e253d62..2f382daef--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@@ -3786,17 -3806,7 +3806,18 @@@ curves Smooth Wygład�There are too many sets: delete one first. Zestawów jest za dużo: najpierw usuń jeden.set name nazwa zestawu{set} (modified) {set} (zmieniony)+ Show file name in title Pokaż nazwę pliku w tytule++# Image › Mode › Bitmap (#5559)+ 50% Threshold Próg 50%+ Pattern Dither Rozpraszanie wzorkiem+ Diffusion Dither Rozpraszanie dyfuzyjne+ Halftone Screen Raster półtonowy+ Custom Pattern Własny wzór+ Frequency: Częstotliwość:+ Lines/Inch Linii/cal+ Lines/Centimeter Linii/centymetr+ Ellipse ElipsaAccept and Go to Conflict Akceptuj i przejdź do konfliktuChanges undone. Zmiany cofnięte.Choose a new shortcut for this command, or leave it without one. Wybierz nowy skrót dla tego polecenia lub zostaw je bez skrótu.diff --cc crates/ui-egui/src/i18n/pt-br.tsvindex 13214c686,327533ad8..c90ad83f5--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@@ -3978,17 -3998,7 +3998,18 @@@ layerLabel No Color Sem coThere are too many sets: delete one first. Há conjuntos demais: exclua um primeiro.set name nome do conjunto{set} (modified) {set} (modificado)+ Show file name in title Exibir nome do arquivo no título++# Image › Mode › Bitmap (#5559)+ 50% Threshold Limiar de 50%+ Pattern Dither Pontilhamento de padrão+ Diffusion Dither Pontilhamento de difusão+ Halftone Screen Retícula de meio-tom+ Custom Pattern Padrão personalizado+ Frequency: Frequência:+ Lines/Inch Linhas/polegada+ Lines/Centimeter Linhas/centímetro+ Ellipse ElipseAccept and Go to Conflict Aceitar e ir para o conflitoChanges undone. Alterações desfeitas.Choose a new shortcut for this command, or leave it without one. Escolha um novo atalho para este comando ou deixe-o sem atalho.diff --cc crates/ui-egui/src/i18n/ru.tsvindex c60fea161,6b2e36845..fe164f8e9--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@@ -3158,19 -3180,7 +3180,20 @@@ curves Smooth Сгладит�set name имя набора{set} (modified) {set} (изменён)Random Случайно+ Show file name in title Показывать имя файла в заголовке++# Image › Mode › Bitmap (#5559)+ 50% Threshold Порог 50%+ Pattern Dither Регулярный дизеринг+ Diffusion Dither Диффузионный дизеринг+ Halftone Screen Полутоновый растр+ Custom Pattern Свой узор+ Frequency: Линиатура:+ Lines/Inch Линий/дюйм+ Lines/Centimeter Линий/см+ Ellipse Эллипс+ Diamond Ромб+ Cross КрестAccept and Go to Conflict Принять и перейти к конфликтуChanges undone. Изменения отменены.Choose a new shortcut for this command, or leave it without one. Выберите новую комбинацию для этой команды или оставьте её без комбинации.diff --cc crates/ui-egui/src/i18n/sr.tsvindex d44cee7aa,5530f81ce..5eca81f7f--- a/crates/ui-egui/src/i18n/sr.tsv+++ b/crates/ui-egui/src/i18n/sr.tsv@@@ -4261,17 -4281,7 +4281,18 @@@ shape Appearance IzgleThere are too many sets: delete one first. Previše skupova: prvo obrišite jedan.set name ime skupa{set} (modified) {set} (izmenjen)+ Show file name in title Prikaži naziv datoteke u naslovu++# Image › Mode › Bitmap (#5559)+ 50% Threshold Prag 50%+ Pattern Dither Dither šarom+ Diffusion Dither Difuzni dither+ Halftone Screen Polutonski raster+ Custom Pattern Prilagođena šara+ Frequency: Frekvencija:+ Lines/Inch Linija/inč+ Lines/Centimeter Linija/centimetar+ Ellipse ElipsaAccept and Go to Conflict Prihvati i idi na sukobChanges undone. Izmene su poništene.Choose a new shortcut for this command, or leave it without one. Izaberite novu prečicu za ovu komandu ili je ostavite bez prečice.diff --cc crates/ui-egui/src/i18n/tr.tsvindex e985be1b0,2e6f96a0e..2365766c0--- a/crates/ui-egui/src/i18n/tr.tsv+++ b/crates/ui-egui/src/i18n/tr.tsv@@@ -3918,17 -3938,7 +3938,18 @@@ cameraData Lens LenThere are too many sets: delete one first. Çok fazla küme var: önce birini silin.set name küme adı{set} (modified) {set} (değiştirildi)+ Show file name in title Başlıkta dosya adını göster++# Image › Mode › Bitmap (#5559)+ 50% Threshold %50 Eşik+ Pattern Dither Desen Titreklik+ Diffusion Dither Difüzyon Titreklik+ Halftone Screen Yarım Ton Tarama+ Custom Pattern Özel Desen+ Frequency: Frekans:+ Lines/Inch Çizgi/İnç+ Lines/Centimeter Çizgi/Santimetre+ Ellipse ElipsAccept and Go to Conflict Kabul Et ve Çakışmaya GitChanges undone. Değişiklikler geri alındı.Choose a new shortcut for this command, or leave it without one. Bu komut için yeni bir kısayol seçin veya kısayolsuz bırakın.diff --cc crates/ui-egui/src/i18n/uk.tsvindex 51e546950,5280372ca..d95951290--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@@ -3887,17 -3907,7 +3907,18 @@@ curves Smooth Згладит�There are too many sets: delete one first. Забагато наборів: спершу видаліть один.set name назва набору{set} (modified) {set} (змінено)+ Show file name in title Показувати ім’я файла в заголовку++# Image › Mode › Bitmap (#5559)+ 50% Threshold Поріг 50%+ Pattern Dither Візерунковий дизеринг+ Diffusion Dither Дифузійний дизеринг+ Halftone Screen Півтоновий растр+ Custom Pattern Довільний візерунок+ Frequency: Лініатура:+ Lines/Inch Ліній/дюйм+ Lines/Centimeter Ліній/сантиметр+ Ellipse ЕліпсAccept and Go to Conflict Прийняти й перейти до конфліктуChanges undone. Зміни скасовано.Choose a new shortcut for this command, or leave it without one. Виберіть нове клавіатурне скорочення для цієї команди або залиште її без нього.diff --cc crates/ui-egui/src/i18n/vi.tsvindex 2dc5eeeb6,8f8e1c344..4779ec1d3--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@@ -3674,17 -3694,7 +3694,18 @@@ curves Smooth Làm mượThere are too many sets: delete one first. Có quá nhiều bộ: hãy xóa một bộ trước.set name tên bộ{set} (modified) {set} (đã sửa đổi)+ Show file name in title Hiển thị tên tệp trong tiêu đề++# Image › Mode › Bitmap (#5559)+ 50% Threshold Ngưỡng 50%+ Pattern Dither Hòa sắc họa tiết+ Diffusion Dither Hòa sắc khuếch tán+ Halftone Screen Màn bán sắc+ Custom Pattern Họa tiết tùy chỉnh+ Frequency: Tần số:+ Lines/Inch Đường/inch+ Lines/Centimeter Đường/centimet+ Ellipse ElipAccept and Go to Conflict Chấp nhận và đến xung độtChanges undone. Đã hoàn tác thay đổi.Choose a new shortcut for this command, or leave it without one. Chọn phím tắt mới cho lệnh này, hoặc để lệnh không có phím tắt.diff --cc crates/ui-egui/src/i18n/zh-hans.tsvindex d19ad5566,5efbe2899..fb152d7f5--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@@ -2804,19 -2830,7 +2830,20 @@@ curves Smooth 平�set name 组名称{set} (modified) {set}(已修改)Random 随机+ Show file name in title 标题中显示文件名++# Image › Mode › Bitmap (#5559)+ 50% Threshold 50% 阈值+ Pattern Dither 图案仿色+ Diffusion Dither 扩散仿色+ Halftone Screen 半调网屏+ Custom Pattern 自定图案+ Frequency: 频率:+ Lines/Inch 线/英寸+ Lines/Centimeter 线/厘米+ Ellipse 椭圆+ Cross 十字+ Method 方法Accept and Go to Conflict 接受并转到冲突Changes undone. 已撤消更改。Choose a new shortcut for this command, or leave it without one. 为此命令选择新的快捷键,或保留为无快捷键。diff --cc crates/ui-egui/src/i18n/zh-hant.tsvindex b28397534,ea0af7945..3d7041163--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@@ -2789,19 -2815,7 +2815,20 @@@ curves Smooth 平�set name 組合名稱{set} (modified) {set}(已修改)Random 隨機+ Show file name in title 標題中顯示檔案名稱++# Image › Mode › Bitmap (#5559)+ 50% Threshold 50% 臨界值+ Pattern Dither 圖樣混色+ Diffusion Dither 擴散混色+ Halftone Screen 半色調網屏+ Custom Pattern 自訂圖樣+ Frequency: 頻率:+ Lines/Inch 線/英吋+ Lines/Centimeter 線/公分+ Ellipse 橢圓+ Cross 十字+ Method 方法Accept and Go to Conflict 接受並前往衝突Changes undone. 已還原變更。Choose a new shortcut for this command, or leave it without one. 為此指令選擇新的快速鍵,或保持沒有快速鍵。