Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Merge remote-tracking branch 'upstream/main' into feat/system-appearance

Luniiya28a773d460f5
diff --cc crates/ui-egui/locales/de.json
index 81376a649,c4bded93e..038f49d90
--- a/crates/ui-egui/locales/de.json
+++ b/crates/ui-egui/locales/de.json
@@@ -1890,17 -1890,131 +1890,144 @@@
"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed",
"ONNX model": "ONNX model",
"commercial use subject to GPL conditions": "commercial use subject to GPL conditions",
+ "Decrease Rating": "Bewertung verringern",
+ "Increase Rating": "Bewertung erhöhen",
+ "Click to type a value": "Klicken, um einen Wert einzugeben",
+ "Angle": "Winkel",
+ "Video": "Video",
+ "Copyrighted": "Urheberrechtlich geschützt",
+ "Public Domain": "Gemeinfrei",
+ "Unknown": "Unbekannt",
+ "Landscape (wide)": "Querformat",
+ "Portrait (tall)": "Hochformat",
+ "Square": "Quadratisch",
+ "In Color": "Farbig",
+ "No Label": "Ohne Markierung",
+ "Choose an album…": "Album wählen…",
+ "No albums yet": "Noch keine Alben",
+ "Fix the marked rules to save this album.": "Korrigiere die markierten Regeln, um dieses Album zu speichern.",
+ "Some rules need fixing (Edit Smart Album…):": "Einige Regeln müssen korrigiert werden (Smart-Album bearbeiten…):",
+ "isn't a field rules know": "ist kein bekanntes Feld",
+ "can't be tested that way": "lässt sich so nicht prüfen",
+ "is yes or no": "ist Ja oder Nein",
+ "needs a number": "braucht eine Zahl",
+ "needs a time like 1/250 or 2": "braucht eine Zeit wie 1/250 oder 2",
+ "needs a date like 2026, 2026-08 or 2026-08-14": "braucht ein Datum wie 2026, 2026-08 oder 2026-08-14",
+ "has the first date after the second": "das erste Datum liegt nach dem zweiten",
+ "needs two values": "braucht zwei Werte",
+ "needs a number more than 0": "braucht eine Zahl größer als 0",
+ "needs hours, days, weeks, months or years": "braucht Stunden, Tage, Wochen, Monate oder Jahre",
+ "isn't one of the choices": "ist keine der Auswahlmöglichkeiten",
+ "needs something to look for (or use “is empty”)": "braucht einen Suchbegriff (oder „ist leer“)",
+ "needs something to look for (or use “isn't empty”)": "braucht einen Suchbegriff (oder „ist nicht leer“)",
+ "needs text": "braucht Text",
+ "can't match any rating from 0 to 5": "passt zu keiner Bewertung von 0 bis 5",
+ "needs an album": "braucht ein Album",
+ "names an album that no longer exists": "nennt ein Album, das es nicht mehr gibt",
+ "can't test a folder; choose an album in it": "kann keinen Ordner prüfen; wähle ein Album darin",
+ "This group is empty: add a rule or remove it.": "Diese Gruppe ist leer: Füge eine Regel hinzu oder entferne sie.",
+ "needs something to look for (or use “are empty”)": "braucht einen Suchbegriff (oder „sind leer“)",
+ "needs something to look for (or use “aren't empty”)": "braucht einen Suchbegriff (oder „sind nicht leer“)",
+ "Mo": "Mo",
+ "Tu": "Di",
+ "We": "Mi",
+ "Th": "Do",
+ "Fr": "Fr",
+ "Sa": "Sa",
+ "Su": "So",
+ "Pick a date": "Datum wählen",
+ "would make this album include itself through other smart albums": "würde dieses Album über andere Smart-Alben sich selbst enthalten lassen",
+ "Search albums": "Alben suchen",
+ "No albums match": "Kein Album passt",
+ "This is the album you're editing": "Das ist das Album, das du bearbeitest",
+ "It tests this album, so testing it back would loop": "Es prüft dieses Album; es zurückzuprüfen wäre ein Kreis",
+ "Copy Name": "Kopiename",
+ "In a Stack": "In einem Stapel",
+ "File Extension": "Dateiendung",
+ "Video Duration": "Videodauer",
+ "Keyword Count": "Anzahl Stichwörter",
+ "People Count": "Anzahl Personen",
+ "Shutter Speed": "Belichtungszeit",
+ "Cropped": "Zugeschnitten",
+ "Keywords & People": "Stichwörter & Personen",
+ "Description": "Beschreibung",
+ "Camera Info": "Kamera-Info",
+ "Develop": "Bearbeitung",
+ "Keyword List": "Stichwortliste",
+ "Filter Keywords": "Stichwörter filtern",
+ "No keywords yet": "Noch keine Stichwörter",
+ "No keywords match": "Keine passenden Stichwörter",
+ "Keyword Name": "Stichwortname",
+ "Synonyms": "Synonyme",
+ "Separated by commas": "Durch Kommas getrennt",
+ "Keyword Tag Options": "Stichwort-Optionen",
+ "Include on Export": "Beim Export einschließen",
+ "Export Containing Keywords": "Übergeordnete Stichwörter exportieren",
+ "Export Synonyms": "Synonyme exportieren",
+ "Create Keyword Tag": "Stichwort erstellen",
+ "Edit Keyword Tag": "Stichwort bearbeiten",
+ "Create": "Erstellen",
+ "No photo has it; the keywords below it go too.": "Kein Foto hat es; die Stichwörter darunter werden ebenfalls gelöscht.",
+ "Edit Keyword Tag…": "Stichwort bearbeiten…",
+ "Put New Keywords Inside This Keyword": "Neue Stichwörter in dieses Stichwort einfügen",
+ "Purge Unused Keywords": "Nicht verwendete Stichwörter löschen",
+ "Delete Keyword…": "Stichwort löschen…",
+ "Drop here for the top level": "Hier ablegen für die oberste Ebene",
+ "Their photos and the keywords below them come together under one keyword.": "Ihre Fotos und die Stichwörter darunter kommen unter einem Stichwort zusammen.",
+ "Select photos to give them keywords.": "Wählen Sie Fotos aus, um ihnen Stichwörter zu geben.",
+ "Add to All Selected Photos": "Allen ausgewählten Fotos hinzufügen",
+ "Will Export": "Wird exportiert",
+ "No keywords are exported": "Es werden keine Stichwörter exportiert",
+ "& Containing": "& Übergeordnete",
+ "Edit Set…": "Satz bearbeiten…",
+ "Edit Keyword Set": "Stichwortsatz bearbeiten",
+ "Keywords (⌥1–⌥9)": "Stichwörter (⌥1–⌥9)",
+ "A keyword set needs a name": "Ein Stichwortsatz braucht einen Namen",
+ "Save as a new set": "Als neuen Satz speichern",
+ "Recent Keywords is built in: choose another name": "„Letzte Stichwörter“ ist vorgegeben: Wählen Sie einen anderen Namen",
+ "Import Keywords…": "Stichwörter importieren…",
+ "Export Keywords…": "Stichwörter exportieren…",
+ "Import Keywords": "Stichwörter importieren",
+ "Export Keywords": "Stichwörter exportieren",
+ "Keyword Lists": "Stichwortlisten",
+ "Synchronize Folder…": "Ordner synchronisieren…",
+ "Synchronize Folder": "Ordner synchronisieren",
+ "Synchronize": "Synchronisieren",
+ "Scanning…": "Wird durchsucht…",
+ "Find photos added to or missing from this folder on disk, and XMP sidecars changed by other apps": "Fotos finden, die in diesem Ordner auf dem Datenträger hinzugekommen sind oder fehlen, und von anderen Apps geänderte XMP-Filialdateien",
+ "Bring the library up to date with this folder and the folders inside it:": "Die Bibliothek mit diesem Ordner und den Ordnern darin abgleichen:",
+ "Import new photos": "Neue Fotos importieren",
+ "Remove missing photos from the library": "Fehlende Fotos aus der Bibliothek entfernen",
+ "Read metadata updates from XMP sidecars": "Metadaten-Änderungen aus XMP-Filialdateien lesen",
+ "The library is up to date with this folder.": "Die Bibliothek ist mit diesem Ordner auf dem neuesten Stand.",
+ "Missing photos move to Recently Deleted and can be restored; no file on disk is touched.": "Fehlende Fotos werden nach „Zuletzt gelöscht“ verschoben und können wiederhergestellt werden; keine Datei auf dem Datenträger wird verändert.",
+ "Reading a sidecar replaces the photo's rating, labels, metadata and edits with what it says.": "Beim Lesen einer Filialdatei werden Bewertung, Markierungen, Metadaten und Bearbeitungen des Fotos durch ihren Inhalt ersetzt.",
+ "Skipped: files already in the library elsewhere": "Übersprungen: Dateien, die bereits an anderer Stelle in der Bibliothek sind",
+ "Skipped: files that can't be read": "Übersprungen: Dateien, die nicht gelesen werden können",
+ "This folder isn't there: it was moved or renamed, or its disk isn't connected.": "Dieser Ordner ist nicht vorhanden: Er wurde verschoben oder umbenannt, oder sein Datenträger ist nicht verbunden.",
+ "Relink photos whose file was renamed or moved": "Fotos neu verknüpfen, deren Datei umbenannt oder verschoben wurde",
+ "A folder is already being synchronized": "Es wird bereits ein Ordner synchronisiert",
+ "Synchronizing…": "Wird synchronisiert…",
+ "Relinked": "Neu verknüpft",
+ "Removed": "Entfernt",
+ "Metadata read": "Metadaten gelesen",
+ "Failed": "Fehlgeschlagen",
+ "Stopped": "Angehalten",
+ "Stopped by an error (see the log)": "Durch einen Fehler angehalten (siehe Protokoll)",
+ "Not saved": "Nicht gespeichert",
+ "A folder is being synchronized": "Ein Ordner wird gerade synchronisiert",
- "Wait for the import to finish": "Warten Sie, bis der Import abgeschlossen ist"
++ "Wait for the import to finish": "Warten Sie, bis der Import abgeschlossen ist",
+ "Appearance": "Erscheinungsbild",
+ "Appearance Mode": "Erscheinungsmodus",
+ "Sync with System": "Mit System synchronisieren",
+ "Light Mode": "Heller Modus",
+ "Dark Mode": "Dunkler Modus",
+ "Next Appearance Mode": "Nächster Erscheinungsmodus",
+ "Light Theme": "Helles Design",
+ "Dark Theme": "Dunkles Design",
+ "In Use": "In Verwendung",
+ "Charcoal": "Anthrazit",
+ "Midnight": "Mitternacht",
+ "Silver": "Silber",
+ "Paper": "Papier"
}
diff --cc crates/ui-egui/locales/es.json
index 6c07bf636,eb13321af..c2a30057f
--- a/crates/ui-egui/locales/es.json
+++ b/crates/ui-egui/locales/es.json
@@@ -1735,17 -1735,131 +1735,144 @@@
"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed",
"ONNX model": "ONNX model",
"commercial use subject to GPL conditions": "commercial use subject to GPL conditions",
+ "Decrease Rating": "Reducir valoración",
+ "Increase Rating": "Aumentar valoración",
+ "Click to type a value": "Hacer clic para escribir un valor",
+ "Angle": "Ángulo",
+ "Video": "Vídeo",
+ "Copyrighted": "Con copyright",
+ "Public Domain": "Dominio público",
+ "Unknown": "Desconocido",
+ "Landscape (wide)": "Horizontal (apaisada)",
+ "Portrait (tall)": "Vertical (retrato)",
+ "Square": "Cuadrada",
+ "In Color": "En color",
+ "No Label": "Sin etiqueta",
+ "Choose an album…": "Elige un álbum…",
+ "No albums yet": "Aún no hay álbumes",
+ "Fix the marked rules to save this album.": "Corrige las reglas marcadas para guardar este álbum.",
+ "Some rules need fixing (Edit Smart Album…):": "Hay reglas que corregir (Editar álbum inteligente…):",
+ "isn't a field rules know": "no es un campo conocido",
+ "can't be tested that way": "no se puede comprobar así",
+ "is yes or no": "es Sí o No",
+ "needs a number": "necesita un número",
+ "needs a time like 1/250 or 2": "necesita un tiempo como 1/250 o 2",
+ "needs a date like 2026, 2026-08 or 2026-08-14": "necesita una fecha como 2026, 2026-08 o 2026-08-14",
+ "has the first date after the second": "la primera fecha es posterior a la segunda",
+ "needs two values": "necesita dos valores",
+ "needs a number more than 0": "necesita un número mayor que 0",
+ "needs hours, days, weeks, months or years": "necesita horas, días, semanas, meses o años",
+ "isn't one of the choices": "no es ninguna de las opciones",
+ "needs something to look for (or use “is empty”)": "necesita algo que buscar (o usa «está vacío»)",
+ "needs something to look for (or use “isn't empty”)": "necesita algo que buscar (o usa «no está vacío»)",
+ "needs text": "necesita texto",
+ "can't match any rating from 0 to 5": "no coincide con ninguna valoración de 0 a 5",
+ "needs an album": "necesita un álbum",
+ "names an album that no longer exists": "indica un álbum que ya no existe",
+ "can't test a folder; choose an album in it": "no puede comprobar una carpeta; elige un álbum dentro",
+ "This group is empty: add a rule or remove it.": "Este grupo está vacío: añade una regla o quítalo.",
+ "needs something to look for (or use “are empty”)": "necesita algo que buscar (o usa «están vacíos»)",
+ "needs something to look for (or use “aren't empty”)": "necesita algo que buscar (o usa «no están vacíos»)",
+ "Mo": "Lu",
+ "Tu": "Ma",
+ "We": "Mi",
+ "Th": "Ju",
+ "Fr": "Vi",
+ "Sa": "Sá",
+ "Su": "Do",
+ "Pick a date": "Elegir una fecha",
+ "would make this album include itself through other smart albums": "haría que este álbum se incluyera a sí mismo a través de otros álbumes inteligentes",
+ "Search albums": "Buscar álbumes",
+ "No albums match": "Ningún álbum coincide",
+ "This is the album you're editing": "Es el álbum que estás editando",
+ "It tests this album, so testing it back would loop": "Comprueba este álbum, así que comprobarlo a su vez crearía un bucle",
+ "Copy Name": "Nombre de la copia",
+ "In a Stack": "En una pila",
+ "File Extension": "Extensión del archivo",
+ "Video Duration": "Duración del vídeo",
+ "Keyword Count": "Número de palabras clave",
+ "People Count": "Número de personas",
+ "Shutter Speed": "Velocidad de obturación",
+ "Cropped": "Recortada",
+ "Keywords & People": "Palabras clave y personas",
+ "Description": "Descripción",
+ "Camera Info": "Información de la cámara",
+ "Develop": "Edición",
+ "Keyword List": "Lista de palabras clave",
+ "Filter Keywords": "Filtrar palabras clave",
+ "No keywords yet": "Aún no hay palabras clave",
+ "No keywords match": "Ninguna palabra clave coincide",
+ "Keyword Name": "Nombre de la palabra clave",
+ "Synonyms": "Sinónimos",
+ "Separated by commas": "Separados por comas",
+ "Keyword Tag Options": "Opciones de palabra clave",
+ "Include on Export": "Incluir al exportar",
+ "Export Containing Keywords": "Exportar palabras clave contenedoras",
+ "Export Synonyms": "Exportar sinónimos",
+ "Create Keyword Tag": "Crear palabra clave",
+ "Edit Keyword Tag": "Editar palabra clave",
+ "Create": "Crear",
+ "No photo has it; the keywords below it go too.": "Ninguna foto la tiene; las palabras clave que contiene también se eliminan.",
+ "Edit Keyword Tag…": "Editar palabra clave…",
+ "Put New Keywords Inside This Keyword": "Poner las nuevas palabras clave dentro de esta",
+ "Purge Unused Keywords": "Eliminar palabras clave no usadas",
+ "Delete Keyword…": "Eliminar palabra clave…",
+ "Drop here for the top level": "Soltar aquí para el nivel superior",
+ "Their photos and the keywords below them come together under one keyword.": "Sus fotos y las palabras clave que contienen quedan bajo una sola palabra clave.",
+ "Select photos to give them keywords.": "Selecciona fotos para darles palabras clave.",
+ "Add to All Selected Photos": "Añadir a todas las fotos seleccionadas",
+ "Will Export": "Se exportará",
+ "No keywords are exported": "No se exporta ninguna palabra clave",
+ "& Containing": "y contenedoras",
+ "Edit Set…": "Editar conjunto…",
+ "Edit Keyword Set": "Editar conjunto de palabras clave",
+ "Keywords (⌥1–⌥9)": "Palabras clave (⌥1–⌥9)",
+ "A keyword set needs a name": "Un conjunto de palabras clave necesita un nombre",
+ "Save as a new set": "Guardar como conjunto nuevo",
+ "Recent Keywords is built in: choose another name": "“Palabras clave recientes” es fijo: elige otro nombre",
+ "Import Keywords…": "Importar palabras clave…",
+ "Export Keywords…": "Exportar palabras clave…",
+ "Import Keywords": "Importar palabras clave",
+ "Export Keywords": "Exportar palabras clave",
+ "Keyword Lists": "Listas de palabras clave",
+ "Synchronize Folder…": "Sincronizar carpeta…",
+ "Synchronize Folder": "Sincronizar carpeta",
+ "Synchronize": "Sincronizar",
+ "Scanning…": "Explorando…",
+ "Find photos added to or missing from this folder on disk, and XMP sidecars changed by other apps": "Buscar fotos añadidas a esta carpeta del disco o que faltan en ella, y archivos XMP complementarios cambiados por otras apps",
+ "Bring the library up to date with this folder and the folders inside it:": "Poner la biblioteca al día con esta carpeta y las carpetas que contiene:",
+ "Import new photos": "Importar fotos nuevas",
+ "Remove missing photos from the library": "Quitar de la biblioteca las fotos que faltan",
+ "Read metadata updates from XMP sidecars": "Leer cambios de metadatos de los archivos XMP complementarios",
+ "The library is up to date with this folder.": "La biblioteca está al día con esta carpeta.",
+ "Missing photos move to Recently Deleted and can be restored; no file on disk is touched.": "Las fotos que faltan pasan a Eliminadas recientemente y se pueden restaurar; no se toca ningún archivo del disco.",
+ "Reading a sidecar replaces the photo's rating, labels, metadata and edits with what it says.": "Leer un archivo complementario sustituye la valoración, las etiquetas, los metadatos y las ediciones de la foto por lo que contiene.",
+ "Skipped: files already in the library elsewhere": "Omitidos: archivos que ya están en la biblioteca en otro lugar",
+ "Skipped: files that can't be read": "Omitidos: archivos que no se pueden leer",
+ "This folder isn't there: it was moved or renamed, or its disk isn't connected.": "Esta carpeta no está: se movió o se le cambió el nombre, o su disco no está conectado.",
+ "Relink photos whose file was renamed or moved": "Volver a vincular fotos cuyo archivo se renombró o movió",
+ "A folder is already being synchronized": "Ya se está sincronizando una carpeta",
+ "Synchronizing…": "Sincronizando…",
+ "Relinked": "Revinculadas",
+ "Removed": "Quitadas",
+ "Metadata read": "Metadatos leídos",
+ "Failed": "Con errores",
+ "Stopped": "Detenido",
+ "Stopped by an error (see the log)": "Detenido por un error (ver el registro)",
+ "Not saved": "Sin guardar",
+ "A folder is being synchronized": "Se está sincronizando una carpeta",
- "Wait for the import to finish": "Espera a que termine la importación"
++ "Wait for the import to finish": "Espera a que termine la importación",
+ "Appearance": "Apariencia",
+ "Appearance Mode": "Modo de apariencia",
+ "Sync with System": "Sincronizar con el sistema",
+ "Light Mode": "Modo claro",
+ "Dark Mode": "Modo oscuro",
+ "Next Appearance Mode": "Siguiente modo de apariencia",
+ "Light Theme": "Tema claro",
+ "Dark Theme": "Tema oscuro",
+ "In Use": "En uso",
+ "Charcoal": "Carbón",
+ "Midnight": "Medianoche",
+ "Silver": "Plata",
+ "Paper": "Papel"
}
diff --cc crates/ui-egui/locales/ja.json
index 52721325c,4d9c8ae7f..b10b2c252
--- a/crates/ui-egui/locales/ja.json
+++ b/crates/ui-egui/locales/ja.json
@@@ -1735,17 -1735,133 +1735,146 @@@
"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed",
"ONNX model": "ONNX model",
"commercial use subject to GPL conditions": "commercial use subject to GPL conditions",
+ "Decrease Rating": "評価を下げる",
+ "Increase Rating": "評価を上げる",
+ "Click to type a value": "クリックして値を入力",
+ "Angle": "角度",
+ "Video": "動画",
+ "Copyrighted": "著作権あり",
+ "Public Domain": "パブリックドメイン",
+ "Unknown": "不明",
+ "Landscape (wide)": "横長",
+ "Portrait (tall)": "縦長",
+ "Square": "正方形",
+ "In Color": "カラー",
+ "No Label": "ラベルなし",
+ "smart album value|Yes": "あり",
+ "smart album value|No": "なし",
+ "In a Stack": "スタック",
+ "Cropped": "切り抜き",
+ "Choose an album…": "アルバムを選択…",
+ "No albums yet": "アルバムはまだありません",
+ "Fix the marked rules to save this album.": "このアルバムを保存するには、印の付いた条件を修正してください。",
+ "Some rules need fixing (Edit Smart Album…):": "修正が必要な条件があります(スマートアルバムを編集…):",
+ "isn't a field rules know": "不明な項目です",
+ "can't be tested that way": "この方法では判定できません",
+ "is yes or no": "「あり」か「なし」を選んでください",
+ "needs a number": "数値が必要です",
+ "needs a time like 1/250 or 2": "1/250 や 2 のようなシャッター速度が必要です",
+ "needs a date like 2026, 2026-08 or 2026-08-14": "2026、2026-08、2026-08-14 のような日付が必要です",
+ "has the first date after the second": "最初の日付が2番目の日付より後です",
+ "needs two values": "2つの値が必要です",
+ "needs a number more than 0": "0より大きい数値が必要です",
+ "needs hours, days, weeks, months or years": "時間・日・週・月・年のいずれかが必要です",
+ "isn't one of the choices": "選択肢にありません",
+ "needs something to look for (or use “is empty”)": "検索する語句が必要です(または「が空」を使用)",
+ "needs something to look for (or use “isn't empty”)": "検索する語句が必要です(または「が空でない」を使用)",
+ "needs text": "文字列が必要です",
+ "can't match any rating from 0 to 5": "0〜5 のどの評価にも一致しません",
+ "needs an album": "アルバムを選択してください",
+ "names an album that no longer exists": "存在しないアルバムが指定されています",
+ "can't test a folder; choose an album in it": "フォルダーは判定できません。中のアルバムを選択してください",
+ "This group is empty: add a rule or remove it.": "このグループは空です。条件を追加するか、グループを削除してください。",
+ "needs something to look for (or use “are empty”)": "検索する語句が必要です(または「が空」を使用)",
+ "needs something to look for (or use “aren't empty”)": "検索する語句が必要です(または「が空でない」を使用)",
+ "Mo": "月",
+ "Tu": "火",
+ "We": "水",
+ "Th": "木",
+ "Fr": "金",
+ "Sa": "土",
+ "Su": "日",
+ "Pick a date": "日付を選択",
+ "would make this album include itself through other smart albums": "ほかのスマートアルバムを通じて、このアルバム自身を含むことになります",
+ "Search albums": "アルバムを検索",
+ "No albums match": "一致するアルバムはありません",
+ "This is the album you're editing": "編集中のアルバムです",
+ "It tests this album, so testing it back would loop": "このアルバムを条件にしているため、逆に指定すると循環します",
+ "Copy Name": "コピー名",
+ "File Extension": "拡張子",
+ "Video Duration": "ビデオの長さ",
+ "Keyword Count": "キーワード数",
+ "People Count": "人数",
+ "Shutter Speed": "シャッター速度",
+ "Keywords & People": "キーワードと人物",
+ "Description": "説明",
+ "Camera Info": "カメラ情報",
+ "Develop": "編集",
+ "Keyword List": "キーワードリスト",
+ "Filter Keywords": "キーワードを絞り込む",
+ "No keywords yet": "キーワードはまだありません",
+ "No keywords match": "一致するキーワードはありません",
+ "Keyword Name": "キーワード名",
+ "Synonyms": "同義語",
+ "Separated by commas": "カンマ区切り",
+ "Keyword Tag Options": "キーワードタグのオプション",
+ "Include on Export": "書き出し時に含める",
+ "Export Containing Keywords": "親キーワードを書き出す",
+ "Export Synonyms": "同義語を書き出す",
+ "Create Keyword Tag": "キーワードタグを作成",
+ "Edit Keyword Tag": "キーワードタグを編集",
+ "Create": "作成",
+ "No photo has it; the keywords below it go too.": "このキーワードを持つ写真はありません。下位のキーワードも削除されます。",
+ "Edit Keyword Tag…": "キーワードタグを編集…",
+ "Put New Keywords Inside This Keyword": "新しいキーワードをこのキーワードの中に入れる",
+ "Purge Unused Keywords": "使用されていないキーワードを削除",
+ "Delete Keyword…": "キーワードを削除…",
+ "Drop here for the top level": "ここにドロップすると最上位に移動",
+ "Their photos and the keywords below them come together under one keyword.": "写真と下位のキーワードが1つのキーワードにまとめられます。",
+ "Select photos to give them keywords.": "写真を選択するとキーワードを付けられます。",
+ "Add to All Selected Photos": "選択したすべての写真に追加",
+ "Will Export": "書き出されるキーワード",
+ "No keywords are exported": "書き出されるキーワードはありません",
+ "& Containing": "と親キーワード",
+ "Edit Set…": "セットを編集…",
+ "Edit Keyword Set": "キーワードセットを編集",
+ "Keywords (⌥1–⌥9)": "キーワード (⌥1–⌥9)",
+ "A keyword set needs a name": "キーワードセットには名前が必要です",
+ "Save as a new set": "新しいセットとして保存",
+ "Recent Keywords is built in: choose another name": "「最近使用したキーワード」は組み込みです。別の名前を選んでください",
+ "Import Keywords…": "キーワードを読み込み…",
+ "Export Keywords…": "キーワードを書き出し…",
+ "Import Keywords": "キーワードを読み込み",
+ "Export Keywords": "キーワードを書き出し",
+ "Keyword Lists": "キーワードリスト",
+ "Synchronize Folder…": "フォルダを同期…",
+ "Synchronize Folder": "フォルダを同期",
+ "Synchronize": "同期",
+ "Scanning…": "スキャン中…",
+ "Find photos added to or missing from this folder on disk, and XMP sidecars changed by other apps": "ディスク上のこのフォルダに追加された写真や見つからない写真、ほかのアプリで変更された XMP サイドカーを探します",
+ "Bring the library up to date with this folder and the folders inside it:": "このフォルダとその中のフォルダに合わせてライブラリを最新にします:",
+ "Import new photos": "新しい写真を読み込む",
+ "Remove missing photos from the library": "見つからない写真をライブラリから除去",
+ "Read metadata updates from XMP sidecars": "XMP サイドカーからメタデータの更新を読み込む",
+ "The library is up to date with this folder.": "ライブラリはこのフォルダと一致しています。",
+ "Missing photos move to Recently Deleted and can be restored; no file on disk is touched.": "見つからない写真は「最近削除した写真」に移動し、復元できます。ディスク上のファイルには手を加えません",
+ "Reading a sidecar replaces the photo's rating, labels, metadata and edits with what it says.": "サイドカーを読み込むと、写真のレーティング、ラベル、メタデータ、編集内容がその内容に置き換わります。",
+ "Skipped: files already in the library elsewhere": "スキップ: 別の場所ですでにライブラリにあるファイル",
+ "Skipped: files that can't be read": "スキップ: 読み込めないファイル",
+ "This folder isn't there: it was moved or renamed, or its disk isn't connected.": "このフォルダが見つかりません。移動または名前の変更がされたか、ディスクが接続されていません。",
+ "Relink photos whose file was renamed or moved": "ファイル名の変更や移動があった写真をリンクし直す",
+ "A folder is already being synchronized": "すでにフォルダを同期中です",
+ "Synchronizing…": "同期中…",
+ "Relinked": "リンクし直し",
+ "Removed": "除去",
+ "Metadata read": "メタデータ読み込み",
+ "Failed": "失敗",
+ "Stopped": "停止しました",
+ "Stopped by an error (see the log)": "エラーで停止しました(ログを参照)",
+ "Not saved": "保存されていません",
+ "A folder is being synchronized": "フォルダを同期中です",
- "Wait for the import to finish": "読み込みが終わるまでお待ちください"
++ "Wait for the import to finish": "読み込みが終わるまでお待ちください",
+ "Appearance": "外観",
+ "Appearance Mode": "外観モード",
+ "Sync with System": "システムと同期",
+ "Light Mode": "ライトモード",
+ "Dark Mode": "ダークモード",
+ "Next Appearance Mode": "次の外観モード",
+ "Light Theme": "ライトテーマ",
+ "Dark Theme": "ダークテーマ",
+ "In Use": "使用中",
+ "Charcoal": "チャコール",
+ "Midnight": "ミッドナイト",
+ "Silver": "シルバー",
+ "Paper": "ペーパー"
}
diff --cc crates/ui-egui/locales/pt-br.json
index df1c2d3ce,318120d86..455734595
--- a/crates/ui-egui/locales/pt-br.json
+++ b/crates/ui-egui/locales/pt-br.json
@@@ -1735,17 -1735,131 +1735,144 @@@
"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed",
"ONNX model": "ONNX model",
"commercial use subject to GPL conditions": "commercial use subject to GPL conditions",
+ "Decrease Rating": "Diminuir avaliação",
+ "Increase Rating": "Aumentar avaliação",
+ "Click to type a value": "Clique para digitar um valor",
+ "Angle": "Ângulo",
+ "Video": "Vídeo",
+ "Copyrighted": "Protegido por direitos autorais",
+ "Public Domain": "Domínio público",
+ "Unknown": "Desconhecido",
+ "Landscape (wide)": "Paisagem (horizontal)",
+ "Portrait (tall)": "Retrato (vertical)",
+ "Square": "Quadrada",
+ "In Color": "Colorida",
+ "No Label": "Sem rótulo",
+ "Choose an album…": "Escolha um álbum…",
+ "No albums yet": "Ainda não há álbuns",
+ "Fix the marked rules to save this album.": "Corrija as regras marcadas para salvar este álbum.",
+ "Some rules need fixing (Edit Smart Album…):": "Algumas regras precisam ser corrigidas (Editar álbum inteligente…):",
+ "isn't a field rules know": "não é um campo conhecido",
+ "can't be tested that way": "não pode ser testado assim",
+ "is yes or no": "é Sim ou Não",
+ "needs a number": "precisa de um número",
+ "needs a time like 1/250 or 2": "precisa de um tempo como 1/250 ou 2",
+ "needs a date like 2026, 2026-08 or 2026-08-14": "precisa de uma data como 2026, 2026-08 ou 2026-08-14",
+ "has the first date after the second": "a primeira data é posterior à segunda",
+ "needs two values": "precisa de dois valores",
+ "needs a number more than 0": "precisa de um número maior que 0",
+ "needs hours, days, weeks, months or years": "precisa de horas, dias, semanas, meses ou anos",
+ "isn't one of the choices": "não é nenhuma das opções",
+ "needs something to look for (or use “is empty”)": "precisa de algo para procurar (ou use “está vazio”)",
+ "needs something to look for (or use “isn't empty”)": "precisa de algo para procurar (ou use “não está vazio”)",
+ "needs text": "precisa de texto",
+ "can't match any rating from 0 to 5": "não corresponde a nenhuma avaliação de 0 a 5",
+ "needs an album": "precisa de um álbum",
+ "names an album that no longer exists": "indica um álbum que não existe mais",
+ "can't test a folder; choose an album in it": "não pode testar uma pasta; escolha um álbum dentro dela",
+ "This group is empty: add a rule or remove it.": "Este grupo está vazio: adicione uma regra ou remova-o.",
+ "needs something to look for (or use “are empty”)": "precisa de algo para procurar (ou use “estão vazios”)",
+ "needs something to look for (or use “aren't empty”)": "precisa de algo para procurar (ou use “não estão vazios”)",
+ "Mo": "Seg",
+ "Tu": "Ter",
+ "We": "Qua",
+ "Th": "Qui",
+ "Fr": "Sex",
+ "Sa": "Sáb",
+ "Su": "Dom",
+ "Pick a date": "Escolher uma data",
+ "would make this album include itself through other smart albums": "faria este álbum incluir a si mesmo por meio de outros álbuns inteligentes",
+ "Search albums": "Pesquisar álbuns",
+ "No albums match": "Nenhum álbum corresponde",
+ "This is the album you're editing": "É o álbum que você está editando",
+ "It tests this album, so testing it back would loop": "Ele testa este álbum, então testá-lo de volta criaria um ciclo",
+ "Copy Name": "Nome da cópia",
+ "In a Stack": "Em uma pilha",
+ "File Extension": "Extensão do arquivo",
+ "Video Duration": "Duração do vídeo",
+ "Keyword Count": "Número de palavras-chave",
+ "People Count": "Número de pessoas",
+ "Shutter Speed": "Velocidade do obturador",
+ "Cropped": "Recortada",
+ "Keywords & People": "Palavras-chave e pessoas",
+ "Description": "Descrição",
+ "Camera Info": "Informações da câmera",
+ "Develop": "Edição",
+ "Keyword List": "Lista de palavras-chave",
+ "Filter Keywords": "Filtrar palavras-chave",
+ "No keywords yet": "Ainda não há palavras-chave",
+ "No keywords match": "Nenhuma palavra-chave corresponde",
+ "Keyword Name": "Nome da palavra-chave",
+ "Synonyms": "Sinônimos",
+ "Separated by commas": "Separados por vírgulas",
+ "Keyword Tag Options": "Opções da palavra-chave",
+ "Include on Export": "Incluir na exportação",
+ "Export Containing Keywords": "Exportar palavras-chave que a contêm",
+ "Export Synonyms": "Exportar sinônimos",
+ "Create Keyword Tag": "Criar palavra-chave",
+ "Edit Keyword Tag": "Editar palavra-chave",
+ "Create": "Criar",
+ "No photo has it; the keywords below it go too.": "Nenhuma foto a tem; as palavras-chave abaixo dela também são excluídas.",
+ "Edit Keyword Tag…": "Editar palavra-chave…",
+ "Put New Keywords Inside This Keyword": "Colocar novas palavras-chave dentro desta",
+ "Purge Unused Keywords": "Excluir palavras-chave não usadas",
+ "Delete Keyword…": "Excluir palavra-chave…",
+ "Drop here for the top level": "Solte aqui para o nível superior",
+ "Their photos and the keywords below them come together under one keyword.": "Suas fotos e as palavras-chave abaixo delas ficam sob uma só palavra-chave.",
+ "Select photos to give them keywords.": "Selecione fotos para dar palavras-chave a elas.",
+ "Add to All Selected Photos": "Adicionar a todas as fotos selecionadas",
+ "Will Export": "Será exportado",
+ "No keywords are exported": "Nenhuma palavra-chave é exportada",
+ "& Containing": "e as que as contêm",
+ "Edit Set…": "Editar conjunto…",
+ "Edit Keyword Set": "Editar conjunto de palavras-chave",
+ "Keywords (⌥1–⌥9)": "Palavras-chave (⌥1–⌥9)",
+ "A keyword set needs a name": "Um conjunto de palavras-chave precisa de um nome",
+ "Save as a new set": "Salvar como novo conjunto",
+ "Recent Keywords is built in: choose another name": "“Palavras-chave recentes” é fixo: escolha outro nome",
+ "Import Keywords…": "Importar palavras-chave…",
+ "Export Keywords…": "Exportar palavras-chave…",
+ "Import Keywords": "Importar palavras-chave",
+ "Export Keywords": "Exportar palavras-chave",
+ "Keyword Lists": "Listas de palavras-chave",
+ "Synchronize Folder…": "Sincronizar pasta…",
+ "Synchronize Folder": "Sincronizar pasta",
+ "Synchronize": "Sincronizar",
+ "Scanning…": "Verificando…",
+ "Find photos added to or missing from this folder on disk, and XMP sidecars changed by other apps": "Encontrar fotos adicionadas a esta pasta no disco ou ausentes dela, e arquivos XMP auxiliares alterados por outros apps",
+ "Bring the library up to date with this folder and the folders inside it:": "Atualizar a biblioteca com esta pasta e as pastas dentro dela:",
+ "Import new photos": "Importar fotos novas",
+ "Remove missing photos from the library": "Remover fotos ausentes da biblioteca",
+ "Read metadata updates from XMP sidecars": "Ler atualizações de metadados dos arquivos XMP auxiliares",
+ "The library is up to date with this folder.": "A biblioteca está atualizada com esta pasta.",
+ "Missing photos move to Recently Deleted and can be restored; no file on disk is touched.": "As fotos ausentes vão para Excluídos recentemente e podem ser restauradas; nenhum arquivo no disco é alterado.",
+ "Reading a sidecar replaces the photo's rating, labels, metadata and edits with what it says.": "Ler um arquivo auxiliar substitui a classificação, os rótulos, os metadados e as edições da foto pelo que ele contém.",
+ "Skipped: files already in the library elsewhere": "Ignorados: arquivos que já estão na biblioteca em outro lugar",
+ "Skipped: files that can't be read": "Ignorados: arquivos que não podem ser lidos",
+ "This folder isn't there: it was moved or renamed, or its disk isn't connected.": "Esta pasta não está lá: foi movida ou renomeada, ou o disco dela não está conectado.",
+ "Relink photos whose file was renamed or moved": "Vincular de novo fotos cujo arquivo foi renomeado ou movido",
+ "A folder is already being synchronized": "Uma pasta já está sendo sincronizada",
+ "Synchronizing…": "Sincronizando…",
+ "Relinked": "Revinculadas",
+ "Removed": "Removidas",
+ "Metadata read": "Metadados lidos",
+ "Failed": "Com falha",
+ "Stopped": "Interrompido",
+ "Stopped by an error (see the log)": "Interrompido por um erro (veja o log)",
+ "Not saved": "Não salvo",
+ "A folder is being synchronized": "Uma pasta está sendo sincronizada",
- "Wait for the import to finish": "Aguarde a importação terminar"
++ "Wait for the import to finish": "Aguarde a importação terminar",
+ "Appearance": "Aparência",
+ "Appearance Mode": "Modo de aparência",
+ "Sync with System": "Sincronizar com o sistema",
+ "Light Mode": "Modo claro",
+ "Dark Mode": "Modo escuro",
+ "Next Appearance Mode": "Próximo modo de aparência",
+ "Light Theme": "Tema claro",
+ "Dark Theme": "Tema escuro",
+ "In Use": "Em uso",
+ "Charcoal": "Carvão",
+ "Midnight": "Meia-noite",
+ "Silver": "Prata",
+ "Paper": "Papel"
}
diff --cc crates/ui-egui/locales/ru.json
index 8aa36cb03,b51355c74..b453e93b6
--- a/crates/ui-egui/locales/ru.json
+++ b/crates/ui-egui/locales/ru.json
@@@ -1408,17 -1408,171 +1408,184 @@@
"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed",
"ONNX model": "ONNX model",
"commercial use subject to GPL conditions": "commercial use subject to GPL conditions",
+ "Decrease Rating": "Уменьшить оценку",
+ "Increase Rating": "Увеличить оценку",
+ "Click to type a value": "Щёлкните, чтобы ввести значение",
+ "Angle": "Угол",
+ "Raw": "RAW",
+ "Video": "Видео",
+ "Copyrighted": "Защищено авторским правом",
+ "Public Domain": "Общественное достояние",
+ "Unknown": "Неизвестно",
+ "Landscape (wide)": "Альбомная",
+ "Portrait (tall)": "Книжная",
+ "Square": "Квадратная",
+ "In Color": "Цветное",
+ "No Label": "Без метки",
+ "Choose an album…": "Выберите альбом…",
+ "No albums yet": "Альбомов пока нет",
+ "Fix the marked rules to save this album.": "Исправьте отмеченные условия, чтобы сохранить альбом.",
+ "Some rules need fixing (Edit Smart Album…):": "Некоторые условия нужно исправить (Изменить смарт-альбом…):",
+ "isn't a field rules know": "неизвестное поле",
+ "can't be tested that way": "так проверить нельзя",
+ "is yes or no": "только «Да» или «Нет»",
+ "needs a number": "нужно число",
+ "needs a time like 1/250 or 2": "нужна выдержка вроде 1/250 или 2",
+ "needs a date like 2026, 2026-08 or 2026-08-14": "нужна дата вроде 2026, 2026-08 или 2026-08-14",
+ "has the first date after the second": "первая дата позже второй",
+ "needs two values": "нужны два значения",
+ "needs a number more than 0": "нужно число больше 0",
+ "needs hours, days, weeks, months or years": "нужны часы, дни, недели, месяцы или годы",
+ "isn't one of the choices": "нет среди вариантов",
+ "needs something to look for (or use “is empty”)": "нужно указать, что искать (или выберите «пусто»)",
+ "needs something to look for (or use “isn't empty”)": "нужно указать, что искать (или выберите «не пусто»)",
+ "needs text": "нужен текст",
+ "can't match any rating from 0 to 5": "не подходит ни к одной оценке от 0 до 5",
+ "needs an album": "нужен альбом",
+ "names an album that no longer exists": "указан альбом, которого больше нет",
+ "can't test a folder; choose an album in it": "нельзя проверять папку; выберите альбом в ней",
+ "This group is empty: add a rule or remove it.": "Эта группа пуста: добавьте условие или удалите её.",
+ "needs something to look for (or use “are empty”)": "нужно указать, что искать (или выберите «пусты»)",
+ "needs something to look for (or use “aren't empty”)": "нужно указать, что искать (или выберите «не пусты»)",
+ "are empty": "пусты",
+ "aren't empty": "не пусты",
+ "contains": "содержит",
+ "doesn't contain": "не содержит",
+ "ends with": "заканчивается на",
+ "is": "равно",
+ "is <": "меньше",
+ "is >": "больше",
+ "is after": "после",
+ "is before": "до",
+ "is between": "между",
+ "is empty": "пусто",
+ "is in the last": "за последние",
+ "is unknown": "неизвестна",
+ "is ≤": "не больше",
+ "is ≥": "не меньше",
+ "isn't": "не равно",
+ "isn't empty": "не пусто",
+ "isn't in the last": "не за последние",
+ "starts with": "начинается с",
+ "Mo": "Пн",
+ "Tu": "Вт",
+ "We": "Ср",
+ "Th": "Чт",
+ "Fr": "Пт",
+ "Sa": "Сб",
+ "Su": "Вс",
+ "Pick a date": "Выбрать дату",
+ "would make this album include itself through other smart albums": "альбом включал бы сам себя через другие смарт-альбомы",
+ "Search albums": "Поиск альбомов",
+ "No albums match": "Нет подходящих альбомов",
+ "This is the album you're editing": "Это альбом, который вы изменяете",
+ "It tests this album, so testing it back would loop": "Он проверяет этот альбом, поэтому обратная проверка создаст цикл",
+ "Copy Name": "Имя копии",
+ "In a Stack": "В стопке",
+ "File Extension": "Расширение файла",
+ "Video Duration": "Длительность видео",
+ "Keyword Count": "Число ключевых слов",
+ "People Count": "Число людей",
+ "Shutter Speed": "Выдержка",
+ "Cropped": "Кадрировано",
+ "Keywords & People": "Ключевые слова и люди",
+ "Description": "Описание",
+ "Camera Info": "Сведения о камере",
+ "Develop": "Обработка",
+ "Pick Flag": "Флаг",
+ "Any Searchable Text": "Любой текст для поиска",
+ "Filename": "Имя файла",
+ "File Type": "Тип файла",
+ "File Format": "Формат файла",
+ "Edit Date": "Дата изменения",
+ "People": "Люди",
+ "Focal Length": "Фокусное расстояние",
+ "ISO Speed": "ISO",
+ "Has GPS": "Есть GPS",
+ "Has Edits": "Есть правки",
+ "Focus (assisted culling)": "Резкость (помощь в отборе)",
+ "Best of Similar Shots": "Лучший из похожих снимков",
+ "Date": "Дата",
+ "Color Label": "Цветовая метка",
+ "Keyword List": "Список ключевых слов",
+ "Filter Keywords": "Фильтр ключевых слов",
+ "No keywords yet": "Ключевых слов пока нет",
+ "No keywords match": "Нет подходящих ключевых слов",
+ "Keyword Name": "Название ключевого слова",
+ "Synonyms": "Синонимы",
+ "Separated by commas": "Через запятую",
+ "Keyword Tag Options": "Параметры ключевого слова",
+ "Include on Export": "Включать при экспорте",
+ "Export Containing Keywords": "Экспортировать родительские ключевые слова",
+ "Export Synonyms": "Экспортировать синонимы",
+ "Create Keyword Tag": "Создать ключевое слово",
+ "Edit Keyword Tag": "Изменить ключевое слово",
+ "Create": "Создать",
+ "No photo has it; the keywords below it go too.": "Ни у одного фото его нет; вложенные ключевые слова тоже будут удалены.",
+ "Edit Keyword Tag…": "Изменить ключевое слово…",
+ "Put New Keywords Inside This Keyword": "Помещать новые ключевые слова в это",
+ "Purge Unused Keywords": "Удалить неиспользуемые ключевые слова",
+ "Delete Keyword…": "Удалить ключевое слово…",
+ "Drop here for the top level": "Отпустите здесь для верхнего уровня",
+ "Their photos and the keywords below them come together under one keyword.": "Их фото и вложенные ключевые слова объединятся под одним ключевым словом.",
+ "Select photos to give them keywords.": "Выберите фото, чтобы назначить им ключевые слова.",
+ "Person": "Человек",
+ "Add to All Selected Photos": "Добавить ко всем выбранным фото",
+ "Will Export": "Будет экспортировано",
+ "No keywords are exported": "Ключевые слова не экспортируются",
+ "& Containing": "и родительские",
+ "Edit Set…": "Изменить набор…",
+ "Edit Keyword Set": "Изменить набор ключевых слов",
+ "Keywords (⌥1–⌥9)": "Ключевые слова (⌥1–⌥9)",
+ "A keyword set needs a name": "Набору ключевых слов нужно название",
+ "Set name": "Название набора",
+ "Save as a new set": "Сохранить как новый набор",
+ "Recent Keywords is built in: choose another name": "«Недавние ключевые слова» — встроенный набор: выберите другое название",
+ "Recent Keywords": "Недавние ключевые слова",
+ "Import Keywords…": "Импорт ключевых слов…",
+ "Export Keywords…": "Экспорт ключевых слов…",
+ "Import Keywords": "Импорт ключевых слов",
+ "Export Keywords": "Экспорт ключевых слов",
+ "Keyword Lists": "Списки ключевых слов",
+ "Synchronize Folder…": "Синхронизировать папку…",
+ "Synchronize Folder": "Синхронизация папки",
+ "Synchronize": "Синхронизировать",
+ "Scanning…": "Сканирование…",
+ "Find photos added to or missing from this folder on disk, and XMP sidecars changed by other apps": "Найти фото, добавленные в эту папку на диске или пропавшие из неё, и файлы XMP, изменённые другими приложениями",
+ "Bring the library up to date with this folder and the folders inside it:": "Привести медиатеку в соответствие с этой папкой и вложенными папками:",
+ "Import new photos": "Импортировать новые фото",
+ "Remove missing photos from the library": "Убрать отсутствующие фото из медиатеки",
+ "Read metadata updates from XMP sidecars": "Прочитать изменения метаданных из файлов XMP",
+ "The library is up to date with this folder.": "Медиатека соответствует этой папке.",
+ "Missing photos move to Recently Deleted and can be restored; no file on disk is touched.": "Отсутствующие фото перемещаются в «Недавно удалённые» и могут быть восстановлены; файлы на диске не затрагиваются.",
+ "Reading a sidecar replaces the photo's rating, labels, metadata and edits with what it says.": "Чтение файла XMP заменяет рейтинг, метки, метаданные и правки фото его содержимым.",
+ "Skipped: files already in the library elsewhere": "Пропущено: файлы, которые уже есть в медиатеке в другом месте",
+ "Skipped: files that can't be read": "Пропущено: файлы, которые не удаётся прочитать",
+ "This folder isn't there: it was moved or renamed, or its disk isn't connected.": "Этой папки нет: её переместили или переименовали, или её диск не подключён.",
+ "Relink photos whose file was renamed or moved": "Заново связать фото, файл которых переименован или перемещён",
+ "A folder is already being synchronized": "Папка уже синхронизируется",
+ "Synchronizing…": "Синхронизация…",
+ "Imported": "Импортировано",
+ "Relinked": "Связано заново",
+ "Removed": "Убрано",
+ "Metadata read": "Метаданные прочитаны",
+ "Failed": "Ошибки",
+ "Stopped": "Остановлено",
+ "Stopped by an error (see the log)": "Остановлено из-за ошибки (см. журнал)",
+ "Not saved": "Не сохранено",
+ "A folder is being synchronized": "Идёт синхронизация папки",
- "Wait for the import to finish": "Дождитесь окончания импорта"
++ "Wait for the import to finish": "Дождитесь окончания импорта",
+ "Appearance": "Оформление",
+ "Appearance Mode": "Режим оформления",
+ "Sync with System": "Как в системе",
+ "Light Mode": "Светлый режим",
+ "Dark Mode": "Тёмный режим",
+ "Next Appearance Mode": "Следующий режим оформления",
+ "Light Theme": "Светлая тема",
+ "Dark Theme": "Тёмная тема",
+ "In Use": "Используется",
+ "Charcoal": "Графит",
+ "Midnight": "Полночь",
+ "Silver": "Серебро",
+ "Paper": "Бумага"
}
diff --cc crates/ui-egui/locales/zh-hans.json
index d67a5e6a7,d654240bf..9b7dfc854
--- a/crates/ui-egui/locales/zh-hans.json
+++ b/crates/ui-egui/locales/zh-hans.json
@@@ -1735,17 -1735,131 +1735,144 @@@
"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed",
"ONNX model": "ONNX model",
"commercial use subject to GPL conditions": "commercial use subject to GPL conditions",
+ "Decrease Rating": "降低星级",
+ "Increase Rating": "提高星级",
+ "Click to type a value": "单击以输入数值",
+ "Angle": "角度",
+ "Video": "视频",
+ "Copyrighted": "受版权保护",
+ "Public Domain": "公共领域",
+ "Unknown": "未知",
+ "Landscape (wide)": "横向",
+ "Portrait (tall)": "纵向",
+ "Square": "正方形",
+ "In Color": "彩色",
+ "No Label": "无标签",
+ "Choose an album…": "选择相册…",
+ "No albums yet": "还没有相册",
+ "Fix the marked rules to save this album.": "请修正标记的规则以保存此相册。",
+ "Some rules need fixing (Edit Smart Album…):": "有些规则需要修正(编辑智能相册…):",
+ "isn't a field rules know": "不是已知的字段",
+ "can't be tested that way": "不能这样判断",
+ "is yes or no": "只能是“是”或“否”",
+ "needs a number": "需要一个数字",
+ "needs a time like 1/250 or 2": "需要类似 1/250 或 2 的快门速度",
+ "needs a date like 2026, 2026-08 or 2026-08-14": "需要类似 2026、2026-08 或 2026-08-14 的日期",
+ "has the first date after the second": "第一个日期晚于第二个",
+ "needs two values": "需要两个值",
+ "needs a number more than 0": "需要大于 0 的数字",
+ "needs hours, days, weeks, months or years": "需要小时、天、周、月或年",
+ "isn't one of the choices": "不是可选项之一",
+ "needs something to look for (or use “is empty”)": "需要要查找的内容(或使用“为空”)",
+ "needs something to look for (or use “isn't empty”)": "需要要查找的内容(或使用“不为空”)",
+ "needs text": "需要文本",
+ "can't match any rating from 0 to 5": "不匹配 0 到 5 的任何星级",
+ "needs an album": "需要选择相册",
+ "names an album that no longer exists": "指定的相册已不存在",
+ "can't test a folder; choose an album in it": "无法判断文件夹;请选择其中的相册",
+ "This group is empty: add a rule or remove it.": "此组为空:请添加规则或将其删除。",
+ "needs something to look for (or use “are empty”)": "需要要查找的内容(或使用“为空”)",
+ "needs something to look for (or use “aren't empty”)": "需要要查找的内容(或使用“不为空”)",
+ "Mo": "一",
+ "Tu": "二",
+ "We": "三",
+ "Th": "四",
+ "Fr": "五",
+ "Sa": "六",
+ "Su": "日",
+ "Pick a date": "选择日期",
+ "would make this album include itself through other smart albums": "会通过其他智能相册让此相册包含自身",
+ "Search albums": "搜索相册",
+ "No albums match": "没有匹配的相册",
+ "This is the album you're editing": "这是正在编辑的相册",
+ "It tests this album, so testing it back would loop": "它引用了此相册,反过来引用会形成循环",
+ "Copy Name": "副本名称",
+ "In a Stack": "在堆叠中",
+ "File Extension": "文件扩展名",
+ "Video Duration": "视频时长",
+ "Keyword Count": "关键字数量",
+ "People Count": "人物数量",
+ "Shutter Speed": "快门速度",
+ "Cropped": "已裁剪",
+ "Keywords & People": "关键字与人物",
+ "Description": "描述",
+ "Camera Info": "相机信息",
+ "Develop": "编辑",
+ "Keyword List": "关键字列表",
+ "Filter Keywords": "过滤关键字",
+ "No keywords yet": "还没有关键字",
+ "No keywords match": "没有匹配的关键字",
+ "Keyword Name": "关键字名称",
+ "Synonyms": "同义词",
+ "Separated by commas": "用逗号分隔",
+ "Keyword Tag Options": "关键字标记选项",
+ "Include on Export": "导出时包含",
+ "Export Containing Keywords": "导出上级关键字",
+ "Export Synonyms": "导出同义词",
+ "Create Keyword Tag": "创建关键字标记",
+ "Edit Keyword Tag": "编辑关键字标记",
+ "Create": "创建",
+ "No photo has it; the keywords below it go too.": "没有照片使用它;其下的关键字也会一并删除。",
+ "Edit Keyword Tag…": "编辑关键字标记…",
+ "Put New Keywords Inside This Keyword": "将新关键字放入此关键字中",
+ "Purge Unused Keywords": "清除未使用的关键字",
+ "Delete Keyword…": "删除关键字…",
+ "Drop here for the top level": "拖放到此处以移至顶层",
+ "Their photos and the keywords below them come together under one keyword.": "它们的照片和下级关键字将合并到同一个关键字下。",
+ "Select photos to give them keywords.": "选择照片以为其添加关键字。",
+ "Add to All Selected Photos": "添加到所有所选照片",
+ "Will Export": "将导出",
+ "No keywords are exported": "没有要导出的关键字",
+ "& Containing": "及上级",
+ "Edit Set…": "编辑关键字集…",
+ "Edit Keyword Set": "编辑关键字集",
+ "Keywords (⌥1–⌥9)": "关键字 (⌥1–⌥9)",
+ "A keyword set needs a name": "关键字集需要名称",
+ "Save as a new set": "另存为新关键字集",
+ "Recent Keywords is built in: choose another name": "“最近使用的关键字”为内置集:请另选名称",
+ "Import Keywords…": "导入关键字…",
+ "Export Keywords…": "导出关键字…",
+ "Import Keywords": "导入关键字",
+ "Export Keywords": "导出关键字",
+ "Keyword Lists": "关键字列表",
+ "Synchronize Folder…": "同步文件夹…",
+ "Synchronize Folder": "同步文件夹",
+ "Synchronize": "同步",
+ "Scanning…": "正在扫描…",
+ "Find photos added to or missing from this folder on disk, and XMP sidecars changed by other apps": "查找磁盘上此文件夹中新增或缺失的照片,以及被其他应用更改的 XMP 附属文件",
+ "Bring the library up to date with this folder and the folders inside it:": "让图库与此文件夹及其中的文件夹保持一致:",
+ "Import new photos": "导入新照片",
+ "Remove missing photos from the library": "从图库中移除缺失的照片",
+ "Read metadata updates from XMP sidecars": "从 XMP 附属文件读取元数据更新",
+ "The library is up to date with this folder.": "图库与此文件夹一致。",
+ "Missing photos move to Recently Deleted and can be restored; no file on disk is touched.": "缺失的照片会移到“最近删除”,可以恢复;磁盘上的文件不会被改动。",
+ "Reading a sidecar replaces the photo's rating, labels, metadata and edits with what it says.": "读取附属文件会用其内容替换照片的评级、标签、元数据和编辑。",
+ "Skipped: files already in the library elsewhere": "已跳过:已在图库其他位置的文件",
+ "Skipped: files that can't be read": "已跳过:无法读取的文件",
+ "This folder isn't there: it was moved or renamed, or its disk isn't connected.": "此文件夹不存在:它已被移动或重命名,或其磁盘未连接。",
+ "Relink photos whose file was renamed or moved": "重新链接文件被重命名或移动的照片",
+ "A folder is already being synchronized": "已有文件夹正在同步",
+ "Synchronizing…": "正在同步…",
+ "Relinked": "已重新链接",
+ "Removed": "已移除",
+ "Metadata read": "已读取元数据",
+ "Failed": "失败",
+ "Stopped": "已停止",
+ "Stopped by an error (see the log)": "因错误而停止(见日志)",
+ "Not saved": "未保存",
+ "A folder is being synchronized": "正在同步文件夹",
- "Wait for the import to finish": "请等待导入完成"
++ "Wait for the import to finish": "请等待导入完成",
+ "Appearance": "外观",
+ "Appearance Mode": "外观模式",
+ "Sync with System": "与系统同步",
+ "Light Mode": "浅色模式",
+ "Dark Mode": "深色模式",
+ "Next Appearance Mode": "下一个外观模式",
+ "Light Theme": "浅色主题",
+ "Dark Theme": "深色主题",
+ "In Use": "使用中",
+ "Charcoal": "炭灰",
+ "Midnight": "午夜",
+ "Silver": "银色",
+ "Paper": "纸白"
}
diff --cc crates/ui-egui/locales/zh-hant.json
index 2bc551d01,ef8160a5c..639362d78
--- a/crates/ui-egui/locales/zh-hant.json
+++ b/crates/ui-egui/locales/zh-hant.json
@@@ -1735,17 -1735,131 +1735,144 @@@
"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed",
"ONNX model": "ONNX model",
"commercial use subject to GPL conditions": "commercial use subject to GPL conditions",
+ "Decrease Rating": "降低評分",
+ "Increase Rating": "提高評分",
+ "Click to type a value": "點擊以輸入數值",
+ "Angle": "角度",
+ "Video": "影片",
+ "Copyrighted": "受著作權保護",
+ "Public Domain": "公有領域",
+ "Unknown": "未知",
+ "Landscape (wide)": "橫向",
+ "Portrait (tall)": "直向",
+ "Square": "正方形",
+ "In Color": "彩色",
+ "No Label": "無標籤",
+ "Choose an album…": "選擇相簿…",
+ "No albums yet": "還沒有相簿",
+ "Fix the marked rules to save this album.": "請修正標記的規則以儲存此相簿。",
+ "Some rules need fixing (Edit Smart Album…):": "有些規則需要修正(編輯智慧型相簿…):",
+ "isn't a field rules know": "不是已知的欄位",
+ "can't be tested that way": "無法這樣判斷",
+ "is yes or no": "只能是「是」或「否」",
+ "needs a number": "需要一個數字",
+ "needs a time like 1/250 or 2": "需要類似 1/250 或 2 的快門速度",
+ "needs a date like 2026, 2026-08 or 2026-08-14": "需要類似 2026、2026-08 或 2026-08-14 的日期",
+ "has the first date after the second": "第一個日期晚於第二個",
+ "needs two values": "需要兩個值",
+ "needs a number more than 0": "需要大於 0 的數字",
+ "needs hours, days, weeks, months or years": "需要小時、天、週、月或年",
+ "isn't one of the choices": "不是可選項之一",
+ "needs something to look for (or use “is empty”)": "需要要尋找的內容(或使用「為空」)",
+ "needs something to look for (or use “isn't empty”)": "需要要尋找的內容(或使用「不為空」)",
+ "needs text": "需要文字",
+ "can't match any rating from 0 to 5": "不符合 0 到 5 的任何評分",
+ "needs an album": "需要選擇相簿",
+ "names an album that no longer exists": "指定的相簿已不存在",
+ "can't test a folder; choose an album in it": "無法判斷資料夾;請選擇其中的相簿",
+ "This group is empty: add a rule or remove it.": "此群組為空:請新增規則或將其移除。",
+ "needs something to look for (or use “are empty”)": "需要要尋找的內容(或使用「為空」)",
+ "needs something to look for (or use “aren't empty”)": "需要要尋找的內容(或使用「不為空」)",
+ "Mo": "一",
+ "Tu": "二",
+ "We": "三",
+ "Th": "四",
+ "Fr": "五",
+ "Sa": "六",
+ "Su": "日",
+ "Pick a date": "選擇日期",
+ "would make this album include itself through other smart albums": "會透過其他智慧型相簿讓此相簿包含自身",
+ "Search albums": "搜尋相簿",
+ "No albums match": "沒有符合的相簿",
+ "This is the album you're editing": "這是正在編輯的相簿",
+ "It tests this album, so testing it back would loop": "它引用了此相簿,反過來引用會形成循環",
+ "Copy Name": "副本名稱",
+ "In a Stack": "在堆疊中",
+ "File Extension": "副檔名",
+ "Video Duration": "影片長度",
+ "Keyword Count": "關鍵字數量",
+ "People Count": "人物數量",
+ "Shutter Speed": "快門速度",
+ "Cropped": "已裁切",
+ "Keywords & People": "關鍵字與人物",
+ "Description": "描述",
+ "Camera Info": "相機資訊",
+ "Develop": "編輯",
+ "Keyword List": "關鍵字清單",
+ "Filter Keywords": "篩選關鍵字",
+ "No keywords yet": "尚無關鍵字",
+ "No keywords match": "沒有符合的關鍵字",
+ "Keyword Name": "關鍵字名稱",
+ "Synonyms": "同義詞",
+ "Separated by commas": "以逗號分隔",
+ "Keyword Tag Options": "關鍵字標記選項",
+ "Include on Export": "匯出時包含",
+ "Export Containing Keywords": "匯出上層關鍵字",
+ "Export Synonyms": "匯出同義詞",
+ "Create Keyword Tag": "建立關鍵字標記",
+ "Edit Keyword Tag": "編輯關鍵字標記",
+ "Create": "建立",
+ "No photo has it; the keywords below it go too.": "沒有照片使用它;其下的關鍵字也會一併刪除。",
+ "Edit Keyword Tag…": "編輯關鍵字標記…",
+ "Put New Keywords Inside This Keyword": "將新關鍵字放入此關鍵字中",
+ "Purge Unused Keywords": "清除未使用的關鍵字",
+ "Delete Keyword…": "刪除關鍵字…",
+ "Drop here for the top level": "拖放到此處以移至最上層",
+ "Their photos and the keywords below them come together under one keyword.": "它們的照片與下層關鍵字將合併到同一個關鍵字下。",
+ "Select photos to give them keywords.": "選取照片以加入關鍵字。",
+ "Add to All Selected Photos": "加入所有選取的照片",
+ "Will Export": "將匯出",
+ "No keywords are exported": "沒有要匯出的關鍵字",
+ "& Containing": "及上層",
+ "Edit Set…": "編輯關鍵字集…",
+ "Edit Keyword Set": "編輯關鍵字集",
+ "Keywords (⌥1–⌥9)": "關鍵字 (⌥1–⌥9)",
+ "A keyword set needs a name": "關鍵字集需要名稱",
+ "Save as a new set": "另存為新關鍵字集",
+ "Recent Keywords is built in: choose another name": "「最近使用的關鍵字」為內建集:請另選名稱",
+ "Import Keywords…": "匯入關鍵字…",
+ "Export Keywords…": "匯出關鍵字…",
+ "Import Keywords": "匯入關鍵字",
+ "Export Keywords": "匯出關鍵字",
+ "Keyword Lists": "關鍵字清單",
+ "Synchronize Folder…": "同步資料夾…",
+ "Synchronize Folder": "同步資料夾",
+ "Synchronize": "同步",
+ "Scanning…": "正在掃描…",
+ "Find photos added to or missing from this folder on disk, and XMP sidecars changed by other apps": "尋找磁碟上此資料夾中新增或遺失的照片,以及被其他 App 更改的 XMP 附屬檔案",
+ "Bring the library up to date with this folder and the folders inside it:": "讓照片庫與此資料夾及其中的資料夾保持一致:",
+ "Import new photos": "匯入新照片",
+ "Remove missing photos from the library": "從照片庫移除遺失的照片",
+ "Read metadata updates from XMP sidecars": "從 XMP 附屬檔案讀取中繼資料更新",
+ "The library is up to date with this folder.": "照片庫與此資料夾一致。",
+ "Missing photos move to Recently Deleted and can be restored; no file on disk is touched.": "遺失的照片會移至「最近刪除」,可以還原;磁碟上的檔案不會被更動。",
+ "Reading a sidecar replaces the photo's rating, labels, metadata and edits with what it says.": "讀取附屬檔案會以其內容取代照片的評等、標籤、中繼資料和編輯。",
+ "Skipped: files already in the library elsewhere": "已略過:已在照片庫其他位置的檔案",
+ "Skipped: files that can't be read": "已略過:無法讀取的檔案",
+ "This folder isn't there: it was moved or renamed, or its disk isn't connected.": "此資料夾不存在:它已被移動或重新命名,或其磁碟未連接。",
+ "Relink photos whose file was renamed or moved": "重新連結檔案被重新命名或移動的照片",
+ "A folder is already being synchronized": "已有資料夾正在同步",
+ "Synchronizing…": "正在同步…",
+ "Relinked": "已重新連結",
+ "Removed": "已移除",
+ "Metadata read": "已讀取中繼資料",
+ "Failed": "失敗",
+ "Stopped": "已停止",
+ "Stopped by an error (see the log)": "因錯誤而停止(請見記錄)",
+ "Not saved": "未儲存",
+ "A folder is being synchronized": "正在同步資料夾",
- "Wait for the import to finish": "請等待匯入完成"
++ "Wait for the import to finish": "請等待匯入完成",
+ "Appearance": "外觀",
+ "Appearance Mode": "外觀模式",
+ "Sync with System": "與系統同步",
+ "Light Mode": "淺色模式",
+ "Dark Mode": "深色模式",
+ "Next Appearance Mode": "下一個外觀模式",
+ "Light Theme": "淺色主題",
+ "Dark Theme": "深色主題",
+ "In Use": "使用中",
+ "Charcoal": "炭灰",
+ "Midnight": "午夜",
+ "Silver": "銀色",
+ "Paper": "紙白"
}
diff --cc crates/ui-egui/src/lib.rs
index 554d2e614,50587c86c..c1e498f8b
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@@ -32,11 -36,15 +36,17 @@@ pub mod theme
pub mod titlebar;
pub mod widgets;
+ #[cfg(test)]
+ mod tests_album_picker;
#[cfg(test)]
+mod tests_appearance;
+#[cfg(test)]
+ mod tests_crop_rotate;
+ #[cfg(test)]
mod tests_curve;
#[cfg(test)]
+ mod tests_date_picker;
+ #[cfg(test)]
mod tests_filmstrip;
#[cfg(test)]
mod tests_grid;
diff --cc crates/ui-egui/src/panels/settings.rs
index 159bbc2a6,7036e10f1..a6998a7ee
--- a/crates/ui-egui/src/panels/settings.rs
+++ b/crates/ui-egui/src/panels/settings.rs
@@@ -531,9 -535,70 +534,72 @@@ fn smart_previews(app: &mut LightcraftA
// ---------------------------------------------------------------------------------- Interface
+ /// The monitor profile (`app.displayProfile`): previews are shown through the display's ICC
+ /// profile, so wide-gamut and calibrated displays show colours as they are.
+ fn display_tab(app: &mut LightcraftApp, ui: &mut egui::Ui, t: &Tokens) {
+ heading(ui, t, crate::i18n::tr("Monitor profile"));
+ let current = app.renderer.display().cloned();
+ row(ui, t, crate::i18n::tr("Profile"), |ui| {
+ let name = match &current {
+ Some(d) => d.profile.description.clone(),
+ None => crate::i18n::tr("None (the display is treated as sRGB)").to_string(),
+ };
+ ui.label(RichText::new(name).color(t.text));
+ });
+ row(ui, t, "", |ui| {
+ let can = app.services.pick_display_profile.is_some();
+ let r = ui.add_enabled(can, egui::Button::new(crate::i18n::tr("Choose Profile…")));
+ register(ui.ctx(), "button:settingsDisplayProfile", r.rect);
+ if r.clicked()
+ && let Some(path) = app.services.pick_display_profile.as_mut().and_then(|pick| pick().into_iter().next())
+ {
+ app.ui.settings.display_profile = path;
+ }
+ let r = ui.add_enabled(!app.ui.settings.display_profile.is_empty(), egui::Button::new(crate::i18n::tr("Use sRGB")));
+ register(ui.ctx(), "button:settingsDisplayProfileNone", r.rect);
+ if r.clicked() {
+ app.ui.settings.display_profile.clear();
+ }
+ if !can {
+ hint(ui, t, crate::i18n::tr("not available here"));
+ }
+ });
+ if let Some(e) = &app.display_error {
+ ui.label(RichText::new(e).size(11.0).color(t.reject));
+ }
+ if let Some(d) = &current {
+ let info = d.describe();
+ row(ui, t, crate::i18n::tr("File"), |ui| {
+ ui.label(RichText::new(&d.path).size(11.0).color(t.text_dim));
+ });
+ row(ui, t, crate::i18n::tr("Type"), |ui| {
+ let kind = match d.profile.kind {
+ lightcraft_engine::display::DisplayKind::MatrixTrc => crate::i18n::tr("Matrix/TRC"),
+ lightcraft_engine::display::DisplayKind::Lut => crate::i18n::tr("LUT-based"),
+ };
+ ui.label(RichText::new(kind).color(t.text));
+ });
+ row(ui, t, crate::i18n::tr("Primaries (x, y)"), |ui| {
+ let p = &info["primaries"];
+ let xy = |(k, l): (&str, &str)| format!("{l} {:.3}, {:.3}", p[k][0].as_f64().unwrap_or(0.0), p[k][1].as_f64().unwrap_or(0.0));
+ let text = [("red", "R"), ("green", "G"), ("blue", "B")].map(xy).join(" ");
+ ui.label(RichText::new(text).size(11.0).color(t.text_dim));
+ });
+ }
+ hint(
+ ui,
+ t,
+ crate::i18n::tr(
+ "Photos are shown through your monitor's ICC profile, so colours are right on wide-gamut and calibrated displays, and the Detail view uses the display's whole gamut. The histogram, the preview caches and exports are not affected.",
+ ),
+ );
+ #[cfg(target_os = "linux")]
+ hint(ui, t, crate::i18n::tr("Profiles assigned in your desktop's colour settings are usually in ~/.local/share/icc."));
+ }
+
fn interface_tab(app: &mut LightcraftApp, ui: &mut egui::Ui, t: &Tokens) {
+ let system = app.system_theme(ui.ctx());
+ appearance(ui, t, &mut app.ui.settings, system);
heading(ui, t, crate::i18n::tr("Filmstrip"));
check(ui, "settings.filmNames", &mut app.ui.settings.film_names, "Show file names");
check(ui, "settings.filmBadges", &mut app.ui.settings.film_badges, "Show ratings, flags and edit badges");
diff --cc crates/ui-egui/src/state.rs
index c610ddd5f,b178a167c..3ac0bd68e
--- a/crates/ui-egui/src/state.rs
+++ b/crates/ui-egui/src/state.rs
@@@ -217,12 -156,9 +217,15 @@@ pub struct AppSettings
pub grid_badges: GridBadges,
/// Shortcuts the user changed (Help ▸ Keyboard Shortcuts): command id → shortcut, `""` = none.
pub keymap: crate::shortcuts::Keymap,
+ /// Auto (follow the system), Dark or Light.
+ pub appearance_mode: AppearanceMode,
+ /// The theme of the dark appearance.
+ pub dark_theme: DarkTheme,
+ /// The theme of the light appearance.
+ pub light_theme: LightTheme,
+ /// The monitor's ICC profile previews are shown through (`app.displayProfile`; "" = none:
+ /// the display is treated as sRGB).
+ pub display_profile: String,
}
impl Default for AppSettings {
@@@ -239,9 -175,7 +242,10 @@@
film_badges: true,
grid_badges: GridBadges::Auto,
keymap: Default::default(),
+ appearance_mode: AppearanceMode::Dark,
+ dark_theme: DarkTheme::Charcoal,
+ light_theme: LightTheme::Silver,
+ display_profile: String::new(),
}
}
}
diff --cc crates/ui-egui/src/theme.rs
index a3a2518f3,0d7e1570c..2849723ff
--- a/crates/ui-egui/src/theme.rs
+++ b/crates/ui-egui/src/theme.rs
@@@ -343,30 -215,15 +343,32 @@@ fn craft_font_name(f: &lightcraft_engin
format!("craft-fonts {} {}", f.family, f.style)
}
+fn theme_id() -> egui::Id {
+ egui::Id::new("lightcraft-theme")
+}
+
+/// The theme `ctx` is styled with (none before the first [`apply_kind`]).
+pub fn current(ctx: &egui::Context) -> Option<ThemeKind> {
+ ctx.data(|d| d.get_temp::<ThemeKind>(theme_id()))
+}
+
+/// Style `ctx` with the default theme.
pub fn apply(ctx: &egui::Context) {
- // Cmd+= / Cmd+- / Cmd+0 (Ctrl on Windows and Linux) are View ▸ Zoom In / Zoom Out / Zoom to Fit
- // for the photo. egui would take the same keys at the end of every frame for its browser-style
- // interface zoom (issue #566); on macOS the native menu bar got them first, elsewhere the whole
- // UI scaled.
+ apply_kind(ctx, ThemeKind::default());
+}
+
+/// Style `ctx` with `kind`. The visuals go to both of egui's styles, so egui following the
+/// system's dark/light setting on its own never swaps in its stock look.
+pub fn apply_kind(ctx: &egui::Context, kind: ThemeKind) {
++ // Keep photo zoom shortcuts from resizing egui itself.
+ ctx.options_mut(|o| o.zoom_with_keyboard = false);
- let t = Tokens::default();
- ctx.data_mut(|d| d.insert_temp(egui::Id::NULL, t));
- let mut v = Visuals::dark();
+ let t = Tokens::for_kind(kind);
+ ctx.data_mut(|d| {
+ d.insert_temp(egui::Id::NULL, t);
+ d.insert_temp(theme_id(), kind);
+ });
+ let dark = kind.is_dark();
+ let mut v = if dark { Visuals::dark() } else { Visuals::light() };
v.panel_fill = t.chrome;
v.window_fill = t.chrome;
v.extreme_bg_color = t.field;
diff --cc docs/control-protocol.md
index fe95e0e32,f6af190e0..ee8c57029
--- a/docs/control-protocol.md
+++ b/docs/control-protocol.md
@@@ -55,12 -57,11 +57,17 @@@ scrolling pans in both axes and respect
These gestures work in Detail (including editing tools and full-screen preview), Compare and Reference
views, and only apply over their image areas. Panning stops at the image edges.
+The interface theme is `view.appearance {mode?: "auto" | "light" | "dark"}` (no mode: the next one,
+Auto → Light → Dark → Auto, like the top bar's `icon:appearance` button) and `view.theme {theme:
+"charcoal" | "midnight" | "silver" | "paper"}`, which picks a theme and fixes the mode to its family.
+Both reply `{mode, darkTheme, lightTheme}`; the same values are `settings.appearanceMode`,
+`settings.darkTheme` and `settings.lightTheme` in `ui.set`. Auto follows the system (on Linux the
+XDG desktop portal, watched for changes rather than polled) and is dark when the system says nothing.
+ Mask brushing uses the UI command `tool.brush` through `engine.execute`. With `{}` it activates
+ painting on the current mask. `{"new": true}` creates a separate brush mask; `{"op": "add"}` or
+ `{"op": "subtract"}` appends a brush component to the selected mask. Creating either starts in
+ paint mode with the overlay visible. Brush Erase (or Alt while painting) removes strokes' coverage
+ within that brush component; it is distinct from subtracting the component from the whole mask.
### When the library can't be saved
diff --cc docs/parity.md
index 9217f0ff3,ad82e3d25..3164eba3d
--- a/docs/parity.md
+++ b/docs/parity.md
@@@ -483,10 -484,11 +484,12 @@@ under the UI command that wraps it (a n
| Id | Feature | Tier | Status | Evidence | Missing / notes |
|---|---|---|---|---|---|
- | LR-PREF-GENERAL | General settings | P0 | ✅ | `cmd:app.settings`, `cmd:app.openLibrary`, `crates/ui-egui/src/panels/settings.rs`, `crates/ui-egui/src/panels/notices.rs` | General / Import / Performance / Interface tabs; app settings in ui.json (written atomically, saved when the library changes and every few seconds), library settings in prefs.json; a damaged settings file is kept as `.corrupt-<time>` and reported, an unreadable one is not overwritten that session (`library.info` → `settingsWarnings`); quitting with unsaved changes retries, then asks |
+ | LR-PREF-GENERAL | General settings | P0 | ✅ | `cmd:app.settings`, `cmd:app.openLibrary`, `crates/ui-egui/src/panels/settings.rs`, `crates/ui-egui/src/panels/notices.rs` | General / Import / Performance / Display / Interface tabs; app settings in ui.json (written atomically, saved when the library changes and every few seconds), library settings in prefs.json; a damaged settings file is kept as `.corrupt-<time>` and reported, an unreadable one is not overwritten that session (`library.info` → `settingsWarnings`); quitting with unsaved changes retries, then asks |
| LR-PREF-LOCALSTORAGE | Storage & cache | P1 | ✅ | `cmd:library.preferences`, `cmd:library.clearPreviews`, `cmd:library.compact` | thumbnail cache size + clear in Settings → Performance; library location + Open Library… in General |
| LR-PREF-ACCOUNT | Account | OOS | 🚫 | | |
-| LR-PREF-INTERFACE | Interface options | P1 | ✅ | `cmd:app.settings` | filmstrip names/badges, grid badges (auto/always/never), square-grid names, navigator, info overlay |
+| LR-PREF-INTERFACE | Interface options | P1 | ✅ | `cmd:app.settings`, `cmd:view.appearance`, `cmd:view.theme` | Appearance Mode (Sync with System / Dark / Light; the top bar button cycles Auto, Light, Dark) with separate dark (Charcoal, Midnight) and light (Silver, Paper) themes previewed in cards; filmstrip names/badges, grid badges (auto/always/never), square-grid names, navigator, info overlay |
+ | LR-PREF-DISPLAY | Monitor (display) colour management | P1 | 🟡 | `cmd:app.displayProfile`, `crates/codecs/src/display.rs`, `crates/engine/src/display.rs`, `crates/ui-egui/src/panels/settings.rs`, `docs/display-profiles.md` | Settings ▸ Display: a monitor ICC profile (matrix/TRC exactly, LUT-based through the CMS) chosen by hand; the loupe, Before, Compare, hover previews and the second window render into the display's primaries (its full gamut, CPU and GPU), thumbnails and stand-ins are converted from sRGB; histogram, preview caches and exports stay sRGB; soft proofing's display gamut warning uses the display's gamut. Missing: picking up the profile the OS assigns (X11 `_ICC_PROFILE`, colord, ColorSync, WCS), per-monitor profiles |
++
| LR-PREF-PERFORMANCE | GPU / performance | P1 | ✅ | `cmd:app.gpu`, `cmd:app.memoryBudget`, `cmd:app.settings` | GPU on/off, preview size (Automatic = the whole-frame loupe render at canvas size, up to 2560 px; or a 1600–5120 px size for it; zoomed views add a window at up to 100 %, issue #323), memory budget (a quarter of it is the idle per-view stage caches' share; the open photo's views are counted and reported, and cut only past four times that, the before side's and the zoom window's first — a Before/After at 1:1 on a 2800 px canvas holds about 1 GB of GPU stages, plus the one 288 MB copy of the original, which `ui.inspect` reports as `sharedSourceBytes`), thumbnail cache size in Settings |
| LR-PREF-PEOPLE | Face recognition | P2 | 🟡 | `cmd:faces.enable`, `cmd:faces.models.list`, `cmd:faces.models.inspect`, `cmd:faces.models.install`, `cmd:faces.models.download`, `cmd:faces.models.downloads`, `cmd:faces.models.downloadCancel`, `cmd:faces.models.remove`, `cmd:faces.models.select`, `cmd:dialog.faceModel`, `crates/faces/src/lib.rs`, `crates/ui-egui/src/panels/faces.rs` | Settings ▸ Faces: an off-by-default toggle and the face model list. Models are opt-in and never bundled, the 232 KB YuNet detector included. Press Download (terms first; then a pinned address, size and SHA-256 checked, fetched over pure-Rust https with `lightcraft-fetch`), or add any `.onnx` by picking or dropping it: it is recognised by hash or described from its shape, shows its licence terms and training-data note, runs a self-test, and installs only after an "I accept" box; an installed model is chosen and recognition switched on at once (the newest wins, each model keeps its own embedding cache). Non-commercial models are add-by-file only, never offered for download. Suggestions of names run on the shared pure-Rust CPU interpreter (`crates/faces/src/net.rs`, `crates/faces/src/runtime.rs`; bounded im2col/GEMM, checked ONNX shapes/operators; no external inference runtime; 40 public crops agree within 2.1e-6, one-thread SFace 34–36 ms / AuraFace 233–252 ms, see docs/faces.md) in a background worker and are never applied automatically. Thresholds are starting points calibrated on busts, not yet on live faces
| LR-PREF-WATERMARK | Watermark settings | P1 | ✅ | `cmd:export.savePreset`, `crates/ui-egui/src/panels/dialogs.rs` | set in the Export dialog; kept with Export with Previous and in saved export presets |
diff --cc docs/whats-new.md
index 618be9755,8ae60a7e4..19f4f7417
--- a/docs/whats-new.md
+++ b/docs/whats-new.md
@@@ -2,13 -2,113 +2,120 @@@
## October 2026
+### Appearance
+- Settings ▸ Interface ▸ Appearance Mode: Sync with System, Dark Mode or Light Mode, above a light
+ and a dark theme card, each previewing its theme (dark: Charcoal, the look so far, or Midnight;
+ light: Silver or Paper). New and existing installs stay dark; following the system is opt-in.
+- The top bar's appearance button cycles Auto, Light, Dark (a monitor, sun or moon), and View ▸
+ Appearance lists the modes and themes. On Linux, Auto follows the desktop portal's colour scheme
+ as it changes, without polling.
+ ### Smart album rules
+ - The rule editor's field menu is grouped: Rating, Pick Flag, Color Label and Any Searchable Text at the top, then
+ submenus for Source, File, Date, Keywords & People, Description, Camera Info, Location, Size, Develop and Assisted
+ Culling.
+ - New fields: Keyword Count ("2 or more", "exactly 2"…), People and People Count (named faces), Shutter Speed (written
+ as 1/250), File Extension, Video Duration, Copy Name, In a Stack, Alt Text, City, State / Province, Country, Long
+ Edge, Short Edge, Aspect Ratio (landscape / portrait / square), Cropped and Treatment (in color / black & white).
+ Size rules measure the photo as shown: Megapixels now counts the cropped photo, like Long Edge, Short Edge and
+ Aspect Ratio (a 24 MP photo cropped to a square is 16 MP).
+ - Choice values read as words in every language: "Public Domain", "Picked", "Black & White" rather than ids like
+ `publicDomain` (rules and agents keep using the ids; `album.ruleFields` adds `choiceLabels`).
+ - Rule values are checked: a rating of 9, a date like 2026-13 or "banana", a "between" whose dates are the wrong
+ way round, "in the last 0 days", a colour label that doesn't exist, "contains" with nothing to look for, an
+ album that is gone, or an empty group is reported with its rule ("rule 2.1: no rating 0–5 is 9")
+ instead of quietly matching nothing or everything. New date rules start at the current year.
+ - A smart album can include or exclude another smart album: "Keywords contain travel" and "Album isn't Excluded Photos"
+ leaves out whatever Excluded Photos matches, as its rules change. The album picker shows your albums as in the sidebar
+ (folders open on click) or finds them as you type part of a name or folder (↑ / ↓ and Enter to pick); albums that
+ can't be picked, such as one that would make an album include itself, are greyed with the reason. Esc with a dropdown or calendar open in a dialog
+ closes just that.
+ - Date rules have a calendar button: pick a day, a month or a whole year (Year / Month / Day), in your language; the
+ two dates of a "between" can't be picked out of order; Esc closes just the calendar. It picks dates, not times (a
+ time is typed, and picking a day replaces one). Typing still works, and "2026-10-01 10:00" (a space for the
+ T) now matches.
+ - Rule problems are shown in your language and name the field the way the menu does ("Title: needs something to look
+ for").
+ - A smart album whose rules no longer check (an album they test was deleted) is marked ⚠ in the sidebar; its tooltip
+ says what to fix, and `albums.list` reports `problems`.
+ - Editing a smart album's name and rules is one step: both or neither, and one undo takes both back
+ (`album.setRules` takes `name`).
+ - The rule editor marks each rule that needs fixing right under it and keeps OK disabled until they are fixed. An
+ Album rule is "is" or "isn't" an album, picked with the album picker.
+ - Yes/no fields (Has Edits, Cropped, Has GPS…) read Yes / No instead of true / false. A rule sent as `"false"` now
+ means no (it used to count as yes), and a value that is neither yes nor no is refused.
+ - Any Searchable Text also finds the state / province, alt text, people and a virtual copy's name.
+
+ ### Keyword lists
+ - File ▸ Import Keywords… and Export Keywords… read and write keyword list files as Lightroom Classic does (a keyword
+ a line, a tab per level, synonyms in braces, keywords left out of export in brackets). Capture One, darktable, Adobe
+ Bridge and Photo Supreme (its Formatted Vocabulary File) use the same files, so keyword lists move between them and
+ LightCraft. Importing adds the keywords you don't have, in one undo step; a file it can't read says which line, or
+ to save it as UTF-8. Exporting warns about keywords Capture One won't import, and names any keyword the format can't
+ hold (such as a name in brackets), which it leaves out so the file always reads back.
+
+ ### Keyword sets
+ - Keyword Set ▸ Edit Set… edits a set's nine keywords in place, one field per ⌥ key, and renames it (or saves the edits as a new
+ set). An empty field leaves its key empty instead of moving the keywords after it; editing Recent Keywords and naming
+ them saves a new set.
+
+ ### Keywording box
+ - The chips at the top of the Keywords panel are the keywords of every selected photo, not only the active one's; a
+ keyword only some of them have is marked with an asterisk (hover: how many). Only the × removes a keyword, from
+ every selected photo; a chip's menu acts on the selection (add to all, remove, show photos, edit) and no longer
+ deletes a keyword from the whole library.
+ - Switch to & Containing to see the keywords with the keywords containing them, or to Will Export to see what
+ exported files will carry for the selection.
+ - The keyword set's buttons and the suggestions follow the selection too; the typing boxes get the Cut / Copy / Paste
+ menu, and Return in the painter's box starts painting.
+
+ ### Keyword List
+ - The Keywords panel ends with a Keyword List, as in Lightroom Classic: every keyword with its photo count, those no
+ photo has yet too. Filter it, tick a keyword to give it to the selected photos (a dash: only some have it), or click
+ the arrow to see its photos.
+ - Create keywords with + (inside the one you picked, with synonyms, and given to the selection if you like), edit one
+ by double-clicking it, delete one with − after a confirmation. Right-click for more: create inside, Put New Keywords
+ Inside This Keyword, Purge Unused Keywords.
+ - Drag a keyword onto another to nest it, or onto the list's title to bring it back to the top level; photos dragged
+ from the grid onto a keyword get it.
+ - Right-click ▸ Put New Keywords Inside This Keyword: new keywords, made with + or typed in the box above, go inside
+ it. The list is there with no photo selected too, to set up keywords first.
+ - Keyword tag options decide what exported files carry: Include on Export, Export Containing Keywords, Export
+ Synonyms. Exports now write keyword names to `dc:subject` and their paths to `lr:hierarchicalSubject`, and keywords
+ imported from files (or read from sidecars) keep the hierarchy `lr:hierarchicalSubject` gives them.
+
+ ### Text fields
+ - Right-click Search Photos, a slider's typed value, the Info panel's fields, the name field of New Album, Rename
+ Album, New Smart Album, Rename Keyword, Merge Keywords and similar dialogs, or the name field under unnamed faces for
+ Cut, Copy, Paste and Select All. Esc in them gives back the text from before you started typing (in the Info panel it
+ no longer saves it). Return in those dialogs now confirms them, and their name opens selected. More fields will
+ follow.
+ - On Windows and Linux, Ctrl+C outside a text field copies edit settings and Ctrl+V pastes them (⇧Ctrl+V: Paste
+ Selected Settings). Ctrl+V only reaches LightCraft while the system clipboard holds text; otherwise use Edit ▸ Paste Edit
+ Settings.
+
+ ### Synchronize Folder
+ - Right-click a folder (or a disk other than the startup disk) in the sidebar's Folders section ▸ Synchronize
+ Folder…. The folder and the folders inside it are scanned in the background for photos added on disk, photos whose
+ file is gone, photos whose file was renamed or moved within the folder, and XMP sidecars changed by other apps; then
+ choose what to do: import the new photos and relink the moved ones (the defaults), move the missing ones to Recently
+ Deleted, read the metadata updates. A folder on a disk that isn't connected is reported as such. Synchronizing
+ runs in the background with a progress window and Cancel; everything it does is one undo step, and no file on disk
+ is touched. Agents use `folder.scanChanges` and `folder.synchronize`.
+
+ ### Folder colour labels
+ - Right-click a folder (or a disk other than the startup disk) in the sidebar's Folders section ▸ Set Color Label ▸ a colour or None. The row
+ shows the label's dot before its photo count. Agents use `folder.label` (`path`, `label`); `library.folders`
+ reports each row's `label`.
+ - A label follows its folder when it is renamed or moved in LightCraft, together with the labels of the folders
+ inside it; undo and redo carry them back and forth.
+ - The catalog format is now version 4 (`Catalog.folder_records`, `Op::SetFolderRecord`). Once this version has
+ opened a library, older versions refuse it, as with every format change.
+
+ ### Monitor profiles
+ - Settings ▸ Display ▸ Choose Profile… shows photos through your monitor's ICC profile (matrix/TRC or LUT-based), so
+ colours are right on wide-gamut and calibrated displays instead of oversaturated. The Detail view renders straight
+ into the display's own gamut; thumbnails and other previews are converted to it. Histograms, the preview caches
+ and exports don't change. Agents use `app.displayProfile`. See [display profiles](display-profiles.md).
### Masking
- Drag anywhere inside the selected radial gradient's ellipse to move it, including rotated