LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #2172: i18n: add Finnish (fi) interface language
aionggd8b2eb60d3f7
diff --cc README.mdindex 760360f22,8913a4c78..4035f975a--- a/README.md+++ b/README.md@@@ -451,7 -448,7 +451,7 @@@ CRAFT_FONTS_DIR=../craft-fonts cargo ruWithout it LightCraft builds and runs the same, but Chinese and Japanese text have no glyphs. Fonts are never committed to thisrepo — the standard for what goes there lives with it: see the [craft-fonts README](https://github.com/storytold/craft-fonts#readme).- **Interface language:** **Edit → Language** (English, 简体中文, 繁體中文(台灣), 日本語, Português (Brasil), Español, Deutsch, Русский, Français, Українська, Polski, Čeština, Italiano, ქართული, Svenska) or **Settings → General →-**Interface language:** **Edit → Language** (English, 简体中文, 繁體中文(台灣), 日本語, Português (Brasil), Español, Deutsch, Русский, Français, Українська, Polski, Čeština, Italiano, ქართული, Suomi) or **Settings → General →++**Interface language:** **Edit → Language** (English, 简体中文, 繁體中文(台灣), 日本語, Português (Brasil), Español, Deutsch, Русский, Français, Українська, Polski, Čeština, Italiano, ქართული, Svenska, Suomi) or **Settings → General →Language**; the choice applies immediately and persists. See [docs/localization.md](docs/localization.md).**Logs:** the desktop app writes its log to standard error and to `logs/lightcraft.log` in its settings folderdiff --cc assets/ATTRIBUTION.mdindex 2bdb934ff,6cc3581fd..2c7fa0251--- a/assets/ATTRIBUTION.md+++ b/assets/ATTRIBUTION.md@@@ -34,7 -34,7 +34,8 @@@ covers a whole directory), or if a lice| `crates/ui-egui/locales/cs.json`, `crates/ui-egui/locales/cs-formats.json` | Czech interface catalogs | @Losminek with AI assistance (Codex) | original work: translations of English source phrases, reviewed against the app UI conventions; no external translation material | MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`) | 2026-10-11 | catalog coverage, Czech dates and count-neutral wording; independent scope/terminology review; native-speaker proofreading pending || `crates/ui-egui/locales/it.json`, `crates/ui-egui/locales/it-formats.json` | Italian interface catalogs | @GabrielePecchioli with Claude Code; PhotoCraft, VectorCraft, PdfCraft and WordCraft translation contributors for reused labels | original translations from English source; 410 initial English-key matches reviewed from [PhotoCraft da3da09](https://github.com/storytold/photocraft/blob/da3da0942c14c1159f40c652afcf33584332c733/crates/ui-egui/src/i18n/it.tsv), [VectorCraft 5432821](https://github.com/storytold/vectorcraft/blob/543282148007bcb5633c493a5374cd26b0339c8d/crates/ui-egui/src/i18n/it.tsv), [PdfCraft e8e275c](https://github.com/storytold/pdfcraft/blob/e8e275cbd40ccd0dc6b56f82b16a575571043702/crates/ui-egui/src/i18n/it.tsv) and the Italian WordCraft catalog ([storytold/wordcraft#598](https://github.com/storytold/wordcraft/pull/598)); 46 of them retranslated where the sibling's meaning didn't fit a photo app | MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`, also the source repositories' licences) | 2026-10-12 | adapted to LightCraft photo-development context, count-neutral labels for Italian plural agreement, reviewed placeholders || `crates/ui-egui/locales/ka.json`, `crates/ui-egui/locales/ka-formats.json` | Georgian interface catalogs | Davit Matchakhelidze with Claude; WordCraft, GridCraft, PhotoCraft, FilmCraft and VectorCraft Georgian catalogs for reused labels | original translations from the English source (meaning-based, no vendor localization used); 450 English-key matches reused from the sibling Craft apps' Georgian catalogs | MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`) | 2026-10-12 | adapted to LightCraft photo-library and raw-development context; count-neutral numerals; placeholders checked |+| `crates/ui-egui/locales/sv.json`, `crates/ui-egui/locales/sv-formats.json` | Swedish interface catalogs | LightCraft contributors | original work: clean-room Swedish translations of English source phrases | MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`) | 2026-10-15 | none |+ | `crates/ui-egui/locales/fi.json`, `crates/ui-egui/locales/fi-formats.json` | Finnish interface catalogs | @roopeg with Claude Code (AI-assisted; native-speaker review by @roopeg) | original work: translations of the English source phrases, using common Finnish photo-editing vocabulary; no external translation material | MIT OR Apache-2.0 (`LICENSE-MIT`, `LICENSE-APACHE`) | 2026-10-17 | count-neutral labels for Finnish partitive agreement, Finnish dates and times (`20.9.2026`, `16:04`), reviewed placeholders |Notes- Fonts authored or published by Adobe (Source Sans/Serif/Code, Source Han, …) are not used, even though some arediff --cc crates/ui-egui/src/i18n.rsindex 4df50c8e2,ff34e68d7..12aa73d19--- a/crates/ui-egui/src/i18n.rs+++ b/crates/ui-egui/src/i18n.rs@@@ -130,7 -130,7 +130,8 @@@ language_table!Cs, "cs", "Čeština", "Latn", include_str!("../locales/cs.json");It, "it", "Italiano", "Latn", include_str!("../locales/it.json");Ka, "ka", "ქართული", "Geor", include_str!("../locales/ka.json");+ Sv, "sv", "Svenska", "Latn", include_str!("../locales/sv.json");+ Fi, "fi", "Suomi", "Latn", include_str!("../locales/fi.json");}// The settings file stores the BCP-47 code (`"zh-hans"`), never the Rust variant name, so a@@@ -867,7 -791,7 +868,8 @@@ mod tests("app.language.czech", Locale::Cs),("app.language.italian", Locale::It),("app.language.georgian", Locale::Ka),+ ("app.language.swedish", Locale::Sv),+ ("app.language.finnish", Locale::Fi),];// One command per language, and every command reachable from the menu table.assert_eq!(commands.len(), Locale::ALL.len());diff --cc crates/ui-egui/src/menus.rsindex 41267baeb,18e423335..4e0a33072--- a/crates/ui-egui/src/menus.rs+++ b/crates/ui-egui/src/menus.rs@@@ -28,7 -28,7 +28,8 @@@ pub const LANGUAGE_COMMANDS: &[UiComman("app.language.czech", crate::i18n::Locale::Cs.name(), None, "Edit>Language"),("app.language.italian", crate::i18n::Locale::It.name(), None, "Edit>Language"),("app.language.georgian", crate::i18n::Locale::Ka.name(), None, "Edit>Language"),+ ("app.language.swedish", crate::i18n::Locale::Sv.name(), None, "Edit>Language"),+ ("app.language.finnish", crate::i18n::Locale::Fi.name(), None, "Edit>Language"),];/// Every UI command: the languages, then everything else. `xtask parity` reads both tables from@@@ -55,7 -55,7 +56,8 @@@ pub fn language_from_command(id: &str)"app.language.czech" => Some(crate::i18n::Locale::Cs),"app.language.italian" => Some(crate::i18n::Locale::It),"app.language.georgian" => Some(crate::i18n::Locale::Ka),+ "app.language.swedish" => Some(crate::i18n::Locale::Sv),+ "app.language.finnish" => Some(crate::i18n::Locale::Fi),_ => None,}}diff --cc crates/ui-egui/src/panels/keyword_list.rsindex 7661e9dd7,8869d1cb6..ce29c7884--- a/crates/ui-egui/src/panels/keyword_list.rs+++ b/crates/ui-egui/src/panels/keyword_list.rs@@@ -621,13 -621,13 +621,13 @@@ mod tests"Export Keywords…",];let dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("locales");- for code in ["de", "es", "fr", "pt-br", "ru", "uk", "it", "ka", "ja", "zh-hans", "zh-hant", "pl", "cs", "sv"] {- for code in ["de", "es", "fr", "pt-br", "ru", "uk", "it", "ka", "ja", "zh-hans", "zh-hant", "pl", "cs", "fi"] {++ for code in ["de", "es", "fr", "pt-br", "ru", "uk", "it", "ka", "ja", "zh-hans", "zh-hant", "pl", "cs", "sv", "fi"] {let text = std::fs::read_to_string(dir.join(format!("{code}.json"))).unwrap();let catalog: std::collections::HashMap<String, String> = serde_json::from_str(&text).unwrap();for label in labels {assert!(catalog.contains_key(label), "{code}: “{label}”");}}-- assert_eq!(Locale::ALL.len(), 15, "a language added: list its file above");++ assert_eq!(Locale::ALL.len(), 16, "a language added: list its file above");}}diff --cc docs/localization-parity.mdindex b8c458317,dff708366..59081c6f8--- a/docs/localization-parity.md+++ b/docs/localization-parity.md@@@ -1,6 -1,6 +1,6 @@@# Localization parity- > **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-15 · **Change:** trivial (Italian: every interface string translated, native-speaker corrections; previously minor: de, es, fr, ja, uk catalogs filled; re-measured; Italian and Georgian interface catalogs added) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6-> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-17 · **Change:** minor (de, es, fr, ja, uk catalogs filled; re-measured; Italian, Georgian and Finnish interface catalogs added) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6++> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-17 · **Change:** minor (Finnish interface catalog added; Italian: every interface string translated, native-speaker corrections; previously minor: de, es, fr, ja, uk catalogs filled; re-measured; Italian and Georgian interface catalogs added) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6How far each interface language is from `full`. How to add or maintain a language is in[localization.md](localization.md); per-language notes are in `localization-<code>.md`@@@ -65,8 -65,9 +65,9 @@@ that is promising but is not recorded a| Traditional Chinese (Taiwan) | `zh-hant` | 1,993 / 2,304 (87%) | Hant; uses the Simplified Chinese face until craft-fonts has a TC face | no (community edits) | partial | 8–14 h (incl. the font) || Russian | `ru` | 1,704 / 2,304 (74%) | Cyrillic (Inter) | no (community edits) | partial | 8–12 h || Ukrainian | `uk` | 2,383 / 2,398 (99%; 2026-10-12) | Cyrillic (Inter) | no (community edits) | partial (lower-layer errors English) | 2–4 h |-| Italian | `it` | 2,201 / 2,398 (92%, measured 2026-10-12; the rest is What's New) | Latin (Inter) | no (written with an agent; native-speaker pass pending) | partial (lower-layer errors English) | 3–5 h |+| Italian | `it` | 2,628 / 3,278 (80%, measured 2026-10-15; every interface string is translated, the other 650 are What's New lines, left in English) | Latin (Inter) | partly (written with an agent; corrections and the 2026-10-15 additions by a native speaker) | partial (lower-layer errors English) | 3–5 h || Georgian | `ka` | 2,398 / 2,398 (100%: every plain and formats message any catalog has on 2026-10-12, plus the 27 display labels and 397 What's New lines no other catalog translates) | Geor: no craft-fonts face yet (boxes until one is available) | yes (native speaker) | partial (lower-layer errors English) | 2–4 h (+ a Georgian face) |+ | Finnish | `fi` | 2,610 / 3,308 (79%, measured 2026-10-17: 2,313 plain + 297 formats; the rest is What's New) | Latin (Inter) | yes (written with an agent; native-speaker review by @roopeg) | partial (lower-layer errors English) | 3–5 h |Target languages LightCraft lacks: Korean, Dutch, Polish, Swedish, Norwegian Bokmål, Thai(Thai needs shaping and line breaking without spaces). Each Latin-script one is ~10–16 h; Thai@@@ -93,7 -94,7 +94,8 @@@| Date | Change | Summary ||---|---|---|+ | 2026-10-17 | minor | Finnish interface catalog (`fi`): 2,610 of 3,308 messages (2,313 plain + 297 formats), What's New left in English |+| 2026-10-15 | trivial | Italian (`it`): 339 interface messages and 60 format strings that were missing or still in English translated (2,628 of 3,278; only What's New left in English); native-speaker corrections: Exposure → *Esposizione*, Sharpening → *Nitidezza*, Preset → *Preset*, blurry → *sfocate* || 2026-10-12 | minor | Italian interface catalog (`it`): 2,201 of 2,398 messages, What's New left in English || 2026-10-11 | minor | Shared work: the interface decides on error kinds, not English error text (#1046) || 2026-10-12 | minor | Georgian (`ka`) row: every catalog message |diff --cc docs/localization.mdindex 70effd6ae,1cdbb4a1c..2218ae1bb--- a/docs/localization.md+++ b/docs/localization.md@@@ -2,7 -2,7 +2,7 @@@The interface ships in the language it is written in (English) plus every language in the table in`crates/ui-egui/src/i18n.rs`. Today that is English, Simplified Chinese (`zh-hans`), Traditional- Chinese (`zh-hant`, Taiwan), Japanese (`ja`), Brazilian Portuguese (`pt-br`), Spanish (`es`), German (`de`), Russian (`ru`), French (`fr`), Ukrainian (`uk`), Czech (`cs`), Georgian (`ka`) and Swedish (`sv`). This file is the reference for **adding or maintaining a language**; the per-language notes-Chinese (`zh-hant`, Taiwan), Japanese (`ja`), Brazilian Portuguese (`pt-br`), Spanish (`es`), German (`de`), Russian (`ru`), French (`fr`), Ukrainian (`uk`), Czech (`cs`), Georgian (`ka`) and Finnish (`fi`). This file is the reference for **adding or maintaining a language**; the per-language notes++Chinese (`zh-hant`, Taiwan), Japanese (`ja`), Brazilian Portuguese (`pt-br`), Spanish (`es`), German (`de`), Russian (`ru`), French (`fr`), Ukrainian (`uk`), Czech (`cs`), Georgian (`ka`), Swedish (`sv`) and Finnish (`fi`). This file is the reference for **adding or maintaining a language**; the per-language notesare in [`localization-zh-hans.md`](localization-zh-hans.md), [`localization-zh-hant.md`](localization-zh-hant.md),[`localization-ja.md`](localization-ja.md), [`localization-pt-br.md`](localization-pt-br.md), [`localization-es.md`](localization-es.md),[`localization-de.md`](localization-de.md), [`localization-ru.md`](localization-ru.md),