Skip to content

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

Merge PR #604

Brandon Thomas2f359496782c
diff --cc crates/engine/src/sidecar.rs
index 58c82d930,830b72087..96384d452
--- a/crates/engine/src/sidecar.rs
+++ b/crates/engine/src/sidecar.rs
@@@ -478,9 -487,15 +490,15 @@@ impl Session
let p = self.catalog.photo(id).ok_or(lightcraft_catalog::CatalogError::NoPhoto(id))?;
let Some(orig) = file_path(p) else { return Ok(None) };
let Some((packet, from)) = read_packet(orig, p.kind, self.sidecar_naming(id)) else { return Ok(None) };
- let sc = parse_sidecar(&packet, crate::crs::Target::for_photo(p))
- .map_err(|e| EngineError::Other(format!("{}: {e}", from.display())))?
- .resolve_label(&self.catalog);
- let sc = parse_sidecar(&packet, p.kind == MediaKind::Raw).map_err(|e| EngineError::Other(format!("{}: {e}", from.display())))?;
++ let sc = parse_sidecar(&packet, crate::crs::Target::for_photo(p)).map_err(|e| EngineError::Other(format!("{}: {e}", from.display())))?;
+ Ok(Some((self.sidecar_op(id, sc)?, from)))
+ }
+
+ /// The op that applies what a sidecar says (already read and parsed, e.g. on a worker
+ /// thread) to photo `id`: the sidecar wins. No file is read.
+ pub fn sidecar_op(&self, id: PhotoId, sc: SidecarData) -> Result<Op> {
+ let p = self.catalog.photo(id).ok_or(lightcraft_catalog::CatalogError::NoPhoto(id))?;
+ let sc = sc.resolve_label(&self.catalog);
let mut q = (**p).clone();
let develop_changed = merge_into(&mut q, &sc, &(self.clock)());
let mut ops = vec![
diff --cc crates/ui-egui/locales/de.json
index 7beaa4e30,eb237a2e8..c4bded93e
--- a/crates/ui-egui/locales/de.json
+++ b/crates/ui-egui/locales/de.json
@@@ -1890,104 -1890,31 +1890,131 @@@
"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"
++ "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"
}
diff --cc crates/ui-egui/locales/es.json
index ab62092b7,c40f6372c..eb13321af
--- a/crates/ui-egui/locales/es.json
+++ b/crates/ui-egui/locales/es.json
@@@ -1735,104 -1735,31 +1735,131 @@@
"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"
++ "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"
}
diff --cc crates/ui-egui/locales/ja.json
index 9bcf608c4,bd55af76c..4d9c8ae7f
--- a/crates/ui-egui/locales/ja.json
+++ b/crates/ui-egui/locales/ja.json
@@@ -1735,106 -1735,31 +1735,133 @@@
"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": "キーワードリスト"
++ "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": "読み込みが終わるまでお待ちください"
}
diff --cc crates/ui-egui/locales/pt-br.json
index 268677dd0,7e9511241..318120d86
--- a/crates/ui-egui/locales/pt-br.json
+++ b/crates/ui-egui/locales/pt-br.json
@@@ -1735,104 -1735,31 +1735,131 @@@
"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"
++ "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"
}
diff --cc crates/ui-egui/locales/ru.json
index 109cb6d0b,4f3689f7d..b51355c74
--- a/crates/ui-egui/locales/ru.json
+++ b/crates/ui-egui/locales/ru.json
@@@ -1408,143 -1408,32 +1408,171 @@@
"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": "Списки ключевых слов"
++ "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": "Дождитесь окончания импорта"
}
diff --cc crates/ui-egui/locales/zh-hans.json
index 1c9d43825,f12273d05..d654240bf
--- a/crates/ui-egui/locales/zh-hans.json
+++ b/crates/ui-egui/locales/zh-hans.json
@@@ -1735,104 -1735,31 +1735,131 @@@
"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": "关键字列表"
++ "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": "请等待导入完成"
}
diff --cc crates/ui-egui/locales/zh-hant.json
index 2cc9adc68,f7e7c35e7..ef8160a5c
--- a/crates/ui-egui/locales/zh-hant.json
+++ b/crates/ui-egui/locales/zh-hant.json
@@@ -1735,104 -1735,31 +1735,131 @@@
"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": "關鍵字清單"
++ "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": "請等待匯入完成"
}
diff --cc crates/ui-egui/src/lib.rs
index 27a4105cf,05591366a..aad48ee3a
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@@ -29,8 -27,8 +29,9 @@@ pub mod render
pub mod shortcuts;
pub mod softpaint;
pub mod state;
+ pub mod sync;
pub mod tasks;
+pub mod text_field;
pub mod theme;
pub mod titlebar;
pub mod widgets;
diff --cc crates/ui-egui/src/panels/dialogs.rs
index 04636a0d2,9f124ae80..788493a7b
--- a/crates/ui-egui/src/panels/dialogs.rs
+++ b/crates/ui-egui/src/panels/dialogs.rs
@@@ -950,13 -828,9 +952,14 @@@ pub fn show(app: &mut LightcraftApp, ct
Dialog::DenoiseModel { .. } => "Install",
Dialog::FaceModel { info, .. } if !informational && info["download"].is_string() => "Download",
Dialog::FaceModel { .. } if !informational => "Install",
- Dialog::ConfirmDelete { .. } => "Delete",
+ Dialog::ConfirmDelete { .. } | Dialog::DeleteKeyword { .. } => "Delete",
+ // (not "Merge": that is photo merging, HDR / panorama, in some languages)
+ Dialog::MoveKeyword { .. } => "Merge Keywords",
+ Dialog::KeywordSet { .. } => "Save",
+ Dialog::KeywordTag { editing: None, .. } => "Create",
+ Dialog::KeywordTag { .. } => "Save",
Dialog::RemoveFolder { .. } => "Remove",
+ Dialog::SynchronizeFolder { .. } => "Synchronize",
Dialog::SamModel { then: Some(_), .. } if sam_installed => "Continue",
Dialog::SamModel { .. } if sam_installed || sam_running || sam_nowhere => "",
Dialog::SamModel { error, .. } if error.is_some() || sam_failed => "Try Again",
@@@ -965,10 -839,12 +968,14 @@@
_ => "OK",
};
// installing waits for the licence to be accepted
+ // (and Synchronize waits for the scan)
let can_confirm = informational
- || !matches!(&dlg, Dialog::DenoiseModel { accepted: false, .. } | Dialog::FaceModel { accepted: false, .. })
+ || !matches!(
+ &dlg,
+ Dialog::DenoiseModel { accepted: false, .. } | Dialog::FaceModel { accepted: false, .. } | Dialog::SynchronizeFolder { counts: None, .. }
- );
++ )
+ // smart-album rules that can't mean anything wait to be fixed
+ && !matches!(&dlg, Dialog::SmartRules { id, rules, .. } if !rules.check_for(&app.session.catalog, id.map(lightcraft_catalog::AlbumId)).is_empty());
let r = (!ok.is_empty()).then(|| ui.add_enabled(can_confirm, egui::Button::new(crate::i18n::tr(ok))));
if let Some(r) = &r {
crate::widgets::register(ui.ctx(), "button:dialogOk", r.rect);
@@@ -1006,8 -881,7 +1013,9 @@@
| Dialog::NewAlbum { .. }
| Dialog::NewSmartAlbum { .. }
| Dialog::SmartRules { .. }
+ | Dialog::KeywordTag { .. }
+ | Dialog::KeywordSet { .. }
+ | Dialog::SynchronizeFolder { .. }
) =>
{
app.toast(ctx, e)
diff --cc docs/parity.md
index 2d6f7591d,139398498..4b1499cec
--- a/docs/parity.md
+++ b/docs/parity.md
@@@ -741,12 -740,12 +741,12 @@@ From `08-lightroom-classic-extras.md` (
| LRC-LIB-SURVEY | Survey view | P2 | ✅ | `cmd:view.survey` | N |
| LRC-LIB-REFVIEW | Reference view | P2 | ✅ | `cmd:view.reference`, `cmd:photo.setReference`, `crates/ui-egui/src/panels/compare.rs` (`show_reference`) | View ▸ Reference View (⇧R): the reference photo beside the active one (edited with the Edit panel); photo menu ▸ Set as Reference Photo |
| LRC-LIB-CATALOG-PANEL | Catalog sets | P1 | ✅ | `cmd:library.source` (`missing`) | all, recently added, picks, recently deleted, missing photos (when any) |
-| LRC-LIB-CATALOG-IMPORT | Native Lightroom Classic catalog import | P1 | 🟡 | `cmd:library.inspectLightroom`, `cmd:library.importLightroom`, `crates/engine/src/lightroom_catalog.rs`, `docs/lightroom-catalog-import.md` | read-only `.lrcat` plus committed WAL pages, in-tree read-only Rust SQLite B-tree reader; background inspection/import with progress/cancellation, per-open library identity checks; originals in place, ratings/flags/labels, XMP, hierarchical keywords, collection sets/regular collections, virtual copies, mapped develop settings; stable reimport identities, undo, missing-file placeholders, existing edits preserved. Best-effort deduplicated recovery archives retain settings/history/snapshots/collection rules (32 MiB each, eight archives/128 MiB aggregate); archive limits/write failures and optional-table limits warn without blocking photo import; unrelated unsupported tables and opaque SQL BLOBs skipped. Adobe rendering, AI data and native history replay remain incomplete; no writes to Lightroom catalogs |
+| LRC-LIB-CATALOG-IMPORT | Native Lightroom Classic catalog import | P1 | 🟡 | `cmd:library.inspectLightroom`, `cmd:library.importLightroom`, `crates/engine/src/lightroom_catalog.rs`, `docs/lightroom-catalog-import.md` | read-only `.lrcat` plus committed WAL pages, in-tree read-only Rust SQLite B-tree reader; background inspection/import with progress/cancellation, per-open library identity checks; originals in place, ratings/flags/labels, XMP, hierarchical keywords, collection sets/regular collections, virtual copies, mapped develop settings; stable reimport identities, undo, missing-file placeholders, existing edits preserved. Best-effort deduplicated recovery archives retain settings/history/snapshots/collection rules (32 MiB each, eight archives/128 MiB aggregate); archive limits/write failures and optional-table limits warn without blocking photo import; unrelated unsupported tables and opaque SQL BLOBs skipped. Custom white balance on relative-WB raws (`RAW` in Lightroom's terms) stays As Shot and is reported, since the catalog keeps no as-shot white to shift from (issue #510). Adobe rendering, AI data and native history replay remain incomplete; no writes to Lightroom catalogs |
| LRC-LIB-CATALOG-LOCK | Catalog open in one program at a time | P1 | ✅ | `cmd:app.openLibrary`, `crates/catalog/src/lock.rs`, `crates/engine/src/library.rs` (`open_library`) | exclusive OS lock on `catalog.lock` for the session (app and `lightcraft-cli --library`); a second opener is refused with who has it (`catalog.lock.owner`: program, process, computer); released by the OS on a crash, so never stale; file systems without locks open unprotected with a warning (the app's notices, `library.info` → `settingsWarnings`, and the CLI's stderr; issue #171); no read-only mode; the browser build (OPFS) has no guard across tabs yet. A library that can't be opened at launch (locked, unreadable, newer format, drive missing) shows a window — Try Again, Choose Another Library…, Continue Without Saving (then a banner; nothing written), Quit — instead of a silent demo session (`crates/ui-egui/src/panels/library_problem.rs`) |
| LRC-LIB-FOLDERS | Disk folder tree | P1 | ✅ | `cmd:library.browse`, `cmd:folder.rename`, `cmd:folder.move`, `crates/ui-egui/src/panels/left.rs` (`local_section`, `folder_tree`) | standard places + the browsed folder + Browse Folder…, each an expandable tree of subfolders, breadcrumb navigation; context menu: Rename Folder…, Move Folder To…, Show in Finder (on disk, photos relinked; one undo step each: undo / redo move the folder back and forth, refused when the destination is taken) |
- | LRC-LIB-LIBFOLDERS | Library folders | P1 | ✅ | `cmd:library.folders`, `cmd:library.source` (`libraryFolder`), `cmd:library.filter` (`libraryFolder`), `cmd:library.removeFolder`, `cmd:folder.rename`, `cmd:folder.move`, `cmd:folder.label`, `crates/catalog/src/folders.rs`, `crates/ui-egui/src/panels/left.rs` (`folders_section`, `folder_menu_for_library`, `row_menu`), `crates/ui-egui/src/tests_panels.rs` | sidebar Folders: the folders the library's photos were imported from, with photo counts (subfolders included), as another way to explore the library next to By Date and Keywords; Local stays the way to browse any folder on disk. Each disk is a row of its own and starts open: a drive letter, a Windows share (`\\server\share`, `\\?\UNC\…`, `\\wsl$\…`), a macOS share or disk (`/Volumes/tokyo`), a Linux mount (`/media`, `/run/media`, `/mnt`, gvfs `smb-share:…`, `/net/<host>`), NFS (`/Network/Servers/<host>`), else “This Computer” — told apart from the stored paths alone, so an offline share lists like a mounted one and the sidebar never waits on a network. Only folders that hold imported photos are listed (browsed, deleted and demo photos don't count); every folder is a row of its own (`Users` → `me` → `Pictures`), and a folder that holds nothing itself and leads to one folder starts open; every level indents one step more than its parent however deep it goes: the whole sidebar (Albums, Local, By Date, Folders, Keywords) scrolls sideways when its widest row is wider than the panel (rows are measured one frame behind; Create Album and the counts stay at the visible edge); a name that does not fit ends in an ellipsis at the count (the full name on hover; a row asks for room for at most 140 pt of its name, so depth, not one long name, makes the sidebar scroll), as does the grid title; selection and hover bars end at the panel's edge; click makes the folder the source, like an album or a Local folder (its photos and those of the folders inside it fill the grid, titled “photos/travel”; the filter bar narrows it further; `library.source` `libraryFolder` + `path`; kept with the library's view), and its row is always opened into view; the shown folder follows a rename or move and their undo (engine-tested; the sidebar test covers rename), is dropped back to All Photos when it is removed or no longer holds a photo, and a smart album made from the view keeps it, also when its rules are edited (the editor has no folder field). Only a folder that shows exactly its own photos can be shown (not the startup disk, not `/Volumes`-like folders above disks, not an empty one). A row that would cover other disks' photos too (the startup disk, `/Volumes`, `/mnt`…) only opens. Right-click (row or triangle): Rename Folder…, Move Folder To…, Show in Finder (on disk, photos relinked, as in Local), Set Color Label ▸ (the five colours with their custom names, None, Edit Label Names…; `folder.label`, one undo step; the row shows the label's dot before its count and says it with its name; kept in the catalog as a folder record under the folder's identity, so it follows Rename / Move and their undo and redo, the folders inside going along) and Remove from Library… (asks; moves the folder's photos to Recently Deleted, one undo step, no file touched); a disk row (not the startup disk) offers Set Color Label ▸ and Remove Disk from Library… (the command needs `disk: true` for a whole disk or a folder spanning several). Limits: names are compared as written (macOS `/Volumes/tokyo` vs `/Volumes/TOKYO` are two disks; `/Volumes/Macintosh HD/…` and `/…` two rows); no disk capacity / online status; no “include subfolders” switch (a folder always includes the ones inside it); creating a folder and moving photos between folders are not here; folders can't be filtered or sorted by label, and a label stays with the old path when the folder is moved outside LightCraft (Find Missing relinks photos, not folder records) |
+ | LRC-LIB-LIBFOLDERS | Library folders | P1 | ✅ | `cmd:library.folders`, `cmd:library.source` (`libraryFolder`), `cmd:library.filter` (`libraryFolder`), `cmd:library.removeFolder`, `cmd:folder.rename`, `cmd:folder.move`, `cmd:folder.label`, `cmd:folder.scanChanges`, `cmd:folder.synchronize`, `crates/catalog/src/folders.rs`, `crates/engine/src/sync.rs`, `crates/ui-egui/src/sync.rs`, `crates/ui-egui/src/panels/left.rs` (`folders_section`, `folder_menu_for_library`, `row_menu`), `crates/ui-egui/src/tests_panels.rs` | sidebar Folders: the folders the library's photos were imported from, with photo counts (subfolders included), as another way to explore the library next to By Date and Keywords; Local stays the way to browse any folder on disk. Each disk is a row of its own and starts open: a drive letter, a Windows share (`\\server\share`, `\\?\UNC\…`, `\\wsl$\…`), a macOS share or disk (`/Volumes/tokyo`), a Linux mount (`/media`, `/run/media`, `/mnt`, gvfs `smb-share:…`, `/net/<host>`), NFS (`/Network/Servers/<host>`), else “This Computer” — told apart from the stored paths alone, so an offline share lists like a mounted one and the sidebar never waits on a network. Only folders that hold imported photos are listed (browsed, deleted and demo photos don't count); every folder is a row of its own (`Users` → `me` → `Pictures`), and a folder that holds nothing itself and leads to one folder starts open; every level indents one step more than its parent however deep it goes: the whole sidebar (Albums, Local, By Date, Folders, Keywords) scrolls sideways when its widest row is wider than the panel (rows are measured one frame behind; Create Album and the counts stay at the visible edge); a name that does not fit ends in an ellipsis at the count (the full name on hover; a row asks for room for at most 140 pt of its name, so depth, not one long name, makes the sidebar scroll), as does the grid title; selection and hover bars end at the panel's edge; click makes the folder the source, like an album or a Local folder (its photos and those of the folders inside it fill the grid, titled “photos/travel”; the filter bar narrows it further; `library.source` `libraryFolder` + `path`; kept with the library's view), and its row is always opened into view; the shown folder follows a rename or move and their undo (engine-tested; the sidebar test covers rename), is dropped back to All Photos when it is removed or no longer holds a photo, and a smart album made from the view keeps it, also when its rules are edited (the editor has no folder field). Only a folder that shows exactly its own photos can be shown (not the startup disk, not `/Volumes`-like folders above disks, not an empty one). A row that would cover other disks' photos too (the startup disk, `/Volumes`, `/mnt`…) only opens. Right-click (row or triangle): Rename Folder…, Move Folder To…, Show in Finder (on disk, photos relinked, as in Local), Set Color Label ▸ (the five colours with their custom names, None, Edit Label Names…; `folder.label`, one undo step; the row shows the label's dot before its count and says it with its name; kept in the catalog as a folder record under the folder's identity, so it follows Rename / Move and their undo and redo, the folders inside going along), Synchronize Folder… (the dialog opens at once and scans the folder and the folders inside it on a worker thread — the look for new files beside parallel checks of the library's photos — then offers Import new photos (checked; files only browsed in Local count as new), Relink photos whose file was renamed or moved within the folder (checked; matched by content — a Duplicate's too — or, for a photo with no hash on record such as one from a Lightroom catalog, by file size and dimensions when exactly one file agrees), Remove missing photos from the library (to Recently Deleted) and Read metadata updates from XMP sidecars (saved after the photo came in or was last edited here, and saying something the library doesn't; the sidecar wins), with counts and skipped duplicates / unreadable files; `folder.scanChanges` / `folder.synchronize`, which acts on exactly the scan shown — a scan whose folder's photos changed meanwhile is refused and made again in the background — and is one undo step, also with a full history; a folder that isn't there (an unplugged disk) is reported as such, not as every photo missing; a whole disk or a folder holding disks needs `disk: true`; Esc stops the scan; Synchronize hands everything to a worker thread — the import, the checks that moved and missing files are still as found, the sidecar reads — and commits its steps between frames under a progress window with Cancel, so no file is touched on the UI thread) and Remove from Library… (asks; moves the folder's photos to Recently Deleted, one undo step, no file touched); a disk row (not the startup disk) offers Set Color Label ▸, Synchronize Folder… and Remove Disk from Library… (the command needs `disk: true` for a whole disk or a folder spanning several). Limits: names are compared as written (macOS `/Volumes/tokyo` vs `/Volumes/TOKYO` are two disks; `/Volumes/Macintosh HD/…` and `/…` two rows); no disk capacity / online status; no “include subfolders” switch (a folder always includes the ones inside it); creating a folder and moving photos between folders are not here; folders can't be filtered or sorted by label, and a label stays with the old path when the folder is moved outside LightCraft (Find Missing relinks photos, not folder records); Synchronize has no “show import dialog first” or “show missing photos” option, and only knows when a photo came in or was last developed here: a rating, label or metadata change made here (auto-write off) after another app saved the sidecar is listed as an update, and reading it restores the sidecar's older value (reading is never the default); the walk for new files isn't cancelled midway and its depth/entry limits are only logged |
| LRC-LIB-COLLECTIONS | Collections & sets | P1 | ✅ | `cmd:album.create`, `cmd:album.createSmart`, `cmd:album.toggleTarget`, `cmd:album.setTarget`, `cmd:album.clearQuick` | albums + folders (sets), smart albums (rule editor; rules incl. File Path — the whole string, either separator, case-insensitive), Quick Collection and target album (B in the grids adds / removes the selection; album menu ▸ Set as Target Album; the target is marked +) |
-| LRC-LIB-SMARTCOLL | Smart-collection rules | P1 | ✅ | `cmd:album.createSmart`, `cmd:album.setRules`, `cmd:album.ruleFields`, `cmd:dialog.smartAlbum`, `crates/catalog/src/rules.rs`, `crates/ui-egui/src/panels/rules_editor.rs` | rule editor: match all / any / none, nested groups (⌥+ or + Group), 30 fields (rating, flag, label, type, edits, keywords, any text, filename, file path, format, title, caption, camera, lens, location, creator, copyright, copyright status, capture / import / edit date, ISO, aperture, focal length, megapixels, GPS, virtual copy, album) with text / number / date / in-the-last operators; live match count; also usable as a library filter (`ruleSet`) |
+| LRC-LIB-SMARTCOLL | Smart-collection rules | P1 | ✅ | `cmd:album.createSmart`, `cmd:album.setRules`, `cmd:album.ruleFields`, `cmd:dialog.smartAlbum`, `crates/catalog/src/rules.rs`, `crates/ui-egui/src/panels/rules_editor.rs` | rule editor: match all / any / none, nested groups (⌥+ or + Group), 47 fields. The field menu shows Rating, Pick Flag, Color Label and Any Searchable Text, then one submenu per group (`FIELD_GROUPS`; `album.ruleFields` reports each field's `group`): Source (album — a plain or a smart album, so one smart album can include or exclude another; a rule that would make an album include itself, directly or through others, is refused, and a loop saved anyway can't recurse: inside it, the album being evaluated counts as holding no photos, so an "isn't" rule on it matches every photo, and the sidebar marks it ⚠ —, virtual copy, copy name, in a stack), File (filename, extension, file path, type, format, video duration), Date (capture / import / edit), Keywords & People (keywords, keyword count, people on named faces, people count), Description (title, caption, alt text, creator, copyright, copyright status), Camera Info (camera, lens, focal length, aperture, shutter speed as 1/250, ISO), Location (any, city, state / province, country, GPS), Size (long / short edge, aspect ratio and megapixels, all of the photo as shown: oriented and cropped), Develop (has edits, cropped, treatment), Assisted Culling (focus, best of similar shots); text / number / date / in-the-last operators; live match count; also usable as a library filter (`ruleSet`). Missing vs Classic: develop preset, flash, exposure bias, camera serial, colour profile / bit depth, IPTC Job, smart-preview status. Choice values read as words in every language (Public Domain, Black & White; `album.ruleFields` gives `choiceLabels`), while rules store the ids; yes/no fields read Yes / No and take `true`/`false`, `"yes"`/`"no"`, `"true"`/`"false"` or 1/0. Every value is checked against its field (`RuleSet::check`): numbers (rating 0–5), shutter speeds, dates (`2026`, `2026-08`, `2026-08-14`, then `T10`, `T10:00` or `T10:00:00`, a space working as the `T`, and after whole seconds a fraction and a time zone as imported capture times carry them (`.250+02:00`); no 30 February; `rules::rule_date` is the one reading for the check and the matcher; each date field has a calendar picker, `crates/ui-egui/src/date_picker.rs`, that picks a year, a month or a day and keeps a "between" in order), between = two bounds in order, in the last = more than 0 of a known unit, choices (ids, the flag's picked / rejected, a colour label's custom name), text with something to look for, an existing album (plain or smart, not a folder), no empty groups; each problem names its rule (`rule 2.1: no rating 0–5 is 9`), and album.createSmart / setRules / library.filter refuse them. The editor marks each bad rule under its row (inside groups too), keeps OK disabled until they are fixed (and its confirm refuses them before renaming anything), picks an Album rule's album with an album picker (`crates/ui-egui/src/album_picker.rs`: the sidebar's tree with folders, or type part of a name or folder; ↑ / ↓ / Enter; albums that can't be picked shown greyed with the reason) (is / isn't; a folder can't be tested), and drawing it never changes a rule: a rating of 9, "in the last 0 days" or 20,000 days, a "between" that isn't a pair all stay as stored (and are marked where they can't match) until edited. Album rules saved with an old operator (≥, between) are read as the "isn't" they always meant (`RuleSet::upgrade`). Saved smart albums whose rules no longer check are marked ⚠ in the sidebar (tooltip: what to fix; `albums.list` `problems`, `Catalog::smart_album_problems`); the name and rules of an album are saved as one undo step (`album.setRules` `name`). Problems read as the field's name and the issue in the editor's language (“Titel: braucht einen Suchbegriff”; `Problem::issue` / `field`, `Issue::text`, translated in every locale), while commands keep the English `rule 2.1: …` message for agents |
| LRC-LIB-PUBLISH | Publish services | P2 | ⬜ | | |
| LRC-LIB-FILTERBAR | Library filter bar | P1 | ✅ | `cmd:view.filterBar`, `cmd:filter.applyPreset`, `cmd:library.filter` (`labels`, `ruleSet`), `crates/ui-egui/src/panels/filterbar.rs` | rating/flag/label (several labels at once = any of them)/kind/edited/camera/lens/keyword, clear, save as smart album, filter presets; the filter stays as you change albums (always locked, as in the desktop app); arbitrary conditions via the smart-album rule editor |
| LRC-LIB-STACKS | Stacks (full) | P1 | ✅ | `crates/catalog/src/stacks.rs`, `cmd:stack.group`, `cmd:stack.split`, `cmd:stack.moveUp`, `cmd:stack.moveDown` | group / ungroup / toggle / set top / remove / auto by time / split / move up and down |
diff --cc docs/whats-new.md
index e612107e0,260ace3fb..e36bad15d
--- a/docs/whats-new.md
+++ b/docs/whats-new.md
@@@ -2,90 -2,15 +2,99 @@@
## October 2026
+### 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`