PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Embedded Profile Mismatch: the profile names on the choices, and Remember this choice (#5208)
texjerf499d97eeebe
diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsvindex 0649e19ec..3f0337c82 100644--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -997,7 +997,6 @@Contiguous SouvisléContrast KontrastControl: Řízení:- Convert document's colors to the working space Převést barvy dokumentu do pracovního prostoru barevConvert to sRGB Převést do sRGBCopies KopieCopper Měď@@ -1580,7 +1579,6 @@Use Default Použít výchozíUse Legacy Použít staršíUse Measurement Scale Použít měřítko měření- Use the embedded profile (instead of the working space) Použít vložený profil (místo pracovního prostoru barev)Variables bind a layer's visibility, text or pixels to a named data slot. Proměnné vážou viditelnost, text nebo pixely vrstvy na pojmenované datové pole.Vertical scale Svislé měřítkoVibrance Živost@@ -2214,7 +2212,6 @@Cancelled opening {name} Otevírání {name} zrušenoThe document “{name}” does not have an embedded {mode} profile. Dokument „{name}“ nemá vložený profil {mode}.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Dokument „{name}“ má vložený barevný profil, který neodpovídá aktuálnímu pracovnímu prostoru barev {mode}.- Embedded: {embedded} Vložený: {embedded}Working: {working} Pracovní: {working}Developing {name} Vyvolávání {name}Cancelled {label} Zrušeno: {label}@@ -3753,6 +3750,11 @@ navigator Zoom ZvětšeníSent to {printer} Odesláno do {printer}set in Print Settings… nastavuje se v nastavení tisku…ICO is limited to 256 × 256 pixels ICO je omezen na 256 × 256 pixelů+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Použít vložený profil ({profile})+ Convert to the working space ({profile}) Převést do pracovního prostoru barev ({profile})+ Remember this choice for future images Zapamatovat si tuto volbu pro další obrázky+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Dotaz znovu zapnete volbou Ask On Mismatch v nabídce Úpravy › Nastavení barev.Button Mode Režim tlačítkaButton Mode On Režim tlačítka zapnutýdiff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsvindex 994a060e1..ae73122f0 100644--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -978,7 +978,6 @@Contiguous BenachbartContrast KontrastControl: Steuerung:- Convert document's colors to the working space Farben des Dokuments in den Arbeitsfarbraum konvertierenConvert to sRGB In sRGB konvertierenCopies KopienCopper Kupfer@@ -1562,7 +1561,6 @@Use Default Standard verwendenUse Legacy Legacy verwendenUse Measurement Scale Messskala verwenden- Use the embedded profile (instead of the working space) Eingebettetes Profil verwenden (statt des Arbeitsfarbraums)Variables bind a layer's visibility, text or pixels to a named data slot. Variablen binden Sichtbarkeit, Text oder Pixel einer Ebene an einen benannten Datenslot.Vertical scale Vertikale SkalierungVibrance Dynamik@@ -2184,7 +2182,6 @@Cancelled opening {name} Öffnen von {name} abgebrochenThe document “{name}” does not have an embedded {mode} profile. Das Dokument „{name}“ hat kein eingebettetes {mode}-Profil.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Das Dokument „{name}“ hat ein eingebettetes Farbprofil, das nicht zum aktuellen {mode}-Arbeitsfarbraum passt.- Embedded: {embedded} Eingebettet: {embedded}Working: {working} Arbeitsfarbraum: {working}Developing {name} {name} wird entwickeltCancelled {label} {label} abgebrochen@@ -3143,6 +3140,11 @@ curves Smooth GlättenSent to {printer} An {printer} gesendetset in Print Settings… in den Druckeinstellungen festlegen…ICO is limited to 256 × 256 pixels ICO ist auf 256 × 256 Pixel begrenzt+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Eingebettetes Profil verwenden ({profile})+ Convert to the working space ({profile}) In den Arbeitsfarbraum konvertieren ({profile})+ Remember this choice for future images Diese Auswahl für künftige Bilder merken+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Die Abfrage lässt sich mit „Ask On Mismatch“ unter Bearbeiten › Farbeinstellungen wieder einschalten.Button Mode SchaltflächenmodusButton Mode On Schaltflächenmodus andiff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsvindex ed32798c5..496d134ab 100644--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@ -1612,7 +1612,6 @@Cancelled opening {name} Ακυρώθηκε το άνοιγμα του {name}The document “{name}” does not have an embedded {mode} profile. Το έγγραφο «{name}» δεν έχει ενσωματωμένο προφίλ {mode}.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Το έγγραφο «{name}» έχει ενσωματωμένο χρωματικό προφίλ που δεν ταιριάζει με τον τρέχοντα χώρο εργασίας {mode}.- Embedded: {embedded} Ενσωματωμένο: {embedded}Working: {working} Χώρος εργασίας: {working}Cancelled {label} Ακυρώθηκε: {label}Esc to cancel Esc για ακύρωση@@ -2239,7 +2238,6 @@Control: Χειριστήριο:Conté Crayon Μολύβι κοντέConvert Frames > Video Layers Μετατροπή καρέ > Επίπεδα βίντεο- Convert document's colors to the working space Μετατροπή των χρωμάτων του εγγράφου στον χώρο εργασίαςConvert to Linked Μετατροπή σε συνδεδεμένοConvert to Paragraph Text Μετατροπή σε κείμενο παραγράφουConvert to Point Text Μετατροπή σε κείμενο σημείου@@ -3219,7 +3217,6 @@Use File › Open to open an image. Χρησιμοποιήστε Αρχείο › Άνοιγμα για να ανοίξετε μια εικόνα.Use Legacy Χρήση παλαιάς λειτουργίαςUse Measurement Scale Χρήση κλίμακας μέτρησης- Use the embedded profile (instead of the working space) Χρήση ενσωματωμένου προφίλ (αντί του χώρου εργασίας)Uses the foreground and background colours. Χρησιμοποιεί τα χρώματα προσκηνίου και φόντου.Vanishing Point Σημείο φυγήςVanishing Point… Σημείο φυγής…@@ -3843,6 +3840,11 @@ curves Smooth ΕξομάλυνσηSent to {printer} Στάλθηκε στον {printer}set in Print Settings… ορίζεται στις ρυθμίσεις εκτύπωσης…ICO is limited to 256 × 256 pixels Το ICO περιορίζεται σε 256 × 256 εικονοστοιχεία+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Χρήση ενσωματωμένου προφίλ ({profile})+ Convert to the working space ({profile}) Μετατροπή στον χώρο εργασίας ({profile})+ Remember this choice for future images Απομνημόνευση αυτής της επιλογής για μελλοντικές εικόνες+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Ενεργοποιήστε ξανά την ερώτηση με το Ask On Mismatch στο Επεξεργασία › Ρυθμίσεις χρωμάτων.Button Mode Λειτουργία κουμπιώνButton Mode On Λειτουργία κουμπιών ενεργήdiff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsvindex cf812df12..4eb6f09ce 100644--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@ -986,7 +986,6 @@Contiguous ContiguoContrast ContrasteControl: Control:- Convert document's colors to the working space Convertir los colores del documento al espacio de trabajoConvert to sRGB Convertir a sRGBCopies EjemplaresCopper Cobre@@ -1568,7 +1567,6 @@Use Default Usar el predeterminadoUse Legacy Usar la versión heredadaUse Measurement Scale Usar la escala de medición- Use the embedded profile (instead of the working space) Usar el perfil incrustado (en lugar del espacio de trabajo)Variables bind a layer's visibility, text or pixels to a named data slot. Las variables vinculan la visibilidad, el texto o los píxeles de una capa a un espacio de datos con nombre.Vertical scale Escala verticalVibrance Intensidad@@ -2200,7 +2198,6 @@Cancelled opening {name} Se canceló la apertura de {name}The document “{name}” does not have an embedded {mode} profile. El documento «{name}» no tiene un perfil {mode} incrustado.The document “{name}” has an embedded color profile that does not match the current {mode} working space. El documento «{name}» tiene un perfil de color incrustado que no coincide con el espacio de trabajo {mode} actual.- Embedded: {embedded} Incrustado: {embedded}Working: {working} Espacio de trabajo: {working}Developing {name} Revelando {name}Cancelled {label} Se canceló {label}@@ -2830,6 +2827,11 @@ curves Smooth SuavizarSent to {printer} Enviado a {printer}set in Print Settings… se establece en Ajustes de impresión…ICO is limited to 256 × 256 pixels ICO está limitado a 256 × 256 píxeles+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Usar el perfil incrustado ({profile})+ Convert to the working space ({profile}) Convertir al espacio de trabajo ({profile})+ Remember this choice for future images Recordar esta opción para próximas imágenes+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Vuelve a activar el aviso con Ask On Mismatch en Edición › Ajustes de color.Button Mode Modo de botónButton Mode On Modo de botón activadodiff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsvindex 2181c1551..26138dd0a 100644--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@ -972,7 +972,6 @@Contiguous ContiguContrast ContrasteControl: Contrôle :- Convert document's colors to the working space Convertir les couleurs du document vers l'espace de travailConvert to sRGB Convertir en sRVBCopies ExemplairesCopper Cuivre@@ -1547,7 +1546,6 @@Use Default Utiliser la valeur par défautUse Legacy Utiliser l'ancienne versionUse Measurement Scale Utiliser l'échelle de mesure- Use the embedded profile (instead of the working space) Utiliser le profil incorporé (au lieu de l'espace de travail)Variables bind a layer's visibility, text or pixels to a named data slot. Les variables lient la visibilité, le texte ou les pixels d'un calque à un emplacement de données nommé.Vertical scale Échelle verticaleVibrance Vibrance@@ -2160,7 +2158,6 @@Cancelled opening {name} Ouverture de {name} annuléeThe document “{name}” does not have an embedded {mode} profile. Le document « {name} » n'a pas de profil {mode} incorporé.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Le document « {name} » a un profil colorimétrique incorporé qui ne correspond pas à l'espace de travail {mode} actuel.- Embedded: {embedded} Incorporé : {embedded}Working: {working} Espace de travail : {working}Developing {name} Développement de {name}Cancelled {label} {label} : annulé@@ -3147,6 +3144,11 @@ curves Smooth LisserSent to {printer} Envoyé à {printer}set in Print Settings… défini dans les paramètres d’impression…ICO is limited to 256 × 256 pixels Le format ICO est limité à 256 × 256 pixels+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Utiliser le profil incorporé ({profile})+ Convert to the working space ({profile}) Convertir vers l'espace de travail ({profile})+ Remember this choice for future images Mémoriser ce choix pour les prochaines images+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Réactivez la question avec Ask On Mismatch dans Édition › Paramètres de couleur.Button Mode Mode boutonButton Mode On Mode bouton activédiff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsvindex 640c18b61..c124ae0d9 100644--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@ -2488,7 +2488,6 @@ navigator Zoom Nagyítás mértékeCancelled opening {name} Megnyitás megszakítva: {name}The document “{name}” does not have an embedded {mode} profile. A(z) „{name}” dokumentumnak nincs beágyazott {mode}-profilja.The document “{name}” has an embedded color profile that does not match the current {mode} working space. A(z) „{name}” dokumentum beágyazott színprofilja nem egyezik az aktuális {mode}-munkaszíntérrel.- Embedded: {embedded} Beágyazott: {embedded}Working: {working} Munkaszíntér: {working}Cancelled {label} Megszakítva: {label}Clarity Tisztaság@@ -2702,7 +2701,6 @@ cameraRaw Yellow SárgaContents: Tartalom:Contributors KözreműködőkContributors: {contributors} · Commits: {commits} Közreműködők: {contributors} · Commitok: {commits}- Convert document's colors to the working space A dokumentum színeinek átalakítása a munkaszíntérbeConvert to sRGB Átalakítás sRGB-reCool HidegCopies Példányszám@@ -3001,7 +2999,6 @@ cameraRaw Yellow SárgaURLs URL-ekUse Default Alapértelmezés használataUse shift key for tool switch Eszközváltás a Shift billentyűvel- Use the embedded profile (instead of the working space) A beágyazott profil használata (a munkaszíntér helyett)Username FelhasználónévVersion {version} Verzió: {version}Vulkan Vulkan@@ -4066,6 +4063,11 @@ cameraRaw Yellow SárgaInk Characteristics Festék jellemzőiSolidity: Fedőképesség:Redrawing Újrarajzolás+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) A beágyazott profil használata ({profile})+ Convert to the working space ({profile}) Átalakítás a munkaszíntérbe ({profile})+ Remember this choice for future images A választás megjegyzése a későbbi képekhez+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. A kérdés a Szerkesztés › Színbeállítások Ask On Mismatch beállításával kapcsolható vissza.Button Mode Gomb módButton Mode On Gomb mód bediff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsvindex 8ccf77838..60013d231 100644--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@ -966,7 +966,6 @@Contiguous BerdekatanContrast KontrasControl: Kontrol:- Convert document's colors to the working space Konversi warna dokumen ke working spaceConvert to sRGB Konversi ke sRGBCopies SalinanCopper Tembaga@@ -1541,7 +1540,6 @@Use Default Pakai DefaultUse Legacy Pakai Versi LamaUse Measurement Scale Pakai Skala Pengukuran- Use the embedded profile (instead of the working space) Pakai profil tertanam (bukan working space)Variables bind a layer's visibility, text or pixels to a named data slot. Variabel mengikat visibilitas, teks, atau piksel sebuah layer ke slot data bernama.Vertical scale Skala vertikalVibrance Vibrance@@ -2153,7 +2151,6 @@Cancelled opening {name} Pembukaan {name} dibatalkanThe document “{name}” does not have an embedded {mode} profile. Dokumen “{name}” tidak memiliki profil {mode} tertanam.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Dokumen “{name}” memiliki profil warna tertanam yang tidak cocok dengan working space {mode} saat ini.- Embedded: {embedded} Tertanam: {embedded}Working: {working} Working space: {working}Developing {name} Mengembangkan {name}Cancelled {label} {label} dibatalkan@@ -3134,6 +3131,11 @@ curves Smooth HaluskanSent to {printer} Dikirim ke {printer}set in Print Settings… diatur di Pengaturan Cetak…ICO is limited to 256 × 256 pixels ICO dibatasi hingga 256 × 256 piksel+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Pakai profil tertanam ({profile})+ Convert to the working space ({profile}) Konversi ke working space ({profile})+ Remember this choice for future images Ingat pilihan ini untuk gambar berikutnya+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Aktifkan lagi pertanyaan ini lewat Ask On Mismatch di Edit › Pengaturan Warna.Button Mode Mode tombolButton Mode On Mode tombol aktifdiff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsvindex 52eb1aec1..535145768 100644--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@ -982,7 +982,6 @@Contiguous ContiguoContrast ContrastoControl: Controllo:- Convert document's colors to the working space Converti colori documento in spazio di lavoroConvert to sRGB Converti in sRGBCopies CopieCopper Rame@@ -1564,7 +1563,6 @@Use Default Usa predefinitoUse Legacy Usa legacyUse Measurement Scale Usa scala misurazione- Use the embedded profile (instead of the working space) Usa profilo incorporato (invece dello spazio di lavoro)Variables bind a layer's visibility, text or pixels to a named data slot. Le variabili collegano visibilità, testo o pixel di un livello a uno slot dati nominato.Vertical scale Scala verticaleVibrance Vividezza@@ -2196,7 +2194,6 @@Cancelled opening {name} Apertura {name} annullataThe document “{name}” does not have an embedded {mode} profile. Il documento “{name}” non ha un profilo {mode} incorporato.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Il documento “{name}” ha un profilo colore incorporato che non corrisponde allo spazio di lavoro {mode} corrente.- Embedded: {embedded} Incorporato: {embedded}Working: {working} Di lavoro: {working}Developing {name} Sviluppo di {name}Cancelled {label} {label} annullato@@ -4108,6 +4105,11 @@ navigator Zoom ZoomSent to {printer} Inviato a {printer}set in Print Settings… impostato nelle impostazioni di stampa…ICO is limited to 256 × 256 pixels ICO è limitato a 256 × 256 pixel+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Usa profilo incorporato ({profile})+ Convert to the working space ({profile}) Converti in spazio di lavoro ({profile})+ Remember this choice for future images Ricorda questa scelta per le prossime immagini+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Riattiva la richiesta con Ask On Mismatch in Modifica › Impostazioni colore.Button Mode Modalità pulsanteButton Mode On Modalità pulsante attiva# Darken / Lighten Interface (⇧⌘F1 / ⇧⌘F2)diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsvindex 230672b1e..6062d92cc 100644--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -985,7 +985,6 @@Contiguous 隣接Contrast コントラストControl: コントロール:- Convert document's colors to the working space ドキュメントの色を作業用スペースに変換Convert to sRGB sRGB に変換Copies 部数Copper 銅@@ -1565,7 +1564,6 @@Use Default 既定を使用Use Legacy 従来方式を使用Use Measurement Scale 測定スケールを使用- Use the embedded profile (instead of the working space) 埋め込みプロファイルを使用 (作業用スペースの代わり)Variables bind a layer's visibility, text or pixels to a named data slot. 変数は、レイヤーの表示状態・テキスト・ピクセルを、名前付きのデータ枠に結び付けます。Vertical scale 垂直比率Vibrance 自然な彩度@@ -2194,7 +2192,6 @@Cancelled opening {name} {name} を開くのをキャンセルしましたThe document “{name}” does not have an embedded {mode} profile. ドキュメント「{name}」には埋め込み {mode} プロファイルがありません。The document “{name}” has an embedded color profile that does not match the current {mode} working space. ドキュメント「{name}」の埋め込みカラープロファイルは、現在の {mode} 作業用スペースと一致しません。- Embedded: {embedded} 埋め込み: {embedded}Working: {working} 作業用スペース: {working}Developing {name} {name} を現像中Cancelled {label} {label} をキャンセルしました@@ -3822,6 +3819,11 @@ curves Smooth スムーズReset All Locked Settings ロックされた設定をすべて初期化Copy Texture to Other Tools テクスチャを他のツールにコピーICO is limited to 256 × 256 pixels ICO は 256 × 256 ピクセルまでです+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) 埋め込みプロファイルを使用 ({profile})+ Convert to the working space ({profile}) 作業用スペースに変換 ({profile})+ Remember this choice for future images 今後の画像でもこの選択を使用+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. 確認を再び表示するには、編集 › カラー設定 の Ask On Mismatch をオンにします。Button Mode ボタンモードButton Mode On ボタンモード オン# Darken / Lighten Interface (⇧⌘F1 / ⇧⌘F2)diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex 42e6c83e5..dbc434170 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -961,7 +961,6 @@Contiguous 인접Contrast 대비Control: 제어:- Convert document's colors to the working space 문서 색상을 작업 색상 공간으로 변환Convert to sRGB sRGB로 변환Copies 부수Copper 구리@@ -1539,7 +1538,6 @@Use Default 기본값 사용Use Legacy 기존 방식 사용Use Measurement Scale 측정 비율 사용- Use the embedded profile (instead of the working space) 포함된 프로파일 사용(작업 색상 공간 대신)Variables bind a layer's visibility, text or pixels to a named data slot. 변수는 레이어의 표시 여부, 텍스트 또는 픽셀을 이름이 지정된 데이터 슬롯에 연결합니다.Vertical scale 세로 비율Vibrance 활기@@ -2155,7 +2153,6 @@Cancelled opening {name} {name} 열기를 취소했습니다The document “{name}” does not have an embedded {mode} profile. 문서 “{name}”에 포함된 {mode} 프로파일이 없습니다.The document “{name}” has an embedded color profile that does not match the current {mode} working space. 문서 “{name}”에 포함된 색상 프로파일이 현재 {mode} 작업 색상 공간과 일치하지 않습니다.- Embedded: {embedded} 포함됨: {embedded}Working: {working} 작업 색상 공간: {working}Developing {name} {name} 현상 중Cancelled {label} {label} 작업을 취소했습니다@@ -3320,6 +3317,11 @@ curves Smooth 매끄럽게Sent to {printer} {printer}(으)로 전송됨set in Print Settings… 인쇄 설정에서 지정…ICO is limited to 256 × 256 pixels ICO는 256 × 256픽셀로 제한됩니다+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) 포함된 프로파일 사용({profile})+ Convert to the working space ({profile}) 작업 색상 공간으로 변환({profile})+ Remember this choice for future images 이후 이미지에도 이 선택 기억+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. 편집 › 색상 설정의 Ask On Mismatch로 이 확인을 다시 켤 수 있습니다.Button Mode 단추 모드Button Mode On 단추 모드 켜짐diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsvindex d894960b2..12140c17c 100644--- a/crates/ui-egui/src/i18n/nl.tsv+++ b/crates/ui-egui/src/i18n/nl.tsv@@ -964,7 +964,6 @@Contiguous AaneengeslotenContrast ContrastControl: Besturing:- Convert document's colors to the working space Kleuren van document omzetten naar de werkruimteConvert to sRGB Omzetten naar sRGBCopies ExemplarenCopper Koper@@ -1545,7 +1544,6 @@Use Default Standaard gebruikenUse Legacy Verouderde versie gebruikenUse Measurement Scale Meetschaal gebruiken- Use the embedded profile (instead of the working space) Het ingesloten profiel gebruiken (in plaats van de werkruimte)Variables bind a layer's visibility, text or pixels to a named data slot. Variabelen koppelen de zichtbaarheid, tekst of pixels van een laag aan een benoemd gegevensveld.Vertical scale Verticale schaalVibrance Levendigheid@@ -2162,7 +2160,6 @@Cancelled opening {name} Openen van {name} geannuleerdThe document “{name}” does not have an embedded {mode} profile. Het document “{name}” heeft geen ingesloten {mode}-profiel.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Het document “{name}” heeft een ingesloten kleurprofiel dat niet overeenkomt met de huidige {mode}-werkruimte.- Embedded: {embedded} Ingesloten: {embedded}Working: {working} Werkruimte: {working}Developing {name} {name} wordt ontwikkeldCancelled {label} {label} geannuleerd@@ -3905,6 +3902,11 @@ curves Smooth Vloeiend makenSent to {printer} Verzonden naar {printer}set in Print Settings… instellen in de afdrukinstellingen…ICO is limited to 256 × 256 pixels ICO is beperkt tot 256 × 256 pixels+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Het ingesloten profiel gebruiken ({profile})+ Convert to the working space ({profile}) Omzetten naar de werkruimte ({profile})+ Remember this choice for future images Deze keuze onthouden voor volgende afbeeldingen+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Zet de vraag weer aan met Ask On Mismatch in Bewerken › Kleurinstellingen.Button Mode KnopmodusButton Mode On Knopmodus aandiff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsvindex 47c3ae676..07022128d 100644--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@ -983,7 +983,6 @@Contiguous SąsiadująceContrast KontrastControl: Sterowanie:- Convert document's colors to the working space Konwertuj kolory dokumentu na przestrzeń robocząConvert to sRGB Konwertuj na sRGBCopies KopieCopper Miedź@@ -1561,7 +1560,6 @@Use Default Użyj domyślnegoUse Legacy Użyj starszej wersjiUse Measurement Scale Użyj skali pomiaru- Use the embedded profile (instead of the working space) Użyj osadzonego profilu (zamiast przestrzeni roboczej)Variables bind a layer's visibility, text or pixels to a named data slot. Zmienne wiążą widoczność, tekst lub piksele warstwy z nazwanym polem danych.Vertical scale Skala pionowaVibrance Jaskrawość@@ -2181,7 +2179,6 @@Cancelled opening {name} Anulowano otwieranie {name}The document “{name}” does not have an embedded {mode} profile. Dokument „{name}” nie ma osadzonego profilu {mode}.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Dokument „{name}” ma osadzony profil kolorów, który nie pasuje do bieżącej przestrzeni roboczej {mode}.- Embedded: {embedded} Osadzony: {embedded}Working: {working} Przestrzeń robocza: {working}Cancelled {label} Anulowano: {label}Esc to cancel Esc, aby anulować@@ -3743,6 +3740,11 @@ curves Smooth WygładźSent to {printer} Wysłano do {printer}set in Print Settings… ustawiane w ustawieniach druku…ICO is limited to 256 × 256 pixels ICO jest ograniczony do 256 × 256 pikseli+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Użyj osadzonego profilu ({profile})+ Convert to the working space ({profile}) Konwertuj na przestrzeń roboczą ({profile})+ Remember this choice for future images Zapamiętaj ten wybór dla kolejnych obrazów+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Pytanie można włączyć ponownie opcją Ask On Mismatch w Edycja › Ustawienia kolorów.Button Mode Tryb przyciskuButton Mode On Tryb przycisku włączonydiff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsvindex cdb191abe..497820d79 100644--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -966,7 +966,6 @@Contiguous ContíguoContrast ContrasteControl: Controle:- Convert document's colors to the working space Converter as cores do documento para o espaço de trabalhoConvert to sRGB Converter para sRGBCopies CópiasCopper Cobre@@ -1543,7 +1542,6 @@Use Default Usar padrãoUse Legacy Usar legadoUse Measurement Scale Usar escala de medida- Use the embedded profile (instead of the working space) Usar o perfil incorporado (em vez do espaço de trabalho)Variables bind a layer's visibility, text or pixels to a named data slot. As variáveis vinculam a visibilidade, o texto ou os pixels de uma camada a um campo de dados nomeado.Vertical scale Escala verticalVibrance Vibração@@ -2156,7 +2154,6 @@Cancelled opening {name} Abertura de {name} canceladaThe document “{name}” does not have an embedded {mode} profile. O documento “{name}” não tem um perfil {mode} incorporado.The document “{name}” has an embedded color profile that does not match the current {mode} working space. O documento “{name}” tem um perfil de cores incorporado que não corresponde ao espaço de trabalho {mode} atual.- Embedded: {embedded} Incorporado: {embedded}Working: {working} Espaço de trabalho: {working}Developing {name} Revelando {name}Cancelled {label} {label} cancelado@@ -3935,6 +3932,11 @@ layerLabel No Color Sem corSent to {printer} Enviado para {printer}set in Print Settings… definido nas configurações de impressão…ICO is limited to 256 × 256 pixels ICO é limitado a 256 × 256 pixels+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Usar o perfil incorporado ({profile})+ Convert to the working space ({profile}) Converter para o espaço de trabalho ({profile})+ Remember this choice for future images Lembrar esta escolha para as próximas imagens+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Reative a pergunta com Ask On Mismatch em Editar › Configurações de cores.Button Mode Modo de botãoButton Mode On Modo de botão ativadodiff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsvindex eb8270e7f..eb406e3db 100644--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -909,9 +909,7 @@Newspaper Газетная бумагаWorking Spaces Рабочие пространстваColor Management Policies Правила управления цветом- Convert document's colors to the working space Преобразовать цвета документа в рабочее пространствоAssign working space Назначить рабочее пространство- Use the embedded profile (instead of the working space) Использовать встроенный профиль (вместо рабочего пространства)Leave as is (don't color manage) Оставить как есть (без управления цветом)Discard the embedded profile (don't color manage) Не использовать встроенный профиль (без управления цветом)Embed Color Profile Встроить цветовой профиль@@ -2476,7 +2474,6 @@Cancelled opening {name} Открытие {name} отмененоThe document “{name}” does not have an embedded {mode} profile. В документе «{name}» нет встроенного профиля {mode}.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Встроенный цветовой профиль документа «{name}» не совпадает с текущим рабочим пространством {mode}.- Embedded: {embedded} Встроенный: {embedded}Working: {working} Рабочее пространство: {working}Developing {name} Обработка {name}Cancelled {label} {label}: отменено@@ -3111,6 +3108,11 @@ curves Smooth СгладитьGray Value (Median) Уровень серого (медиана)Integrated Density Интегральная плотностьLength Длина+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Использовать встроенный профиль ({profile})+ Convert to the working space ({profile}) Преобразовать в рабочее пространство ({profile})+ Remember this choice for future images Запомнить этот выбор для следующих изображений+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Снова включить вопрос можно параметром Ask On Mismatch в Редактирование › Настройки цвета.Button Mode Режим кнопокButton Mode On Режим кнопок включёнdiff --git a/crates/ui-egui/src/i18n/sr.tsv b/crates/ui-egui/src/i18n/sr.tsvindex 9a93376eb..26d4deb8f 100644--- a/crates/ui-egui/src/i18n/sr.tsv+++ b/crates/ui-egui/src/i18n/sr.tsv@@ -954,7 +954,6 @@Contiguous SusednoContrast KontrastControl: Kontrola:- Convert document's colors to the working space Pretvori boje dokumenta u radni prostorConvert to sRGB Pretvori u sRGBCopies PrimerciCopper Bakar@@ -1526,7 +1525,6 @@Use Default Koristi podrazumevanoUse Legacy Koristi staroUse Measurement Scale Koristi razmeru merenja- Use the embedded profile (instead of the working space) Koristi ugrađeni profil (umesto radnog prostora)Variables bind a layer's visibility, text or pixels to a named data slot. Promenljive vezuju vidljivost, tekst ili piksele sloja za imenovano polje podataka.Vertical scale Vertikalna razmeraVibrance Živost@@ -2139,7 +2137,6 @@Cancelled opening {name} Otkazano otvaranje: {name}The document “{name}” does not have an embedded {mode} profile. Dokument „{name}“ nema ugrađeni {mode} profil.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Dokument „{name}“ ima ugrađeni profil boja koji se ne slaže sa trenutnim {mode} radnim prostorom.- Embedded: {embedded} Ugrađeni: {embedded}Working: {working} Radni prostor: {working}Developing {name} Razvijanje: {name}Cancelled {label} Otkazano: {label}@@ -4219,6 +4216,11 @@ shape Appearance IzgledInk Characteristics Karakteristike mastilaSolidity: Punoća:Redrawing Ponovno iscrtavanje+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Koristi ugrađeni profil ({profile})+ Convert to the working space ({profile}) Pretvori u radni prostor ({profile})+ Remember this choice for future images Zapamti ovaj izbor za buduće slike+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Pitanje ponovo uključite opcijom Ask On Mismatch u Uređivanje › Podešavanja boja.Button Mode Režim dugmadiButton Mode On Režim dugmadi uključendiff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsvindex 237206011..9f0926c14 100644--- a/crates/ui-egui/src/i18n/tr.tsv+++ b/crates/ui-egui/src/i18n/tr.tsv@@ -946,7 +946,6 @@Contiguous BitişikContrast KontrastControl: Kontrol:- Convert document's colors to the working space Belgenin renklerini çalışma alanına dönüştürünConvert to sRGB sRGB'ye dönüştürCopies KopyalarCopper Bakır@@ -1521,7 +1520,6 @@Use Default Varsayılanı KullanUse Legacy Eskiyi KullanUse Measurement Scale Ölçüm Ölçeğini Kullan- Use the embedded profile (instead of the working space) Gömülü profili kullanın (çalışma alanı yerine)Variables bind a layer's visibility, text or pixels to a named data slot. Değişkenler bir katmanın görünürlüğünü, metnini veya piksellerini adlandırılmış bir veri yuvasına bağlar.Vertical scale Dikey ölçekVibrance Canlılık@@ -2136,7 +2134,6 @@Cancelled opening {name} {name} açılışı iptal edildiThe document “{name}” does not have an embedded {mode} profile. '{name}' belgesinde gömülü bir {mode} profili yok.The document “{name}” has an embedded color profile that does not match the current {mode} working space. '{name}' belgesinin gömülü renk profili geçerli {mode} çalışma alanıyla eşleşmiyor.- Embedded: {embedded} Gömülü: {embedded}Working: {working} Çalışma alanı: {working}Developing {name} {name} geliştiriliyorCancelled {label} {label} iptal edildi@@ -3877,6 +3874,11 @@ cameraData Lens LensInk Characteristics Mürekkep ÖzellikleriSolidity: Doluluk:Redrawing Yeniden çiziliyor+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Gömülü profili kullanın ({profile})+ Convert to the working space ({profile}) Çalışma alanına dönüştürün ({profile})+ Remember this choice for future images Bu seçimi sonraki görüntüler için hatırla+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Soruyu Düzen › Renk Ayarları'ndaki Ask On Mismatch ile yeniden açabilirsiniz.Button Mode Düğme moduButton Mode On Düğme modu açıkdiff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsvindex 13e0fd953..6b69e3ecb 100644--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -887,9 +887,7 @@Newspaper ГазетаWorking Spaces Робочі просториColor Management Policies Політики керування кольором- Convert document's colors to the working space Перетворити кольори документа в робочий простірAssign working space Призначити робочий простір- Use the embedded profile (instead of the working space) Використати вбудований профіль (замість робочого простору)Leave as is (don't color manage) Залишити як є (без керування кольором)Discard the embedded profile (don't color manage) Відкинути вбудований профіль (без керування кольором)Embed Color Profile Вбудувати колірний профіль@@ -2449,7 +2447,6 @@Cancelled opening {name} Відкриття {name} скасованоThe document “{name}” does not have an embedded {mode} profile. Документ «{name}» не має вбудованого профілю {mode}.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Вбудований колірний профіль документа «{name}» не відповідає поточному робочому простору {mode}.- Embedded: {embedded} Вбудований: {embedded}Working: {working} Робочий простір: {working}Developing {name} Обробка {name}Cancelled {label} Скасовано: {label}@@ -3844,6 +3841,11 @@ curves Smooth ЗгладитиSent to {printer} Надіслано на {printer}set in Print Settings… задається в параметрах друку…ICO is limited to 256 × 256 pixels ICO обмежено розміром 256 × 256 пікселів+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Використати вбудований профіль ({profile})+ Convert to the working space ({profile}) Перетворити в робочий простір ({profile})+ Remember this choice for future images Запам’ятати цей вибір для наступних зображень+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Знову ввімкнути запитання можна параметром Ask On Mismatch у Редагування › Налаштування кольору.Button Mode Режим кнопокButton Mode On Режим кнопок увімкненоdiff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsvindex 380b50b6a..21b635d8f 100644--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@ -1567,7 +1567,6 @@ cameraRaw Shadows Vùng tốiCancelled opening {name} Đã hủy mở {name}The document “{name}” does not have an embedded {mode} profile. Tài liệu “{name}” không có hồ sơ {mode} nhúng.The document “{name}” has an embedded color profile that does not match the current {mode} working space. Tài liệu “{name}” có hồ sơ màu nhúng không khớp với không gian làm việc {mode} hiện tại.- Embedded: {embedded} Nhúng: {embedded}Working: {working} Không gian làm việc: {working}Cancelled {label} Đã hủy {label}Cancel transform (Esc) Hủy biến đổi (Esc)@@ -1580,8 +1579,6 @@ cameraRaw Shadows Vùng tốiEmbedded Profile Mismatch Hồ sơ nhúng không khớpAssign working space Gán không gian làm việcLeave as is (don't color manage) Giữ nguyên (không quản lý màu)- Use the embedded profile (instead of the working space) Dùng hồ sơ nhúng (thay vì không gian làm việc)- Convert document's colors to the working space Chuyển màu tài liệu sang không gian làm việcDiscard the embedded profile (don't color manage) Bỏ hồ sơ nhúng (không quản lý màu)Native file drag-and-drop is unavailable Kéo thả tệp gốc không khả dụngNative file drag-and-drop is not supported on Wayland yet. Use File › Open, or run PhotoCraft under XWayland with `WAYLAND_DISPLAY= photocraft`. Kéo thả tệp gốc chưa được hỗ trợ trên Wayland. Dùng Tệp › Mở, hoặc chạy PhotoCraft dưới XWayland với `WAYLAND_DISPLAY= photocraft`.@@ -3632,6 +3629,11 @@ curves Smooth Làm mượtSent to {printer} Đã gửi tới {printer}set in Print Settings… đặt trong thiết lập in…ICO is limited to 256 × 256 pixels ICO giới hạn ở 256 × 256 pixel+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) Dùng hồ sơ nhúng ({profile})+ Convert to the working space ({profile}) Chuyển sang không gian làm việc ({profile})+ Remember this choice for future images Ghi nhớ lựa chọn này cho các ảnh sau+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. Bật lại câu hỏi bằng Ask On Mismatch trong Chỉnh sửa › Cài đặt màu.Button Mode Chế độ nútButton Mode On Chế độ nút bậtdiff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex 93a6b168f..fbf27542e 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -988,7 +988,6 @@Contiguous 连续Contrast 对比度Control: 控制:- Convert document's colors to the working space 将文档颜色转换到工作空间Convert to sRGB 转换为 sRGBCopies 份数Copper 铜色@@ -1579,7 +1578,6 @@Use Default 使用默认值Use Legacy 使用旧版Use Measurement Scale 使用测量比例- Use the embedded profile (instead of the working space) 使用嵌入的配置文件(替代工作空间)Uses the foreground and background colors. 使用前景色和背景色。Variables bind a layer's visibility, text or pixels to a named data slot. 变量将图层的可见性、文字或像素绑定到具名数据项。Vertical scale 垂直缩放@@ -2261,7 +2259,6 @@ cameraRaw Blending 混合Cancelled opening {name} 已取消打开 {name}The document “{name}” does not have an embedded {mode} profile. 文档“{name}”没有嵌入的 {mode} 配置文件。The document “{name}” has an embedded color profile that does not match the current {mode} working space. 文档“{name}”嵌入的颜色配置文件与当前的 {mode} 工作空间不匹配。- Embedded: {embedded} 嵌入:{embedded}Working: {working} 工作空间:{working}Developing {name} 正在处理 {name}Cancelled {label} 已取消 {label}@@ -2755,6 +2752,11 @@ curves Smooth 平滑Sent to {printer} 已发送到 {printer}set in Print Settings… 在打印设置中设置…ICO is limited to 256 × 256 pixels ICO 最大为 256 × 256 像素+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) 使用嵌入的配置文件({profile})+ Convert to the working space ({profile}) 转换到工作空间({profile})+ Remember this choice for future images 以后打开的图像都使用此选择+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. 可在 编辑 › 颜色设置 中打开 Ask On Mismatch,重新显示此提示。Button Mode 按钮模式Button Mode On 按钮模式 开diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex 5638145f2..012476978 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -992,7 +992,6 @@Contiguous 連續的Contrast 對比Control: 控制:- Convert document's colors to the working space 將文件顏色轉換為工作空間Convert to sRGB 轉換為 sRGBCopies 份數Copper 銅色@@ -1575,7 +1574,6 @@Use Default 使用預設值Use Legacy 使用舊版Use Measurement Scale 使用測量比例- Use the embedded profile (instead of the working space) 使用內嵌描述檔 (而非工作空間)Variables bind a layer's visibility, text or pixels to a named data slot. 變數可將圖層的可見度、文字或像素繫結至具名的資料欄位。Vertical scale 垂直縮放Vibrance 自然飽和度@@ -2200,7 +2198,6 @@Cancelled opening {name} 已取消開啟 {name}The document “{name}” does not have an embedded {mode} profile. 文件「{name}」沒有嵌入的 {mode} 描述檔。The document “{name}” has an embedded color profile that does not match the current {mode} working space. 文件「{name}」嵌入的色彩描述檔與目前的 {mode} 工作空間不符。- Embedded: {embedded} 嵌入:{embedded}Working: {working} 工作空間:{working}Developing {name} 正在處理 {name}Cancelled {label} 已取消 {label}@@ -2740,6 +2737,11 @@ curves Smooth 平滑Sent to {printer} 已傳送至 {printer}set in Print Settings… 在列印設定中設定…ICO is limited to 256 × 256 pixels ICO 最大為 256 × 256 像素+# Embedded Profile Mismatch: profile names beside the choices, Remember this choice+ Use the embedded profile ({profile}) 使用內嵌描述檔 ({profile})+ Convert to the working space ({profile}) 轉換為工作空間 ({profile})+ Remember this choice for future images 之後開啟的影像都使用此選擇+ Turn the prompt back on with Ask On Mismatch in Edit › Color Settings. 可在 編輯 › 色彩設定 中開啟 Ask On Mismatch,重新顯示此提示。Button Mode 按鈕模式Button Mode On 按鈕模式 開diff --git a/crates/ui-egui/src/open_prompt.rs b/crates/ui-egui/src/open_prompt.rsindex cd04a4fc5..a4d93ca05 100644--- a/crates/ui-egui/src/open_prompt.rs+++ b/crates/ui-egui/src/open_prompt.rs@@ -75,19 +75,33 @@ fn show(app: &mut PhotocraftApp) {let name = front.name.as_str();let working = crate::i18n::fmt(tl!("Working: {working}"), &[("working", q.get("working").and_then(Value::as_str).unwrap_or("?"))]);let missing = q.get("missing").and_then(Value::as_bool) == Some(true);+ // A mismatch names the two profiles on the choices they belong to (`prefs_ui::mismatch_body`).let message = if missing {let what = crate::i18n::fmt(tl!("The document “{name}” does not have an embedded {mode} profile."), &[("mode", mode), ("name", name)]);format!("{what}\n{working}")} else {- let what = crate::i18n::fmt(+ crate::i18n::fmt(tl!("The document “{name}” has an embedded color profile that does not match the current {mode} working space."),&[("mode", mode), ("name", name)],- );- let embedded = crate::i18n::fmt(tl!("Embedded: {embedded}"), &[("embedded", q.get("embedded").and_then(Value::as_str).unwrap_or("?"))]);- format!("{what}\n{embedded}\n{working}")+ )};let action = q.get("action").and_then(Value::as_str).unwrap_or("preserve").to_string();- crate::prefs_ui::open_mismatch(app, &message, &action, missing, FIELD);+ let names = json!({+ "embedded": q.get("embedded").and_then(Value::as_str).unwrap_or("?"),+ "working": q.get("working").and_then(Value::as_str).unwrap_or("?"),+ "policyKey": policy_key(front.doc.mode),+ });+ crate::prefs_ui::open_mismatch(app, &message, &action, missing, FIELD, names);+}++/// The Color Settings policy that answers this mode's files when Ask On Mismatch is off.+fn policy_key(mode: ColorMode) -> Option<&'static str> {+ match photocraft_engine::color_cmds::mode_space(mode) {+ photocraft_cms::ColorSpace::Rgb => Some("policyRgb"),+ photocraft_cms::ColorSpace::Cmyk => Some("policyCmyk"),+ photocraft_cms::ColorSpace::Gray => Some("policyGray"),+ _ => None,+ }}/// Whether `fields` are one of this module's prompts.@@ -115,6 +129,31 @@ pub fn answer(app: &mut PhotocraftApp, action: Option<&str>) -> Result<Value, Str}+/// OK with "Remember this choice": `action` becomes the Color Settings policy for the file's+/// mode and Ask On Mismatch turns off, so files read from now on open without asking. Files+/// already waiting with a mismatch in the same mode were asked before that and get the same+/// answer; any other question still asks.+pub fn answer_remembering(app: &mut PhotocraftApp, action: &str) -> Result<Value, String> {+ let Some(key) = app.held_opens.front().and_then(|h| policy_key(h.doc.mode)) else { return answer(app, Some(action)) };+ let policy = match action {+ "convert" => "convert",+ "discard" => "off",+ _ => "preserve",+ };+ app.run("edit.colorSettings", json!({key: policy, "askOnMismatch": false}))?;+ let same = |h: &Held| policy_key(h.doc.mode) == Some(key) && h.question.as_ref().is_some_and(|q| q.get("missing").and_then(Value::as_bool) != Some(true));+ let Some(held) = app.held_opens.pop_front() else { return Err("no file is waiting to open".into()) };+ let r = open(app, held, Some(action));+ while app.held_opens.front().is_some_and(same) {+ if let Some(held) = app.held_opens.pop_front() {+ // A failure is shown to the user (`open_failed`); the next file still opens.+ let _ = open(app, held, Some(action));+ }+ }+ advance(app);+ r+}+/// Opens a queued file, applying `action` (the prompt's answer) or else the Color Settings/// policy, then does what any open does afterwards.fn open(app: &mut PhotocraftApp, held: Held, action: Option<&str>) -> Result<Value, String> {diff --git a/crates/ui-egui/src/prefs_ui.rs b/crates/ui-egui/src/prefs_ui.rsindex 7dd2ce2ea..4f47dbdd5 100644--- a/crates/ui-egui/src/prefs_ui.rs+++ b/crates/ui-egui/src/prefs_ui.rs@@ -1017,8 +1017,13 @@ pub fn open_shortcuts(app: &mut PhotocraftApp, tab: u64) -> u64 {/// Open the Embedded Profile Mismatch prompt for a file waiting to open (`open_prompt`): its/// `message`, the answer selected first (`action`), and `marker`, the field that routes OK and/// Cancel back to `open_prompt`.-pub fn open_mismatch(app: &mut PhotocraftApp, message: &str, action: &str, missing: bool, marker: &str) -> u64 {- let mut fields = json!({"message": message, "action": action, "missing": missing});+/// `names` carries the embedded and working profile names and the Color Settings policy a+/// remembered choice is saved to (`policyKey`, null for a mode without one).+pub fn open_mismatch(app: &mut PhotocraftApp, message: &str, action: &str, missing: bool, marker: &str, names: Value) -> u64 {+ let mut fields = json!({"message": message, "action": action, "missing": missing, "remember": false});+ if let (Some(f), Value::Object(n)) = (fields.as_object_mut(), names) {+ f.extend(n);+ }fields[marker] = json!(true);open_kind(app, "mismatch", tl!("Embedded Profile Mismatch"), fields)}@@ -1941,19 +1946,28 @@ fn mismatch_body(ui: &mut egui::Ui, f: &mut Map<String, Value>) {ui.add_space(6.0);let mut action = f.get("action").and_then(Value::as_str).unwrap_or("preserve").to_string();let missing = f.get("missing").and_then(Value::as_bool).unwrap_or(false);- let opts: &[(&str, &str)] = if missing {- &[("preserve", tl!("Leave as is (don't color manage)")), ("assignWorking", tl!("Assign working space"))]+ let name = |k: &str| f.get(k).and_then(Value::as_str).unwrap_or("?").to_string();+ let opts: Vec<(&str, String)> = if missing {+ vec![("preserve", tl!("Leave as is (don't color manage)").into()), ("assignWorking", tl!("Assign working space").into())]} else {- &[- ("preserve", tl!("Use the embedded profile (instead of the working space)")),- ("convert", tl!("Convert document's colors to the working space")),- ("discard", tl!("Discard the embedded profile (don't color manage)")),+ vec![+ ("preserve", crate::i18n::fmt(tl!("Use the embedded profile ({profile})"), &[("profile", &name("embedded"))])),+ ("convert", crate::i18n::fmt(tl!("Convert to the working space ({profile})"), &[("profile", &name("working"))])),+ ("discard", tl!("Discard the embedded profile (don't color manage)").into()),]};for (v, label) in opts {- ui.radio_value(&mut action, v.to_string(), *label);+ ui.radio_value(&mut action, v.to_string(), label);}f.insert("action".into(), json!(action));+ // Remembering sets the Color Settings policy and stops asking, so it needs a mode with a policy.+ if !missing && f.get("policyKey").is_some_and(Value::is_string) {+ ui.add_space(8.0);+ let mut remember = f.get("remember").and_then(Value::as_bool).unwrap_or(false);+ crate::widgets::checkbox(ui, &mut remember, tl!("Remember this choice for future images"))+ .on_hover_text(tl!("Turn the prompt back on with Ask On Mismatch in Edit › Color Settings."));+ f.insert("remember".into(), json!(remember));+ }}// ------------------------------------------------------------------ confirm@@ -2024,6 +2038,9 @@ pub fn confirm(app: &mut PhotocraftApp, f: &Map<String, Value>) -> Result<Value,// The file it asks about opens with this answer (`open_prompt`)."mismatch" => {let action = f.get("action").and_then(Value::as_str).unwrap_or("preserve");+ if f.get("remember").and_then(Value::as_bool) == Some(true) {+ return crate::open_prompt::answer_remembering(app, action);+ }crate::open_prompt::answer(app, Some(action))}_ => Err("unknown dialog".into()),diff --git a/crates/ui-egui/src/profile_open_tests.rs b/crates/ui-egui/src/profile_open_tests.rsindex 6828da6f7..2ede8ffef 100644--- a/crates/ui-egui/src/profile_open_tests.rs+++ b/crates/ui-egui/src/profile_open_tests.rs@@ -13,8 +13,8 @@ use photocraft_doc::{Color, ColorMode, Document, SampleType, Size};use photocraft_engine::Session;use serde_json::Value;-const USE: &str = "Use the embedded profile (instead of the working space)";-const CONVERT: &str = "Convert document's colors to the working space";+const USE: &str = "Use the embedded profile (Adobe RGB (1998)-compatible (Photocraft))";+const CONVERT: &str = "Convert to the working space (sRGB IEC61966-2.1)";const DISCARD: &str = "Discard the embedded profile (don't color manage)";/// A PNG tagged with Adobe RGB, which doesn't match the sRGB working space.@@ -135,35 +135,36 @@ fn files_opened_together_ask_one_at_a_time_before_each_opens() {}}-/// The prompt reads in the interface language: its sentence, the Embedded and Working lines and-/// the mode's name (French "RVB"). The file's name goes in as it is, braces and all.+/// The prompt reads in the interface language: its sentence, the mode's name (French "RVB") and+/// the choices, which name the embedded and working profiles. The file's name goes in as it is,+/// braces and all.#[test]fn the_prompt_is_translated_and_still_names_its_file() {let png = adobe_png();- for (code, sentence, embedded, working) in [+ for (code, sentence, use_embedded, convert) in [("en","The document “shot {mode}.png” has an embedded color profile that does not match the current RGB working space.",- "Embedded: Adobe RGB",- "Working: sRGB",+ "Use the embedded profile (Adobe RGB",+ "Convert to the working space (sRGB",),("de","Das Dokument „shot {mode}.png“ hat ein eingebettetes Farbprofil, das nicht zum aktuellen RGB-Arbeitsfarbraum passt.",- "Eingebettet: Adobe RGB",- "Arbeitsfarbraum: sRGB",+ "Eingebettetes Profil verwenden (Adobe RGB",+ "In den Arbeitsfarbraum konvertieren (sRGB",),("fr","Le document «NBSPshot {mode}.pngNBSP» a un profil colorimétrique incorporé qui ne correspond pas à l'espace de travail RVB actuel.",- "IncorporéNBSP: Adobe RGB",- "Espace de travailNBSP: sRGB",+ "Utiliser le profil incorporé (Adobe RGB",+ "Convertir vers l'espace de travail (sRGB",),("ja","ドキュメント「shot {mode}.png」の埋め込みカラープロファイルは、現在の RGB 作業用スペースと一致しません。",- "埋め込み: Adobe RGB",- "作業用スペース: sRGB",+ "埋め込みプロファイルを使用 (Adobe RGB",+ "作業用スペースに変換 (sRGB",),] {let services = Services {@@ -177,12 +178,18 @@ fn the_prompt_is_translated_and_still_names_its_file() {let lang = crate::i18n::Lang::from_code(code).unwrap();crate::i18n::with_language(lang, || app.open_file("/pics/shot {mode}.png", &png)).unwrap();assert!(app.session.documents().is_empty(), "{code}: held until answered");- let message = app.ui.dialogs[0].fields.get("message").and_then(Value::as_str).unwrap().to_string();- let lines: Vec<&str> = message.lines().collect();- assert_eq!(lines.len(), 3, "{code}: {message}");- assert_eq!(lines[0], sentence.replace("NBSP", "\u{a0}"), "{code}");- assert!(lines[1].starts_with(&embedded.replace("NBSP", "\u{a0}")), "{code}: {}", lines[1]);- assert!(lines[2].starts_with(&working.replace("NBSP", "\u{a0}")), "{code}: {}", lines[2]);+ let fields = app.ui.dialogs[0].fields.clone();+ let message = fields.get("message").and_then(Value::as_str).unwrap().to_string();+ assert_eq!(message, sentence.replace("NBSP", "\u{a0}"), "{code}: one line, the profiles are on the choices");+ let name = |k: &str| fields.get(k).and_then(Value::as_str).unwrap().to_string();+ let (use_label, convert_label) = crate::i18n::with_language(lang, || {+ (+ crate::i18n::fmt(tl!("Use the embedded profile ({profile})"), &[("profile", &name("embedded"))]),+ crate::i18n::fmt(tl!("Convert to the working space ({profile})"), &[("profile", &name("working"))]),+ )+ });+ assert!(use_label.starts_with(use_embedded), "{code}: {use_label}");+ assert!(convert_label.starts_with(convert), "{code}: {convert_label}");}}@@ -253,3 +260,40 @@ fn cancel_opens_neither_the_file_nor_the_ones_still_to_come() {assert_eq!(asked(&h), "d.png");}}++/// "Remember this choice": one answer opens the files still waiting with it, saves it as the+/// Color Settings policy and stops asking, so the next mismatched file opens without a prompt.+#[test]+fn remember_answers_the_waiting_files_and_stops_asking() {+ for background in [false, true] {+ let mut h = harness(background);+ open_three(&mut h);+ click(&mut h, CONVERT);+ click(&mut h, "Remember this choice for future images");+ click(&mut h, "OK");+ assert!(h.state().ui.dialogs.is_empty(), "background {background}: no prompt is left");+ let mut opened = docs(&h);+ opened.sort();+ assert_eq!(opened, ["a.png", "b.png", "c.png"], "background {background}");+ for name in ["a.png", "b.png", "c.png"] {+ assert_eq!(profile(&h, name).as_deref(), Some("sRGB IEC61966-2.1"), "background {background}: {name} converted");+ }+ let settings = &h.state().session.color.settings;+ assert_eq!(settings.policy(photocraft_doc::ColorMode::Rgb), photocraft_engine::color_cmds::Policy::Convert);+ assert!(!settings.ask_on_mismatch, "background {background}");+ h.state_mut().open_file("/pics/d.png", &adobe_png()).unwrap();+ settle(&mut h);+ assert!(h.state().ui.dialogs.is_empty(), "background {background}: the next file doesn't ask");+ assert_eq!(profile(&h, "d.png").as_deref(), Some("sRGB IEC61966-2.1"), "background {background}");+ }+}++/// Without Remember, OK answers only the file asked about.+#[test]+fn without_remember_the_next_file_still_asks() {+ let mut h = harness(false);+ open_three(&mut h);+ answer(&mut h, CONVERT);+ assert_eq!(h.state().ui.dialogs.len(), 1);+ assert!(h.state().session.color.settings.ask_on_mismatch);+}diff --git a/crates/ui-egui/src/profile_prompt_tests.rs b/crates/ui-egui/src/profile_prompt_tests.rsindex cec2a8c28..e055cdd54 100644--- a/crates/ui-egui/src/profile_prompt_tests.rs+++ b/crates/ui-egui/src/profile_prompt_tests.rs@@ -34,7 +34,7 @@ fn harness(background: bool) -> Harness<'static, PhotocraftApp> {fn open_together(h: &mut Harness<'static, PhotocraftApp>, n: usize) {let message = "The document “shot.png” has an embedded color profile that does not match the current RGB working space.";for _ in 0..n {- crate::prefs_ui::open_mismatch(h.state_mut(), message, "preserve", false, "__stacked");+ crate::prefs_ui::open_mismatch(h.state_mut(), message, "preserve", false, "__stacked", serde_json::json!({}));}for _ in 0..100 {h.run_steps(2);