LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Remove accidentally duplicated localization files
neronek22b764715dc56e
diff --git a/packaging/crates/ui-egui/locales/pl-formats.json b/packaging/crates/ui-egui/locales/pl-formats.jsondeleted file mode 100644index 8bdf25420..000000000--- a/packaging/crates/ui-egui/locales/pl-formats.json+++ /dev/null@@ -1,232 +0,0 @@-{- " ({unsure} with several look-alike files: use Locate)": " ({unsure} wśród kilku podobnych plików: użyj polecenia Zlokalizuj)",- " ({} in Recently Deleted)": " ({} w Ostatnio usuniętych)",- " · {:.0}% clipped": " · {:.0}% prześwietlonych obszarów",- " · {failed} couldn't be rendered": " · nie udało się wyświetlić: {failed}",- " · {skipped} skipped (file exists)": " · pominięto {skipped} (plik istnieje)",- " · {} duplicate{} skipped": " · pominięto {} duplikatów{}",- " · {} failed: {}": " · {} nieudanych: {}",- " · {} moved": " · {} przeniesionych",- " · {} not readable": " · {} nie można odczytać",- " · {} original{} left at the source": " · {} oryginalnych{} pozostawiono w źródle",- " · {} restored from Recently Deleted": " · {} przywróconych z Ostatnio usuniętych",- " — not carried over: {}{}": " — nie przeniesiono: {}{}",- "+{} more": "+{} więcej",- ", {failed} file{} not readable": ", nie można odczytać {failed} plików{}",- "; {kept} already had a location": "; {kept} miało już przypisaną lokalizację",- "; {outside} outside its time range": "; {outside} poza zakresem dat",- "@{}: {} PRs, {} commits, +{} / −{} lines (Δ {}), +{} / −{} binary assets, {} – {}": "@{}: {} PR, {} zatwierdzeń, +{} / −{} wierszy (Δ {}), +{} / −{} zasobów binarnych, {} – {}",- "Add {local_n} to My Photos": "Dodaj {local_n} do Moich zdjęć",- "Add {} Photo{}": "Dodaj {} zdjęć{}",- "Add {} Photo{}, restore {}": "Dodaj {} zdjęć{}, przywróć {}",- "Add “{}” to Favorites": "Dodaj „{}” do ulubionych",- "Added {n} photo{} to My Photos": "Dodano {n} zdjęć{} do Moich zdjęć",- "Added {n} photo{} to “{}”": "Dodano {n} zdjęć{} do „{}”",- "Added {what} to {name}": "Dodano {what} do {name}",- "Adding photos… {} of {}": "Dodawanie zdjęć… {} z {}",- "All {n} selected photos move by the same amount.": "Wszystkie {n} zaznaczone zdjęcia zostaną przesunięte o tę samą wartość.",- "Already in the library, in Recently Deleted: {} photo{} selected · right-click ▸ Restore, or Delete Permanently to import afresh": "Już w bibliotece, w Ostatnio usuniętych: zaznaczono {} zdjęć{} · kliknij prawym przyciskiem ▸ Przywróć albo Usuń trwale, aby zaimportować ponownie",- "Already in the library: {} photo{} selected in All Photos": "Już w bibliotece: zaznaczono {} zdjęć{} we Wszystkich zdjęciach",- "Auto ({})": "Automatycznie ({})",- "Auto Import: added {} photo{}": "Automatyczny import: dodano {} zdjęć{}",- "Auto Sync: edits apply to {n} photos": "Automatyczna synchronizacja: zmiany dotyczą {n} zdjęć",- "Automatic ({} MB)": "Automatycznie ({} MB)",- "Build 1:1 Previews ({scope})": "Utwórz podglądy 1:1 ({scope})",- "Build Smart Previews ({scope})": "Utwórz podglądy inteligentne ({scope})",- "Build Standard-Sized Previews ({scope})": "Utwórz podglądy o standardowym rozmiarze ({scope})",- "Building previews for {} photos…": "Tworzenie podglądów dla {} zdjęć…",- "Click {}:1": "Kliknij {}:1",- "Couldn't open the editor: {e}": "Nie można otworzyć edytora: {e}",- "Create {n} Virtual Copies": "Utwórz {n} kopii wirtualnych",- "Creates {} stacks from {} of {scope}": "Tworzy {} stosów z {} w zakresie: {scope}",- "Decoder: {reason}": "Dekoder: {reason}",- "Delete \"{label}\"": "Usuń „{label}”",- "Delete \"{label}\" (and the mask)": "Usuń „{label}” (wraz z maską)",- "Delete {n} Photos": "Usuń {n} zdjęć",- "Delete “{current}”": "Usuń „{current}”",- "Discard Smart Previews ({scope})": "Odrzuć podglądy inteligentne ({scope})",- "Done ({what}): {done} photo{plural}": "Gotowe ({what}): {done} zdjęć{plural}",- "Duplicate \"{label}\"": "Duplikuj „{label}”",- "Example: {example}": "Przykład: {example}",- "Exported {n} photo{}": "Wyeksportowano {n} zdjęć{}",- "Exported {ok} of {total} photo{}": "Wyeksportowano {ok} z {total} zdjęć{}",- "Exported {} point curve preset{}": "Wyeksportowano {} ustawień krzywej punktowej{}",- "Exported {} preset{}": "Wyeksportowano {} ustawień wstępnych{}",- "Exporting {} of {total}": "Eksportowanie {} z {total}",- "Filter bar — {active} active filter{}": "Pasek filtrów — {active} aktywnych filtrów{}",- "Focus {:.0}": "Ostrość {:.0}",- "Folder “{}” (and its subfolders)": "Folder „{}” (wraz z podfolderami)",- "Found {n} missing photo{}; {left} still missing{unsure}": "Znaleziono {n} brakujących zdjęć{}; nadal brakuje {left}{unsure}",- "Healed {n} dust spot{}": "Usunięto {n} plamek kurzu{}",- "Import cancelled · {} photo{} added": "Import anulowany · dodano {} zdjęć{}",- "Import failed: {e}": "Import nieudany: {e}",- "Imported {n} point curve preset{}": "Zaimportowano {n} ustawień krzywej punktowej{}",- "Imported {n} preset{}": "Zaimportowano {n} ustawień wstępnych{}",- "Imported {n} preset{}, {f} file{} not readable": "Zaimportowano {n} ustawień wstępnych{}, nie można odczytać {f} plików{}",- "Imported {profiles} profile{} (Profile browser ▸ their groups)": "Zaimportowano {profiles} profili{} (Przeglądarka profili ▸ odpowiednie grupy)",- "Imported {} photo{}": "Zaimportowano {} zdjęć{}",- "Insert at the cursor (also written {})": "Wstaw w miejscu kursora (zostanie też zapisane {})",- "Label Set: {name}": "Zestaw etykiet: {name}",- "LightCraft could not open its window: {e}": "LightCraft nie mógł otworzyć okna: {e}",- "LightCraft could not open its window: {e}\n\nThe log file has the details: {path}": "LightCraft nie mógł otworzyć okna: {e}\n\nSzczegóły znajdują się w pliku dziennika: {path}",- "Lightroom catalog inspected: {photos} photos, {collections} collections, {missing} missing": "Sprawdzono katalog Lightroom: {photos} zdjęć, {collections} kolekcji, {missing} brakujących",- "Lightroom import complete: {imported} photos added": "Import z Lightroom zakończony: dodano {imported} zdjęć",- "Lightroom import complete: {imported} photos added, {failed} failed": "Import z Lightroom zakończony: dodano {imported} zdjęć, błędów: {failed}",- "Lightroom import complete: {imported} photos added; index warning: {warning}": "Import z Lightroom zakończony: dodano {imported} zdjęć; ostrzeżenie indeksu: {warning}",- "Lightroom import failed: {e}{warning}": "Import z Lightroom nieudany: {e}{warning}",- "Lightroom inspection failed: {e}{warning}": "Sprawdzanie katalogu Lightroom nieudane: {e}{warning}",- "MIT OR Apache-2.0. Fonts: {} (OFL). Icons: original.": "MIT lub Apache-2.0. Czcionki: {} (OFL). Ikony: oryginalne.",- "Matches: {}": "Dopasowania: {}",- "Merging… {stage} {:.0}%": "Scalanie… {stage} {:.0}%",- "Move {what} to Recently Deleted?": "Przenieść {what} do Ostatnio usuniętych?",- "Named ({named_n})": "Nazwane ({named_n})",- "Painting “{k}”: click photos to add or remove it · Esc stops": "Przypisywanie „{k}”: klikaj zdjęcia, aby dodać lub usunąć słowo kluczowe · Esc kończy",- "Paste into {n} photo{} — only settings that were copied are pasted": "Wklej do {n} zdjęć{} — wklejone zostaną tylko skopiowane ustawienia",- "Preset: {name}": "Ustawienie wstępne: {name}",- "Preview only — editing the camera's embedded JPEG ({})": "Tylko podgląd — edycja pliku JPEG osadzonego przez aparat ({})",- "Preview only — {}": "Tylko podgląd — {}",- "Previews ready for {done} photo{plural}": "Podglądy gotowe dla {done} zdjęć{plural}",- "Profile: {}": "Profil: {}",- "Proof Copy ({})": "Kopia próbna ({})",- "Proof Preview · {}": "Podgląd próbny · {}",- "Quick Develop · {n} photos": "Szybka obróbka · {n} zdjęć",- "Quick Develop: {name}": "Szybka obróbka: {name}",- "Rated {}": "Ocena: {}",- "Reading Lightroom catalog… {done} of {total}": "Odczytywanie katalogu Lightroom… {done} z {total}",- "Reading photos… {done} of {total}": "Odczytywanie zdjęć… {done} z {total}",- "Reading photos… {} of {}": "Odczytywanie zdjęć… {} z {}",- "Redo {}": "Ponów {}",- "Remove “{name}” and its {count} photo{} from the library?": "Usunąć „{name}” i jego {count} zdjęć{} z biblioteki?",- "Remove “{}” from Favorites": "Usuń „{}” z ulubionych",- "Removed from {}": "Usunięto z {}",- "Removed {what} from {name}": "Usunięto {what} z {name}",- "Rename {n} Photos…": "Zmień nazwy {n} zdjęć…",- "Rename “{name}”": "Zmień nazwę „{name}”",- "Renames “{from}” on {n} photo{} (keywords below it too). Use | for levels, e.g. Travel|Italy. An existing name merges the two.": "Zmienia nazwę „{from}” na {n} zdjęciach{} (także podrzędne słowa kluczowe). Rozdzielaj poziomy znakiem |, np. Podróże|Włochy. Istniejąca nazwa spowoduje scalenie.",- "Rendering on the CPU: {why}": "Renderowanie na procesorze: {why}",- "Replace {} with:": "Zamień {} na:",- "Reset {name}": "Wyzeruj {name}",- "Reset {} Channel": "Wyzeruj kanał {}",- "Restore {}": "Przywróć {}",- "Restore {} Photo{}": "Przywróć {} zdjęć{}",- "Saved export preset “{}”": "Zapisano ustawienie eksportu „{}”",- "Scores {scope} for focus and exposure and finds similar shots taken within seconds of each other (bursts).": "Ocenia ostrość i ekspozycję zdjęć z zakresu {scope} oraz znajduje podobne ujęcia wykonane w odstępie kilku sekund (serie).",- "Show {hidden} hidden location{}": "Pokaż {hidden} ukrytych lokalizacji{}",- "Showing {n} of {}": "Wyświetlono {n} z {}",- "Smart album: {}": "Album inteligentny: {}",- "Tagged {n} photo{} from the tracklog": "Dodano geotagi do {n} zdjęć{} na podstawie śladu GPS",- "The SAM 3 download failed: {e}": "Nie udało się pobrać SAM 3: {e}",- "Undo {}": "Cofnij {}",- "Unknown tag{s} {} stay{} as typed (see Tags)": "Nieznane znaczniki: {s} {} pozostaną{} w wpisanej postaci (zobacz Znaczniki)",- "Updated “{name}”": "Zaktualizowano „{name}”",- "Version {} — a clean-room, pure-Rust photo library and raw developer.": "Wersja {} — niezależnie opracowana biblioteka zdjęć i wywoływarka RAW napisana wyłącznie w Rust.",- "Version: {}": "Wersja: {}",- "Virtual copy “{name}” of {of}": "Kopia wirtualna „{name}” zdjęcia {of}",- "Working on {what} for {} photos…": "Przetwarzanie {what} dla {} zdjęć…",- "none (CPU rendering): {why}": "brak (renderowanie na CPU): {why}",- "the {n} selected photos": "{n} zaznaczonych zdjęć",- "the {} photos in view": "{} zdjęć w bieżącym widoku",- "these {count} photos": "te {count} zdjęcia",- "{count} smart preview{} · {:.1} MB": "{count} podglądów inteligentnych{} · {:.1} MB",- "{f} folders (and their subfolders)": "{f} folderów (wraz z podfolderami)",- "{label} Grading": "Gradacja: {label}",- "{label} {d:+} on every selected photo": "{label}: {d:+} na każdym zaznaczonym zdjęciu",- "{label} {index} of {n}": "{label} {index} z {n}",- "{label}, {n} photos": "{label}, {n} zdjęć",- "{matching} of {t} photos": "{matching} z {t} zdjęć",- "{matching} photos": "{matching} pasujących zdjęć",- "{mode} spot {} of {}": "{mode}: plamka {} z {}",- "{month}": "{month}",- "{month} {year}": "{month} {year}",- "{msg} ({failed} failed)": "{msg} (nieudanych: {failed})",- "{name} Label": "Etykieta {name}",- "{name} Off": "{name}: wyłączone",- "{name} On": "{name}: włączone",- "{name} opened for editing; it is stacked with the original": "{name} otwarto do edycji; kopia znajduje się w stosie z oryginałem",- "{name} — double-click to reset it": "{name} — kliknij dwukrotnie, aby wyzerować",- "{n} change{} couldn't be written to disk: {e}\nIf you quit now, {} lost.": "Nie można zapisać {n} zmian{} na dysku: {e}\nJeśli teraz zamkniesz program, utracisz {}.",- "{n} change{} saved in memory but not written to disk: {e}\nLightCraft retries automatically; quitting now would lose {}.": "{n} zmian{} zapisano w pamięci, ale nie na dysku: {e}\nLightCraft ponawia zapis automatycznie; zamknięcie programu oznacza utratę {}.",- "{n} change{} saved in memory but not written to disk: {e} — LightCraft will retry": "{n} zmian{} zapisano w pamięci, ale nie na dysku: {e} — LightCraft ponowi próbę",- "{n} found · {sel} selected": "Znaleziono {n} · zaznaczono {sel}",- "{n} photos": "{n} zdjęć",- "{n} photos in {} are hidden by the filters above": "{n} zdjęć w {} jest ukrytych przez powyższe filtry",- "{n} photo{}": "{n} zdjęć{}",- "{n} photo{} match · updates automatically as photos change": "{n} pasujących zdjęć{} · aktualizacja automatyczna po zmianach zdjęć",- "{n} photo{} now · updates automatically as photos change": "Obecnie {n} zdjęć{} · aktualizacja automatyczna po zmianach zdjęć",- "{pid} (missing)": "{pid} (brak)",- "{sel_n} selected · {counted}": "Zaznaczono {sel_n} · {counted}",- "{stage}… {:.0}%": "{stage}… {:.0}%",- "{verb} {n} Photo{}": "{verb} {n} zdjęć{}",- "{weekday}, {day}": "{weekday}, {day}",- "{weekday}, {day} {month} {year}": "{weekday}, {day} {month} {year}",- "{what} merge added": "Dodano po scaleniu: {what}",- "{what} merge failed: {e}": "Scalanie nieudane: {what}: {e}",- "{year}": "{year}",- "{{date:…}} directives: {}": "Dyrektywy {{date:…}}: {}",- "{} and higher": "{} i nowsze",- "{} contributors · {} commits": "{} współtwórców · {} zatwierdzeń",- "{} failed": "{} nieudanych",- "{} files": "{} plików",- "{} files and {f} folder{}": "{} plików i {f} folderów{}",- "{} item{}": "{} elementów{}",- "{} of 4 guides — drag along lines that should be vertical or horizontal.": "{} z 4 prowadnic — przeciągnij wzdłuż linii, które powinny być pionowe lub poziome.",- "{} photos": "{} zdjęć",- "{} photos · exposures {} EV": "{} zdjęć · ekspozycje {} EV",- "{} photos · {} · {:.0}° × {:.0}°": "{} zdjęć · {} · {:.0}° × {:.0}°",- "{} photo{} not readable": "Nie można odczytać {} zdjęć{}",- "{} sample{}": "{} próbek{}",- "{} sec": "{} s",- "{} spot(s) on this photo": "{} plamek na tym zdjęciu",- "{} — show their photos": "{} — pokaż ich zdjęcia",- "· {dups} already in the library": "· {dups} już w bibliotece",- "· {n} photo{}": "· {n} zdjęć{}",- "… and {more} more": "… i jeszcze {more}",- "LightCraft can't decode this raw variant yet ({}). You're editing the camera's embedded JPEG preview, which already includes the camera's picture style (e.g. Monochrome) and white balance.": "LightCraft nie obsługuje jeszcze tego wariantu RAW ({}). Edytujesz podgląd JPEG osadzony przez aparat, zawierający już styl obrazu aparatu (np. monochromatyczny) i balans bieli.",- "Filtered: {label}": "Filtrowanie: {label}",- "{n} similar photo{} · View ▸ Clear Filters to see all": "{n} podobnych zdjęć{} · Widok ▸ Wyczyść filtry, aby zobaczyć wszystkie",- "Moved; {} photo(s) relinked": "Przeniesiono; ponownie powiązano {} zdjęć",- "{} label (click more labels to show any of them)": "{} etykieta (kliknij kolejne etykiety, aby wyświetlić dowolną z nich)",- ", {} star{}": ", {} gwiazdek{}",- ", {} label": ", {} etykieta",- "Downloads from {host}. Once it has arrived and checked out, LightCraft installs it, {after}.": "Pobieranie z {host}. Po pobraniu i weryfikacji LightCraft zainstaluje plik, {after}.",- "{:.1} MB": "{:.1} MB",- "Running on the processor: {}.": "Działa na procesorze: {}.",- "{} · {}. Kept in the library's “denoise” folder; the oldest ones that no photo uses go first when the limit is reached.": "{} · {}. Przechowywane w folderze „denoise” biblioteki; po osiągnięciu limitu najpierw usuwane są najstarsze pliki nieużywane przez żadne zdjęcie.",- "Denoising {name}: {done} of {total} tiles{}": "Odszumianie {name}: {done} z {total} kafelków{}",- "{size} GB": "{size} GB",- "{} of {} from {host}": "{} z {} z serwera {host}",- "{} KB": "{} KB",- "{} MB": "{} MB",- "Making the denoised picture… {}%": "Tworzenie odszumionego obrazu… {}%",- "{name} · {terms}": "{name} · {terms}",- "{n} {noun}": "{n} {noun}",- "Trained on: {provenance}": "Wytrenowano na: {provenance}",- " · {queued} waiting": " · {queued} oczekuje",- "Shows the model's terms, then downloads {} from {host}, installs it and starts using it. Nothing else is sent.": "Wyświetla warunki modelu, następnie pobiera {} z {host}, instaluje go i zaczyna używać. Żadne inne dane nie są wysyłane.",- "In line for AI Denoise ({ahead} ahead)…": "W kolejce do odszumiania AI ({ahead} przed tym zadaniem)…",- "Running on {}.": "Działa na {}.",- "{file} · {size}": "{file} · {size}",- "• {assumption}": "• {assumption}",- "Put inside “{parent}”": "Umieść wewnątrz „{parent}”",- "Delete the keyword “{name}”?": "Usunąć słowo kluczowe „{name}”?",- "It is taken off {count} photo{}, with the keywords below it. Undo brings it back.": "Zostanie usunięte z {count} zdjęć{}, razem z podrzędnymi słowami kluczowymi. Możesz to cofnąć.",- "Create Keyword Tag Inside “{name}”…": "Utwórz podrzędne słowo kluczowe w „{name}”…",- "“{parent}” has a “{name}” already. Merge the two?": "„{parent}” zawiera już „{name}”. Scalić oba?",- "There is a “{name}” at the top level already. Merge the two?": "Słowo kluczowe „{name}” istnieje już na najwyższym poziomie. Scalić oba?",- "Added “{keyword}” to {n} photo{}": "Dodano „{keyword}” do {n} zdjęć{}",- "On {have} of {of} selected photos": "Na {have} z {of} zaznaczonych zdjęć",- "Remove “{name}”": "Usuń „{name}”",- "There is a keyword set “{name}” already": "Istnieje już zestaw słów kluczowych „{name}”",- "Added {n} keyword{}": "Dodano {n} słów kluczowych{}",- "; {n} gained synonyms": "; {n} otrzymało synonimy",- "Exported {n} keyword{}": "Wyeksportowano {n} słów kluczowych{}",- " — Capture One won't import a list with ; , < or > in a keyword: {names}": " — Capture One nie zaimportuje listy zawierającej ; , < lub > w słowie kluczowym: {names}",- " — left out, as a keyword list can't hold them: {names}": " — pominięto, ponieważ lista słów kluczowych ich nie obsługuje: {names}",- "{done} of {total}": "{done} z {total}",- "{done} of {total} MB": "{done} z {total} MB",- "{pct} %": "{pct} %",- "+{n} more": "+{n} więcej",- "1 task is still running: {names}. Quitting stops it.": "Wciąż trwa 1 zadanie: {names}. Zamknięcie programu je zatrzyma.",- "{n} tasks are still running: {names}. Quitting stops them.": "Wciąż trwają {n} zadania: {names}. Zamknięcie programu je zatrzyma.",- "{what} merge cancelled": "Scalanie anulowane: {what}"-}diff --git a/packaging/crates/ui-egui/locales/pl.json b/packaging/crates/ui-egui/locales/pl.jsondeleted file mode 100644index f69e22643..000000000--- a/packaging/crates/ui-egui/locales/pl.json+++ /dev/null@@ -1,2043 +0,0 @@-{- " (library default)": " (domyślne ustawienie biblioteki)",- " (inverted)": " (odwrócona)",- " · best of its burst": " · najlepsze zdjęcie z serii",- " · in a burst": " · w serii zdjęć",- "% of all commits": "% wszystkich zatwierdzonych zmian",- "+ Group": "+ Grupa",- "+ Rule": "+ Reguła",- "0: nothing is rejected.": "0: żadne zdjęcie nie jest odrzucane.",- "1 day": "1 dzień",- "= exactly": "= dokładnie",- "A blank template keeps the original names.": "Pusty szablon zachowuje oryginalne nazwy.",- "A filter is hiding this view's photos: change it, or clear it (View → Clear Filters)": "Filtr ukrywa zdjęcia w tym widoku: zmień go lub wyczyść (Widok → Wyczyść filtry)",- "A one-time download of about": "Jednorazowe pobranie około",- "AI Mask Model Status": "Stan modelu masek AI",- "About": "O programie",- "About LightCraft": "O LightCraft",- "Active": "Aktywny",- "Activity": "Aktywność",- "Actual size": "Rzeczywisty rozmiar",- "Add": "Dodaj",- "Add Catchlight": "Dodaj błysk w oku",- "Add Folder to Local": "Dodaj folder do lokalnych",- "Add Mask": "Dodaj maskę",- "Add Object Click": "Dodaj zaznaczenie obiektu kliknięciem",- "Add Point Color Sample": "Dodaj próbkę koloru punktowego",- "Add Red Eye Correction": "Dodaj korektę czerwonych oczu",- "Add Remove Spot": "Dodaj usuwanie plamki",- "Add Selected Photos": "Dodaj zaznaczone zdjęcia",- "Add a rule (⌥-click: a group)": "Dodaj regułę (⌥ + kliknięcie: grupa)",- "Add in place": "Dodaj bez kopiowania plików",- "Add in place: the library references the files where they are; nothing is copied or moved.": "Dodaj w miejscu: biblioteka odwołuje się do plików w ich obecnej lokalizacji; nic nie jest kopiowane ani przenoszone.",- "Add keyword": "Dodaj słowo kluczowe",- "Add number": "Dodaj numer",- "Add to": "Dodaj do",- "Add to Album": "Dodaj do albumu",- "Add to Favorites": "Dodaj do ulubionych",- "Add to Local": "Dodaj do lokalnych",- "Add to My Photos": "Dodaj do Moich zdjęć",- "Add to Selected Photos": "Dodaj do zaznaczonych zdjęć",- "Add to Target Album": "Dodaj do albumu docelowego",- "Add to this mask": "Dodaj do tej maski",- "Add/Subtract/Intersect Mask": "Dodaj/Odejmij/Przetnij maskę",- "Added to photos you import that don't already have it.": "Dodawane do importowanych zdjęć, które jeszcze tego nie mają.",- "Adding": "Dodawanie",- "Adding Lightroom photos…": "Dodawanie zdjęć z Lightrooma…",- "Advanced search…": "Wyszukiwanie zaawansowane…",- "After": "Po",- "After 30 days": "Po 30 dniach",- "After 7 days": "Po 7 dniach",- "After 90 days": "Po 90 dniach",- "After a year": "Po roku",- "Album": "Album",- "Albums": "Albumy",- "All": "Wszystkie",- "All Metadata": "Wszystkie metadane",- "All Metadata…": "Wszystkie metadane…",- "All Photos": "Wszystkie zdjęcia",- "All rights reserved": "Wszelkie prawa zastrzeżone",- "All the photos imported from this disk are included.": "Uwzględniono wszystkie zdjęcia zaimportowane z tego dysku.",- "All types": "Wszystkie typy",- "Alt Text": "Tekst alternatywny",- "Always": "Zawsze",- "Amount": "Ilość",- "Analyzing the photo for AI masks…": "Analizowanie zdjęcia pod kątem masek AI…",- "Any Searchable Text": "Dowolny tekst do wyszukania",- "Aperture": "Przysłona",- "Application": "Aplikacja",- "Apply": "Zastosuj",- "Apply Color Label Set": "Zastosuj zestaw etykiet kolorów",- "Apply Filter Preset": "Zastosuj ustawienia wstępne filtra",- "Apply Metadata Preset": "Zastosuj ustawienia wstępne metadanych",- "Apply Point Curve Preset": "Zastosuj ustawienia wstępne krzywej punktowej",- "Apply Preset": "Zastosuj ustawienie wstępne",- "Apply Settings JSON": "Zastosuj ustawienia JSON",- "Approved": "Zatwierdzone",- "Aqua": "Turkusowy",- "Aqua Hue": "Odcień turkusowego",- "Aqua Luminance": "Jasność turkusowego",- "Aqua Saturation": "Nasycenie turkusowego",- "Arrange Panel": "Rozmieść panel",- "ArtCraft Website": "Witryna ArtCraft",- "ArtCraft — more creative apps": "ArtCraft — więcej aplikacji kreatywnych",- "As Shot": "Jak na zdjęciu",- "As shot": "Jak zrobiono zdjęcie",- "Ascending": "Rosnąco",- "Aspect": "Proporcje",- "Aspect Ratio": "Proporcje obrazu",- "Assisted Culling": "Wspomagana selekcja",- "Assisted Culling…": "Wspomagana selekcja…",- "Auto": "Automatycznie",- "Auto Advance": "Automatyczne przechodzenie dalej",- "Auto Advance Off": "Automatyczne przechodzenie dalej wyłączone",- "Auto Advance On": "Automatyczne przechodzenie dalej włączone",- "Auto Advance after rating or flagging": "Przechodź dalej po ocenie lub oznaczeniu",- "Auto Advance: move to the next photo after rating or flagging": "Automatyczne przejście: przejdź do następnego zdjęcia po nadaniu oceny lub oznaczeniu flagą",- "Auto Align": "Automatyczne wyrównanie",- "Auto B&W Mix": "Automatyczne mieszanie czerni i bieli",- "Auto Crop": "Automatyczne kadrowanie",- "Auto Import": "Automatyczny import",- "Auto Import Now": "Importuj automatycznie teraz",- "Auto Import Settings": "Automatyczne ustawienia importu",- "Auto Mask": "Automatyczna maska",- "Auto Select": "Automatyczny wybór",- "Auto Settings": "Ustawienia automatyczne",- "Auto Straighten": "Automatyczne prostowanie",- "Auto Sync": "Automatyczna synchronizacja",- "Auto Sync: edits apply to every selected photo. Auto B&W mix. Automatic versions.": "Automatyczna synchronizacja: zmiany obejmują wszystkie zaznaczone zdjęcia. Automatyczne mieszanie czerni i bieli. Automatyczne wersje.",- "Auto settings applied": "Zastosowano ustawienia automatyczne",- "Auto-Stack by Capture Time": "Automatycznie grupuj według czasu wykonania",- "Auto-Stack by Capture Time…": "Automatycznie grupuj według czasu wykonania…",- "Auto-Tag Photos from Tracklog": "Automatycznie oznacz zdjęcia na podstawie śladu GPS",- "Auto-Tag from Tracklog": "Automatycznie oznacz na podstawie śladu GPS",- "Auto-Tag from Tracklog: GPS locations for your photos from a GPX track log, matched by capture time.": "Automatyczne tagowanie ze śladu: przypisuje zdjęciom pozycje GPS ze śladu GPX na podstawie czasu wykonania.",- "Auto-Tag from Tracklog…": "Automatycznie oznacz na podstawie śladu GPS…",- "Automatic": "Automatycznie",- "Automatic renders the Detail view at the size it is shown, up to the photo's own pixels. Choose a size to cap it: smaller is faster.": "Tryb automatyczny renderuje widok szczegółów w wyświetlanym rozmiarze, nie przekraczając rozdzielczości zdjęcia. Wybierz mniejszy limit, aby przyspieszyć działanie.",- "Automatically Write Changes into XMP": "Automatycznie zapisuj zmiany w XMP",- "Automatically write changes into XMP sidecars": "Automatycznie zapisuj zmiany w plikach pomocniczych XMP",- "Autumn Gold": "Jesienne złoto",- "B&W": "Czarno-białe",- "B&W Mix": "Mieszanie czerni i bieli",- "B&W Mixer": "Mikser czerni i bieli",- "Back": "Wstecz",- "Back Up Library…": "Utwórz kopię zapasową biblioteki…",- "Back to Edit": "Wróć do edycji",- "Back to Edit (E)": "Wróć do edycji (E)",- "Back to Grid": "Wróć do siatki",- "Background": "Tło",- "Balance": "Balans",- "Basic": "Podstawowe",- "Before": "Przed",- "Before/After (Y)": "Przed/Po (Y)",- "Before/After Settings": "Ustawienia porównania przed/po",- "Before/After Split": "Podział przed/po",- "Before/After Split Top/Bottom": "Podział przed/po góra/dół",- "Before/After Top/Bottom": "Przed/Po góra/dół",- "Begin Interaction": "Rozpocznij interakcję",- "Best of Similar Shots": "Najlepsze spośród podobnych ujęć",- "Binary assets added": "Dodano zasoby binarne",- "Binary assets removed": "Usunięto zasoby binarne",- "Bit depth": "Głębia bitowa",- "Black & White": "Czarno-białe",- "Blacks": "Czernie",- "Bleach Bypass": "Pominięcie wybielania",- "Bleached": "Wyblakły",- "Blending": "Mieszanie",- "Blue": "Niebieski",- "Blue Hour Boost": "Wzmocnienie błękitnej godziny",- "Blue Hue": "Odcień niebieskiego",- "Blue Luminance": "Luminancja niebieskiego",- "Blue Primary": "Podstawowy niebieski",- "Blue Saturation": "Nasycenie niebieskiego",- "Blue channel": "Kanał niebieski",- "Blue label": "Niebieska etykieta",- "Blue/Yellow Fringe": "Niebiesko-żółte obwódki",- "Blurry photos below the score are flagged as rejects.": "Nieostre zdjęcia z oceną poniżej progu są oznaczane jako odrzucone.",- "Boundary Warp": "Dopasowanie granic",- "Bright & Airy": "Jasne i lekkie",- "Bring All to Front": "Przenieś wszystko na wierzch",- "Browse Folder": "Przeglądaj folder",- "Browse Folder…": "Przeglądaj folder…",- "Browse Profiles": "Przeglądaj profile",- "Browse…": "Przeglądaj…",- "Brush": "Pędzel",- "Brush Settings": "Ustawienia pędzla",- "Brush Stroke": "Pociągnięcie pędzla",- "Build Previews": "Utwórz podglądy",- "Build Smart Previews": "Utwórz podglądy inteligentne",- "By Date": "Według daty",- "By day (YYYY/YYYY-MM-DD)": "Według dnia (RRRR/RRRR-MM-DD)",- "By month (YYYY/YYYY-MM)": "Według miesiąca (RRRR/RRRR-MM)",- "CPU threads": "Wątki procesora",- "Calibration": "Kalibracja",- "Camera": "Aparat",- "Camera make and model": "Marka i model aparatu",- "Cameras and Cards": "Aparaty i karty pamięci",- "Cancel": "Anuluj",- "Cancel AI Mask Model Download": "Anuluj pobieranie modelu masek AI",- "Cancel Download": "Anuluj pobieranie",- "Cancel Interaction": "Anuluj interakcję",- "Cancel Preview Build": "Anuluj tworzenie podglądu",- "Candidate": "Kandydat",- "Caption": "Podpis",- "Capture Date": "Data wykonania zdjęcia",- "Capture date and time in your own format (directives below)": "Data i godzina wykonania zdjęcia we własnym formacie (dyrektywy poniżej)",- "Capture date as YYYYMMDD": "Data wykonania jako RRRRMMDD",- "Captured": "Wykonano",- "Catalog Statistics": "Statystyki katalogu",- "Catchlight": "Błysk w oku",- "Change": "Zmień",- "Change Component Mode": "Zmień tryb składnika",- "Characters not allowed in file names (/ \\ : * ? \" < > |) become -; an existing name gets -1, -2….": "Znaki niedozwolone w nazwach plików (/ \\ : * ? \" < > |) są zastępowane myślnikiem; jeśli nazwa już istnieje, dodawane są przyrostki -1, -2….",- "Check All": "Zaznacz wszystko",- "Check Output Path": "Sprawdź ścieżkę wyjściową",- "Check the files of this type": "Sprawdź pliki tego typu",- "Checking names…": "Sprawdzanie nazw…",- "Choose Another Library…": "Wybierz inną bibliotekę…",- "Choose Edit Settings to Copy": "Wybierz ustawienia edycji do skopiowania",- "Choose Edit Settings to Copy…": "Wybierz ustawienia edycji do skopiowania…",- "Choose Folder…": "Wybierz folder…",- "Choose a photo in the grid or filmstrip": "Wybierz zdjęcie w siatce lub na pasku zdjęć",- "Choose…": "Wybierz…",- "Cinematic": "Filmowy",- "City": "Miasto",- "Clarity": "Przejrzystość",- "Clean Studio": "Czyste studio",- "Clear": "Wyczyść",- "Clear Cache": "Wyczyść pamięć podręczną",- "Clear Filters": "Wyczyść filtry",- "Clear Guides": "Wyczyść prowadnice",- "Clear History": "Wyczyść historię",- "Clear Preview Cache": "Wyczyść pamięć podręczną podglądów",- "Clear Quick Collection": "Wyczyść szybką kolekcję",- "Clear Reference": "Wyczyść zdjęcie referencyjne",- "Clear all": "Wyczyść wszystko",- "Clear form": "Wyczyść formularz",- "Clear rating": "Usuń ocenę",- "Clear rating and advance": "Usuń ocenę i przejdź dalej",- "Cleared History": "Wyczyszczono historię",- "Click Zoom Ratio": "Współczynnik powiększenia po kliknięciu",- "Click a shortcut, then press the new keys (Esc cancels).": "Kliknij skrót, a następnie naciśnij nowe klawisze (Esc anuluje).",- "Click a tag to insert it. Examples are for IMG_0042.CR3 taken 14 Jan 2026, 05:58:48.": "Kliknij znacznik, aby go wstawić. Przykłady dotyczą pliku IMG_0042.CR3 z 14 stycznia 2026 r., godz. 05:58:48.",- "Click photos in the grid to toggle the keyword; Esc stops": "Klikaj zdjęcia w siatce, aby przełączać słowo kluczowe; Esc kończy",- "Click the object to select it · ⌥-click leaves a part out": "Kliknij obiekt, aby go zaznaczyć · ⌥-kliknięcie wyklucza fragment",- "Click the photo to pick a colour · ⇧-click adds more": "Kliknij zdjęcie, aby pobrać kolor · ⇧-kliknięcie dodaje kolejne",- "Click the photo to pick a colour; ⇧-click adds more (up to 5)": "Kliknij zdjęcie, aby pobrać kolor; ⇧-kliknięcie dodaje kolejne (maks. 5)",- "Click to clear these filters": "Kliknij, aby wyczyścić te filtry",- "Click to restore · double-click to rename": "Kliknij, aby przywrócić · kliknij dwukrotnie, aby zmienić nazwę",- "Clone": "Klonuj",- "Close": "Zamknij",- "Close Panel": "Zamknij panel",- "Close Window": "Zamknij okno",- "Close all": "Zamknij wszystko",- "Close file": "Zamknij plik",- "Close panel": "Zamknij panel",- "Cloudy": "Pochmurno",- "Collapse": "Zwiń",- "Collapse All Stacks": "Zwiń wszystkie stosy",- "Collapse Stack": "Zwiń stos",- "Color": "Kolor",- "Color Grading": "Gradacja kolorów",- "Color Label": "Etykieta kolorystyczna",- "Color Label Names": "Nazwy etykiet kolorów",- "Color Label Sets": "Zestawy etykiet kolorów",- "Color Mixer": "Mikser kolorów",- "Color Noise Reduction": "Redukcja szumu koloru",- "Color Priority": "Priorytet kolorów",- "Color Range": "Zakres kolorów",- "Color label cleared": "Usunięto etykietę koloru",- "Color space": "Przestrzeń barw",- "Color space: sRGB (AVIF)": "Przestrzeń kolorów: sRGB (AVIF)",- "Colors": "Kolory",- "Colour-label filter with several labels at once; expandable folder tree in Local.": "Filtrowanie według kilku etykiet kolorystycznych jednocześnie; rozwijane drzewo folderów w widoku lokalnym.",- "Colour-range masks: click the photo to sample. Luminance ranges: range bar, smoothness, luminance map.": "Maski zakresu barw: kliknij zdjęcie, aby pobrać próbkę. Zakresy luminancji: pasek zakresu, płynność przejścia, mapa luminancji.",- "Combine files…": "Połącz pliki…",- "Command Journal": "Dziennik poleceń",- "Comments panel": "Panel komentarzy",- "Commits": "Zatwierdzone zmiany",- "Company": "Firma",- "Compare": "Porównaj",- "Compare (Shift+C)": "Porównaj (Shift+C)",- "Compare Before and After": "Porównaj przed i po",- "Compare needs at least two photos": "Porównanie wymaga co najmniej dwóch zdjęć",- "Component options": "Opcje składnika",- "Compression": "Kompresja",- "Concrete Cool": "Chłodny beton",- "Confirm before deleting": "Potwierdzaj przed usunięciem",- "Confirm before moving photos to Recently Deleted": "Potwierdzaj przeniesienie zdjęć do ostatnio usuniętych",- "Constrain Crop": "Ogranicz kadrowanie",- "Continue": "Kontynuuj",- "Continue Without Saving": "Kontynuuj bez zapisywania",- "Contrast": "Kontrast",- "Contributors": "Współtwórcy",- "Convert to DNG": "Konwertuj do DNG",- "Cool Fade": "Chłodne wyblaknięcie",- "Cool Morning": "Chłodny poranek",- "Copy": "Kopiuj",- "Copy After's Settings to Before": "Skopiuj ustawienia „Po” do „Przed”",- "Copy Before to After": "Skopiuj „Przed” do „Po”",- "Copy Before's Settings to After": "Skopiuj ustawienia „Przed” do „Po”",- "Copy Edit Settings": "Kopiuj ustawienia edycji",- "Copy History Step Settings to Before": "Skopiuj ustawienia kroku historii do „Przed”",- "Copy Metadata": "Kopiuj metadane",- "Copy as DNG": "Kopiuj jako DNG",- "Copy into the library (else use the files where they are)": "Kopiuj do biblioteki (w przeciwnym razie używaj plików w ich lokalizacji)",- "Copy pages": "Kopiuj strony",- "Copy the files (into the library's Originals/, or a folder you choose)": "Kopiuj pliki (do folderu Originals/ biblioteki lub wybranego folderu)",- "Copy to": "Kopiuj do",- "Copy to Clipboard": "Kopiuj do schowka",- "Copy: the files are copied to the folder below and the library uses the copies; the originals are left as they are.": "Kopiuj: pliki zostaną skopiowane do poniższego folderu, a biblioteka będzie używać kopii; oryginały pozostaną bez zmian.",- "Copyright": "Prawa autorskie",- "Copyright Info URL": "Adres URL informacji o prawach autorskich",- "Copyright Status": "Status praw autorskich",- "Copyright status, rights usage terms and copyright info URL in Info, metadata presets and exports.": "Stan praw autorskich, warunki wykorzystania i adres URL informacji o prawach autorskich w informacjach, ustawieniach wstępnych metadanych i eksporcie.",- "Country": "Kraj",- "Create Album": "Utwórz album",- "Create Album…": "Utwórz album…",- "Create Folder": "Utwórz folder",- "Create Folder…": "Utwórz folder…",- "Create New Mask": "Utwórz nową maskę",- "Create PDF from clipboard": "Utwórz PDF ze schowka",- "Create PDF from file…": "Utwórz PDF z pliku…",- "Create PDF from images…": "Utwórz PDF z obrazów…",- "Create Preset": "Utwórz ustawienie wstępne",- "Create Preset…": "Utwórz ustawienie wstępne…",- "Create Proof Copy": "Utwórz kopię próbną",- "Create Smart Album": "Utwórz inteligentny album",- "Create Smart Album from Filter…": "Utwórz album inteligentny z filtra…",- "Create Smart Album…": "Utwórz album inteligentny…",- "Create Stack": "Utwórz stos",- "Create Version": "Utwórz wersję",- "Create Version from Step": "Utwórz wersję z kroku",- "Create Virtual Copy": "Utwórz kopię wirtualną",- "Creator": "Twórca",- "Creator metadata": "Metadane twórcy",- "Crisp Landscape": "Wyrazisty krajobraz",- "Crisp Vista": "Wyrazisty widok",- "Crop": "Kadruj",- "Crop & Rotate": "Kadrowanie i obrót",- "Crop & Rotate (C)": "Kadruj i obracaj (C)",- "Crop Aspect": "Proporcje kadrowania",- "Crop, Rotate, Geometry": "Kadrowanie, obrót, geometria",- "Cross Process": "Obróbka krzyżowa",- "Culling": "Selekcja zdjęć",- "Curve": "Krzywa",- "Custom": "Niestandardowe",- "Custom template…": "Szablon niestandardowy…",- "Custom…": "Niestandardowe…",- "Cut": "Wytnij",- "Cut pages": "Wytnij strony",- "Cycle Crop Overlay": "Przełącz nakładkę kadrowania",- "Cycle Crop Overlay Orientation": "Przełącz orientację nakładki kadrowania",- "Cycle Info Overlay": "Przełącz nakładkę informacji",- "Cycle Mask Overlay Color": "Przełącz kolor nakładki maski",- "Cycle Mask Overlay Mode": "Przełącz tryb nakładki maski",- "Cylindrical": "Cylindryczny",- "Dark & Moody": "Ciemny i nastrojowy",- "Darken": "Przyciemnij",- "Darks": "Ciemne tony",- "Date": "Data",- "Date Groups": "Grupy dat",- "Day": "Dzień",- "Daylight": "Światło dzienne",- "Decrease Brush Feather": "Zmniejsz miękkość pędzla",- "Decrease Brush Size": "Zmniejsz rozmiar pędzla",- "Deep Sky": "Głębokie niebo",- "Defringe": "Usuń obwódki barwne",- "Deghost Amount": "Intensywność usuwania duchów",- "Dehaze": "Usuń zamglenie",- "Delete": "Usuń",- "Delete (⌫)": "Usuń (⌫)",- "Delete Album": "Usuń album",- "Delete All Masks": "Usuń wszystkie maski",- "Delete Color Label Set": "Usuń zestaw etykiet kolorów",- "Delete Component": "Usuń składnik",- "Delete Export Preset": "Usuń ustawienie wstępne eksportu",- "Delete Filter Preset": "Usuń ustawienie wstępne filtra",- "Delete Imported Profile": "Usuń zaimportowany profil",- "Delete Keyword": "Usuń słowo kluczowe",- "Delete Keyword Set": "Usuń zestaw słów kluczowych",- "Delete Mask": "Usuń maskę",- "Delete Metadata Preset": "Usuń ustawienie wstępne metadanych",- "Delete Permanently": "Usuń trwale",- "Delete Photo": "Usuń zdjęcie",- "Delete Photos": "Usuń zdjęcia",- "Delete Point Color": "Usuń kolor punktowy",- "Delete Point Color Sample": "Usuń próbkę koloru punktowego",- "Delete Point Curve Preset": "Usuń ustawienie wstępne krzywej punktowej",- "Delete Preset": "Usuń ustawienie wstępne",- "Delete Red Eye": "Usuń czerwone oczy",- "Delete Red Eye Correction": "Usuń korektę czerwonych oczu",- "Delete Spot": "Usuń plamkę",- "Delete Version": "Usuń wersję",- "Delete all": "Usuń wszystko",- "Delete all spots": "Usuń wszystkie plamki",- "Delete mask": "Usuń maskę",- "Delete them": "Usuń je",- "Density": "Gęstość",- "Depth Range": "Zakres głębi",- "Descending": "Malejąco",- "Describe": "Opisz",- "Describe what to keep": "Opisz, co zachować",- "Describe what to leave out": "Opisz, co wykluczyć",- "Describe what to select": "Opisz, co zaznaczyć",- "Describe…": "Opisz…",- "Deselect": "Odznacz",- "Deselect All": "Odznacz wszystko",- "Desert Heat": "Pustynny żar",- "Desert Warmth": "Pustynne ciepło",- "Desktop": "Pulpit",- "Detail": "Szczegóły",- "Detail (D)": "Szczegóły (D)",- "Details": "Szczegóły",- "Diagonal": "Przekątna",- "Discard Preview Cache": "Odrzuć pamięć podręczną podglądów",- "Display P3": "Display P3",- "Display name": "Nazwa wyświetlana",- "Display theme": "Motyw wyświetlania",- "Distortion": "Zniekształcenie",- "Document properties…": "Właściwości dokumentu…",- "Don't enlarge": "Nie powiększaj",- "Done": "Gotowe",- "Download": "Pobierz",- "Download AI Mask Model": "Pobierz model masek AI",- "Download the SAM 3 Model?": "Pobrać model SAM 3?",- "Downloads": "Pobrane",- "Drag along the horizon; double-click for Auto": "Przeciągnij wzdłuż horyzontu; kliknij dwukrotnie, aby użyć trybu automatycznego",- "Drag over an eye on the photo; the pupil inside is found automatically.": "Przeciągnij po oku na zdjęciu; źrenica zostanie wykryta automatycznie.",- "Draw Guides": "Rysuj prowadnice",- "Duplicate": "Duplikuj",- "Duplicate Component": "Duplikuj składnik",- "Duplicate Mask": "Duplikuj maskę",- "Duplicate and Invert Mask": "Duplikuj i odwróć maskę",- "Each / starts a folder level; tags are filled in per photo (a level with missing metadata is \"unknown\").": "Każdy znak / rozpoczyna kolejny poziom folderu; znaczniki są uzupełniane osobno dla każdego zdjęcia (brakujące metadane oznaczają „nieznane”).",- "Edge": "Krawędź",- "Edit": "Edytuj",- "Edit (E)": "Edytuj (E)",- "Edit Capture Time": "Edytuj czas wykonania",- "Edit Capture Time…": "Edytuj czas wykonania…",- "Edit Color Label Names": "Edytuj nazwy etykiet kolorów",- "Edit Color Label Names…": "Edytuj nazwy etykiet kolorów…",- "Edit Copy for External Editor": "Edytuj kopię w edytorze zewnętrznym",- "Edit Date": "Edytuj datę",- "Edit Info": "Edytuj informacje",- "Edit Label Names": "Edytuj nazwy etykiet",- "Edit Label Names…": "Edytuj nazwy etykiet…",- "Edit Mask": "Edytuj maskę",- "Edit Mask Component": "Edytuj składnik maski",- "Edit Sections": "Edytuj sekcje",- "Edit Smart Album": "Edytuj album inteligentny",- "Edit Smart Album…": "Edytuj album inteligentny…",- "Edit Spot": "Edytuj plamkę",- "Edit in External Editor": "Edytuj w edytorze zewnętrznym",- "Edit in External Editor (⇧⌘E): a 16-bit TIFF copy, stacked, refreshed when you come back.": "Edytuj w zewnętrznym edytorze (⇧⌘E): powstaje 16-bitowa kopia TIFF, dodana do stosu i odświeżana po powrocie.",- "Edit settings copied": "Skopiowano ustawienia edycji",- "Edited": "Edytowane",- "Edited or not": "Edytowane lub nie",- "Editing": "Edycja",- "Effect": "Efekt",- "Effects": "Efekty",- "Empty Recently Deleted": "Opróżnij ostatnio usunięte",- "Enable Lens Corrections": "Włącz korekcję obiektywu",- "Enable Profile Corrections": "Włącz korekcje profilu",- "End Interaction": "Zakończ interakcję",- "English": "Angielski",- "Enter Full Screen": "Przejdź na pełny ekran",- "Enter a date as YYYY-MM-DD HH:MM:SS": "Wprowadź datę jako RRRR-MM-DD GG:MM:SS",- "Erase": "Wymaż",- "Every EXIF, GPS and XMP field in the file": "Każde pole EXIF, GPS i XMP w pliku",- "Existing previews": "Istniejące podglądy",- "Exit": "Zakończ",- "Expand": "Rozwiń",- "Expand All Stacks": "Rozwiń wszystkie stosy",- "Expand Stack": "Rozwiń stos",- "Expand/Collapse Stack": "Rozwiń/Zwiń stos",- "Export": "Eksportuj",- "Export Album with Preset": "Eksportuj album z ustawieniem wstępnym",- "Export Album…": "Eksportuj album…",- "Export As…": "Eksportuj jako…",- "Export Group…": "Eksportuj grupę…",- "Export Now": "Eksportuj teraz",- "Export Point Curve Presets": "Eksportuj ustawienia wstępne krzywej punktowej",- "Export Point Curve Presets…": "Eksportuj ustawienia wstępne krzywej punktowej…",- "Export Presets": "Eksportuj ustawienia wstępne",- "Export Presets…": "Eksportuj ustawienia wstępne…",- "Export User Presets…": "Eksportuj ustawienia wstępne użytkownika…",- "Export file names use the Rename Photos tokens ({title}, {seq:2}, {date:%Y-%m-%d}…), plus new {num}, {folder}, {lens}, {iso}, {rating}, {creator}.": "Nazwy plików przy eksporcie używają znaczników Zmień nazwy zdjęć ({title}, {seq:2}, {date:%Y-%m-%d}…) oraz nowych: {num}, {folder}, {lens}, {iso}, {rating}, {creator}.",- "Export stopped unexpectedly": "Eksport został nieoczekiwanie przerwany",- "Export with Preset": "Eksportuj z ustawieniem wstępnym",- "Export with Previous": "Eksportuj z poprzednimi ustawieniami",- "Exporting": "Eksportowanie",- "Export…": "Eksportuj…",- "Exposure": "Ekspozycja",- "Exposure (shutter · aperture · ISO)": "Ekspozycja (migawka · przysłona · ISO)",- "Extended Description": "Opis rozszerzony",- "External Editor": "Edytor zewnętrzny",- "Face Boxes": "Ramki twarzy",- "Face boxes": "Ramki twarzy",- "Face names written to XMP by Lightroom and other apps show up here.": "Imiona osób zapisane w XMP przez Lightrooma i inne aplikacje pojawiają się tutaj.",- "Faded Matte": "Wyblakły mat",- "Faded Slide": "Wyblakły slajd",- "Faded Urban": "Wyblakłe miasto",- "Favorite Preset": "Ulubione ustawienie wstępne",- "Favorite Profile": "Ulubiony profil",- "Favorites": "Ulubione",- "Feather": "Miękkość krawędzi",- "File": "Plik",- "File & date": "Plik i data",- "File Format": "Format pliku",- "File Name": "Nazwa pliku",- "File Path": "Ścieżka pliku",- "File Size": "Rozmiar pliku",- "File Type": "Typ pliku",- "File name": "Nazwa pliku",- "File types:": "Typy plików:",- "Filename": "Nazwa pliku",- "Fill": "Wypełnij",- "Fill Edges": "Wypełnij krawędzie",- "Film": "Film",- "Filmstrip": "Pasek zdjęć",- "Filmstrip (/)": "Pasek zdjęć (/)",- "Filter": "Filtr",- "Filter Bar": "Pasek filtrów",- "Filter Presets": "Ustawienia wstępne filtrów",- "Filter bar": "Pasek filtrów",- "Filter fields": "Pola filtrów",- "Find Dust Spots": "Znajdź drobiny kurzu",- "Find Missing Photos": "Znajdź brakujące zdjęcia",- "Find Missing Photos…": "Znajdź brakujące zdjęcia…",- "Find Similar Photos": "Znajdź podobne zdjęcia",- "Find tools and commands…": "Znajdź narzędzia i polecenia…",- "Find…": "Znajdź…",- "First": "Pierwszy",- "First commit": "Pierwszy commit",- "Fit": "Dopasuj",- "Fit (F)": "Dopasuj (F)",- "Fit on Screen": "Dopasuj do ekranu",- "Fit to width": "Dopasuj do szerokości",- "Fit visible": "Dopasuj widoczne",- "Five stars": "Pięć gwiazdek",- "Fixed keys": "Stałe klawisze",- "Flag": "Oznacz",- "Flag as Pick": "Oznacz jako wybrane",- "Flag as Reject": "Oznacz jako odrzucone",- "Flagged as Pick": "Oznaczone jako wybrane",- "Flagged as Reject": "Oznaczone jako odrzucone",- "Flash": "Lampa błyskowa",- "Flip H": "Odbij w poziomie",- "Flip Horizontal": "Odbij poziomo",- "Flip Overlay (⇧O)": "Odwróć nakładkę (⇧O)",- "Flip V": "Odbij w pionie",- "Flip Vertical": "Odbij pionowo",- "Float panel": "Odłącz panel",- "Flow": "Przepływ",- "Fluorescent": "Światło fluorescencyjne",- "Focal Length": "Ogniskowa",- "Focal length": "Ogniskowa",- "Focus (assisted culling)": "Ostrość (wspomagana selekcja)",- "Folder": "Folder",- "Folder name (renamed on disk; its photos follow)": "Nazwa folderu (zmieniana na dysku wraz ze zdjęciami)",- "Folders": "Foldery",- "Folders and {date} use the capture time; a photo without one uses today's date.": "Foldery i {date} używają daty wykonania; gdy zdjęcie jej nie ma, używana jest dzisiejsza data.",- "Food": "Jedzenie",- "Forget Unchanged Local Photos": "Zapomnij o niezmienionych zdjęciach lokalnych",- "Forget unchanged photos": "Zapomnij o niezmienionych zdjęciach",- "Form fields panel": "Panel pól formularza",- "Format": "Format",- "Forward": "Dalej",- "Frame time": "Czas klatki",- "Frame update": "Aktualizacja klatki",- "Free": "Wolne",- "Fresh & Bright": "Świeżo i jasno",- "Friday": "Piątek",- "Full": "Pełny",- "Full Screen Preview": "Podgląd pełnoekranowy",- "Full screen mode": "Tryb pełnoekranowy",- "Full size": "Pełny rozmiar",- "GPS Track Log": "Ślad GPS",- "GPU Rendering": "Renderowanie GPU",- "GPU rendering": "Renderowanie na GPU",- "General": "Ogólne",- "Generated demo photo": "Wygenerowane zdjęcie demonstracyjne",- "Geometry": "Geometria",- "Get Develop Settings": "Pobierz ustawienia wywoływania",- "Global Hue": "Globalny odcień",- "Global Luminance": "Globalna luminancja",- "Global Saturation": "Globalne nasycenie",- "Glossy": "Błyszczący",- "Go to History Step": "Przejdź do kroku historii",- "Golden": "Złocisty",- "Golden Glow": "Złota poświata",- "Golden Hour": "Złota godzina",- "Grab bag": "Zbiór różnych elementów",- "Grain": "Ziarno",- "Graphic": "Graficzny",- "Green": "Zielony",- "Green Amount": "Ilość zieleni",- "Green Hue": "Odcień zieleni",- "Green Hue High": "Górny zakres odcienia zieleni",- "Green Hue Low": "Dolny zakres odcienia zieleni",- "Green Luminance": "Luminancja zieleni",- "Green Primary": "Zieleń podstawowa",- "Green Saturation": "Nasycenie zieleni",- "Green channel": "Kanał zielony",- "Green label": "Zielona etykieta",- "Grid": "Siatka",- "Grid Info": "Informacje w siatce",- "Gritty Street": "Surowa ulica",- "Group": "Grupa",- "Group by Date: Automatic": "Grupowanie według daty: automatycznie",- "Group by Day": "Grupuj według dnia",- "Group by Month": "Grupuj według miesiąca",- "Group by Year": "Grupuj według roku",- "Group by date": "Grupuj według daty",- "Group into Stack": "Zgrupuj w stos",- "Group name": "Nazwa grupy",- "Guided": "Z prowadnicami",- "Guided Upright": "Korekcja perspektywy z prowadnicami",- "Guided Upright Guides": "Prowadnice korekcji perspektywy",- "HDR Merge": "Scalanie HDR",- "HDR Merge Preview": "Podgląd scalania HDR",- "HDR Panorama Merge": "Scal panoramę HDR",- "HDR Panorama Merge Preview": "Podgląd scalania panoramy HDR",- "HDR Panorama with Last Settings": "Panorama HDR z ostatnimi ustawieniami",- "HDR Panoramas": "Panoramy HDR",- "HDR Panorama…": "Panorama HDR…",- "HDR panorama": "Panorama HDR",- "HDR panoramas": "Panoramy HDR",- "HDR with Last Settings": "HDR z ostatnimi ustawieniami",- "HDR…": "HDR…",- "Has Edits": "Ma edycje",- "Has GPS": "Ma dane GPS",- "Heal": "Korekta",- "Heal the small, soft dark spots sensor dust leaves on smooth areas": "Usuń retuszem niewielkie, miękkie ciemne plamki pozostawione przez kurz na matrycy",- "Height": "Wysokość",- "Height (px)": "Wysokość (px)",- "Help": "Pomoc",- "Hide LightCraft": "Ukryj LightCraft",- "Hide Mask": "Ukryj maskę",- "Hide Others": "Ukryj pozostałe",- "Hides this shortcut only; the folder and its photos stay as they are": "Ukrywa tylko ten skrót; folder i zdjęcia pozostają bez zmian",- "High": "Wysoki",- "High Contrast B&W": "Czarno-biały o wysokim kontraście",- "Highlight": "Światła",- "Highlights": "Światła",- "Highlights Hue": "Odcień świateł",- "Highlights Luminance": "Luminancja świateł",- "Highlights Saturation": "Nasycenie świateł",- "Highlights split": "Podział świateł",- "Histogram": "Histogram",- "History": "Historia",- "History & Activity (Y)": "Historia i aktywność (Y)",- "Home": "Strona główna",- "Horizontal": "Poziomo",- "Horizontal text": "Tekst poziomy",- "Hours": "Godziny",- "Hue": "Odcień",- "Hue Range": "Zakres odcieni",- "ISO Speed": "Czułość ISO",- "ISO speed": "Czułość ISO",- "If file exists": "Jeśli plik istnieje",- "If your library can't be opened at launch (open in another program, unreadable, on a drive that isn't connected,": "Jeśli nie można otworzyć biblioteki przy uruchamianiu (jest używana w innym programie, nieczytelna lub znajduje się na odłączonym dysku,",- "Image": "Obraz",- "Import": "Importuj",- "Import Date": "Data importu",- "Import Lightroom Catalog": "Importuj katalog Lightrooma",- "Import Lightroom Catalog…": "Importuj katalog Lightrooma…",- "Import Photos": "Importuj zdjęcia",- "Import Photos…": "Importuj zdjęcia…",- "Import Point Curve Presets": "Importuj ustawienia krzywej punktowej",- "Import Point Curve Presets…": "Importuj ustawienia krzywej punktowej…",- "Import Presets": "Importuj ustawienia wstępne",- "Import Presets…": "Importuj ustawienia wstępne…",- "Import Profiles": "Importuj profile",- "Import Profiles & Presets…": "Importuj profile i ustawienia wstępne…",- "Import as new": "Importuj jako nowe",- "Import from Device": "Importuj z urządzenia",- "Import from Folder…": "Importuj z folderu…",- "Import photos with File → Import Photos… (Cmd+Shift+I), or drop them here": "Importuj zdjęcia przez Plik → Importuj zdjęcia… (Cmd+Shift+I) lub przeciągnij je tutaj",- "Imported": "Zaimportowane",- "Imported Photos": "Zaimportowane zdjęcia",- "Importing": "Importowanie",- "Importing Lightroom Catalog": "Importowanie katalogu Lightrooma",- "Importing scans the source for photos; it doesn't add the folder to Local (use Local → Browse Folder… to work in a folder without importing).": "Importowanie wyszukuje zdjęcia w źródle; nie dodaje folderu do sekcji Lokalne (użyj Lokalne → Przeglądaj folder…, aby pracować w folderze bez importowania).",- "In Photo Grid and Square Grid: Flag as Pick and advance": "W siatce zdjęć i siatce kwadratowej: oznacz jako wybrane i przejdź dalej",- "In Photo Grid and Square Grid: expand or collapse the stack": "W siatce zdjęć i siatce kwadratowej: rozwiń lub zwiń stos",- "In Recently Deleted": "W ostatnio usuniętych",- "In library": "W bibliotece",- "In memory — nothing is saved": "W pamięci — nic nie zapisano",- "In use": "W użyciu",- "In-memory session: these settings last until LightCraft quits.": "Sesja w pamięci: te ustawienia obowiązują do zamknięcia LightCraft.",- "Include subfolders": "Uwzględnij podfoldery",- "Increase Brush Feather": "Zwiększ miękkość pędzla",- "Increase Brush Size": "Zwiększ rozmiar pędzla",- "Info": "Informacje",- "Info (I)": "Informacje (I)",- "Info Overlay Off": "Wyłącz nakładkę informacyjną",- "Info Overlay: Exposure": "Nakładka informacyjna: ekspozycja",- "Info Overlay: File": "Nakładka informacyjna: plik",- "Info overlay": "Nakładka informacyjna",- "Insert at the cursor": "Wstaw w miejscu kursora",- "Inspect Lightroom Catalog": "Sprawdź katalog Lightrooma",- "Inspect Photo": "Sprawdź zdjęcie",- "Inspecting Lightroom Catalog": "Sprawdzanie katalogu Lightrooma",- "Instant ’70s": "Lata 70. od ręki",- "Interface": "Interfejs",- "Interface language": "Język interfejsu",- "Intersect": "Część wspólna",- "Intersect with": "Przetnij z",- "Into one folder": "Do jednego folderu",- "Invert": "Odwróć",- "Invert Component": "Odwróć składnik",- "Invert Mask": "Odwróć maskę",- "JPEG (Large)": "JPEG (duży)",- "JPEG (Small)": "JPEG (mały)",- "Join the ArtCraft Discord": "Dołącz do Discorda ArtCraft",- "Join the ArtCraft Discord…": "Dołącz do Discorda ArtCraft…",- "Join the ArtCraft community on Discord": "Dołącz do społeczności ArtCraft na Discordzie",- "Keep in Local": "Zachowaj w lokalnych",- "Keep it on a drive with room: smart previews are about 1 MB per photo. The thumbnail cache stays in the library.": "Przechowuj ją na dysku z wolnym miejscem: podglądy inteligentne zajmują około 1 MB na zdjęcie. Pamięć podręczna miniatur pozostaje w bibliotece.",- "Keyboard Shortcuts": "Skróty klawiaturowe",- "Keyboard shortcuts": "Skróty klawiaturowe",- "Keyword": "Słowo kluczowe",- "Keyword Painter": "Pędzel słów kluczowych",- "Keyword Set": "Zestaw słów kluczowych",- "Keyword Sets": "Zestawy słów kluczowych",- "Keyword Suggestions": "Sugestie słów kluczowych",- "Keyword to paint": "Słowo kluczowe do nanoszenia",- "Keywords": "Słowa kluczowe",- "Keywords (K)": "Słowa kluczowe (K)",- "Keywords you add appear here; ⌥1–⌥9 apply them.": "Dodane słowa kluczowe pojawiają się tutaj; skróty ⌥1–⌥9 przypisują je do zdjęć.",- "Label": "Etykieta",- "Landscape": "Krajobraz",- "Language": "Język",- "Last": "Ostatni",- "Last GPU fallback": "Ostatnie przełączenie awaryjne GPU",- "Last commit": "Ostatni zapis zmian",- "Last loupe render": "Ostatnie renderowanie lupy",- "Last view": "Ostatni widok",- "Lateral Chromatic Aberration": "Poprzeczna aberracja chromatyczna",- "Layer": "Warstwa",- "Layers": "Warstwy",- "Leave them": "Pozostaw je",- "Lens": "Obiektyw",- "Lens Blur": "Rozmycie obiektywu",- "Lens Corrections": "Korekcje obiektywu",- "Level": "Poziom",- "Library": "Biblioteka",- "Library Info": "Informacje o bibliotece",- "Library Originals": "Oryginały biblioteki",- "Library Preferences": "Preferencje biblioteki",- "Library State": "Stan biblioteki",- "Library saved": "Biblioteka zapisana",- "Licence:": "Licencja:",- "Light": "Światło",- "LightCraft 0.2.0 and older refuse it (\"unsupported format … v2\").": "LightCraft 0.2.0 i starsze wersje odrzucają ten plik („nieobsługiwany format … v2”).",- "LightCraft Default": "Domyślne ustawienia LightCraft",- "LightCraft Help": "Pomoc LightCraft",- "LightCraft Preset": "Ustawienie wstępne LightCraft",- "LightCraft Presets": "Ustawienia wstępne LightCraft",- "LightCraft Website": "Strona LightCraft",- "LightCraft could not start": "Nie można uruchomić LightCraft",- "LightCraft couldn't find where to keep your library.": "LightCraft nie znalazł miejsca na przechowywanie biblioteki.",- "LightCraft couldn't open the library at": "LightCraft nie mógł otworzyć biblioteki w lokalizacji",- "LightCraft on GitHub": "LightCraft w serwisie GitHub",- "LightCraft website": "Strona internetowa LightCraft",- "LightCraft — Second Window": "LightCraft — drugie okno",- "Lightroom Classic Catalog": "Katalog Lightroom Classic",- "Lightroom import cancelled": "Anulowano import z Lightrooma",- "Lightroom inspection cancelled": "Anulowano sprawdzanie Lightrooma",- "Lights": "Światła",- "Limit file size (KB, 0 = off)": "Limit rozmiaru pliku (KB, 0 = wyłączone)",- "Line delta": "Zmiana liczby wierszy",- "Linear": "Liniowy",- "Linear Gradient": "Gradient liniowy",- "Lines +/−": "Wiersze +/−",- "Lines added": "Dodane wiersze",- "Lines deleted": "Usunięte wiersze",- "List Albums": "Wyświetl albumy",- "List Develop Controls": "Wyświetl ustawienia wywoływania",- "List History": "Wyświetl historię",- "List Presets": "Wyświetl ustawienia predefiniowane",- "List Profiles": "Wyświetl profile",- "List this folder in Local from now on": "Od teraz pokazuj ten folder w widoku lokalnym",- "Local": "Lokalne",- "Local folders": "Foldery lokalne",- "Local library — no cloud account needed": "Biblioteka lokalna — konto w chmurze nie jest potrzebne",- "Locate Missing File…": "Znajdź brakujący plik…",- "Locate Photo": "Znajdź zdjęcie",- "Location": "Lokalizacja",- "Lock": "Zablokuj",- "Lock Crop Aspect": "Zablokuj proporcje kadrowania",- "Locked": "Zablokowane",- "Long Edge": "Dłuższy bok",- "Looking for photos…": "Wyszukiwanie zdjęć…",- "Lossless": "Bezstratny",- "Lossy DNG files and Smart Previews open as raw photos.": "Stratne pliki DNG i podglądy inteligentne otwierają się jako zdjęcia RAW.",- "Low": "Niski",- "Luminance": "Luminancja",- "Luminance Range": "Zakres luminancji",- "Lush Greens": "Soczysta zieleń",- "Magenta": "Purpurowy",- "Magenta Hue": "Odcień purpury",- "Magenta Luminance": "Luminancja purpury",- "Magenta Saturation": "Nasycenie purpury",- "Make Candidate the Select": "Ustaw zdjęcie kandydujące jako wybrane",- "Manual": "Ręcznie",- "Marquee zoom": "Powiększanie zaznaczonego obszaru",- "Mask Adjustment": "Korekta maski",- "Masking": "Maskowanie",- "Masking (M)": "Maskowanie (M)",- "Masks": "Maski",- "Match": "Dopasuj",- "Match Total Exposures": "Wyrównaj całkowitą ekspozycję",- "Matte": "Matowy",- "Matte Soft": "Delikatny mat",- "Med": "Śr.",- "Medium Contrast": "Średni kontrast",- "Megapixels": "Megapiksele",- "Memory Budget": "Limit pamięci",- "Memory Usage": "Wykorzystanie pamięci",- "Memory budget": "Limit pamięci",- "Memory for caches": "Pamięć na pamięć podręczną",- "Menu": "Menu",- "Merge": "Scal",- "Merge Keywords": "Połącz słowa kluczowe",- "Merge into…": "Scal z…",- "Merged": "Scalone",- "Merged PRs": "Scalone zgłoszenia PR",- "Merging…": "Scalanie…",- "Metadata": "Metadane",- "Metadata Preset": "Zestaw metadanych",- "Metadata Presets": "Zestawy metadanych",- "Metadata preset": "Zestaw metadanych",- "Midpoint": "Punkt środkowy",- "Midtones": "Tony średnie",- "Midtones Hue": "Odcień tonów średnich",- "Midtones Luminance": "Luminancja tonów średnich",- "Midtones Saturation": "Nasycenie tonów średnich",- "Midtones split": "Podział tonów średnich",- "Minimize": "Minimalizuj",- "Missing Photos": "Brakujące zdjęcia",- "Missing metadata ({camera}, {title}…) leaves an empty gap; a name that comes out empty keeps the original name.": "Brakujące metadane ({camera}, {title}…) pozostawiają puste miejsce; jeśli wynikowa nazwa jest pusta, zachowywana jest nazwa oryginalna.",- "Misty Morning": "Mglisty poranek",- "Mode": "Tryb",- "Model": "Model",- "Models": "Modele",- "Modified Date": "Data modyfikacji",- "Monday": "Poniedziałek",- "Mono Red Filter": "Monochromatyczny filtr czerwony",- "Mono Rich": "Bogata monochromia",- "Mono Soft": "Delikatna monochromia",- "Monochrome": "Monochromatyczny",- "Month": "Miesiąc",- "Moody": "Nastrojowy",- "Moody Portrait": "Nastrojowy portret",- "More": "Więcej",- "More preset options": "Więcej opcji ustawienia predefiniowanego",- "Move": "Przenieś",- "Move Album": "Przenieś album",- "Move Down": "Przenieś w dół",- "Move Down in Stack": "Przenieś niżej w stosie",- "Move Folder": "Przenieś folder",- "Move Folder To…": "Przenieś folder do…",- "Move Mask": "Przenieś maskę",- "Move Preset to Group": "Przenieś ustawienie predefiniowane do grupy",- "Move Preset to New Group": "Przenieś ustawienie predefiniowane do nowej grupy",- "Move Up": "Przenieś w górę",- "Move Up in Stack": "Przenieś wyżej w stosie",- "Move in Stack": "Przenieś w stosie",- "Move the files (into the library's Originals/, or a folder you choose), removing them from the source": "Przenieś pliki (do folderu Originals/ w bibliotece lub do wybranego folderu), usuwając je z lokalizacji źródłowej",- "Move them": "Przenieś je",- "Move to": "Przenieś do",- "Move to Group": "Przenieś do grupy",- "Move to group": "Przenieś do grupy",- "Moves every photo imported from this disk to Recently Deleted; no file is touched": "Przenosi wszystkie zdjęcia zaimportowane z tego dysku do Ostatnio usuniętych; żaden plik nie zostanie zmieniony",- "Moves the photos imported from this folder to Recently Deleted; no file is touched": "Przenosi zdjęcia zaimportowane z tego folderu do Ostatnio usuniętych; żaden plik nie zostanie zmieniony",- "Muted": "Stonowany",- "Muted Film": "Stonowany film",- "My Photos": "Moje zdjęcia",- "My Photos Panel": "Panel Moje zdjęcia",- "Name": "Nazwa",- "Name (A–Z)": "Nazwa (A–Z)",- "Name of the folder the original is in": "Nazwa folderu z oryginałem",- "Named": "Nazwane",- "Named People": "Osoby z przypisanymi imionami",- "Names appear in the label menu, the filter bar and the Info panel, and are written to XMP. Empty = the colour's name.": "Nazwy pojawiają się w menu etykiet, pasku filtrów i panelu informacji oraz są zapisywane w XMP. Puste pole oznacza nazwę koloru.",- "Navigator": "Nawigator",- "Needs Work": "Wymaga dopracowania",- "Neon Dusk": "Neonowy zmierzch",- "Neon Night": "Neonowa noc",- "Nested group": "Grupa zagnieżdżona",- "Neutral": "Neutralny",- "Never": "Nigdy",- "New": "Nowy",- "New Album": "Nowy album",- "New Album…": "Nowy album…",- "New Folder…": "Nowy folder…",- "New Group…": "Nowa grupa…",- "New Smart Album": "Nowy album inteligentny",- "New Smart Album from Filter…": "Nowy album inteligentny z filtra…",- "New Smart Album…": "Nowy album inteligentny…",- "New album": "Nowy album",- "New album…": "Nowy album…",- "New blank PDF": "Nowy pusty PDF",- "New name": "Nowa nazwa",- "New time": "Nowy czas",- "New…": "Nowy…",- "Next Photo": "Następne zdjęcie",- "Night Blue": "Nocny błękit",- "No": "Nie",- "No Camera or Card Found": "Nie znaleziono aparatu ani karty pamięci",- "No Date Groups": "Brak grup według dat",- "No Stars": "Brak gwiazdek",- "No Tool": "Brak narzędzia",- "No automatic versions.": "Brak automatycznych wersji.",- "No camera": "Brak aparatu",- "No contributor data was built into this copy.": "W tej wersji nie zapisano danych współtwórców.",- "No date": "Brak daty",- "No dust spots found": "Nie znaleziono plamek kurzu",- "No edits yet.": "Nie wprowadzono jeszcze zmian.",- "No exposure information": "Brak informacji o ekspozycji",- "No filter presets yet": "Brak zapisanych zestawów filtrów",- "No lens data embedded in this file (DNG lens opcodes only).": "Ten plik nie zawiera danych obiektywu (dostępne są jedynie instrukcje obiektywu DNG).",- "No masks yet. Choose a mask type above.": "Nie ma jeszcze masek. Wybierz typ maski powyżej.",- "No matching commands": "Brak pasujących poleceń",- "No matching photos": "Brak pasujących zdjęć",- "No metadata found": "Nie znaleziono metadanych",- "No model credits were built into this copy.": "W tej wersji nie zapisano informacji o autorach modeli.",- "No named people in these photos": "Na tych zdjęciach nie ma osób z przypisanymi imionami",- "No named people yet": "Nie nazwano jeszcze żadnych osób",- "No new presets": "Brak nowych ustawień predefiniowanych",- "No photo selected": "Nie wybrano zdjęcia",- "No photos": "Brak zdjęć",- "No photos found": "Nie znaleziono zdjęć",- "No photos in this folder": "W tym folderze nie ma zdjęć",- "No photos match the active filters": "Żadne zdjęcia nie spełniają aktywnych filtrów",- "No photos match the filters (View → Clear Filters)": "Żadne zdjęcia nie spełniają filtrów (Widok → Wyczyść filtry)",- "No raw photos yet: cameras appear here once their photos are in the library.": "Brak zdjęć RAW. Aparaty pojawią się tutaj po dodaniu ich zdjęć do biblioteki.",- "No reference photo": "Brak zdjęcia referencyjnego",- "No usable GPU found: rendering on the CPU": "Nie znaleziono obsługiwanej karty graficznej: renderowanie na procesorze",- "No versions yet. Create one to keep this look.": "Nie ma jeszcze wersji. Utwórz wersję, aby zachować ten wygląd.",- "Noise": "Szum",- "Noise Reduction": "Redukcja szumu",- "Non-raw photos": "Zdjęcia inne niż RAW",- "None": "Brak",- "Not Now": "Nie teraz",- "Nothing to compare": "Nie ma czego porównywać",- "Nothing to survey": "Nie ma czego przeglądać",- "Nudge Develop Value": "Zmień nieznacznie wartość wywoływania",- "OK": "OK",- "Object": "Obiekt",- "Object Mask": "Maska obiektu",- "October 2026": "Październik 2026",- "Off": "Wyłączone",- "Offset X": "Przesunięcie X",- "Offset Y": "Przesunięcie Y",- "Opacity": "Krycie",- "Opacity (%)": "Krycie (%)",- "Open Library": "Otwórz bibliotekę",- "Open Library…": "Otwórz bibliotekę…",- "Open in": "Otwórz w",- "Open in Detail": "Otwórz w widoku szczegółowym",- "Open the place in OpenStreetMap": "Otwórz lokalizację w OpenStreetMap",- "Open…": "Otwórz…",- "Optics": "Optyka",- "Optimize Library": "Optymalizuj bibliotekę",- "Optional name": "Nazwa (opcjonalnie)",- "Options": "Opcje",- "Orange": "Pomarańczowy",- "Orange Hue": "Odcień pomarańczowego",- "Orange Luminance": "Luminancja pomarańczowego",- "Orange Saturation": "Nasycenie pomarańczowego",- "Orientation": "Orientacja",- "Original": "Oryginał",- "Original + Settings": "Oryginał + ustawienia",- "Original extension without the dot": "Oryginalne rozszerzenie bez kropki",- "Original file name without its extension": "Oryginalna nazwa pliku bez rozszerzenia",- "Original files": "Pliki oryginalne",- "Original offline · editing the smart preview": "Oryginał niedostępny · edycja podglądu inteligentnego",- "Original offline · no smart preview": "Oryginał niedostępny · brak podglądu inteligentnego",- "Originals": "Oryginały",- "Other images (JPEG, PNG, TIFF, HEIC…)": "Inne obrazy (JPEG, PNG, TIFF, HEIC…)",- "Overlay": "Nakładka",- "Overwrite": "Nadpisz",- "Pages": "Strony",- "Paint": "Malowanie",- "Paint only areas like the one under the brush": "Maluj tylko obszary podobne do tego pod pędzlem",- "Paint over a distraction on the photo to remove it.": "Zamaluj niepożądany element na zdjęciu, aby go usunąć.",- "Paint overlay": "Nakładka malowania",- "Panels": "Panele",- "Panorama": "Panorama",- "Panorama Merge": "Łączenie panoramy",- "Panorama Merge Preview": "Podgląd łączenia panoramy",- "Panorama with Last Settings": "Panorama z ostatnimi ustawieniami",- "Panoramas": "Panoramy",- "Panorama…": "Panorama…",- "Parametric curve": "Krzywa parametryczna",- "Paste": "Wklej",- "Paste Edit Settings": "Wklej ustawienia edycji",- "Paste Metadata": "Wklej metadane",- "Paste Selected Settings": "Wklej wybrane ustawienia",- "Paste Selected Settings…": "Wklej wybrane ustawienia…",- "Paste Settings": "Wklej ustawienia",- "Paste Settings from Previous": "Wklej ustawienia z poprzedniego",- "Paste from Previous": "Wklej z poprzedniego",- "Paste pages": "Wklej strony",- "Pastel Haze": "Pastelowa mgiełka",- "People": "Osoby",- "Percent": "Procent",- "Percentage": "Wartość procentowa",- "Performance": "Wydajność",- "Person": "Osoba",- "Perspective": "Perspektywa",- "Pet Eye": "Oczy zwierząt",- "Pet Eye Catchlight": "Blik w oczach zwierząt",- "Photo": "Zdjęcie",- "Photo Grid": "Siatka zdjęć",- "Photo Grid (G)": "Siatka zdjęć (G)",- "Photo Merge": "Łączenie zdjęć",- "Photos": "Zdjęcia",- "Photos per bracket (0 = auto)": "Zdjęć w serii ekspozycji (0 = automatycznie)",- "Pick": "Wybierz",- "Pick Flag": "Flaga wyboru",- "Pick a colour on the photo with the eyedropper.": "Wybierz kolor ze zdjęcia za pomocą pipety.",- "Pick the sharpest photo of each burst": "Wybierz najostrzejsze zdjęcie z każdej serii",- "Picked": "Wybrane",- "Picks": "Wybrane zdjęcia",- "Pictures": "Obrazy",- "Pixels": "Piksele",- "Point Color": "Kolor punktowy",- "Point Curve": "Krzywa punktowa",- "Point Curve Presets": "Ustawienia wstępne krzywej punktowej",- "Point curve": "Krzywa punktowa",- "Portrait": "Portret",- "Position": "Położenie",- "Preferences": "Preferencje",- "Preferences…": "Preferencje…",- "Prepare AI Masks": "Przygotuj maski AI",- "Preset": "Ustawienie wstępne",- "Preset name": "Nazwa ustawienia wstępnego",- "Presets": "Ustawienia wstępne",- "Presets & Profiles": "Ustawienia wstępne i profile",- "Presets (Shift+P)": "Ustawienia wstępne (Shift+P)",- "Presets and profiles": "Ustawienia wstępne i profile",- "Presets ▾": "Ustawienia wstępne ▾",- "Press keys…": "Naciśnij klawisze…",- "Preview": "Podgląd",- "Preview Build Progress": "Postęp tworzenia podglądów",- "Preview only": "Tylko podgląd",- "Preview size": "Rozmiar podglądu",- "Previews": "Podglądy",- "Previous Photo": "Poprzednie zdjęcie",- "Print": "Drukuj",- "Print…": "Drukuj…",- "Profile": "Profil",- "Profile Browser": "Przeglądarka profili",- "Profile Distortion": "Dystorsja profilu",- "Profile Menu": "Menu profili",- "Profile Vignetting": "Winietowanie profilu",- "Profile:": "Profil:",- "Profiles": "Profile",- "Projection": "Odwzorowanie",- "Proof copy created": "Utworzono kopię próbną",- "Properties": "Właściwości",- "Public domain": "Domena publiczna",- "Pupil Size": "Rozmiar źrenicy",- "Purple": "Purpurowy",- "Purple Amount": "Ilość purpury",- "Purple Hue": "Odcień purpury",- "Purple Hue High": "Górna granica odcienia purpury",- "Purple Hue Low": "Dolna granica odcienia purpury",- "Purple Luminance": "Luminancja purpury",- "Purple Saturation": "Nasycenie purpury",- "Put the locations you removed from Local back (no files change)": "Przywróć lokalizacje usunięte z widoku Lokalne (bez zmiany plików)",- "Quality": "Jakość",- "Query Photos": "Wyszukaj zdjęcia",- "Quick Collection": "Szybka kolekcja",- "Quick Develop": "Szybka obróbka",- "Quiet Green": "Spokojna zieleń",- "Quit": "Zakończ",- "Quit Anyway": "Zamknij mimo to",- "Quit LightCraft": "Zamknij LightCraft",- "Quit with unsaved changes?": "Zamknąć z niezapisanymi zmianami?",- "RAW decoding": "Dekodowanie RAW",- "Radial": "Promieniowy",- "Radial Gradient": "Gradient promieniowy",- "Radius": "Promień",- "Random": "Losowo",- "Range": "Zakres",- "Rate ★": "Oceń ★",- "Rate ★ and advance": "Oceń ★ i przejdź dalej",- "Rate ★★": "Oceń ★★",- "Rate ★★ and advance": "Oceń ★★ i przejdź dalej",- "Rate ★★★": "Oceń ★★★",- "Rate ★★★ and advance": "Oceń ★★★ i przejdź dalej",- "Rate ★★★★": "Oceń ★★★★",- "Rate ★★★★ and advance": "Oceń ★★★★ i przejdź dalej",- "Rate ★★★★★": "Oceń ★★★★★",- "Rate ★★★★★ and advance": "Oceń ★★★★★ i przejdź dalej",- "Rating": "Ocena",- "Rating cleared": "Usunięto ocenę",- "Ratings & flags": "Oceny i flagi",- "Raw": "RAW",- "Raw default": "Domyślne ustawienia RAW",- "Raw defaults": "Domyślne ustawienia RAW",- "Raw files": "Pliki RAW",- "Raw photos": "Zdjęcia RAW",- "Raw photos as DNG, with the edits embedded. Size, color and output options don't apply.": "Zdjęcia RAW jako DNG z osadzonymi zmianami. Opcje rozmiaru, koloru i wyjścia nie mają zastosowania.",- "Read Metadata from File": "Wczytaj metadane z pliku",- "Read mode": "Tryb odczytu",- "Read the SAM License": "Przeczytaj licencję SAM",- "Reading": "Wczytywanie",- "Reading Lightroom catalog…": "Wczytywanie katalogu Lightroom…",- "Reading folder…": "Wczytywanie folderu…",- "Real name": "Imię i nazwisko",- "Recent": "Ostatnie",- "Recent Keywords": "Ostatnie słowa kluczowe",- "Recently Added": "Ostatnio dodane",- "Recently Deleted": "Ostatnio usunięte",- "Red": "Czerwony",- "Red Eye": "Czerwone oczy",- "Red Hue": "Odcień czerwieni",- "Red Luminance": "Luminancja czerwieni",- "Red Primary": "Czerwony podstawowy",- "Red Saturation": "Nasycenie czerwieni",- "Red channel": "Kanał czerwony",- "Red label": "Czerwona etykieta",- "Red/Cyan Fringe": "Czerwono-turkusowa obwódka",- "Redo": "Ponów",- "Reference": "Odniesienie",- "Reference View": "Widok referencyjny",- "Reference the files where they are": "Pozostaw pliki w bieżącym położeniu",- "Refine": "Dopracuj",- "Refine AI Mask Detail": "Dopracuj szczegóły maski AI",- "Refine Edges": "Dopracuj krawędzie",- "Refine Mask Edges": "Dopracuj krawędzie maski",- "Refine Saturation": "Dopracuj nasycenie",- "Refining the mask's detail…": "Dopracowywanie szczegółów maski…",- "Refresh Source": "Odśwież źródło",- "Refresh Source (/)": "Odśwież źródło (/)",- "Reject": "Odrzuć",- "Reject below focus": "Odrzuć poniżej progu ostrości",- "Rejected": "Odrzucone",- "Rejects": "Odrzucone zdjęcia",- "Reliability": "Niezawodność",- "Relink Photo": "Ponownie połącz zdjęcie",- "Reload Changed Files": "Wczytaj ponownie zmienione pliki",- "Reload from Disk": "Wczytaj ponownie z dysku",- "Remove": "Usuń",- "Remove (H)": "Usuń (H)",- "Remove CA": "Usuń aberrację chromatyczną",- "Remove Chromatic Aberration": "Usuń aberrację chromatyczną",- "Camera local tone mapping": "Lokalne mapowanie tonów aparatu",- "Apply the local tone mapping stored in the raw (Apple ProRAW), as the camera renders it": "Zastosuj lokalne mapowanie tonów zapisane w pliku RAW (Apple ProRAW), tak jak robi to aparat",- "Remove Disk from Library": "Usuń dysk z biblioteki",- "Remove Disk from Library…": "Usuń dysk z biblioteki…",- "Remove Face Box": "Usuń ramkę twarzy",- "Remove Folder from Library": "Usuń folder z biblioteki",- "Remove a filter above, or choose Clear all": "Usuń powyższy filtr lub wybierz Wyczyść wszystko",- "Remove from Album": "Usuń z albumu",- "Remove from Favorites": "Usuń z ulubionych",- "Remove from Library…": "Usuń z biblioteki…",- "Remove from Local": "Usuń z lokalnych",- "Remove from Photo": "Usuń ze zdjęcia",- "Remove from Selected Photos": "Usuń z zaznaczonych zdjęć",- "Remove from Stack": "Usuń ze stosu",- "Remove from Target Album": "Usuń z albumu docelowego",- "Remove from survey": "Usuń z widoku przeglądu",- "Remove location info": "Usuń informacje o lokalizacji",- "Remove shortcut": "Usuń skrót klawiszowy",- "Remove this face box (undo with Edit ▸ Undo)": "Usuń tę ramkę twarzy (cofnij przez Edycja ▸ Cofnij)",- "Remove this filter": "Usuń ten filtr",- "Remove this group": "Usuń tę grupę",- "Remove this rule": "Usuń tę regułę",- "Rename": "Zmień nazwę",- "Rename Album": "Zmień nazwę albumu",- "Rename Component": "Zmień nazwę elementu",- "Rename Folder": "Zmień nazwę folderu",- "Rename Folder…": "Zmień nazwę folderu…",- "Rename Keyword": "Zmień nazwę słowa kluczowego",- "Rename Keyword…": "Zmień nazwę słowa kluczowego…",- "Rename Mask": "Zmień nazwę maski",- "Rename Photos": "Zmień nazwy zdjęć",- "Rename Photos…": "Zmień nazwy zdjęć…",- "Rename Preset": "Zmień nazwę ustawienia wstępnego",- "Rename Preview": "Zmień nazwę podglądu",- "Rename Template Tags": "Zmień nazwy znaczników szablonu",- "Rename Version": "Zmień nazwę wersji",- "Rename…": "Zmień nazwę…",- "Rendering": "Renderowanie",- "Rendering…": "Renderowanie…",- "Reorder Masks": "Zmień kolejność masek",- "Reset": "Resetuj",- "Reset All": "Zresetuj wszystko",- "Reset All Curves": "Zresetuj wszystkie krzywe",- "Reset All Keyboard Shortcuts": "Przywróć wszystkie skróty klawiszowe",- "Reset Before to Import State": "Przywróć stan przed edycją do stanu po imporcie",- "Reset Control": "Zresetuj element sterujący",- "Reset Crop": "Zresetuj kadrowanie",- "Reset Edits": "Zresetuj edycje",- "Reset Panel Layout": "Przywróć układ paneli",- "Reset Parametric Curve": "Zresetuj krzywą parametryczną",- "Reset Section": "Zresetuj sekcję",- "Reset Tone Curve": "Zresetuj krzywą tonalną",- "Reset all curves: point curves (all channels) and parametric (double-click a channel to reset only that one)": "Zresetuj wszystkie krzywe: punktowe (wszystkie kanały) i parametryczną (kliknij dwukrotnie kanał, aby zresetować tylko jego krzywą)",- "Reset all edits (Cmd+Shift+R)": "Zresetuj wszystkie edycje (Cmd+Shift+R)",- "Reshuffle": "Wylosuj ponownie",- "Resize Face Box": "Zmień rozmiar ramki twarzy",- "Resize panel window": "Zmień rozmiar okna panelu",- "Resize panels": "Zmień rozmiary paneli",- "Resize to": "Zmień rozmiar do",- "Resolution (ppi)": "Rozdzielczość (ppi)",- "Restore": "Przywróć",- "Restore (no shortcut)": "Przywróć (bez skrótu)",- "Restore Library from Backup…": "Przywróć bibliotekę z kopii zapasowej…",- "Restore Version": "Przywróć wersję",- "Restore keeps their edits; Import as new deletes the old record first.": "Przywracanie zachowuje edycje; import jako nowe zdjęcie najpierw usuwa stary wpis.",- "Restore them": "Przywróć je",- "Retouch": "Retusz",- "Reverse the order": "Odwróć kolejność",- "Revert": "Cofnij zmiany",- "Review": "Przegląd",- "Review Import": "Sprawdź import",- "Right-click a photo ▸ Set as Reference Photo, then View → Reference View (Shift+R)": "Kliknij zdjęcie prawym przyciskiem ▸ Ustaw jako zdjęcie referencyjne, a potem Widok → Widok referencyjny (Shift+R)",- "Right-click a preset to delete it": "Kliknij ustawienie wstępne prawym przyciskiem, aby je usunąć",- "Rights Usage Terms": "Warunki korzystania z praw",- "Rotate": "Obróć",- "Rotate Crop": "Obróć kadr",- "Rotate Crop Aspect": "Obróć proporcje kadru",- "Rotate Left": "Obróć w lewo",- "Rotate Right": "Obróć w prawo",- "Roughness": "Chropowatość",- "Roundness": "Zaokrąglenie",- "Rules": "Reguły",- "SAM 3 download stopped: it resumes where it left off next time.": "Pobieranie SAM 3 zatrzymano; zostanie wznowione przy następnej próbie.",- "Same as raw default": "Tak jak domyślne ustawienia RAW",- "Sample Mask Color": "Pobierz próbkę koloru maski",- "Sample a colour on the photo": "Wybierz próbkę koloru ze zdjęcia",- "Saturation": "Nasycenie",- "Saturation Range": "Zakres nasycenia",- "Saturday": "Sobota",- "Save": "Zapisz",- "Save As…": "Zapisz jako…",- "Save Color Label Set": "Zapisz zestaw etykiet kolorystycznych",- "Save Current Filter as Preset…": "Zapisz bieżący filtr jako ustawienie wstępne…",- "Save Current Keywords as Set…": "Zapisz bieżące słowa kluczowe jako zestaw…",- "Save Export Preset": "Zapisz ustawienie wstępne eksportu",- "Save Filter Preset": "Zapisz ustawienie wstępne filtra",- "Save Keyword Set": "Zapisz zestaw słów kluczowych",- "Save Metadata Preset": "Zapisz ustawienie wstępne metadanych",- "Save Metadata Preset…": "Zapisz ustawienie wstępne metadanych…",- "Save Metadata to File": "Zapisz metadane do pliku",- "Save Point Curve Preset": "Zapisz ustawienie wstępne krzywej punktowej",- "Save Point Curve…": "Zapisz krzywą punktową…",- "Save as Preset": "Zapisz jako ustawienie wstępne",- "Save as Set…": "Zapisz jako zestaw…",- "Save as Smart Album…": "Zapisz jako album inteligentny…",- "Save as set": "Zapisz jako zestaw",- "Save as…": "Zapisz jako…",- "Save preset": "Zapisz ustawienie wstępne",- "Saving Lightroom import index…": "Zapisywanie indeksu importu Lightroom…",- "Scale": "Skala",- "Scan failed": "Skanowanie nie powiodło się",- "Scanning": "Skanowanie",- "Scores stay on the photos: filter or make smart albums with Focus and Best of Similar Shots.": "Oceny pozostają przypisane do zdjęć: możesz filtrować według ostrości i najlepszych podobnych ujęć lub tworzyć albumy inteligentne.",- "Screen": "Ekran",- "Scroll menu down": "Przewiń menu w dół",- "Scroll menu up": "Przewiń menu w górę",- "Search": "Szukaj",- "Search Photos": "Szukaj zdjęć",- "Search commands or keys": "Szukaj poleceń lub klawiszy",- "Search…": "Szukaj…",- "Seasons": "Pory roku",- "Second Window": "Drugie okno",- "Select": "Zaznacz",- "Select All": "Zaznacz wszystko",- "Select Luminance Range": "Zaznacz zakres luminancji",- "Select Mask": "Wybierz maskę",- "Select Photos": "Wybierz zdjęcia",- "Select Spot": "Wybierz punkt",- "Select a photo to edit": "Wybierz zdjęcie do edycji",- "Select by": "Wybierz według",- "Select by Flag, Rating or Label": "Wybierz według flagi, oceny lub etykiety",- "Select photos, then choose View → Survey (N)": "Wybierz zdjęcia, a następnie Widok → Przegląd (N)",- "Select two photos, then choose View → Compare (Shift+C)": "Wybierz dwa zdjęcia, a następnie Widok → Porównaj (Shift+C)",- "Selected": "Zaznaczone",- "Selecting…": "Wybieranie…",- "Selenium Tone": "Tonowanie selenowe",- "Send Feedback…": "Wyślij opinię…",- "Sepia Tone": "Tonowanie sepią",- "Sequence number zero-padded to N digits (1–9)": "Numer kolejny dopełniony zerami do N cyfr (1–9)",- "Sequence number, counting from the start number": "Numer kolejny liczony od numeru początkowego",- "Services": "Usługi",- "Set": "Zestaw",- "Set Album Cover": "Ustaw okładkę albumu",- "Set Before": "Ustaw stan „Przed”",- "Set Color Label": "Ustaw etykietę kolorystyczną",- "Set Crop": "Ustaw kadr",- "Set Develop Values": "Ustaw wartości wywoływania",- "Set Flag": "Ustaw flagę",- "Set Image Zoom and Pan": "Ustaw powiększenie i przesunięcie obrazu",- "Set Keyboard Shortcut": "Ustaw skrót klawiszowy",- "Set Mask Adjustments": "Ustaw korekty maski",- "Set Point Curve": "Ustaw krzywą punktową",- "Set Profile": "Ustaw profil",- "Set Rating": "Ustaw ocenę",- "Set Top of Stack": "Przenieś na wierzch stosu",- "Set as Album Cover": "Ustaw jako okładkę albumu",- "Set as Before": "Ustaw jako stan „Przed”",- "Set as Reference Photo": "Ustaw jako zdjęcie referencyjne",- "Set as Target Album": "Ustaw jako album docelowy",- "Set as Target Album (B adds to it)": "Ustaw jako album docelowy (B dodaje do niego zdjęcia)",- "Set as Top of Stack": "Przenieś na wierzch stosu",- "Set date & time": "Ustaw datę i godzinę",- "Set name": "Ustaw nazwę",- "Set the mix from the photo's colours": "Ustal proporcje na podstawie kolorów zdjęcia",- "Settings": "Ustawienia",- "Settings file problem": "Problem z plikiem ustawień",- "Settings new raw photos start from. Changing them doesn't touch photos already in the library.": "Ustawienia początkowe nowych zdjęć RAW. Zmiana nie wpływa na zdjęcia już znajdujące się w bibliotece.",- "Settings pasted": "Wklejono ustawienia",- "Settings to include": "Ustawienia do uwzględnienia",- "Settings…": "Ustawienia…",- "Shade": "Cień",- "Shadow": "Cień",- "Shadows": "Cienie",- "Shadows Hue": "Odcień cieni",- "Shadows Luminance": "Luminancja cieni",- "Shadows Saturation": "Nasycenie cieni",- "Shadows Tint": "Zabarwienie cieni",- "Shadows split": "Podział cieni",- "Sharpen": "Wyostrz",- "Sharpening": "Wyostrzanie",- "Sharpness": "Wyostrzenie",- "Shift": "Przesunięcie",- "Shift by": "Przesuń o",- "Short Edge": "Krótsza krawędź",- "Show": "Pokaż",- "Show All": "Pokaż wszystko",- "Show Clipping": "Pokaż prześwietlenia i niedoświetlenia",- "Show Deghost Overlay": "Pokaż nakładkę usuwania duchów",- "Show Hidden Local Locations": "Pokaż ukryte lokalizacje lokalne",- "Show Luminance Map": "Pokaż mapę luminancji",- "Show Mask": "Pokaż maskę",- "Show Mask Overlay": "Pokaż nakładkę maski",- "Show Mask Pins": "Pokaż znaczniki masek",- "Show Original": "Pokaż oryginał",- "Show Photo Counts": "Pokaż liczbę zdjęć",- "Show Photos with Keyword": "Pokaż zdjęcia ze słowem kluczowym",- "Show Pins": "Pokaż znaczniki",- "Show Source": "Pokaż źródło",- "Show Thumbnails": "Pokaż miniatury",- "Show commands without a shortcut": "Pokaż polecenia bez skrótu",- "Show destination gamut warning": "Pokaż ostrzeżenie o gamucie docelowym",- "Show display gamut warning": "Pokaż ostrzeżenie o gamucie wyświetlacza",- "Show file names": "Pokaż nazwy plików",- "Show in Explorer": "Pokaż w Eksploratorze",- "Show in File Manager": "Pokaż w menedżerze plików",- "Show in Finder": "Pokaż w Finderze",- "Show on Map": "Pokaż na mapie",- "Show overlay (O)": "Pokaż nakładkę (O)",- "Show ratings, flags and edit badges": "Pokaż oceny, flagi i znaczniki edycji",- "Show the Navigator while zoomed in": "Pokaż Nawigator podczas powiększenia",- "Show the template tags; click one to insert it": "Pokaż znaczniki szablonu; kliknij znacznik, aby go wstawić",- "Show/Hide Mask": "Pokaż/ukryj maskę",- "Show/hide My Photos panel": "Pokaż/ukryj panel Moje zdjęcia",- "Shutter speed": "Czas naświetlania",- "Side panels": "Panele boczne",- "Sidecar names": "Nazwy plików pomocniczych",- "Size": "Rozmiar",- "Size (% of short edge)": "Rozmiar (% krótszej krawędzi)",- "Size limit": "Limit rozmiaru",- "Skip": "Pomiń",- "Sky": "Niebo",- "Slideshow": "Pokaz slajdów",- "Slideshow paused": "Pokaz slajdów wstrzymany",- "Slideshow resumed": "Pokaz slajdów wznowiony",- "Slideshow · Space pauses · Esc ends": "Pokaz slajdów · Spacja: pauza · Esc: koniec",- "Slideshow, second window, All Metadata, System Info.": "Pokaz slajdów, drugie okno, wszystkie metadane, informacje o systemie.",- "Smart Album": "Inteligentny album",- "Smart Album Rule Fields": "Pola reguł albumu inteligentnego",- "Smart Preview Status": "Stan podglądu inteligentnego",- "Smart Previews Location": "Lokalizacja podglądów inteligentnych",- "Smart albums with a rule editor: match all / any / none, nested groups, 26 fields.": "Albumy inteligentne z edytorem reguł: dopasuj wszystkie / dowolne / żadne, grupy zagnieżdżone, 26 pól.",- "Smart preview available": "Dostępny podgląd inteligentny",- "Smart previews": "Podglądy inteligentne",- "Smart previews folder changed": "Zmieniono folder podglądów inteligentnych",- "Smoothness": "Wygładzenie",- "Soft B&W": "Delikatna czerń i biel",- "Soft Pastel": "Delikatne pastele",- "Soft Proofing": "Próba koloru",- "Soft Skin": "Wygładzanie skóry",- "Sort": "Sortuj",- "Sort by": "Sortuj według",- "Source": "Źródło",- "Source code on GitHub": "Kod źródłowy na GitHubie",- "Spherical": "Sferyczny",- "Spiral": "Spirala",- "Split Stack": "Rozdziel stos",- "Spring Fresh": "Wiosenna świeżość",- "Square Grid": "Siatka kwadratowa",- "Square Grid (G toggles)": "Siatka kwadratowa (G przełącza)",- "Square Grid: show file names and formats": "Siatka kwadratowa: pokaż nazwy i formaty plików",- "Stack": "Stos",- "Stack photos taken within this time of each other:": "Umieszczaj na jednym stosie zdjęcia wykonane w odstępie nie większym niż:",- "Stacks": "Stosy",- "Standard": "Standardowy",- "Star rating (0–5)": "Ocena gwiazdkowa (0–5)",- "Start at": "Zacznij od",- "Start number": "Numer początkowy",- "Starting": "Uruchamianie",- "Startup": "Uruchamianie programu",- "State / Province": "Stan / województwo",- "Stop": "Zatrzymaj",- "Stop Building Previews": "Zatrzymaj tworzenie podglądów",- "Stop Using as Target Album": "Przestań używać jako albumu docelowego",- "Stopping…": "Zatrzymywanie…",- "Straighten": "Wyprostuj",- "Straighten Tool": "Narzędzie prostowania",- "Strong Contrast": "Silny kontrast",- "Style": "Styl",- "Subfolder": "Podfolder",- "Subfolder name": "Nazwa podfolderu",- "Subject": "Obiekt",- "Subtract": "Odejmij",- "Subtract from this mask": "Odejmij od tej maski",- "Suggestions": "Sugestie",- "Summer Haze": "Letnia mgiełka",- "Sunday": "Niedziela",- "Survey": "Przegląd",- "Survey (N)": "Przegląd (N)",- "Swap": "Zamień",- "Swap Aspect (X)": "Zamień proporcje (X)",- "Swap Before and After": "Zamień „Przed” i „Po”",- "Swap Before and After Settings": "Zamień ustawienia „Przed” i „Po”",- "Swap Compare Photos": "Zamień porównywane zdjęcia",- "Switch light / dark theme": "Przełącz jasny/ciemny motyw",- "Sync Settings": "Synchronizuj ustawienia",- "System": "System",- "System Info": "Informacje o systemie",- "System Info…": "Informacje o systemie…",- "System default": "Domyślne ustawienie systemowe",- "Table": "Tabela",- "Tags": "Tagi",- "Take a snapshot": "Utwórz migawkę",- "Targeted Adjustment": "Korekta punktowa",- "Targeted adjustment: drag up/down on the photo to adjust the colours there": "Korekta punktowa: przeciągnij w górę lub w dół na zdjęciu, aby dostosować znajdujące się tam kolory",- "Targeted adjustment: drag up/down on the photo to adjust the curve there": "Korekta punktowa: przeciągnij w górę lub w dół na zdjęciu, aby dostosować znajdującą się tam krzywą",- "Teal & Amber": "Turkus i bursztyn",- "Teal & Orange": "Turkus i pomarańcz",- "Temp": "Temperatura",- "Temperature": "Temperatura",- "Template": "Szablon",- "Temporary session — your library isn't open, and nothing you do here is saved.": "Sesja tymczasowa — biblioteka nie jest otwarta, a żadne zmiany nie zostaną zapisane.",- "Text": "Tekst",- "Text direction": "Kierunek tekstu",- "Texture": "Tekstura",- "That includes the photos in the folders inside it.": "Dotyczy to również zdjęć w znajdujących się wewnątrz folderach.",- "That key can't be used as a shortcut": "Tego klawisza nie można użyć jako skrótu",- "The SAM 3 model is installed: Object and Describe masks are ready.": "Model SAM 3 jest zainstalowany: maski Obiekt i Opis są gotowe.",- "The download didn't work:": "Pobieranie nie powiodło się:",- "The number at the end of the original name (IMG_0042 → 0042)": "Liczba na końcu oryginalnej nazwy (IMG_0042 → 0042)",- "The original extension is always added; {ext} only puts it inside the name as well.": "Oryginalne rozszerzenie jest zawsze dodawane; {ext} umieszcza je również wewnątrz nazwy.",- "The original files, unchanged, each with an XMP sidecar holding its edits.": "Oryginalne, niezmienione pliki, każdy z plikiem pomocniczym XMP zawierającym zapisane edycje.",- "The photo has these settings": "Zdjęcie ma następujące ustawienia",- "Theme": "Motyw",- "They can be restored from Recently Deleted until it is emptied.": "Można je przywrócić z Ostatnio usuniętych, dopóki ten folder nie zostanie opróżniony.",- "They move to Recently Deleted and can be restored; no file on disk is touched.": "Trafią do Ostatnio usuniętych i będzie można je przywrócić; żadne pliki na dysku nie zostaną zmienione.",- "Thirds": "Trójpodział",- "This Computer": "Ten komputer",- "This folder is not available (drive disconnected?). Smart previews are not built or used until it is back or you choose another folder.": "Ten folder jest niedostępny (odłączony dysk?). Podglądy inteligentne nie będą tworzone ani używane, dopóki folder nie wróci lub nie wybierzesz innego.",- "This photo can't be opened": "Nie można otworzyć tego zdjęcia",- "Threshold": "Próg",- "Thumbnail cache": "Pamięć podręczna miniatur",- "Thursday": "Czwartek",- "Time zone": "Strefa czasowa",- "Tint": "Zabarwienie",- "Title": "Tytuł",- "Title metadata": "Metadane tytułu",- "Toggle Keyword from Set": "Przełącz słowo kluczowe z zestawu",- "Toggle Mask": "Przełącz maskę",- "Toggle Section": "Przełącz sekcję",- "Toggle Zoom": "Przełącz powiększenie",- "Tone Curve": "Krzywa tonalna",- "Tools": "Narzędzia",- "Top Level": "Poziom główny",- "Transfer": "Przenieś",- "Treatment": "Sposób obróbki",- "Triangle": "Trójkąt",- "Try Again": "Spróbuj ponownie",- "Try Saving Again": "Spróbuj ponownie zapisać",- "Tuesday": "Wtorek",- "Tungsten": "Światło żarowe",- "Turn Off": "Wyłącz",- "Turn on Include subfolders, or pick another folder under Local": "Włącz „Uwzględnij podfoldery” lub wybierz inny folder w obszarze Lokalne",- "Type": "Typ",- "Uncheck All": "Odznacz wszystko",- "Uncheck the files of this type": "Odznacz pliki tego typu",- "Undo": "Cofnij",- "Unedited": "Bez edycji",- "Unedited raws": "Nieedytowane pliki RAW",- "Unflag": "Usuń flagę",- "Unflagged": "Bez flagi",- "Ungroup Stack": "Rozgrupuj stos",- "Unknown Date": "Nieznana data",- "Unknown tags stay as typed — check the preview for a {typo}.": "Nieznane znaczniki pozostają bez zmian — sprawdź podgląd pod kątem {typo}.",- "Unrated": "Bez oceny",- "Unreadable": "Nieczytelny",- "Update": "Aktualizuj",- "Update Mask Shape": "Zaktualizuj kształt maski",- "Update Preset with Current Settings": "Zaktualizuj ustawienie wstępne bieżącymi ustawieniami",- "Update Rules from Current Filter": "Zaktualizuj reguły według bieżącego filtra",- "Update Version": "Zaktualizuj wersję",- "Update Version with Current Settings": "Zaktualizuj wersję bieżącymi ustawieniami",- "Update with Current Settings": "Zaktualizuj bieżącymi ustawieniami",- "Updated the edits saved in the external editor": "Zaktualizowano edycje zapisane w edytorze zewnętrznym",- "Upright": "Korekcja perspektywy",- "Urban": "Miejski",- "Use Keyword Set": "Użyj zestawu słów kluczowych",- "Use Library Folder": "Użyj folderu biblioteki",- "Use camera-specific defaults": "Użyj domyślnych ustawień aparatu",- "Use the GPU for rendering": "Użyj procesora graficznego do renderowania",- "User Presets": "Ustawienia wstępne użytkownika",- "Username": "Nazwa użytkownika",- "Value": "Wartość",- "Variance": "Wariancja",- "Version": "Wersja",- "Version name": "Nazwa wersji",- "Versions": "Wersje",- "Versions (Shift+V)": "Wersje (Shift+V)",- "Vertical": "Pionowo",- "Vertical text": "Tekst pionowy",- "Vibrance": "Dynamika",- "Videos": "Wideo",- "View": "Widok",- "Viewing and sharing": "Wyświetlanie i udostępnianie",- "Vignette": "Winieta",- "Vignetting": "Winietowanie",- "Vintage": "Styl retro",- "Virtual Copy": "Kopia wirtualna",- "Visible": "Widoczne",- "Visualize Spots": "Wizualizuj plamki",- "Visualize Spots (A)": "Wizualizuj plamki (A)",- "Visualize range": "Pokaż zakres",- "Vivid": "Żywe kolory",- "Vivid Pop": "Wyraziste kolory",- "Warm Film": "Ciepły film",- "Warm Glow": "Ciepła poświata",- "Warm Print": "Ciepły wydruk",- "Warm Table": "Ciepła paleta",- "Watched folder": "Folder obserwowany",- "Watermark": "Znak wodny",- "Wednesday": "Środa",- "What's New": "Co nowego",- "When rated or hovered": "Po ocenieniu lub wskazaniu kursorem",- "White Balance": "Balans bieli",- "White Balance Selector": "Próbnik balansu bieli",- "White Balance Selector (W)": "Próbnik balansu bieli (W)",- "Whites": "Biele",- "Width": "Szerokość",- "Width (% of photo)": "Szerokość (% zdjęcia)",- "Width (px)": "Szerokość (px)",- "Width × Height": "Szerokość × wysokość",- "Will be replaced": "Zostanie zastąpiony",- "Will be restored": "Zostanie przywrócony",- "Window": "Okno",- "Winter Blue": "Zimowy błękit",- "XMP Sidecar Preferences": "Preferencje plików pomocniczych XMP",- "XMP sidecars": "Pliki pomocnicze XMP",- "Year": "Rok",- "Yellow": "Żółty",- "Yellow Hue": "Odcień żółci",- "Yellow Luminance": "Luminancja żółci",- "Yellow Saturation": "Nasycenie żółci",- "Yellow label": "Żółta etykieta",- "Yes": "Tak",- "You can close this: the download continues, and resumes if interrupted.": "Możesz zamknąć to okno: pobieranie będzie kontynuowane i wznowi się po przerwaniu.",- "Your Name": "Twoje imię i nazwisko",- "Your library couldn't be opened": "Nie można otworzyć biblioteki",- "Zoom": "Powiększenie",- "Zoom 100%": "Powiększenie 100%",- "Zoom In": "Powiększ",- "Zoom Out": "Pomniejsz",- "Zoom to Fit": "Dopasuj powiększenie",- "Zoom to page level": "Dopasuj powiększenie do strony",- "a literal %": "Dosłowny znak %",- "a removed photo": "Usunięte zdjęcie",- "all": "wszystkie",- "and": "i",- "any": "dowolne",- "are empty": "Są puste",- "aren't empty": "Nie są puste",- "blue": "Niebieski",- "comma, separated": "Rozdzielone przecinkami",- "contains": "Zawiera",- "copyrighted": "Chronione prawem autorskim",- "day 01–31": "Dzień 01–31",- "days": "dni",- "discarding smart previews": "Odrzucanie podglądów inteligentnych",- "doesn't contain": "Nie zawiera",- "e.g. sky · the red car · car, road": "np. niebo · czerwony samochód · samochód, droga",- "ends with": "Kończy się na",- "false": "fałsz",- "green": "zielony",- "hour 00–23": "Godzina 00–23",- "hours": "godziny",- "image": "Obraz",- "includes the folders inside it": "Uwzględnia foldery wewnątrz",- "is": "jest",- "is <": "Jest <",- "is >": "Jest >",- "is after": "Jest po",- "is before": "Jest przed",- "is between": "Jest pomiędzy",- "is empty": "jest puste",- "is in the last": "Jest w ciągu ostatnich",- "is unknown": "Jest nieznany",- "is ≤": "Jest ≤",- "is ≥": "Jest ≥",- "isn't": "Nie jest",- "isn't empty": "nie jest puste",- "isn't in the last": "Nie występuje w ciągu ostatnich",- "keep names — or e.g. {date}_{seq:3}": "Zachowaj nazwy — lub np. {date}_{seq:3}",- "latitude, longitude": "Szerokość i długość geograficzna",- "library locked: the lock is the operating system's and goes away with the program.": "Biblioteka zablokowana: blokadę nakłada system operacyjny i znika ona po zamknięciu programu.",- "memory only": "Tylko w pamięci",- "minute": "minuta",- "month 01–12": "Miesiąc 01–12",- "months": "miesiące",- "none": "brak",- "none (CPU rendering)": "Brak (renderowanie przez CPU)",- "none of": "Żaden z",- "not available here": "Niedostępne tutaj",- "of the following rules:": "Następujących reguł:",- "or": "lub",- "pick": "Wybierz",- "previews": "Podglądy",- "publicDomain": "Domena publiczna",- "purple": "Fioletowy",- "raw": "RAW",- "red": "czerwony",- "saved in": "Zapisano w",- "second": "Sekunda",- "smart previews": "Podglądy inteligentne",- "the photos in view": "Zdjęcia w widoku",- "the selected photos": "Zaznaczone zdjęcia",- "this photo": "To zdjęcie",- "true": "prawda",- "unknown": "nieznany",- "volumes (Linux, case-sensitive APFS) `img_1.JPG` next to `IMG_1.JPG` is a different photo and the renamed one gets": "Zdjęcie",- "weeks": "tygodnie",- "year, 2 digits": "Rok, 2 cyfry",- "year, 4 digits": "Rok, 4 cyfry",- "years": "lata",- "yellow": "żółty",- "{date} is the capture time; a photo without one uses the time it was imported.": "{date} oznacza datę wykonania; gdy jej brak, używana jest data importu.",- "© 2026 Your Name": "© 2026 Twoje imię i nazwisko",- "© Your Name": "© Twoje imię i nazwisko",- "− harder border · + softer border": "− ostrzejsza krawędź · + bardziej miękka krawędź",- "≤ at most": "≤ co najwyżej",- "≥ at least": "≥ co najmniej",- "⌘-drag to straighten, ⇧G Guided Upright, a grid while transforming.": "⌘ i przeciągnij, aby wyprostować, ⇧G: korekcja perspektywy z liniami pomocniczymi; podczas przekształcania wyświetlana jest siatka.",- "Any camera": "Dowolny aparat",- "Any lens": "Dowolny obiektyw",- "Any keyword": "Dowolne słowo kluczowe",- "Label Set": "Zestaw etykiet",- ", picked": ", wybrano",- ", rejected": ", odrzucono",- "Preview only: editing the camera's embedded JPEG": "Tylko podgląd: edycja JPEG-a osadzonego przez aparat",- "Captured from": "Wykonane od",- "Captured until": "Wykonane do",- "Only": "Tylko",- "How to install the model": "Jak zainstalować model",- "Install the SAM 3 Model": "Zainstaluj model SAM 3",- "Open Log Folder": "Otwórz folder dzienników",- "Back to this person": "Wróć do tej osoby",- "AI Denoise": "Odszumianie AI",- "AI Denoise Model": "Model odszumiania AI",- "AI Denoise is off: press Use on a model.": "Odszumianie AI jest wyłączone: kliknij „Użyj” przy modelu.",- "AI Denoise needs a model. Install one in Settings.": "Odszumianie AI wymaga modelu. Zainstaluj go w Ustawieniach.",- "Accept & Download": "Akceptuj i pobierz",- "Already installed. Remove it before installing a replacement.": "Już zainstalowano. Usuń obecny model przed zainstalowaniem nowego.",- "Automatic uses the graphics card where it is faster than the processor: both are timed on this computer the first time a photo is made.": "Tryb automatyczny używa karty graficznej, jeśli jest szybsza od procesora. Przy pierwszym przetwarzaniu zdjęcia LightCraft mierzy wydajność obu urządzeń.",- "Cache": "Pamięć podręczna",- "Checking and installing the model…": "Sprawdzanie i instalowanie modelu…",- "Checking…": "Sprawdzanie…",- "Clear cache": "Wyczyść pamięć podręczną",- "Denoise Models": "Modele odszumiania",- "Denoise Settings": "Ustawienia odszumiania",- "Denoise all photos with an Amount": "Odszum wszystkie zdjęcia z ustawioną intensywnością",- "Downloaded and checked. Installing…": "Pobrano i sprawdzono. Instalowanie…",- "Failed its last test": "Nie przeszedł ostatniego testu",- "Graphics card": "Karta graficzna",- "I have read these terms and accept them for my own use": "Przeczytałem warunki i akceptuję je na własny użytek",- "Inspect Denoise Model": "Sprawdź model odszumiania",- "Install Denoise Model": "Zainstaluj model odszumiania",- "Install from file…": "Zainstaluj z pliku…",- "Install your own ONNX model with denoise-model.json beside it. This build offers no model downloads.": "Zainstaluj własny model ONNX z plikiem denoise-model.json w tym samym katalogu. W tej kompilacji nie można pobierać modeli.",- "Its denoised picture is not made yet, and pictures are not made on their own (Settings, AI Denoise).": "Nie utworzono jeszcze odszumionego obrazu, a obrazy nie są przetwarzane automatycznie (Ustawienia, Odszumianie AI).",- "LightCraft does not know this model, so it assumed:": "LightCraft nie rozpoznaje tego modelu, dlatego przyjęto następujące założenia:",- "Limit": "Limit",- "Make it now": "Utwórz teraz",- "Make the denoised picture of the photos I am looking at": "Utwórz odszumione wersje oglądanych zdjęć",- "Next up for AI Denoise…": "Następne w kolejce do odszumiania AI…",- "Nothing is fetched until you accept. The model is kept on this computer only; LightCraft never uploads or shares it.": "Nic nie zostanie pobrane bez Twojej zgody. Model jest przechowywany tylko na tym komputerze; LightCraft go nie przesyła ani nie udostępnia.",- "Only photos whose AI Denoise amount is above 0 are made. Exports always make theirs if it is missing.": "Przetwarzane są tylko zdjęcia z intensywnością odszumiania AI większą od zera. Podczas eksportu brakujące wersje są zawsze tworzone.",- "Open page": "Otwórz stronę",- "Open the model's page": "Otwórz stronę modelu",- "Opens the model's own page in your browser, to read about it or get the file yourself.": "Otwiera stronę modelu w przeglądarce, gdzie można przeczytać o nim lub samodzielnie pobrać plik.",- "Processor": "Procesor",- "Set up AI Denoise…": "Skonfiguruj odszumianie AI…",- "Speed": "Szybkość",- "Starting…": "Uruchamianie…",- "Tested and works on this computer": "Przetestowano — działa na tym komputerze",- "The denoise model is installed and in use: the AI Denoise Amount slider under Detail now works": "Model odszumiania jest zainstalowany i używany: suwak intensywności odszumiania AI w panelu Szczegóły jest teraz aktywny",- "The graphics card is set up when the next photo is made.": "Karta graficzna zostanie skonfigurowana podczas przetwarzania następnego zdjęcia.",- "The model is kept on this computer only. LightCraft never uploads or shares it.": "Model jest przechowywany wyłącznie na tym komputerze. LightCraft nigdy go nie przesyła ani nie udostępnia.",- "The processor does the work.": "Przetwarzanie wykonuje procesor.",- "There is no model file to install": "Brak pliku modelu do zainstalowania",- "This build cannot run denoise models.": "Ta kompilacja nie obsługuje modeli odszumiania.",- "This build has nowhere to keep denoise models, so AI Denoise is not available. (The desktop app has.)": "Ta kompilacja nie ma miejsca na przechowywanie modeli odszumiania, więc odszumianie AI jest niedostępne (dostępne w aplikacji komputerowej).",- "This file cannot be used yet": "Nie można jeszcze użyć tego pliku",- "Tick the box to accept the model's terms first": "Najpierw zaznacz pole akceptacji warunków modelu",- "Try again": "Spróbuj ponownie",- "Try the graphics card again": "Spróbuj ponownie użyć karty graficznej",- "Turn off": "Wyłącz",- "Unknown licence": "Nieznana licencja",- "Use": "Użyj",- "Waiting to start…": "Oczekiwanie na uruchomienie…",- "Works on raw files from cameras with a standard (Bayer) sensor. Other files keep their normal noise reduction.": "Działa na plikach RAW z aparatów z typową matrycą Bayera. Pozostałe pliki zachowują zwykłe odszumianie.",- "cached picture": "obraz w pamięci podręcznej",- "cached pictures": "obrazy w pamięci podręcznej",- "commercial use allowed": "dozwolony użytek komercyjny",- "in use": "w użyciu",- "installed": "zainstalowano",- "makes AI Denoise available": "włącza odszumianie AI",- "non-commercial use only": "wyłącznie do użytku niekomercyjnego",- "photo has its denoised picture.": "zdjęcie ma już odszumioną wersję.",- "photo waiting": "zdjęcie oczekuje",- "photos have their denoised picture.": "zdjęcia mają już odszumione wersje.",- "photos waiting": "zdjęć oczekuje",- "starts using it for AI Denoise": "rozpoczyna używanie modelu do odszumiania AI",- "terms unclear": "niejasne warunki",- "the graphics card": "karta graficzna",- "the graphics card is not used": "karta graficzna nie jest używana",- "Cancel Denoise": "Anuluj odszumianie",- "Cancel Denoise Model Download": "Anuluj pobieranie modelu odszumiania",- "Choose Denoise Model": "Wybierz model odszumiania",- "Clear Denoise Cache": "Wyczyść pamięć podręczną odszumiania",- "Denoise Model Downloads": "Pobieranie modeli odszumiania",- "Denoise Photos": "Odszum zdjęcia",- "Denoise Pump": "Kolejka odszumiania",- "Denoise Status": "Stan odszumiania",- "Download Denoise Model": "Pobierz model odszumiania",- "Remove Denoise Model": "Usuń model odszumiania",- "Test Denoise Model": "Przetestuj model odszumiania",- "AI Denoise is enabled on the requesting photo": "Odszumianie AI włączono dla wybranego zdjęcia",- "After installation, AI Denoise will turn on for the requesting photo.": "Po instalacji odszumianie AI zostanie włączone dla wybranego zdjęcia.",- "Cancel pending action": "Anuluj oczekującą operację",- "Install a denoise model to enable AI Denoise on this photo": "Zainstaluj model odszumiania, aby włączyć odszumianie AI dla tego zdjęcia",- "Pending photo action cancelled": "Anulowano oczekującą operację",- "Pending photo action cancelled because its library or photo changed": "Anulowano oczekującą operację, ponieważ zmieniła się biblioteka lub zdjęcie",- "ONNX model": "Model ONNX",- "commercial use subject to GPL conditions": "użytek komercyjny na warunkach licencji GPL",- "Decrease Rating": "Zmniejsz ocenę",- "Increase Rating": "Zwiększ ocenę",- "Click to type a value": "Kliknij, aby wpisać wartość",- "Angle": "Kąt",- "Video": "Wideo",- "Copyrighted": "Chronione prawem autorskim",- "Public Domain": "Domena publiczna",- "Unknown": "Nieznany",- "Landscape (wide)": "Poziomo (szeroko)",- "Portrait (tall)": "Pionowo (wysoko)",- "Square": "Kwadrat",- "In Color": "Kolorowe",- "No Label": "Bez etykiety",- "Choose an album…": "Wybierz album…",- "No albums yet": "Brak albumów",- "Fix the marked rules to save this album.": "Popraw oznaczone reguły, aby zapisać album.",- "Some rules need fixing (Edit Smart Album…):": "Niektóre reguły wymagają poprawienia (Edytuj album inteligentny…):",- "isn't a field rules know": "nie jest obsługiwanym polem reguły",- "can't be tested that way": "nie można sprawdzić w ten sposób",- "is yes or no": "wymaga odpowiedzi tak lub nie",- "needs a number": "wymaga liczby",- "needs a time like 1/250 or 2": "wymaga czasu, np. 1/250 lub 2",- "needs a date like 2026, 2026-08 or 2026-08-14": "wymaga daty, np. 2026, 2026-08 lub 2026-08-14",- "has the first date after the second": "pierwsza data jest późniejsza od drugiej",- "needs two values": "wymaga dwóch wartości",- "needs a number more than 0": "wymaga liczby większej od zera",- "needs hours, days, weeks, months or years": "wymaga godzin, dni, tygodni, miesięcy lub lat",- "isn't one of the choices": "nie jest jedną z dostępnych opcji",- "needs something to look for (or use “is empty”)": "wymaga tekstu do wyszukania (lub opcji „jest puste”)",- "needs something to look for (or use “isn't empty”)": "wymaga tekstu do wyszukania (lub opcji „nie jest puste”)",- "needs text": "wymaga tekstu",- "can't match any rating from 0 to 5": "nie może odpowiadać żadnej ocenie od 0 do 5",- "needs an album": "wymaga albumu",- "names an album that no longer exists": "wskazuje album, który już nie istnieje",- "can't test a folder; choose an album in it": "nie można sprawdzić folderu; wybierz album, który się w nim znajduje",- "This group is empty: add a rule or remove it.": "Ta grupa jest pusta: dodaj regułę albo usuń grupę.",- "needs something to look for (or use “are empty”)": "wymaga tekstu do wyszukania (lub opcji „są puste”)",- "needs something to look for (or use “aren't empty”)": "wymaga tekstu do wyszukania (lub opcji „nie są puste”)",- "Mo": "Pn",- "Tu": "Wt",- "We": "Śr",- "Th": "Cz",- "Fr": "Pt",- "Sa": "So",- "Su": "Nd",- "Pick a date": "Wybierz datę",- "would make this album include itself through other smart albums": "spowodowałoby włączenie tego albumu do niego samego przez inne albumy inteligentne",- "Search albums": "Wyszukaj albumy",- "No albums match": "Brak pasujących albumów",- "This is the album you're editing": "To album, który edytujesz",- "It tests this album, so testing it back would loop": "Sprawdza ten album, więc odwrotne sprawdzenie utworzyłoby pętlę",- "Copy Name": "Kopiuj nazwę",- "In a Stack": "W stosie",- "File Extension": "Rozszerzenie pliku",- "Video Duration": "Czas trwania filmu",- "Keyword Count": "Liczba słów kluczowych",- "People Count": "Liczba osób",- "Shutter Speed": "Czas migawki",- "Cropped": "Przycięte",- "Keywords & People": "Słowa kluczowe i osoby",- "Description": "Opis",- "Camera Info": "Informacje o aparacie",- "Develop": "Wywoływanie",- "Keyword List": "Lista słów kluczowych",- "Filter Keywords": "Filtruj słowa kluczowe",- "No keywords yet": "Brak słów kluczowych",- "No keywords match": "Brak pasujących słów kluczowych",- "Keyword Name": "Nazwa słowa kluczowego",- "Synonyms": "Synonimy",- "Separated by commas": "Oddzielone przecinkami",- "Keyword Tag Options": "Opcje etykiety słowa kluczowego",- "Include on Export": "Uwzględnij przy eksporcie",- "Export Containing Keywords": "Eksportuj nadrzędne słowa kluczowe",- "Export Synonyms": "Eksportuj synonimy",- "Create Keyword Tag": "Utwórz słowo kluczowe",- "Edit Keyword Tag": "Edytuj słowo kluczowe",- "Create": "Utwórz",- "No photo has it; the keywords below it go too.": "Żadne zdjęcie go nie używa; podrzędne słowa kluczowe również zostaną usunięte.",- "Edit Keyword Tag…": "Edytuj słowo kluczowe…",- "Put New Keywords Inside This Keyword": "Umieszczaj nowe słowa kluczowe wewnątrz tego",- "Purge Unused Keywords": "Usuń nieużywane słowa kluczowe",- "Delete Keyword…": "Usuń słowo kluczowe…",- "Drop here for the top level": "Upuść tutaj, aby umieścić na najwyższym poziomie",- "Their photos and the keywords below them come together under one keyword.": "Zdjęcia i podrzędne słowa kluczowe zostaną zebrane pod jednym słowem kluczowym.",- "Select photos to give them keywords.": "Wybierz zdjęcia, którym chcesz przypisać słowa kluczowe.",- "Add to All Selected Photos": "Dodaj do wszystkich wybranych zdjęć",- "Will Export": "Zostanie wyeksportowane",- "No keywords are exported": "Nie zostaną wyeksportowane żadne słowa kluczowe",- "& Containing": "i nadrzędne",- "Edit Set…": "Edytuj zestaw…",- "Edit Keyword Set": "Edytuj zestaw słów kluczowych",- "Keywords (⌥1–⌥9)": "Słowa kluczowe (⌥1–⌥9)",- "A keyword set needs a name": "Zestaw słów kluczowych musi mieć nazwę",- "Save as a new set": "Zapisz jako nowy zestaw",- "Recent Keywords is built in: choose another name": "Ostatnie słowa kluczowe to zestaw wbudowany: wybierz inną nazwę",- "Import Keywords…": "Importuj słowa kluczowe…",- "Export Keywords…": "Eksportuj słowa kluczowe…",- "Import Keywords": "Importuj słowa kluczowe",- "Export Keywords": "Eksportuj słowa kluczowe",- "Keyword Lists": "Listy słów kluczowych",- "Synchronize Folder…": "Synchronizuj folder…",- "Synchronize Folder": "Synchronizuj folder",- "Synchronize": "Synchronizuj",- "Scanning…": "Skanowanie…",- "Find photos added to or missing from this folder on disk, and XMP sidecars changed by other apps": "Znajdź zdjęcia dodane do folderu lub brakujące na dysku oraz pliki XMP zmienione przez inne aplikacje",- "Bring the library up to date with this folder and the folders inside it:": "Zaktualizuj bibliotekę na podstawie tego folderu i wszystkich jego podfolderów:",- "Import new photos": "Importuj nowe zdjęcia",- "Remove missing photos from the library": "Usuń brakujące zdjęcia z biblioteki",- "Read metadata updates from XMP sidecars": "Odczytaj aktualizacje metadanych z plików XMP",- "The library is up to date with this folder.": "Biblioteka jest aktualna względem tego folderu.",- "Missing photos move to Recently Deleted and can be restored; no file on disk is touched.": "Brakujące zdjęcia trafiają do Ostatnio usuniętych i można je przywrócić; pliki na dysku pozostają bez zmian.",- "Reading a sidecar replaces the photo's rating, labels, metadata and edits with what it says.": "Odczyt pliku XMP zastępuje ocenę, etykiety, metadane i edycje zdjęcia jego zawartością.",- "Skipped: files already in the library elsewhere": "Pominięto: pliki znajdujące się już w bibliotece w innym miejscu",- "Skipped: files that can't be read": "Pominięto: pliki, których nie można odczytać",- "This folder isn't there: it was moved or renamed, or its disk isn't connected.": "Ten folder nie istnieje: przeniesiono go, zmieniono nazwę albo odłączono dysk.",- "Relink photos whose file was renamed or moved": "Połącz ponownie zdjęcia, których pliki przeniesiono lub przemianowano",- "A folder is already being synchronized": "Trwa już synchronizacja folderu",- "Synchronizing…": "Synchronizowanie…",- "Relinked": "Połączono ponownie",- "Removed": "Usunięto",- "Metadata read": "Odczytano metadane",- "Failed": "Niepowodzenie",- "Stopped": "Zatrzymano",- "Stopped by an error (see the log)": "Zatrzymano z powodu błędu (zobacz dziennik)",- "Not saved": "Nie zapisano",- "A folder is being synchronized": "Trwa synchronizacja folderu",- "Wait for the import to finish": "Poczekaj na zakończenie importu",- "Show less": "Pokaż mniej",- "Quit while tasks are running?": "Zakończyć, gdy trwają zadania?",- "Exporting contact sheet": "Eksportowanie arkusza stykowego",- "Reading folder": "Odczytywanie folderu",- "Scanning folder": "Skanowanie folderu",- "Building previews": "Tworzenie podglądów",- "Building smart previews": "Tworzenie podglądów inteligentnych",- "Discarding smart previews": "Odrzucanie podglądów inteligentnych",- "Importing Lightroom catalog": "Importowanie katalogu Lightroom",- "Reading Lightroom catalog": "Odczytywanie katalogu Lightroom",- "Merging": "Scalanie",- "Downloading model": "Pobieranie modelu",- "Finding faces": "Wyszukiwanie twarzy",- "Synchronizing folder": "Synchronizowanie folderu",- "Looking for changes": "Wyszukiwanie zmian",- "\"saved in memory but not written to disk\", the top bar shows a warning, and LightCraft keeps retrying until the": "„zapisano w pamięci, ale nie na dysku”, na górnym pasku pojawia się ostrzeżenie, a LightCraft ponawia próby, dopóki",- "#106): a DNG is checked against the raw data, written to a temp file, synced and read back before it gets its": "#106): plik DNG jest porównywany z danymi RAW, zapisywany do pliku tymczasowego, synchronizowany i odczytywany ponownie, zanim",- "(`gpuReason`, `gpuFallback`), Help ▸ System Info and Settings ▸ Performance say why the GPU isn't": "(`gpuReason`, `gpuFallback`), Pomoc ▸ Informacje o systemie i Ustawienia ▸ Wydajność wyjaśniają, dlaczego procesor graficzny nie jest",- "(e.g. D750, D780, D850, D7500, Z 50) no longer render nearly black or with crushed shadows: their black level was": "(np. D750, D780, D850, D7500, Z 50) nie wyświetlają się już niemal czarne ani z utraconymi szczegółami w cieniach: ich poziom czerni był",- "(issue #94): an HTTP request from a web page can no longer carry a command in its body. Lines are capped at": "(zgłoszenie #94): żądanie HTTP ze strony internetowej nie może już przekazać polecenia w treści. Długość wierszy ograniczono do",- "123 on studio-mac)\") instead of letting both write and silently drop each other's edits. A crash never leaves the": "123 na studio-mac”) zamiast pozwalać obu procesom zapisywać i po cichu gubić wzajemne zmiany. Awaria nigdy nie pozostawia",- "1620 × 1080 preview, and import with their metadata: capture time, camera, lens, exposure, GPS and XMP. Their raw": "podgląd 1620 × 1080 i są importowane wraz z metadanymi: datą wykonania, aparatem, obiektywem, ekspozycją, GPS i XMP. Ich dane RAW",- "2026-04 or 2026-04-12": "2026-04 lub 2026-04-12",- "23 new built-in presets: Portrait, Landscape, Urban, Food, Seasons, Vintage and B&W toners.": "23 nowe wbudowane ustawienia predefiniowane: Portret, Krajobraz, Miasto, Jedzenie, Pory roku, Vintage oraz tonowanie czarno-białe.",- "4 MiB and connections at 16.": "4 MiB, a liczbę połączeń do 16.",- "630 drivers): on Windows the window and GPU rendering use DirectX 12 only and never load the Vulkan driver unless": "630): w systemie Windows okno i renderowanie GPU korzystają wyłącznie z DirectX 12 i nigdy nie ładują sterownika Vulkan, chyba że",- "A change that can't be saved to disk (full or unplugged drive) is no longer silent: the command reports": "Zmiana, której nie można zapisać na dysku (pełny lub odłączony nośnik), nie pozostaje już bez sygnału: polecenie zgłasza",- "A library is open in one program at a time (issue #99): opening a library that LightCraft or `lightcraft-cli` already": "Jedna biblioteka może być otwarta tylko w jednym programie naraz (zgłoszenie #99): próba otwarcia biblioteki używanej przez LightCraft lub `lightcraft-cli`",- "A save that fails part-way (a full disk, a network share that drops) no longer looks like a damaged catalog": "Zapis przerwany w połowie (pełny dysk, zerwane połączenie z udziałem sieciowym) nie sprawia już wrażenia uszkodzonego katalogu",- "A sleeping NAS, a dropped network share or a USB drive spinning up no longer freezes the window (issue #104):": "Uśpiony NAS, niedostępny udział sieciowy albo uruchamiający się dysk USB nie blokują już okna (zgłoszenie #104):",- "AI masks with SAM 3 (Object and Describe in the Masking panel): click an object to select it (⌥-click leaves a": "Maski AI wykorzystujące SAM 3 (Obiekt i Opis w panelu Maskowanie): kliknij obiekt, aby go zaznaczyć (kliknięcie z ⌥ pozostawia",- "Browser version (experimental), keeping a library safe (issue #107): File ▸ Back Up Library… downloads the catalog": "Wersja przeglądarkowa (eksperymentalna), ochrona biblioteki (zgłoszenie #107): Plik ▸ Utwórz kopię zapasową biblioteki… pobiera katalog",- "Canon CR2 photos from the EOS 7D, 50D, 60D, 550D, 600D, 1200D, 1300D, 5D Mark II and 1D Mark IV (and other": "Zdjęcia Canon CR2 z aparatów EOS 7D, 50D, 60D, 550D, 600D, 1200D, 1300D, 5D Mark II i 1D Mark IV (oraz innych",- "Canon CR3 files show their full-size embedded JPEG (e.g. 6960 × 4640 on an EOS R6 Mark III) instead of the": "Pliki Canon CR3 pokazują pełnowymiarowy podgląd JPEG osadzony w pliku (np. 6960 × 4640 w EOS R6 Mark III), zamiast",- "Cmd+Shift+R, keeps the photo and clears its edits.)": "Cmd+Shift+R zachowuje zdjęcie, ale usuwa jego edycje).",- "Compressed Nikon NEFs (lossless and lossy compressed, 12- and 14-bit — e.g. D3200, D5100, D7000, D750, D850, Z 50)": "Skompresowane pliki Nikon NEF (kompresja bezstratna i stratna, 12 i 14 bitów — np. D3200, D5100, D7000, D750, D850, Z 50)",- "Convert to DNG, Copy as DNG, Photo Merge and smart previews no longer write straight to the final file (issue": "Konwersja do DNG, Kopiuj jako DNG, Łączenie zdjęć i podglądy inteligentne nie zapisują już bezpośrednio do pliku docelowego (zgłoszenie",- "Edge setting, and get a sharper zoomed-in pass in the background. The model runs inside LightCraft in pure Rust": "ustawienie krawędzi i uzyskaj ostrzejszy podgląd po powiększeniu, obliczany w tle. Model działa wewnątrz LightCraft w czystym Ruście",- "Exported files are written to a temp file and then renamed into place, so a full disk or an unplugged drive": "Wyeksportowane pliki zapisuje się do pliku tymczasowego, a następnie zmienia ich nazwę na docelową, dzięki czemu pełny lub odłączony dysk",- "Exports and renders never write over a photo's original (issue #93): exporting into the photo's own folder with": "Eksport i renderowanie nigdy nie nadpisują oryginału zdjęcia (zgłoszenie #93): eksport do folderu ze zdjęciem przy",- "Exports are never black because of the GPU (issue #78): a GPU render that runs out of device": "Eksporty nie są już czarne z powodu GPU (zgłoszenie #78): renderowanie GPU, któremu zabraknie pamięci urządzenia",- "Faster exports and card imports, with the same protection for what can't be recreated (issue #134): exports,": "Szybszy eksport i import z kart, przy zachowaniu ochrony danych nieodtwarzalnych (zgłoszenie #134): eksporty,",- "Import presets from other editors: XMP presets, classic `.lrtemplate` files, \"DNG presets\" from mobile apps and `.zip`": "Importuj ustawienia predefiniowane z innych edytorów: ustawienia XMP, klasyczne pliki `.lrtemplate`, „ustawienia DNG” z aplikacji mobilnych i archiwa `.zip`",- "Import ▸ Copy verifies every copy, like Move (issue #96): each file is written as a new file, synced to disk and": "Import ▸ Kopiuj weryfikuje każdą kopię, podobnie jak Przenieś (zgłoszenie #96): każdy plik jest zapisywany jako nowy, synchronizowany z dyskiem i",- "Import ▸ Move: photos go into the destination (with the same folders and renaming as Copy, e.g.": "Import ▸ Przenieś: zdjęcia trafiają do folderu docelowego (z takim samym układem folderów i zmianą nazw jak przy kopiowaniu, np.",- "Import: copy to any folder, by day / by month / one folder, rename on import, metadata preset, Copy as DNG.": "Import: kopiowanie do dowolnego folderu, podział według dni lub miesięcy albo do jednego folderu, zmiana nazw przy imporcie, zestaw metadanych, kopiowanie jako DNG.",- "JPEG with the same name (`IMG_0001.CR3` + `IMG_0001.JPG`) no longer share one sidecar: the raw keeps `IMG_0001.xmp`,": "Plik JPEG o tej samej nazwie (`IMG_0001.CR3` i `IMG_0001.JPG`) nie współdzieli już jednego pliku XMP: RAW zachowuje `IMG_0001.xmp`,",- "LightCraft no longer crashes at launch on Windows PCs whose Vulkan driver is broken (issue #136, e.g. some Intel UHD": "LightCraft nie zawiesza się już podczas uruchamiania na komputerach Windows z uszkodzonym sterownikiem Vulkan (zgłoszenie #136, np. niektóre Intel UHD",- "Luminar looks: `.lmp` files and `.mplumpack` collections import as presets (grouped by collection); the sliders": "Style Luminar: pliki `.lmp` i kolekcje `.mplumpack` są importowane jako ustawienia predefiniowane (grupowane według kolekcji); suwaki",- "Meta's terms, not LightCraft's. Downloading it means accepting them.": "Warunki licencji firmy Meta, a nie LightCraft. Pobranie oznacza ich akceptację.",- "Move: the files are moved to the folder below; each original (and its XMP sidecar) is removed from the source only after its copy is verified. Duplicates and files that fail stay where they are.": "Przenieś: pliki są przenoszone do folderu poniżej; oryginał (wraz z plikiem XMP) jest usuwany ze źródła dopiero po weryfikacji kopii. Duplikaty i pliki z błędami pozostają na miejscu.",- "Nikon NEFs start from a colour and tone look fitted to the camera's own JPEG, as Sony ARWs do, instead of a muted,": "Pliki Nikon NEF otrzymują wstępne kolory i tonalność dopasowane do JPEG z aparatu, podobnie jak Sony ARW, zamiast wyblakłego,",- "Nikon splits into two differently compressed halves still use the preview for now.)": "Pliki Nikon podzielone na dwie części o różnych rodzajach kompresji nadal korzystają na razie z podglądu).",- "Object and Describe masks use SAM 3, Meta's segmentation model. It isn't part of LightCraft, and everything else works without it.": "Maski Obiekt i Opis korzystają z modelu segmentacji SAM 3 firmy Meta. Nie jest on częścią LightCraft; wszystkie pozostałe funkcje działają bez niego.",- "Panasonic and Leica raws (RW2, RWL and the older RAW files, DMC-LX1 to DC-S1R II) develop from the raw data in": "Pliki RAW Panasonic i Leica (RW2, RWL i starsze RAW, od DMC-LX1 do DC-S1R II) są wywoływane z danych RAW w",- "Photo menu. The filmstrip has the photo context menu too. Adding a file again that is in Recently Deleted no": "menu Zdjęcie. Pasek zdjęć ma także menu kontekstowe. Ponowne dodanie pliku znajdującego się w Ostatnio usuniętych nie",- "Photo ▸ Edit in External Editor (⇧⌘E) renders a 16-bit TIFF copy, stacks it with the original and opens it here (an app name on macOS, a program path elsewhere).": "Zdjęcie ▸ Edytuj w edytorze zewnętrznym (⇧⌘E) tworzy 16-bitową kopię TIFF, grupuje ją z oryginałem i otwiera w wybranym programie (nazwa aplikacji w macOS, ścieżka programu w pozostałych systemach).",- "Photos in Recently Deleted can be restored from the app: right-click ▸ Restore (or Delete Permanently), also in the": "Zdjęcia w Ostatnio usuniętych można przywrócić w aplikacji: kliknij prawym przyciskiem ▸ Przywróć (lub Usuń trwale), również w",- "Photos seen in Local but never added or changed leave the catalog when their folder hasn't been browsed for this long (checked when the library opens). Files stay on disk; browsing the folder shows them again.": "Zdjęcia widoczne w widoku Lokalnie, lecz nigdy niedodane ani niezmienione, są usuwane z katalogu, jeśli ich folder nie był przeglądany przez określony czas (sprawdzane przy otwieraniu biblioteki). Pliki pozostają na dysku; ponowne przejrzenie folderu znów je pokazuje.",- "Photos that arrive in this folder (tethering, a scanner, a sync app) are added as soon as they're complete.": "Zdjęcia pojawiające się w tym folderze (z aparatu podłączonego do komputera, skanera lub aplikacji synchronizującej) są dodawane od razu po ukończeniu zapisu.",- "Photos); importing (also by drag and drop), Find Missing Photos, Build / Discard Smart Previews, the Rename preview,": "Zdjęcia); importowanie (także przeciąganiem), Znajdź brakujące zdjęcia, Zbuduj / Odrzuć podglądy inteligentne, podgląd zmiany nazw,",- "Quick Collection and target album (B in the grid), keyword sets (⌥1–⌥9), colour-label sets.": "Kolekcja podręczna i album docelowy (B w siatce), zestawy słów kluczowych (⌥1–⌥9), zestawy etykiet kolorów.",- "Rename Folder… and Move Folder To… (Local) can be undone and redone (issue #97): the folder moves back on disk with": "Zmień nazwę folderu… i Przenieś folder do… (Lokalnie) można cofnąć i ponowić (zgłoszenie #97): folder wraca na dysku wraz ze",- "Rename Photos never overwrites another photo when only the letter case changes (issue #95): on case-sensitive": "Zmień nazwy zdjęć nigdy nie nadpisuje innego zdjęcia przy zmianie wyłącznie wielkości liter (zgłoszenie #95): w systemach z rozróżnianiem",- "Rename Photos reports files it could not move back after a failure (issue #105), e.g. when a network share drops": "Zmień nazwy zdjęć zgłasza pliki, których nie udało się przywrócić po błędzie (zgłoszenie #105), np. po zerwaniu połączenia z udziałem sieciowym",- "Saving metadata to an XMP sidecar another application wrote no longer replaces it (issue #92): LightCraft merges its": "Zapis metadanych do pliku XMP utworzonego przez inną aplikację nie zastępuje już jego zawartości (zgłoszenie #92): LightCraft scala swoje",- "Settings files are never quietly reset (issue #103): a damaged `prefs.json`, `presets.json` or `view.json` is kept": "Pliki ustawień nie są już po cichu resetowane (zgłoszenie #103): uszkodzone `prefs.json`, `presets.json` lub `view.json` zachowuje się",- "Smaller, faster catalogs: photos you only looked at in Local (never added, rated or edited) are forgotten once": "Mniejsze i szybsze katalogi: zdjęcia jedynie przeglądane w widoku Lokalnie (niedodane, nieocenione i nieedytowane) są zapominane po",- "Sony ARWs from before about 2017 (RX100, RX100 II–V, RX10, NEX, SLT, ILCE-6000, A7 / A7 II / A7R II and their": "Pliki Sony ARW sprzed około 2017 r. (RX100, RX100 II–V, RX10, NEX, SLT, ILCE-6000, A7 / A7 II / A7R II i pokrewne",- "Sony ILCE-7M4 downsized lossless ARWs now decode subsampled YCbCr tiles into linear RGB,": "Pomniejszone bezstratne pliki ARW z Sony ILCE-7M4 dekodują teraz próbki YCbCr do liniowej przestrzeni RGB,",- "TZ/ZS series, Leica D-Lux, V-Lux and C-Lux, and the GH6, GH7, G9 II, S5 II and S9 generation. They start from a": "serii TZ/ZS, Leica D-Lux, V-Lux i C-Lux oraz generacji GH6, GH7, G9 II, S5 II i S9. Wstępne kolory są dopasowywane do",- "Tags: see Tags beside the template. Files are renamed on disk (with their XMP sidecars); existing names get -1, -2…": "Znaczniki: zobacz Znaczniki obok szablonu. Nazwy plików na dysku (wraz z plikami XMP) są zmieniane; kolizje otrzymują przyrostek -1, -2…",- "The catalog has a format version (issue #102). Opening a library from an older LightCraft upgrades it; a library": "Katalog ma wersję formatu (zgłoszenie #102). Otwarcie biblioteki ze starszego LightCraft aktualizuje ją; biblioteka",- "The control port (`--control`) closes a connection as soon as it receives anything that isn't a JSON request": "Port sterujący (`--control`) zamyka połączenie natychmiast po otrzymaniu danych innych niż żądanie JSON",- "The thumbnail cache only ever counts and deletes its own files (issue #98): a library opened on a folder that": "Pamięć podręczna miniaturek zlicza i usuwa wyłącznie własne pliki (zgłoszenie #98): otwarcie biblioteki w folderze, który",- "Watched-folder auto import; Convert to DNG; Duplicate; Build Standard / 1:1 / Smart Previews.": "Automatyczny import z obserwowanego folderu; Konwertuj do DNG; Duplikuj; Zbuduj podglądy standardowe / 1:1 / inteligentne.",- "Without Saving and Quit (issue #100). It no longer quietly starts a demo session that looked like a reset library and": "Bez zapisywania i Zakończ (zgłoszenie #100). Program nie uruchamia już po cichu sesji demonstracyjnej wyglądającej jak zresetowana biblioteka, przez co",- "`Photos/2026/20260114/20260114_001.jpg`) together with their XMP sidecars; each original leaves the card only after its": "`Photos/2026/20260114/20260114_001.jpg`) wraz z ich plikami XMP; każdy oryginał znika z karty dopiero po",- "`img_1-1.JPG`; on case-insensitive volumes the case change still goes through.": "`img_1-1.JPG`; na woluminach nierozróżniających wielkości liter zmiana wielkości liter również przechodzi poprawnie.",- "a full drive) no longer counts as built and Build Smart Previews replaces it.": "pełny dysk) nie jest już uznawany za gotowy, a funkcja Zbuduj podglądy inteligentne zastępuje go.",- "afterwards (issue #101): the partial write is cut off before LightCraft retries, so the next launch replays every": "potem (zgłoszenie #101): niepełny zapis jest obcinany przed ponowieniem przez LightCraft, więc przy następnym uruchomieniu odtwarzane są wszystkie",- "again. Change the period (or turn it off) in Settings → Performance.": "ponownie. Zmień ten okres (lub wyłącz go) w Ustawienia → Wydajność.",- "against the library's originals no longer scans the whole library when nothing is at that path.": "z oryginałami biblioteki nie skanuje już całej biblioteki, jeśli pod wskazaną ścieżką nie ma żadnych plików.",- "already has a `thumbs/` folder of other pictures no longer loses them when the cache is trimmed or cleared.": "ma już folder `thumbs/` z innymi zdjęciami — nie tracą one danych przy przycinaniu lub czyszczeniu pamięci podręcznej.",- "and checks the file before using it. Masks keep their selection, so they render and export without the model.": "i sprawdza plik przed użyciem. Maski zachowują swoje zaznaczenie, więc renderowanie i eksport działają także bez modelu.",- "and every imported photo as one zip, and File ▸ Restore Library from Backup… brings it back (the current library": "i każde importowane zdjęcie w jednym archiwum ZIP, a Plik ▸ Przywróć bibliotekę z kopii zapasowej… przywraca je (bieżąca biblioteka",- "and never freezes the window. It is optional and not part of LightCraft (Meta's SAM License, about 3.4 GB): the": "oraz nie blokuje okna. Funkcja jest opcjonalna i nie należy do LightCraft (licencja SAM firmy Meta, około 3,4 GB):",- "as `<name>.corrupt-<time>` and you're told; one that can't be read (e.g. locked by another program) is left alone": "jako `<name>.corrupt-<time>` i informuje o tym; plik, którego nie można odczytać (np. zablokowany przez inny program), pozostaje bez zmian",- "asked to. `LIGHTCRAFT_GPU_BACKEND=dx12 | vulkan | metal | off` (or wgpu's `WGPU_BACKEND`, which GPU rendering": "gdy o to poprosisz. `LIGHTCRAFT_GPU_BACKEND=dx12 | vulkan | metal | off` (lub `WGPU_BACKEND` biblioteki wgpu, którą renderowanie GPU",- "bundles of any of these — whole folders at once, grouped by pack. Masks inside presets come along.": "pakiety zawierające dowolne z nich — całe foldery naraz, grupowane według pakietu. Maski zawarte w ustawieniach również są przenoszone.",- "camera no longer gets baked in. Photos already imported as \"preview only\" switch over on Reload. (Files that": "zapis aparatu nie jest już na stałe stosowany do obrazu. Zdjęcia wcześniej importowane jako „tylko podgląd” przełączają się po ponownym wczytaniu. (Pliki, których",- "change. Catalogs already holding such a fragment load in full. Quitting while the catalog log can't be written": "takiej zmiany. Katalogi zawierające już taki fragment wczytują się w całości. Zamykanie programu, gdy dziennika katalogu nie da się zapisać",- "changes couldn't be saved tries once more, then asks: Try Saving Again, Quit Anyway or Cancel.": "zmian nie udało się zapisać, podejmuje jeszcze jedną próbę, a następnie pyta: Spróbuj zapisać ponownie, Zakończ mimo to lub Anuluj.",- "channel or MCP, a merge preview path or `lightcraft-cli render IMG.jpg -o IMG.jpg` is refused with a clear": "przez kanał sterujący lub MCP, ścieżka docelowa łączenia albo `lightcraft-cli render IMG.jpg -o IMG.jpg` są odrzucane z czytelnym",- "checked against the content read from the card. A copy that fails or differs is removed and reported as a failed": "weryfikowane względem zawartości odczytanej z karty. Nieudaną lub różniącą się kopię usuwa się i zgłasza jako nieudany",- "colour and tone look fitted to the camera's own JPEG, as Nikon and Sony raws do, framed in the aspect ratio set in": "kolory i tonację dopasowane do JPEG z aparatu, podobnie jak w plikach Nikon i Sony RAW, z kadrem zgodnym z proporcjami ustawionymi w",- "copy is verified and in the library. Duplicates and files that fail stay where they were.": "kopia została zweryfikowana i dodana do biblioteki. Duplikaty i pliki z błędami pozostają na swoim miejscu.",- "data is not decoded yet, so they stay preview-only. For CR3s imported earlier, Photo ▸ Reload from Disk (now in": "dane nie są jeszcze dekodowane, więc pozostają dostępne tylko jako podgląd. Dla plików CR3 zaimportowanych wcześniej funkcja Zdjęcie ▸ Wczytaj ponownie z dysku (teraz w",- "edge are cropped away, and \"12-bit uncompressed\" files are no longer clipped. The RX100 series renders much closer": "usuwane są krawędzie, a „12-bitowe nieskompresowane” pliki nie są już przycinane tonalnie. Seria RX100 wyświetla się znacznie bliżej",- "every format the cameras write. Most bodies opened as preview only before: GH1–GH5, the G, GX, GF, GM, FZ, LX and": "każdy format zapisywany przez aparaty. Większość modeli wcześniej otwierała tylko podgląd: GH1–GH5, serie G, GX, GF, GM, FZ, LX i",- "export. The catalog, XMP sidecars, settings, DNGs, merges, smart previews and the copies an import makes are still": "eksport. Katalog, pliki XMP, ustawienia, DNG, połączone zdjęcia, podglądy inteligentne i kopie utworzone podczas importu nadal są",- "fields in and keeps the rest — e.g. that application's develop settings and edit history — byte for byte. A": "pola i zachowuje pozostałe — np. ustawienia wywoływania oraz historię edycji z tamtej aplikacji — bajt po bajcie. Plik",- "file (Sony stores them only in scrambled maker-note data on these bodies), the few columns of padding at the right": "pliku (Sony przechowuje je w tych modelach jedynie w zaszyfrowanych danych producenta), kilka kolumn wyrównania przy prawej",- "first time you use an AI mask, LightCraft asks before downloading it, shows the progress, can cancel and resume,": "przy pierwszym użyciu maski AI LightCraft prosi o zgodę na pobranie, pokazuje postęp, pozwala anulować i wznowić,",- "for the session instead of being overwritten with defaults. The app settings (`ui.json`, which remembers your": "na czas sesji, zamiast nadpisywać je wartościami domyślnymi. Ustawienia aplikacji (`ui.json`, które zapamiętują",- "gets -1, -2… instead of being replaced.": "otrzymuje przyrostek -1, -2… zamiast zostać zastąpiony.",- "greenish neutral rendering (issue #150); white balance is adjusted relative to the as-shot look. 12-bit NEFs": "zielonkawego, neutralnego obrazu (zgłoszenie #150); balans bieli korygowany jest względem wyglądu zapisanego przez aparat. Pliki NEF 12-bitowe",- "has open — on this computer or another one sharing the folder — says who has it (\"already open in LightCraft (process": "jest otwarta — na tym komputerze lub innym współdzielącym folder — wskazuje kto ją otworzył („już otwarta w LightCraft (proces",- "how to restore it or delete it permanently and import it afresh. (For a fresh start on a photo, Reset Edits,": "jak je przywrócić albo trwale usunąć i ponownie zaimportować. (Aby zacząć od nowa z danym zdjęciem, użyj Resetuj edycje,",- "ignored before) chooses the graphics backend; `off` renders on the CPU. The GPU now starts after the window": "wcześniej ignorowany) wybiera zaplecze graficzne; `off` renderuje na CPU. GPU uruchamia się teraz po otwarciu okna",- "immutable, and HOSTING.md describes the actual build.": "i niezmienne, a HOSTING.md opisuje rzeczywistą konfigurację kompilacji.",- "import — so \"import complete\" means the copies are good before you format the card — and a name that is taken": "importu — dlatego „import ukończony” oznacza zweryfikowane kopie, zanim sformatujesz kartę — a zajęta nazwa",- "imported as \"preview only\" switch over on Reload.": "wcześniej importowane jako „tylko podgląd” przełączają się po ponownym wczytaniu.",- "in short pieces so slow integrated GPUs aren't reset by their watchdog. `ui.inspect` → `perf`": "w krótkich partiach, aby mechanizmy nadzoru wolnych zintegrowanych GPU nie resetowały urządzenia. `ui.inspect` → `perf`",- "incomplete is redone on the CPU — the file is the same image either way. Work is sent to the GPU": "niedokończone renderowanie jest powtarzane na CPU — plik wynikowy zawiera ten sam obraz w obu przypadkach. Praca jest wysyłana do GPU",- "is kept). A failed save (storage full) now shows the unsaved warning and is retried, a photo that can't be stored": "jest zachowywany). Nieudany zapis (pełny nośnik) wyświetla teraz ostrzeżenie o niezapisanych zmianach i jest ponawiany; zdjęcie, którego nie można zapisać",- "is refused and nothing is overwritten.": "jest odrzucana i nic nie zostaje nadpisane.",- "is up, and only when Settings ▸ Performance ▸ Use the GPU for rendering is on; if LightCraft ever dies while": "działa, i tylko jeśli w Ustawienia ▸ Wydajność włączono używanie GPU do renderowania; jeśli LightCraft kiedykolwiek zakończy się awaryjnie podczas",- "isn't added, a second tab shows a message instead of overwriting the first, `?reset` asks first, and the page says": "nie zostaje dodana, druga karta pokazuje komunikat zamiast nadpisywać pierwszą, `?reset` najpierw pyta, a strona informuje",- "it away from the other (issue #92). Find Missing Photos also finds renamed files by their content, prefers a content match": "z dala od drugiego pliku (zgłoszenie #92). Znajdź brakujące zdjęcia wyszukuje również pliki o zmienionych nazwach na podstawie zawartości, preferuje zgodność zawartości",- "its photos and XMP sidecars, and the photos point at it again. If something now occupies the old place, the undo": "ego zdjęcia i pliki XMP, a zdjęcia ponownie na niego wskazują. Jeśli stare miejsce jest już zajęte, cofnięcie",- "layout is read from each file instead of assumed.": "układ jest odczytywany z każdego pliku, zamiast przyjmować go z góry.",- "leaves no DNG and keeps the raw. Smart previews are written the same way; a damaged one (cut short by a crash or": "nie pozostawia pliku DNG i zachowuje RAW. Podglądy inteligentne zapisuje się tak samo; uszkodzony podgląd (ucięty przez awarię lub",- "library) are written atomically and saved as soon as you open another library, not only at quit. Quitting while": "biblioteki) są zapisywane atomowo i natychmiast po otwarciu innej biblioteki, nie tylko przy wychodzeniu. Zamykanie programu, gdy",- "longer just says \"duplicate skipped\": it opens the side panel on Recently Deleted with the photo selected and says": "nie ogranicza się już do komunikatu „pominięto duplikat”: otwiera panel boczny Ostatnio usunięte, zaznacza zdjęcie i informuje,",- "lost everything at quit; a temporary session shows a banner the whole time and never writes to your library.": "wszystko zostało utracone przy wyjściu; sesja tymczasowa przez cały czas pokazuje baner i nigdy nie zapisuje w Twojej bibliotece.",- "memory, exceeds the GPU's buffer limits, hits a driver error or reset, or comes back": "pamięci, przekroczy limity bufora GPU, napotka błąd lub reset sterownika albo zwróci",- "message, and the original is left byte for byte. Ordinary earlier exports are still overwritten when asked.": "komunikatem, a oryginał pozostaje niezmieniony bajt po bajcie. Wcześniejsze zwykłe eksporty nadal są nadpisywane na żądanie.",- "mid-batch: the error lists them (old → new) and the library points at their new names (an undoable partial rename),": "w trakcie partii: błąd wymienia pliki (stara → nowa nazwa), a biblioteka wskazuje ich nowe nazwy (częściową zmianę nazw można cofnąć),",- "models whose sensor starts on a green-blue row) no longer come out magenta (issue #85): the colour-filter": "modele z matrycą zaczynającą się od rzędu zielono-niebieskiego) nie mają już magentowego zafarbu (zgłoszenie #85): układ filtrów barwnych",- "name (never replacing a file), and only then is the photo relinked or the raw copy removed — a failed write": "nazwę (bez zastępowania pliku), a dopiero potem łączy zdjęcie z plikiem albo usuwa kopię RAW — nieudany zapis",- "never leaves a truncated file; the XMP sidecar of an \"Original\" export follows the \"If file exists\" choice too.": "nigdy nie pozostawia uciętego pliku; plik XMP eksportu „Oryginał” także respektuje ustawienie „Jeśli plik istnieje”.",- "now develop from the raw data instead of the camera's embedded JPEG, so a B&W or other picture style set in the": "są teraz wywoływane z danych RAW, zamiast z JPEG osadzonego przez aparat, dzięki czemu styl czarno-biały lub inny ustawiony w",- "on the card after Review Import is reported instead of being imported with stale details. Checking an export path": "na karcie po przeglądzie importu jest zgłaszana, zamiast być importowana z nieaktualnymi danymi. Sprawdzanie ścieżki eksportu",- "one by one — they can always be exported again, and on a USB drive or a NAS that per-file sync dominated a large": "pojedynczo — można je zawsze wyeksportować ponownie, a na dysku USB lub NAS synchronizacja każdego pliku osobno znacznie wydłużała duże",- "over a same-name same-size look-alike, and skips (and reports) photos it can't tell apart instead of guessing.": "zamiast pliku o tej samej nazwie i rozmiarze, ale innej zawartości, a niejednoznaczne zdjęcia pomija (i zgłasza), zamiast zgadywać.",- "part out), or type what to select (\"sky\", \"the red car\", \"car, road\"); both combine with other masks, have an": "część na zewnątrz) albo wpisz, co zaznaczyć („niebo”, „czerwony samochód”, „samochód, droga”); obie maski można łączyć z innymi, mają",- "preserving RAW editing & full-resolution export instead of using embedded JPEG previews.": "z zachowaniem edycji RAW i eksportu w pełnej rozdzielczości, zamiast korzystać z osadzonych podglądów JPEG.",- "read in the wrong units.": "odczytywano w niewłaściwych jednostkach.",- "reading the card a third time (Move still compares byte for byte before it deletes a source); a file that changed": "ponowne odczytanie karty po raz trzeci (funkcja Przenieś nadal porównuje dane bajt po bajcie przed usunięciem źródła); plik, który zmienił się",- "reject": "odrzuć",- "renders and screenshots are still written to a temp file and renamed into place, but no longer forced to disk": "renderowane obrazy i zrzuty ekranu nadal trafiają najpierw do pliku tymczasowego, potem otrzymują nazwę docelową, ale nie są już wymuszane zapisy na dysk",- "save goes through.": "zapis powiedzie się.",- "siblings) no longer open bright green (issue #148): their as-shot white balance and black level are read from the": "pokrewne modele) nie mają już jaskrawozielonych zdjęć (zgłoszenie #148): balans bieli i poziom czerni zapisane przez aparat odczytuje się z",- "sidecar that isn't valid XMP is copied to `<name>.xmp.bak-<time>` first. With the default stem naming, a raw and a": "plik XMP, który nie jest prawidłowym XMP, zostaje najpierw skopiowany do `<name>.xmp.bak-<time>`. Przy domyślnym nazewnictwie według podstawy nazwy pliki RAW i",- "so none shows as missing. Renaming one of a raw + JPEG pair copies their shared `IMG_0001.xmp` instead of taking": "żaden plik nie jest oznaczany jako brakujący. Zmiana nazwy jednego z pary RAW + JPEG kopiuje ich wspólny `IMG_0001.xmp`, zamiast zabierać go",- "starting the GPU, the next launch starts with GPU rendering off and says how to turn it back on.": "podczas uruchamiania GPU następny start odbywa się z wyłączonym renderowaniem GPU i informacją, jak je ponownie włączyć.",- "starts with": "zaczyna się od",- "still saves your queued changes in the closing snapshot.": "nadal zapisuje oczekujące zmiany w migawce zamykającej.",- "synced. Import ▸ Copy now checks each copy against the content hash taken while scanning the card instead of": "synchronizowane. Import ▸ Kopiuj sprawdza teraz każdą kopię względem skrótu zawartości obliczonego podczas skanowania karty, zamiast",- "the JPEG uses `IMG_0001.JPG.xmp`.": "a JPEG korzysta z `IMG_0001.JPG.xmp`.",- "the Local folder tree and Auto Import read the disk on worker threads too. The import progress window has Cancel.": "drzewo folderów Lokalnie i Automatyczny import również odczytują dysk w wątkach roboczych. Okno postępu importu ma przycisk Anuluj.",- "the Photo menu and the photo context menu) picks up the full-size preview and fills in the camera metadata they": "menu Zdjęcie i menu kontekstowym zdjęcia) pobiera pełnowymiarowy podgląd i uzupełnia metadane aparatu, których",- "the camera; mapped-out sensor defects are filled in. `.rwl` and `.raw` files are imported too. Photos already": "gdy aparat; uszkodzone piksele matrycy są wypełniane. Importowane są również pliki `.rwl` i `.raw`. Zdjęcia wcześniej",- "the same name and \"Overwrite\" (or Export with Previous repeating it), an exact output path from the control": "tej samej nazwie i wybraniu „Nadpisz” (lub ponownym eksporcie z poprzednimi ustawieniami), dokładna ścieżka wyjściowa z kanału sterującego",- "their folder has not been browsed for 30 days — your files and sidecars stay, and browsing the folder shows them": "ich folder nie był przeglądany przez 30 dni — pliki i XMP pozostają na dysku, a ponowne wejście do folderu je pokazuje",- "to the camera's own JPEG.": "wyglądu JPEG prosto z aparatu.",- "untouched — older versions no longer read part of it as a damaged log. Once this version has opened a library,": "nienaruszone — starsze wersje nie odczytują już fragmentu jako uszkodzonego dziennika. Gdy ta wersja otworzy bibliotekę,",- "used (e.g. a skipped software adapter such as llvmpipe) and why the last render fell back.": "użyto (np. pominięty adapter programowy llvmpipe) i dlaczego ostatnie renderowanie przełączono na inne rozwiązanie.",- "video": "wideo",- "were missing, without touching anything already set.": "brakowało, bez zmiany już ustawionych wartości.",- "when the browser may evict the library. Hosting: the sample cache headers no longer mark the (unhashed) files": "gdy przeglądarka może usunąć bibliotekę. Hosting: przykładowe nagłówki pamięci podręcznej nie oznaczają już plików bez skrótów w nazwach jako",- "whether originals are there is checked on a worker thread (grid thumbnails, the Info panel, the photo menu, Missing": "sprawdzanie obecności oryginałów odbywa się w wątku roboczym (miniatury siatki, panel Informacje, menu zdjęcia, Brakujące",- "with a counterpart here come along, the rest is listed.": "z odpowiednikami w tym programie również zostają przeniesione, pozostałe są wypisane.",- "written by a newer LightCraft is refused with \"this library was written by a newer version of LightCraft\" and left": "zapisana przez nowszą wersję LightCraft zostaje odrzucona z komunikatem „ta biblioteka została zapisana przez nowszą wersję LightCraft” i pozostawiona",- "written by a newer LightCraft), LightCraft says so and why, and offers Try Again, Choose Another Library…, Continue": "zapisana przez nowszą wersję LightCraft), LightCraft wyjaśnia przyczynę i proponuje Spróbuj ponownie, Wybierz inną bibliotekę… lub Kontynuuj",- "日本語": "日本語",- "繁體中文(台灣)": "繁體中文(台灣)",- "This build can't download the model yet. To install it by hand, put model.safetensors, vocab.json and merges.txt from Meta's facebook/sam3 in the folder above: Object and Describe work as soon as they are there.": "Ta wersja programu nie może jeszcze pobrać modelu. Aby zainstalować go ręcznie, umieść pliki model.safetensors, vocab.json i merges.txt od Meta (facebook/sam3) w powyższym folderze: funkcje Obiekt i Opis zadziałają, gdy pliki się tam znajdą.",- "denoiseModel.accept": "denoiseModel.accept"-}diff --git a/packaging/crates/ui-egui/src/i18n.rs b/packaging/crates/ui-egui/src/i18n.rsdeleted file mode 100644index 998a1fcbe..000000000--- a/packaging/crates/ui-egui/src/i18n.rs+++ /dev/null@@ -1,1354 +0,0 @@-//! Presentation-only localization. Command ids, user names and catalog data remain unchanged.-//!-//! A language is one entry in [`language_table!`] below: its BCP-47 code, the endonym shown in the-//! Language menus, the ISO 15924 script its text needs (which picks the CJK font fallback), and its-//! message catalog (`locales/<code>.json`, embedded at build time). Adding a language is that entry-//! plus its catalogs and the corresponding language command in `menus.rs`. Settings read the-//! locale table, while menus and the control channel share the command mapping.--use std::{cell::RefCell, collections::BTreeMap, sync::OnceLock};--use serde::{Deserialize, Deserializer, Serialize, Serializer};--/// The language table.-///-/// The source language comes first and alone: it is the text the UI is authored in, which every-/// other language translates. `name` is written in the language itself (an endonym, so a user who-/// cannot read the current UI language can still find their own).-macro_rules! language_table {- ($source:ident, $source_code:literal; $( $variant:ident, $code:literal, $name:literal, $script:literal, $catalog:expr );* $(;)?) => {- /// A UI language.- #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord)]- pub enum Locale {- /// The language the UI is written in.- #[default]- $source,- $($variant,)*- }-- impl Locale {- /// Every language, in menu order (the source language first).- pub const ALL: &'static [Self] = &[Self::$source, $(Self::$variant,)*];-- pub const fn code(self) -> &'static str {- match self { Self::$source => $source_code, $(Self::$variant => $code,)* }- }-- /// The language's own name, as shown in the Language menus.- pub const fn name(self) -> &'static str {- match self { Self::$source => "English", $(Self::$variant => $name,)* }- }-- /// The ISO 15924 script this language is written in (`"Latn"`, `"Jpan"`, `"Hans"`…):- /// the craft-fonts faces for it are the ones this language needs.- pub const fn script(self) -> &'static str {- match self { Self::$source => "Latn", $(Self::$variant => $script,)* }- }-- /// The language's embedded catalog, parsed once. The source language has none: its- /// lookups return the source text itself.- fn catalog(self) -> &'static BTreeMap<String, String> {- static CATALOGS: OnceLock<BTreeMap<Locale, BTreeMap<String, String>>> = OnceLock::new();- static EMPTY: OnceLock<BTreeMap<String, String>> = OnceLock::new();- // A malformed catalog logs and comes back empty: a broken translation degrades to- // English text, it never takes the app down.- let parse = |catalog: Option<&'static str>| match catalog {- Some(json) => match serde_json::from_str(json) {- Ok(messages) => messages,- Err(error) => {- log::error!("Invalid message catalog for {}: {error}", self.code());- BTreeMap::new()- }- },- None => BTreeMap::new(),- };- CATALOGS- .get_or_init(|| {- Locale::ALL- .iter()- .map(|language| {- let catalog = match *language { $(Self::$variant => Some($catalog),)* _ => None };- (*language, parse(catalog))- })- .collect()- })- .get(&self)- .unwrap_or_else(|| EMPTY.get_or_init(BTreeMap::new))- }-- pub fn parse(code: &str) -> Option<Self> {- match code { $source_code => Some(Self::$source), $($code => Some(Self::$variant),)* _ => None }- }-- /// Lenient lookup: `zh`, `zh-CN`, `zh_Hans`, `en-US`, `ja_JP.UTF-8`… all reach a- /// shipped language. A region or script the table does not ship falls back to the- /// language itself, so a user is never left with no language at all.- pub fn parse_tag(tag: &str) -> Option<Self> {- let tag = tag.split(['.', '@']).next().unwrap_or(tag).replace('_', "-");- let lower = tag.to_ascii_lowercase();- if let Some(exact) = Self::ALL.iter().find(|language| language.code().eq_ignore_ascii_case(&lower)) {- return Some(*exact);- }- let mut parts = lower.split('-');- let language = parts.next()?;- // `zh-Hans-CN`, `zh-CN` and `zh` all name the same base language.- let script = parts.next().and_then(|part| match part {- "hans" | "cn" | "sg" => Some("Hans"),- "hant" | "tw" | "hk" | "mo" => Some("Hant"),- _ => None,- });- Self::ALL- .iter()- .find(|candidate| {- let base = candidate.code().split('-').next().unwrap_or_default();- base == language && script.is_none_or(|script| candidate.script() == script)- })- .copied()- }-- pub fn tr(self, source: &str) -> &str {- tr_in(self, source)- }- }- };-}--// The source language, then one entry per translation: code, endonym, ISO 15924 script, embedded-// catalog (`locales/<code>.json`).-language_table! {- En, "en";- ZhHans, "zh-hans", "简体中文", "Hans", include_str!("../locales/zh-hans.json");- ZhHant, "zh-hant", "繁體中文(台灣)", "Hant", include_str!("../locales/zh-hant.json");- Ja, "ja", "日本語", "Jpan", include_str!("../locales/ja.json");- PtBr, "pt-br", "Português (Brasil)", "Latn", include_str!("../locales/pt-br.json");- Es, "es", "Español", "Latn", include_str!("../locales/es.json");- De, "de", "Deutsch", "Latn", include_str!("../locales/de.json");- Ru, "ru", "Русский", "Cyrl", include_str!("../locales/ru.json");- Fr, "fr", "Français", "Latn", include_str!("../locales/fr.json");- Uk, "uk", "Українська", "Cyrl", include_str!("../locales/uk.json");- Pl, "pl", "Polski", "Latn", include_str!("../locales/pl.json");-}--// The settings file stores the BCP-47 code (`"zh-hans"`), never the Rust variant name, so a-// language can be renamed in code without invalidating anyone's settings.-impl Serialize for Locale {- fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> {- serializer.serialize_str(self.code())- }-}--impl<'de> Deserialize<'de> for Locale {- fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> {- let code = String::deserialize(deserializer)?;- Locale::parse(&code).or_else(|| Locale::parse_tag(&code)).ok_or_else(|| serde::de::Error::custom(format!("unknown language {code:?}")))- }-}--thread_local! {- static LOCALE: std::cell::Cell<Locale> = const { std::cell::Cell::new(Locale::En) };-}--/// The UI language from the environment (`LIGHTCRAFT_LANGUAGE=zh-hans`), for headless runs.-pub fn default_language() -> Locale {- std::env::var("LIGHTCRAFT_LANGUAGE").ok().and_then(|value| Locale::parse_tag(&value)).unwrap_or(Locale::En)-}--pub fn set_language(language: Locale) {- LOCALE.with(|value| value.set(language));-}--pub fn language() -> Locale {- LOCALE.with(std::cell::Cell::get)-}--/// Translate a built-in display label, preserving unknown labels verbatim.-/// Never call this on editable user text, filenames or command identifiers.-pub fn tr(source: &str) -> &str {- tr_in(language(), source)-}--/// [`tr`] for a message whose translation depends on where it appears: a catalog entry keyed-/// `"<context>|<source>"` wins, else the plain message. A language adds the contextual entry only-/// where its shared translation reads wrongly there (Japanese はい / いいえ as a rule's value).-fn tr_ctx_in<'a>(language: Locale, context: &str, source: &'a str) -> &'a str {- match language.catalog().get(&format!("{context}|{source}")) {- Some(translation) => translation.as_str(),- None => tr_in(language, source),- }-}--/// Catalog values are `'static` (they live in the embedded file), so a translation can be handed-/// out for as long as the `'static` key it was looked up by.-fn tr_in(language: Locale, source: &str) -> &str {- if language.catalog().is_empty() {- return source;- }- thread_local! {- static VERBATIM: RefCell<BTreeMap<Locale, BTreeMap<String, &'static str>>> = const { RefCell::new(BTreeMap::new()) };- }- VERBATIM.with_borrow_mut(|cache| {- let verbatim = cache.entry(language).or_insert_with(|| catalog_verbatim(language));- verbatim.get(source).copied().unwrap_or(source)- })-}--/// One language's catalog keyed for lookup, with values that outlive the catalog's own borrow.-fn catalog_verbatim(language: Locale) -> BTreeMap<String, &'static str> {- language.catalog().iter().map(|(key, value)| (key.clone(), value.as_str())).collect()-}--// `tr_format!` (one arm per message, one `format!` per language) is generated by `build.rs` from-// `locales/*-formats.json`.-include!(concat!(env!("OUT_DIR"), "/tr-formats.rs"));--/// A stock preset's or profile's name in the UI language; an imported or user-edited name stays-/// exactly as its owner wrote it.-/// The title and text of the message box shown when the desktop app's window can't start-/// (issue #260), in the UI language: the error and, when there is one, the log file to look in.-pub fn startup_failed_message(error: &str, log_file: Option<&str>) -> (String, String) {- let text = match log_file {- Some(path) => tr_format!("LightCraft could not open its window: {e}\n\nThe log file has the details: {path}", e = error, path = path),- None => tr_format!("LightCraft could not open its window: {e}", e = error),- };- (tr("LightCraft could not start").to_string(), text)-}--pub fn builtin_label(source: &str, builtin: bool) -> &str {- if builtin { tr(source) } else { source }-}--/// A profile's name for display: a built-in profile's is translated, an imported LUT's is shown as-/// its file named it (it may happen to match a message, like "Vivid").-pub fn profile_label<'a>(id: &str, name: &'a str) -> &'a str {- builtin_label(name, lightcraft_engine::presets::profile(id).is_some())-}--/// An Activity (history) step for display. The step's stored label stays English; generated steps-/// are translated around the names they carry, and a user preset's name is kept verbatim.-pub fn history_label(source: &str, presets: &[lightcraft_develop::Preset]) -> String {- if let Some(name) = source.strip_prefix("Preset: ") {- // A user preset may share a stock preset's name: then the step could be either, so it- // keeps the name as written.- let builtin = presets.iter().any(|p| p.builtin && p.name == name) && !presets.iter().any(|p| !p.builtin && p.name == name);- return tr_format!("Preset: {name}", name = builtin_label(name, builtin));- }- if let Some(name) = source.strip_prefix("Reset ") {- return tr_format!("Reset {name}", name = tr(name));- }- if let Some(name) = source.strip_prefix("Quick Develop: ") {- return tr_format!("Quick Develop: {name}", name = tr(name));- }- tr(source).to_string()-}--/// A library source's heading (All Photos, Recently Deleted…) in the UI language; an album's-/// name is the user's and stays verbatim.-pub fn source_label(source: lightcraft_engine::LibrarySource, catalog: &lightcraft_catalog::Catalog) -> String {- let label = source.label(catalog);- if matches!(source, lightcraft_engine::LibrarySource::Album(id) if catalog.album(id).is_some()) { label } else { tr(&label).to_string() }-}--/// What the grid is titled for the session's source: [`source_label`], or a library folder's last-/// two names (`photos/travel`; the folder's name is the user's and stays verbatim).-pub fn source_title(session: &lightcraft_engine::Session) -> String {- match (session.source, session.library_folder.as_deref()) {- (lightcraft_engine::LibrarySource::LibraryFolder, Some(path)) => lightcraft_catalog::folders::folder_label(path),- (source, _) => source_label(source, &session.catalog),- }-}--/// A date group heading (`2026-09-20`, `2026-09`, `2026`) in the UI language: the grid's full-/// form, or the date sidebar's `short` one ("Sunday, 20" / "September" / "2026"). English keeps the-/// catalog's own wording; every other language formats it with its `*-formats.json` date-/// patterns and weekday names. The grouping keys themselves never change.-pub fn date_group_label(key: &str, short: bool) -> String {- let label = lightcraft_catalog::dates::group_label(key);- if language() == Locale::En {- return if short {- match key.len() {- // "September 2026" → "September"- 7 => label.split(' ').next().unwrap_or(&label).to_string(),- // "Sunday, 20 September 2026" → "Sunday, 20"- 10 => label.rsplitn(3, ' ').nth(2).unwrap_or(&label).to_string(),- _ => label,- }- } else {- label- };- }- let Some(year) = key.get(..4).and_then(|y| y.parse::<u32>().ok()) else { return tr(&label).to_string() };- if key.len() == 4 {- return tr_format!("{year}", year = year);- }- let Some(month) = key.get(5..7).and_then(|m| m.parse::<u32>().ok()).filter(|m| (1..=12).contains(m)) else {- return tr(&label).to_string();- };- if key.len() == 7 {- return if short { tr_format!("{month}", month = month) } else { tr_format!("{month} {year}", month = month, year = year) };- }- if key.len() == 10- && let Some(weekday) = lightcraft_catalog::dates::weekday(key)- && let Some(day) = key.get(8..10).and_then(|d| d.parse::<u32>().ok())- {- let weekday = tr(weekday);- return if short {- tr_format!("{weekday}, {day}", weekday = weekday, day = day)- } else {- tr_format!("{weekday}, {day} {month} {year}", weekday = weekday, day = day, month = month, year = year)- };- }- tr(&label).to_string()-}--/// A capture time for display in the UI language (English: "March 30, 2022 at 10:11:11 PM");-/// the metadata itself is never rewritten, and a value that doesn't parse is shown as it is.-pub fn display_time(iso: &str) -> String {- if language() == Locale::En || lightcraft_catalog::dates::normalize_iso(iso).is_none() {- return lightcraft_catalog::dates::display_time(iso);- }- let date = date_group_label(iso.get(..10).unwrap_or(iso), false);- match iso.get(11..).filter(|time| !time.is_empty()) {- Some(time) => format!("{date} {time}"),- None => date,- }-}--/// Built-in colour names are translated; custom label names are user data.-pub fn color_label(catalog: &lightcraft_catalog::Catalog, label: lightcraft_catalog::ColorLabel) -> String {- catalog.custom_label_name(label).map_or_else(|| tr(&catalog.label_name(label)).to_string(), str::to_string)-}--/// A legacy smart-album filter summary, using the same display labels as filter chips.-pub fn filter_label(filter: &lightcraft_catalog::Filter, catalog: &lightcraft_catalog::Catalog) -> String {- if language() == Locale::En {- filter.describe_with(catalog)- } else {- lightcraft_engine::filter_chips(filter, catalog)- .iter()- .map(|chip| crate::panels::chips::display_label(chip, filter, catalog))- .collect::<Vec<_>>()- .join(" · ")- }-}--/// What people read for a smart-album rule's problem, under its row: the field's name and the-/// issue, in the current language ("Title: needs something to look for").-pub fn problem_text(problem: &lightcraft_catalog::rules::Problem) -> String {- problem_text_in(language(), problem)-}--/// [`problem_text`] with the rule's position first ("#2.1 Rating: …"), for lists away from the-/// editor (the sidebar's tooltip).-pub fn problem_line(problem: &lightcraft_catalog::rules::Problem) -> String {- problem_line_in(language(), problem)-}--fn problem_text_in(language: Locale, problem: &lightcraft_catalog::rules::Problem) -> String {- let issue = tr_in(language, problem.issue.text());- // Japanese and Chinese catalogs join a label and its text with a full-width colon- let colon = if matches!(language.script(), "Jpan" | "Hans" | "Hant") { ":" } else { ": " };- match problem.field.as_deref() {- Some(field) => format!("{}{colon}{issue}", tr_in(language, lightcraft_catalog::rules::field_label(field).unwrap_or(field))),- None => issue.to_string(),- }-}--fn problem_line_in(language: Locale, problem: &lightcraft_catalog::rules::Problem) -> String {- let at: Vec<String> = problem.path.iter().map(|i| i.saturating_add(1).to_string()).collect();- // a problem with the album filter around the rules has no rule to point at- if at.is_empty() {- return problem_text_in(language, problem);- }- format!("#{} {}", at.join("."), problem_text_in(language, problem))-}--/// What people read for smart-album choice `id` of `field` ("Gemeinfrei" for `publicDomain` in-/// German); an id the field doesn't know, as written.-pub fn choice_text<'a>(field: &str, id: &'a str) -> &'a str {- choice_text_in(language(), field, id)-}--fn choice_text_in<'a>(language: Locale, field: &str, id: &'a str) -> &'a str {- lightcraft_catalog::rules::choice_label(field, id).map_or(id, |label| tr_in(language, label))-}--/// What people read for a smart-album yes/no value ("Ja" / "Nein" in German).-pub fn bool_text(b: bool) -> &'static str {- bool_text_in(language(), b)-}--/// The context of a smart-album yes/no value ([`tr_ctx_in`]).-const BOOL_CONTEXT: &str = "smart album value";--fn bool_text_in(language: Locale, b: bool) -> &'static str {- tr_ctx_in(language, BOOL_CONTEXT, lightcraft_catalog::rules::bool_label(b))-}--/// A rule summary for display, keeping free-text rule values verbatim.-pub fn rules_label(rules: &lightcraft_catalog::RuleSet, catalog: &lightcraft_catalog::Catalog) -> String {- fn describe(rules: &lightcraft_catalog::RuleSet, catalog: &lightcraft_catalog::Catalog, depth: usize) -> String {- use lightcraft_catalog::{- Match, Rule,- rules::{FIELDS, Kind, ops_for},- };- if depth >= 16 {- return tr("Nested group").to_string();- }- let parts: Vec<String> = rules- .rules- .iter()- .map(|rule| match rule {- Rule::Group { group } => format!("({})", describe(group, catalog, depth + 1)),- Rule::Field { field, op, value } => {- let Some((_, label, kind)) = FIELDS.iter().find(|entry| entry.0 == field) else { return field.clone() };- let operator = ops_for(*kind).iter().find(|entry| entry.0 == op).map_or(op.as_str(), |entry| entry.1);- let text = match kind {- // the album's name, as people know it (a user's name is never translated)- Kind::Album => lightcraft_catalog::rules::album_name(value, Some(catalog)),- Kind::Choice(_) => value.as_str().map_or_else(|| value.to_string(), |id| choice_text(field, id).to_string()),- Kind::Bool => lightcraft_catalog::rules::bool_value(value).map_or_else(|| value.to_string(), |b| bool_text(b).to_string()),- _ if matches!(op.as_str(), "inLast" | "notInLast") => format!(- "{} {}",- value.get("n").unwrap_or(&serde_json::Value::Null),- tr(value.get("unit").and_then(serde_json::Value::as_str).unwrap_or("days"))- ),- _ => value.as_str().map(str::to_string).unwrap_or_else(|| if value.is_null() { String::new() } else { value.to_string() }),- };- format!("{} {} {text}", tr(label), tr(operator)).trim().to_string()- }- })- .collect();- let join = match rules.mode {- Match::All => tr("and"),- Match::Any | Match::None => tr("or"),- };- let text = parts.join(&format!(" {join} "));- if rules.mode == Match::None { format!("{} ({text})", tr("none of")) } else { text }- }- // Preserve the established source-language summary.- if language() == Locale::En { rules.describe_with(catalog) } else { describe(rules, catalog, 0) }-}--#[cfg(test)]-mod tests {- use super::*;-- #[test]- fn every_language_has_a_catalog_covering_the_source() {- assert!(crate::i18n::Locale::En.catalog().is_empty(), "the source language needs no catalog");- for language in Locale::ALL {- assert!(!language.name().is_empty(), "{language:?} has a name");- assert!(!language.script().is_empty(), "{language:?} has a script");- assert_eq!(Locale::parse(language.code()), Some(*language), "{language:?} parses its own code");- if *language == Locale::En {- continue;- }- let messages = language.catalog();- assert!(!messages.is_empty(), "{language:?}: {} has no messages", language.code());- for (key, value) in messages {- assert!(!value.is_empty(), "{language:?}: empty translation for {key:?}");- }- }- }-- /// Where two catalogs translate the same text they agree on its placeholders. Catalogs may cover- /// different sets of messages (a message a language lacks shows in English): the gaps are- /// reported, not failed, so a translation can grow at its own pace.- #[test]- fn catalogs_agree_on_placeholders_and_report_gaps() {- let fields = |text: &str| {- let mut out: Vec<String> = Vec::new();- let mut rest = text;- while let Some(start) = rest.find('{') {- let Some(end) = rest[start..].find('}') else { break };- out.push(rest[start + 1..start + end].split(':').next().unwrap_or("").to_string());- rest = &rest[start + end + 1..];- }- out.sort();- out- };- let translated: Vec<Locale> = Locale::ALL.iter().copied().filter(|language| *language != Locale::En).collect();- let all: std::collections::BTreeSet<&String> = translated.iter().flat_map(|language| language.catalog().keys()).collect();- for language in &translated {- let catalog = language.catalog();- for (key, value) in catalog {- assert_eq!(fields(key), fields(value), "{language:?}: {key:?} -> {value:?}");- }- let missing: Vec<&&String> = all.iter().filter(|key| !catalog.contains_key(key.as_str())).collect();- if !missing.is_empty() {- eprintln!("{} lacks {} message(s) another language translates (shown in English): {missing:?}", language.code(), missing.len());- }- }- }-- /// Locale tags are matched leniently, so a system locale reaches a shipped language.- /// The message box for a desktop start that failed (issue #260) names the error and the log- /// file, in the UI language.- #[test]- fn startup_failure_message_names_the_error_and_the_log() {- let (title, text) = startup_failed_message("no adapter", Some("/home/a/.config/lightcraft/logs/lightcraft.log"));- assert_eq!(title, "LightCraft could not start");- assert!(text.contains("no adapter") && text.ends_with("lightcraft.log"), "{text}");- assert!(!startup_failed_message("no adapter", None).1.contains("log file"));- }-- #[test]- fn locale_tags_normalize() {- assert_eq!(Locale::parse_tag("en"), Some(Locale::En));- assert_eq!(Locale::parse_tag("en-US"), Some(Locale::En));- assert_eq!(Locale::parse_tag("zh-hans"), Some(Locale::ZhHans));- assert_eq!(Locale::parse_tag("zh"), Some(Locale::ZhHans));- assert_eq!(Locale::parse_tag("zh_CN"), Some(Locale::ZhHans));- assert_eq!(Locale::parse_tag("zh-hant"), Some(Locale::ZhHant));- assert_eq!(Locale::parse_tag("zh-Hant"), Some(Locale::ZhHant));- assert_eq!(Locale::parse_tag("zh-TW"), Some(Locale::ZhHant));- assert_eq!(Locale::parse_tag("zh_TW.UTF-8"), Some(Locale::ZhHant));- assert_eq!(Locale::parse_tag("zh-HK"), Some(Locale::ZhHant));- assert_eq!(Locale::parse_tag("zh-Hant-TW"), Some(Locale::ZhHant));- assert_eq!(Locale::parse_tag("zh-CN"), Some(Locale::ZhHans));- assert_eq!(Locale::parse_tag("ja_JP.UTF-8"), Some(Locale::Ja));- assert_eq!(Locale::parse_tag("pt-br"), Some(Locale::PtBr));- assert_eq!(Locale::parse_tag("pt-BR"), Some(Locale::PtBr));- assert_eq!(Locale::parse_tag("pt_BR.UTF-8"), Some(Locale::PtBr));- assert_eq!(Locale::parse_tag("pt"), Some(Locale::PtBr));- assert_eq!(Locale::parse_tag("fr"), Some(Locale::Fr));- assert_eq!(Locale::parse_tag("fr-FR"), Some(Locale::Fr));- assert_eq!(Locale::parse_tag("fr_FR.UTF-8"), Some(Locale::Fr));- for tag in ["de", "de-DE", "de_AT.UTF-8", "de-CH"] {- assert_eq!(Locale::parse_tag(tag), Some(Locale::De), "{tag}");- }- for tag in ["ru", "ru-RU", "ru_RU.UTF-8", "ru-UA"] {- assert_eq!(Locale::parse_tag(tag), Some(Locale::Ru), "{tag}");- }- for tag in ["es", "es-ES", "es_MX.UTF-8", "es-419"] {- assert_eq!(Locale::parse_tag(tag), Some(Locale::Es), "{tag}");- }- assert_eq!(Locale::parse_tag("xx"), None);- }-- #[test]- fn switching_language_translates_and_restores() {- set_language(Locale::ZhHans);- assert_eq!(tr("Exposure"), "曝光");- assert_eq!(tr("Settings"), "设置");- // Untranslated and data-like text passes through untouched.- assert_eq!(tr("my-photo.jpg"), "my-photo.jpg");- assert_eq!(tr("develop.set"), "develop.set");- assert_eq!(tr("A string no catalog has"), "A string no catalog has");- set_language(Locale::Ja);- assert_eq!(tr("Exposure"), "露出");- set_language(Locale::PtBr);- assert_eq!(tr("Exposure"), "Exposição");- assert_eq!(tr("Settings"), "Configurações");- set_language(Locale::En);- assert_eq!(tr("Exposure"), "Exposure");- }-- /// Format strings carry their values in every language, and a language without a translation- /// falls back to the English format rather than dropping the values.- #[test]- fn formats_render_in_every_language() {- // Every language's format string is checked by `format!` against the call site's values.- set_language(Locale::En);- assert_eq!(tr_format!("Imported {} photo{}", 12, "s"), "Imported 12 photos");- assert_eq!(tr_format!("Exported {ok} of {total} photo{}", "s", ok = 4, total = 12), "Exported 4 of 12 photos");- set_language(Locale::ZhHans);- assert_eq!(tr_format!("Imported {} photo{}", 12, "s"), "已导入 12 张照片");- assert_eq!(tr_format!("Exported {ok} of {total} photo{}", "s", ok = 4, total = 12), "已导出 12 张中的 4 张照片");- set_language(Locale::Ja);- assert_eq!(tr_format!("Imported {} photo{}", 12, "s"), "12枚を読み込みました");- assert_eq!(tr_format!("Exported {ok} of {total} photo{}", "s", ok = 4, total = 12), "12枚中4枚を書き出しました");- set_language(Locale::Fr);- assert_eq!(tr_format!("Imported {} photo{}", 12, "s"), "12 photos importée(s)");- assert_eq!(tr_format!("Imported {} photo{}", 1, ""), "1 photo importée(s)");- // Format specs survive translation: precision, sign, and values a language reorders.- for language in Locale::ALL {- set_language(*language);- let text = tr_format!("{count} smart preview{} · {:.1} MB", "s", 12.345, count = 3);- assert!(text.contains("12.3") && !text.contains("12.34"), "{language:?}: {text}");- let merging = tr_format!("Merging… {stage} {:.0}%", 42.4, stage = "Aligning");- assert!(merging.contains("42%"), "{language:?}: {merging}");- let delta = tr_format!("{label} {d:+} on every selected photo", label = "Exposure", d = 5);- assert!(delta.contains("+5"), "{language:?}: {delta}");- let reading = tr_format!("Reading photos… {} of {}", 3, 10);- let (three, ten) = (reading.find('3'), reading.find("10"));- assert!(three.is_some() && ten.is_some(), "{language:?}: {reading}");- }- set_language(Locale::En);- assert_eq!(tr_format!("Reading photos… {} of {}", 3, 10), "Reading photos… 3 of 10");- }-- /// Every character a catalog paints has a glyph in the fonts the UI installs, so a translation- /// never shows as boxes. Without craft-fonts there are no CJK faces at all, and the CJK- /// catalogs are skipped (the same degradation the Japanese UI has always had).- #[test]- fn catalog_characters_are_paintable() {- let ctx = egui::Context::default();- ctx.set_fonts(crate::theme::font_definitions(lightcraft_engine::CRAFT_FONTS));- let mut out = ctx.run_ui(egui::RawInput::default(), |_| {});- out.textures_delta.clear();- for language in Locale::ALL {- let messages = language.catalog();- if messages.is_empty() {- continue;- }- // The faces this language's script needs; a language the craft-fonts input does not- // cover (a translation added ahead of its font) is reported, not failed.- let mut faces: Vec<&str> =- lightcraft_engine::CRAFT_FONTS.iter().filter(|font| font.serves(language.script())).map(|font| font.family).collect();- faces.dedup();- if faces.is_empty() {- eprintln!("skipped {}: built without a craft-fonts face for {}", language.code(), language.script());- continue;- }- ctx.fonts_mut(|fonts| {- for family in [egui::FontFamily::Proportional, egui::FontFamily::Name(crate::theme::FONT_SEMIBOLD.into())] {- let font = egui::FontId::new(13.0, family.clone());- let mut missing: Vec<char> = messages- .values()- .flat_map(|message| message.chars())- .filter(|ch| !ch.is_whitespace() && !fonts.has_glyph(&font, *ch))- .collect();- missing.sort_unstable();- missing.dedup();- assert!(- missing.is_empty(),- "{} in {family:?} (faces: {faces:?}) lack glyphs: {}",- language.code(),- missing.iter().collect::<String>()- );- }- });- }- }-- /// The interface's own symbols paint in every language: the CJK faces stop at Han and kana, so a- /// translation must not carry a symbol no installed font has (egui's defaults cover the rest).- #[test]- fn interface_symbols_are_paintable() {- let ctx = egui::Context::default();- ctx.set_fonts(crate::theme::font_definitions(lightcraft_engine::CRAFT_FONTS));- let mut out = ctx.run_ui(egui::RawInput::default(), |_| {});- out.textures_delta.clear();- // ⌥ and ⌫ come from egui's bundled fonts; ▸ and ▾ are in neither (measured 2026-10-07).- ctx.fonts_mut(|fonts| {- for symbol in ['⌥', '⌫', '⇧', '⌘', '→', '…', '—', '“', '”', '·', '»', '⌄', '★'] {- let font = egui::FontId::new(13.0, egui::FontFamily::Proportional);- assert!(fonts.has_glyph(&font, symbol), "{symbol:?} has no glyph in any installed font");- }- });- }-- #[test]- fn translated_catalogs_do_not_use_missing_menu_triangles() {- let dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("locales");- for entry in std::fs::read_dir(dir).unwrap() {- let path = entry.unwrap().path();- if path.extension().is_none_or(|ext| ext != "json") {- continue;- }- let messages: BTreeMap<String, String> = serde_json::from_str(&std::fs::read_to_string(&path).unwrap()).unwrap();- for (source, text) in messages {- assert!(!text.contains(['▸', '▾']), "{}: {source:?} uses an unpaintable menu triangle", path.display());- }- }- }-- /// The language menu covers every language, and a language's own command selects it.- #[test]- fn language_commands_cover_every_language() {- let commands = [- ("app.language.traditionalChinese", Locale::ZhHant),- ("app.language.english", Locale::En),- ("app.language.simplifiedChinese", Locale::ZhHans),- ("app.language.japanese", Locale::Ja),- ("app.language.portuguese", Locale::PtBr),- ("app.language.french", Locale::Fr),- ("app.language.spanish", Locale::Es),- ("app.language.german", Locale::De),- ("app.language.russian", Locale::Ru),- ("app.language.ukrainian", Locale::Uk),- ("app.language.polish", Locale::Pl),- ];- // One command per language, and every command reachable from the menu table.- assert_eq!(commands.len(), Locale::ALL.len());- for (id, language) in commands {- assert_eq!(crate::menus::language_from_command(id), Some(language), "{id}");- assert!(crate::menus::ui_commands().any(|command| command.0 == id), "{id} is not in the menu");- }- assert_eq!(crate::menus::language_from_command("app.language.klingon"), None);- assert_eq!(crate::menus::language_from_command("view.detail"), None);- }-- #[test]- fn preferences_round_trip_and_old_settings_remain_readable() {- let old: crate::state::UiState = serde_json::from_str("{}").unwrap();- assert_eq!(old.language, Locale::En);- // Settings written before the language list grew still load.- let legacy: crate::state::UiState = serde_json::from_str(r#"{"language":"ja"}"#).unwrap();- assert_eq!(legacy.language, Locale::Ja);- let settings = crate::state::UiState { language: Locale::ZhHans, ..old };- let saved = serde_json::to_string(&settings).unwrap();- let restored: crate::state::UiState = serde_json::from_str(&saved).unwrap();- assert_eq!(restored.language, Locale::ZhHans);- }-- #[test]- fn catalogs_contain_core_workflows() {- for language in Locale::ALL.iter().filter(|language| **language != Locale::En) {- for key in ["Import Photos…", "Export…", "Exposure", "White Balance", "Settings", "Language"] {- let value = language.tr(key);- assert!(!value.is_empty() && value != key, "{language:?}: {key}");- }- }- }-- /// Smart-album choice values read as words in every language (English "Public Domain", German- /// "Gemeinfrei"), never as rule ids like `publicDomain`; an id the field doesn't know shows as- /// written. Unlike other labels these must be translated: an untranslated one would be English- /// in the middle of a translated rule.- #[test]- fn choice_values_read_as_words_in_every_language() {- use lightcraft_catalog::rules::{FIELDS, Kind};- assert_eq!(choice_text_in(Locale::En, "copyrightStatus", "publicDomain"), "Public Domain");- assert_eq!(choice_text_in(Locale::De, "copyrightStatus", "publicDomain"), "Gemeinfrei");- assert_eq!(choice_text_in(Locale::De, "copyrightStatus", "someday"), "someday");- assert_eq!(choice_text_in(Locale::ZhHans, "treatment", "color"), "彩色", "in colour, not the colour noun");- assert_eq!(choice_text_in(Locale::Ru, "treatment", "color"), "Цветное");- assert_eq!(choice_text_in(Locale::Es, "label", "none"), "Sin etiqueta");- // yes/no fields read Yes / No, never true / false- assert_eq!((bool_text_in(Locale::En, true), bool_text_in(Locale::En, false)), ("Yes", "No"));- assert_eq!(bool_text_in(Locale::De, false), "Nein");- // Japanese answers はい / いいえ don't read as a rule's value: its own wording, あり / なし,- // through a context, while the shared Yes / No keep their meaning everywhere else- assert_eq!((bool_text_in(Locale::Ja, true), bool_text_in(Locale::Ja, false)), ("あり", "なし"));- assert_eq!((Locale::Ja.tr("Yes"), Locale::Ja.tr("No")), ("はい", "いいえ"));- assert_eq!(tr_ctx_in(Locale::Ja, "nope", "Yes"), "はい", "no contextual entry: the plain message");- assert_eq!(tr_ctx_in(Locale::En, BOOL_CONTEXT, "Yes"), "Yes");- // and the yes/no fields are named by plain nouns, so "編集 … なし" doesn't read "edits: yes … none"- for (field, label, kind) in FIELDS {- if *kind != Kind::Bool {- continue;- }- let ja = Locale::Ja.catalog().get(*label).unwrap_or_else(|| panic!("ja lacks the {field} label {label:?}"));- assert!(!ja.contains("あり") && !ja.contains("なし"), "{field}: {ja}");- }- // a contextual entry names a real value (a typo would silently fall back to はい / いいえ)- let values = [lightcraft_catalog::rules::bool_label(true), lightcraft_catalog::rules::bool_label(false)];- for language in Locale::ALL {- for key in language.catalog().keys() {- if let Some(value) = key.strip_prefix(BOOL_CONTEXT).and_then(|k| k.strip_prefix('|')) {- assert!(values.contains(&value), "{}: {key:?} isn't a yes/no value", language.code());- }- }- }- for language in Locale::ALL.iter().filter(|language| **language != Locale::En) {- for label in [lightcraft_catalog::rules::bool_label(true), lightcraft_catalog::rules::bool_label(false)] {- assert!(language.catalog().contains_key(label), "{} lacks {label:?}", language.code());- }- }- for language in Locale::ALL {- for (field, _, kind) in FIELDS {- let Kind::Choice(choices) = kind else { continue };- for (id, label) in *choices {- let text = choice_text_in(*language, field, id);- assert_ne!(text, *id, "{}: {field} {id}", language.code());- if *language != Locale::En {- assert!(language.catalog().contains_key(*label), "{} lacks {label:?}", language.code());- }- }- }- }- }-- /// A rule's problem reads as the field's name and the issue, in the editor's language ("Titel:- /// braucht einen Suchbegriff …"); the sidebar's list puts the rule's position first. Every issue- /// is translated in every language: an English one would stand out in a translated editor.- #[test]- fn problems_read_in_every_language() {- use lightcraft_catalog::rules::Issue;- let cat = lightcraft_catalog::Catalog::new();- let problems = |rules: serde_json::Value| {- serde_json::from_value::<lightcraft_catalog::RuleSet>(serde_json::json!({"rules": rules})).unwrap().check(&cat)- };- let p = problems(serde_json::json!([{"field": "rating", "op": "gte", "value": 3}, {"field": "title", "op": "contains", "value": ""}]));- assert_eq!(problem_text_in(Locale::En, &p[0]), "Title: needs something to look for (or use “is empty”)");- assert_eq!(problem_text_in(Locale::De, &p[0]), "Titel: braucht einen Suchbegriff (oder „ist leer“)");- assert_eq!(problem_line_in(Locale::En, &p[0]), "#2 Title: needs something to look for (or use “is empty”)");- // Japanese and Chinese join with a full-width colon, as their catalogs do- assert_eq!(problem_text_in(Locale::Ja, &p[0]), "タイトル:検索する語句が必要です(または「が空」を使用)");- // a problem with the album filter itself has no rule position to show- let filter_loop =- lightcraft_catalog::rules::Problem { path: Vec::new(), field: Some("album".into()), issue: Issue::AlbumLoop, message: String::new() };- assert!(problem_line_in(Locale::En, &filter_loop).starts_with("Album: "), "{}", problem_line_in(Locale::En, &filter_loop));- let g = problems(serde_json::json!([{"group": {"rules": []}}]));- assert_eq!(problem_text_in(Locale::En, &g[0]), "This group is empty: add a rule or remove it.");- // the issues, the operators their hints name and the album picker's words, in every language- for language in Locale::ALL.iter().filter(|l| **l != Locale::En) {- // the field menu: every field and every group, so it never mixes languages- for label in lightcraft_catalog::rules::FIELDS.iter().map(|f| f.1).chain(lightcraft_catalog::rules::FIELD_GROUPS.iter().map(|g| g.0)) {- assert!(language.catalog().contains_key(label), "{} lacks the rule label {label:?}", language.code());- }- for word in [- "Choose an album…",- "No albums yet",- "Search albums",- "No albums match",- "This is the album you're editing",- "It tests this album, so testing it back would loop",- "Fix the marked rules to save this album.",- ] {- assert!(language.catalog().contains_key(word), "{} lacks {word:?}", language.code());- }- for issue in Issue::ALL {- assert!(language.catalog().contains_key(issue.text()), "{} lacks {:?}", language.code(), issue.text());- }- for (_, _, kind) in lightcraft_catalog::rules::FIELDS {- for (_, op) in lightcraft_catalog::rules::ops_for(*kind) {- assert!(language.catalog().contains_key(*op), "{} lacks the operator {op:?}", language.code());- }- }- }- }-- /// The date picker's own words (its tooltip, the weekday headers) are in every language, as the- /// month and day labels it borrows from the date headings are.- #[test]- fn date_picker_words_are_translated() {- for language in Locale::ALL.iter().filter(|l| **l != Locale::En) {- for word in crate::date_picker::WEEKDAY_SHORT.iter().chain(&["Pick a date", "Year", "Month", "Day"]) {- assert!(language.catalog().contains_key(*word), "{} lacks {word:?}", language.code());- }- }- }-- /// Ukrainian's coverage of every catalog message and display label. Gaps are reported, not failed- /// (like `catalogs_agree_on_placeholders_and_report_gaps`): a feature PR that adds a label doesn't- /// have to ship its Ukrainian text, which shows in English until the translation catches up.- #[test]- fn ukrainian_coverage_of_catalogs_commands_controls_and_rules_is_reported() {- let catalog = Locale::Uk.catalog();- let keys: std::collections::BTreeSet<&String> = Locale::ALL.iter().flat_map(|language| language.catalog().keys()).collect();- let lacking: Vec<_> = keys.into_iter().filter(|key| !catalog.contains_key(key.as_str())).collect();- if !lacking.is_empty() {- eprintln!("uk lacks {} catalog message(s) (shown in English): {lacking:?}", lacking.len());- }- let mut labels: Vec<&str> = lightcraft_engine::command_specs().iter().map(|spec| spec.label).collect();- labels.extend(crate::menus::ui_commands().map(|command| command.1).filter(|label| !Locale::ALL.iter().any(|locale| locale.name() == *label)));- labels.extend(lightcraft_develop::CONTROLS.iter().map(|control| control.label));- labels.extend(crate::panels::settings::TABS.iter().map(|(_, label)| *label));- for (_, label, kind) in lightcraft_catalog::rules::FIELDS {- labels.push(label);- labels.extend(lightcraft_catalog::rules::ops_for(*kind).iter().map(|(_, label)| *label));- }- labels.extend(lightcraft_engine::rename::TOKENS.iter().map(|token| token.meaning));- labels.extend(lightcraft_engine::rename::TEMPLATE_NOTES);- let missing: Vec<_> = labels.into_iter().filter(|label| !catalog.contains_key(*label)).collect();- if !missing.is_empty() {- eprintln!("uk lacks {} display label(s) (shown in English): {missing:?}", missing.len());- }- }-- #[test]- fn ukrainian_switches_persists_formats_dates_and_preserves_values() {- use crate::control::{ControlRequest, Outcome};- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), Default::default());- app.run("app.language.ukrainian", serde_json::json!({})).unwrap();- assert_eq!(app.ui.language, Locale::Uk);- assert_eq!(crate::menubar::checked(&app, "app.language.ukrainian"), Some(true));- assert_eq!(tr("Light"), "Світло");- assert_eq!(tr("Landscape"), "Пейзаж");- assert_eq!(tr("Home"), "Домашня тека");- assert_eq!(date_group_label("2026-09-20", false), "Неділя, 20.09.2026");- assert_eq!(date_group_label("2026-09", false), "09.2026");- assert_eq!(display_time("2026-09-20T16:04:05"), "Неділя, 20.09.2026 16:04:05");- // Count-neutral labels work for every Ukrainian integer category, with no English suffix.- for n in [0, 1, 2, 5, 11, 21, 22, 25, 111] {- assert_eq!(tr_format!("Imported {} photo{}", n, if n == 1 { "" } else { "s" }), format!("Імпортовано фото: {n}"));- assert_eq!(tr_format!("{} files and {f} folder{}", n, "s", f = n), format!("Файлів: {n}, тек: {n}"));- let noun = tr(if n == 1 { "cached picture" } else { "cached pictures" });- assert_eq!(tr_format!("{n} {noun}", n = n, noun = noun), format!("Кешовані зображення: {n}"));- }- // This trailing argument is queue progress, not an English plural suffix.- let queued = tr_format!(" · {queued} waiting", queued = 5);- assert_eq!(- tr_format!("Denoising {name}: {done} of {total} tiles{}", queued, name = "IMG.CR3", done = 1, total = 4),- "Усунення шуму IMG.CR3: ділянки — 1 із 4 · очікують: 5"- );- let name = "Color {title} 日本語";- assert_eq!(tr_format!("Added {n} photo{} to “{}”", "s", name, n = 22), format!("До «{name}» додано фото: 22"));- assert_eq!(builtin_label("Warm Glow", false), "Warm Glow");- assert_eq!(builtin_label("Warm Glow", true), "Тепле сяйво");- assert_eq!(tr("photo-{title}.jpg"), "photo-{title}.jpg");- assert_eq!(tr("develop.set"), "develop.set");- let saved = serde_json::to_string(&app.ui).unwrap();- assert!(saved.contains(r#""language":"uk""#));- assert_eq!(serde_json::from_str::<crate::state::UiState>(&saved).unwrap().language, Locale::Uk);- let ctx = egui::Context::default();- for code in ["uk", "uk-UA", "uk_UA.UTF-8", "uk-Cyrl-UA"] {- assert_eq!(Locale::parse_tag(code), Some(Locale::Uk));- let (request, _) = ControlRequest::new("ui.set", serde_json::json!({"language": code}));- let Outcome::Done(reply) = crate::control::handle(&mut app, &ctx, &request) else { panic!("expected reply") };- assert_eq!(reply["ok"], true);- assert_eq!(language(), Locale::Uk);- }- set_language(Locale::En);- }-- #[test]- fn ukrainian_panels_dialogs_and_letters_paint_with_bundled_fonts() {- let ctx = fonts_ctx(&[]);- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), Default::default());- app.ui.left_panel = true;- let text = painted_text(&ctx, &mut app, Locale::Uk);- assert!(text.contains("Мої фото") && text.contains("Усі фото"), "{text}");- for (command, title) in [("app.about", "Про LightCraft"), ("app.shortcuts", "Клавіатурні скорочення"), ("app.settings", "Налаштування")]- {- app.ui.dialog = None;- app.run(command, serde_json::json!({})).unwrap();- let text = painted_text(&ctx, &mut app, Locale::Uk);- assert!(text.contains(title), "{command}: {text}");- }- ctx.fonts_mut(|fonts| {- for family in [egui::FontFamily::Proportional, egui::FontFamily::Name(crate::theme::FONT_SEMIBOLD.into())] {- let font = egui::FontId::new(13.0, family);- for ch in "ҐґЄєІіЇї’«»"- .chars()- .chain(Locale::Uk.catalog().values().flat_map(|text| text.chars()).filter(|ch| ('\u{0400}'..='\u{04ff}').contains(ch)))- {- assert!(fonts.has_glyph(&font, ch), "missing Ukrainian glyph {ch}");- }- }- });- set_language(Locale::En);- }-- /// Every command, control, rule and rename label, and every line of What's New, is a message a- /// catalog can translate. What a language lacks is reported, not failed (like- /// `catalogs_agree_on_placeholders_and_report_gaps`): a feature PR doesn't have to ship every- /// language, and the translations catch up at their own pace.- #[test]- fn display_label_gaps_are_reported() {- let mut labels: Vec<&str> = lightcraft_engine::command_specs().iter().map(|spec| spec.label).collect();- labels.extend(crate::menus::ui_commands().map(|command| command.1).filter(|label| !Locale::ALL.iter().any(|locale| locale.name() == *label)));- labels.extend(lightcraft_develop::CONTROLS.iter().map(|control| control.label));- for (_, label, kind) in lightcraft_catalog::rules::FIELDS {- labels.push(label);- labels.extend(lightcraft_catalog::rules::ops_for(*kind).iter().map(|(_, label)| *label));- }- labels.extend(lightcraft_catalog::rules::FIELD_GROUPS.iter().map(|group| group.0));- labels.extend(lightcraft_engine::rename::TOKENS.iter().map(|token| token.meaning));- labels.extend(lightcraft_engine::rename::TEMPLATE_NOTES);- let ui_labels = labels.len();- for line in crate::panels::dialogs::WHATS_NEW.lines().map(str::trim) {- if line.is_empty() || line.starts_with("# ") {- continue;- }- let label = line.strip_prefix("### ").or_else(|| line.strip_prefix("## ")).or_else(|| line.strip_prefix("- ")).unwrap_or(line);- labels.push(label);- }- for language in Locale::ALL.iter().filter(|language| **language != Locale::En) {- let catalog = language.catalog();- let missing: Vec<&&str> = labels[..ui_labels].iter().filter(|label| !catalog.contains_key(**label)).collect();- let notes = labels[ui_labels..].iter().filter(|label| !catalog.contains_key(**label)).count();- if !missing.is_empty() || notes > 0 {- eprintln!(- "{} lacks {} display label(s) (shown in English): {missing:?}; and {notes} What's New line(s)",- language.code(),- missing.len()- );- }- }- // the German catalog, which set out to cover them all, still covers every other catalog- let german = Locale::De.catalog();- let gaps: Vec<&String> =- Locale::ALL.iter().flat_map(|language| language.catalog().keys()).filter(|key| !german.contains_key(key.as_str())).collect();- if !gaps.is_empty() {- eprintln!("de lacks {} message(s) another catalog has: {gaps:?}", gaps.len());- }- }-- #[test]- fn german_switches_via_menu_and_control_persists_and_formats_dates() {- use crate::control::{ControlRequest, Outcome};- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), Default::default());- app.run("app.language.german", serde_json::json!({})).unwrap();- assert_eq!(app.ui.language, Locale::De);- assert_eq!(tr("File"), "Datei");- assert_eq!(crate::menubar::checked(&app, "app.language.german"), Some(true));- assert_eq!(date_group_label("2026-09-20", false), "Sonntag, 20.09.2026");- assert_eq!(date_group_label("2026-09-20", true), "Sonntag, 20.");- assert_eq!(date_group_label("2026-09", false), "09/2026");- assert_eq!(display_time("2026-09-20T16:04:05"), "Sonntag, 20.09.2026 16:04:05");- assert_eq!(tr_format!("Imported {} photo{}", 1, ""), "1 Foto importiert");- assert_eq!(tr_format!("Imported {} photo{}", 12, "s"), "12 Fotos importiert");- assert_eq!(tr_format!("Added {n} photo{} to “{}”", "s", "Color", n = 12), "12 Fotos zu „Color“ hinzugefügt");- let saved = serde_json::to_string(&app.ui).unwrap();- assert!(saved.contains(r#""language":"de""#));- assert_eq!(serde_json::from_str::<crate::state::UiState>(&saved).unwrap().language, Locale::De);- let ctx = egui::Context::default();- for code in ["de-DE", "de_AT.UTF-8", "de-CH"] {- let (req, _) = ControlRequest::new("ui.set", serde_json::json!({"language": code}));- let Outcome::Done(reply) = crate::control::handle(&mut app, &ctx, &req) else { panic!("expected reply") };- assert_eq!(reply["ok"], true);- assert_eq!(language(), Locale::De);- }- assert_eq!(builtin_label("Warm Glow", false), "Warm Glow");- assert_eq!(builtin_label("Warm Glow", true), "Warmer Glanz");- assert_eq!(tr("my-photo.jpg"), "my-photo.jpg");- let rules = lightcraft_catalog::RuleSet {- mode: lightcraft_catalog::Match::All,- rules: vec![lightcraft_catalog::Rule::Field { field: "keywords".into(), op: "contains".into(), value: serde_json::json!("Color") }],- };- let mut catalog = lightcraft_catalog::Catalog::new();- catalog- .apply(lightcraft_catalog::Op::AddAlbum { album: lightcraft_catalog::Album::new(lightcraft_catalog::AlbumId(4), "Ausgeschlossen") })- .unwrap();- assert_eq!(rules_label(&rules, &catalog), "Stichwörter enthält Color");- let album = lightcraft_catalog::RuleSet {- mode: lightcraft_catalog::Match::All,- rules: vec![lightcraft_catalog::Rule::Field { field: "album".into(), op: "isNot".into(), value: serde_json::json!(4) }],- };- assert!(rules_label(&album, &catalog).ends_with(" “Ausgeschlossen”"), "{}", rules_label(&album, &catalog));- let rules = lightcraft_catalog::RuleSet {- mode: lightcraft_catalog::Match::All,- rules: vec![lightcraft_catalog::Rule::Field {- field: "copyrightStatus".into(),- op: "is".into(),- value: serde_json::json!("publicDomain"),- }],- };- assert!(rules_label(&rules, &catalog).ends_with(" Gemeinfrei"), "{}", rules_label(&rules, &catalog));- for value in [serde_json::json!(false), serde_json::json!("false")] {- let rules = lightcraft_catalog::RuleSet {- mode: lightcraft_catalog::Match::All,- rules: vec![lightcraft_catalog::Rule::Field { field: "edited".into(), op: "is".into(), value }],- };- assert!(rules_label(&rules, &catalog).ends_with(" Nein"), "{}", rules_label(&rules, &catalog));- }- let filter = lightcraft_catalog::Filter {- labels: vec![lightcraft_catalog::ColorLabel::Red, lightcraft_catalog::ColorLabel::Blue],- ..Default::default()- };- assert_eq!(filter_label(&filter, &app.session.catalog), "Farbmarkierung: Rot oder Blau");- app.run("label.setNames", serde_json::json!({"names": {"red": "Color"}})).unwrap();- assert_eq!(filter_label(&filter, &app.session.catalog), "Farbmarkierung: Color oder Blau");- set_language(Locale::En);- }-- #[test]- fn german_panels_dialogs_and_glyphs_are_painted_without_extra_fonts() {- let ctx = fonts_ctx(&[]);- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), Default::default());- app.ui.left_panel = true;- let text = painted_text(&ctx, &mut app, Locale::De);- assert!(text.contains("Meine Fotos") && text.contains("Alle Fotos"), "{text}");- app.ui.view = crate::state::ViewMode::People;- let text = painted_text(&ctx, &mut app, Locale::De);- assert!(text.contains("Benannte Personen"), "{text}");- for (command, title) in [("app.about", "Über LightCraft"), ("app.shortcuts", "Tastenkürzel"), ("app.settings", "Einstellungen")] {- app.ui.dialog = None;- app.run(command, serde_json::json!({})).unwrap();- let text = painted_text(&ctx, &mut app, Locale::De);- assert!(text.contains(title), "{command}: {text}");- }- ctx.fonts_mut(|fonts| {- for family in [egui::FontFamily::Proportional, egui::FontFamily::Name(crate::theme::FONT_SEMIBOLD.into())] {- let font = egui::FontId::new(13.0, family);- for ch in "ÄÖÜäöüß„“".chars() {- assert!(fonts.has_glyph(&font, ch), "missing German glyph {ch}");- }- }- });- set_language(Locale::En);- }-- #[test]- fn german_and_ukrainian_buttons_fit_the_bottom_bar_and_export_dialog() {- fn collect(shape: &egui::epaint::Shape, bounds: &mut Vec<(String, egui::Rect)>) {- match shape {- egui::epaint::Shape::Text(shape) => {- bounds.push((shape.galley.job.text.clone(), egui::Rect::from_min_size(shape.pos, shape.galley.size())))- }- egui::epaint::Shape::Vec(shapes) => shapes.iter().for_each(|shape| collect(shape, bounds)),- _ => {}- }- }- for language in [Locale::De, Locale::Uk] {- let ctx = fonts_ctx(&[]);- let services = crate::Services { pick_folder: Some(Box::new(|| None)), ..Default::default() };- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), services);- app.ui.language = language;- let mut bounds = Vec::new();- for export in [false, true] {- if export {- app.run("dialog.export", serde_json::json!({})).unwrap();- }- for frame in 0..4 {- let input = crate::headless::HeadlessView::raw_input(egui::vec2(1600.0, 1000.0), 1.0, frame as f64 / 60.0, vec![]);- let mut out = ctx.run_ui(input, |ui| {- app.logic(ui.ctx());- app.ui(ui);- });- out.textures_delta.clear();- bounds.clear();- for shape in out.shapes {- collect(&shape.shape, &mut bounds);- }- }- let rect = |id: &str| app.widgets.iter().find(|entry| entry.0 == id).unwrap().1;- if export {- let dialog = rect("dialog:window");- for id in ["button:exportNamingTags", "button:exportChooseFolder", "button:exportSavePreset"] {- assert!(dialog.contains_rect(rect(id)), "{id} spills outside {dialog:?}: {:?}", rect(id));- }- } else {- let button = rect("button:copySettings");- let (_, text) = bounds.iter().find(|entry| entry.0 == language.tr("Copy Edit Settings")).unwrap();- assert!(button.contains_rect(*text), "{language:?} copy caption overflows its button: {text:?} vs {button:?}");- assert!(!button.intersects(rect("icon:copyGear")));- }- }- }- set_language(Locale::En);- }-- /// User-named menu items (presets, albums, label sets) are never translated; built-in labels are.- #[test]- fn menu_labels_translate_but_user_names_survive() {- for language in Locale::ALL {- set_language(*language);- assert_eq!(crate::menubar::display_item_label("album.addPhotos", &serde_json::json!({"id": 1}), "Color"), "Color");- assert_eq!(crate::menubar::display_item_label("app.export", &serde_json::json!({"preset": "Color"}), "Color"), "Color");- assert_eq!(crate::menubar::display_item_label("view.photoGrid", &serde_json::Value::Null, "Color"), language.tr("Color"));- }- set_language(Locale::ZhHans);- assert_eq!(crate::menubar::display_item_label("view.photoGrid", &serde_json::Value::Null, "Color"), "颜色");- set_language(Locale::Ja);- assert_eq!(crate::menubar::display_item_label("view.photoGrid", &serde_json::Value::Null, "Color"), "カラー");- set_language(Locale::En);- }-- /// The text the whole window paints over a few frames in `language`.- fn painted_text(ctx: &egui::Context, app: &mut crate::LightcraftApp, language: Locale) -> String {- fn collect(shape: &egui::epaint::Shape, text: &mut String) {- match shape {- egui::epaint::Shape::Text(shape) => {- text.push_str(&shape.galley.job.text);- text.push('\n');- }- egui::epaint::Shape::Vec(shapes) => shapes.iter().for_each(|shape| collect(shape, text)),- _ => {}- }- }- app.ui.language = language;- let mut text = String::new();- for frame in 0..4 {- let input = crate::headless::HeadlessView::raw_input(egui::vec2(1600.0, 1000.0), 1.0, frame as f64 / 60.0, vec![]);- let mut out = ctx.run_ui(input, |ui| {- app.logic(ui.ctx());- app.ui(ui);- });- // This inspects shapes without a renderer; discard texture uploads explicitly.- out.textures_delta.clear();- text.clear();- for shape in out.shapes {- collect(&shape.shape, &mut text);- }- }- text- }-- /// Every language is painted by the real window, switching at runtime reinstalls the fonts- /// (their CJK fallback order follows the language), and command ids never change with it.- #[test]- fn every_language_is_painted_and_menu_ids_stay_the_same() {- let ctx = egui::Context::default();- crate::theme::install_fonts(&ctx);- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), Default::default());- app.ui.left_panel = true;- let ids = |app: &crate::LightcraftApp| crate::menus::menu_entries(app).into_iter().map(|entry| entry.id).collect::<Vec<_>>();- let english_ids = ids(&app);- for language in Locale::ALL {- let text = painted_text(&ctx, &mut app, *language);- for label in ["My Photos", "All Photos"] {- assert!(text.contains(language.tr(label)), "{language:?}: {label} -> {:?} not in\n{text}", language.tr(label));- }- assert_eq!(app.font_language, *language, "the fonts follow the language");- assert_eq!(ids(&app), english_ids, "{language:?}: command ids are presentation-independent");- }- let text = painted_text(&ctx, &mut app, Locale::Ja);- assert!(text.contains("マイフォト") && text.contains("すべての写真"), "{text}");- let text = painted_text(&ctx, &mut app, Locale::ZhHans);- assert!(text.contains("我的照片") && text.contains("所有照片"), "{text}");- let text = painted_text(&ctx, &mut app, Locale::PtBr);- assert!(text.contains("Minhas fotos") && text.contains("Todas as fotos"), "{text}");- set_language(Locale::En);- }-- /// The UI families, after one frame so the font definitions are loaded.- fn fonts_ctx(craft: &'static [lightcraft_engine::CraftFont]) -> egui::Context {- let ctx = egui::Context::default();- ctx.set_fonts(crate::theme::font_definitions(craft));- let mut out = ctx.run_ui(egui::RawInput::default(), |_| {});- out.textures_delta.clear();- ctx- }-- /// Built with craft-fonts, every CJK language renders with real glyphs (no tofu) in every UI- /// family, Monospace included.- #[test]- fn craft_fonts_render_cjk_in_the_ui() {- let samples = [(Locale::Ja, "日本語の文字"), (Locale::ZhHans, "简体中文字"), (Locale::ZhHant, "繁體中文字")];- for (language, sample) in samples {- if !lightcraft_engine::CRAFT_FONTS.iter().any(|font| font.serves(language.script())) {- eprintln!("skipped {}: built without a craft-fonts face for {}", language.code(), language.script());- continue;- }- set_language(language);- let ctx = fonts_ctx(lightcraft_engine::CRAFT_FONTS);- ctx.fonts_mut(|fonts| {- for family in- [egui::FontFamily::Proportional, egui::FontFamily::Name(crate::theme::FONT_SEMIBOLD.into()), egui::FontFamily::Monospace]- {- let font = egui::FontId::new(13.0, family);- for ch in sample.chars() {- assert!(fonts.has_glyph(&font, ch), "{language:?}: {ch} in {font:?}");- }- let galley = fonts.layout_no_wrap(sample.into(), font.clone(), egui::Color32::WHITE);- let wide = 13.0 * (sample.chars().count() as f32 - 1.0);- assert!(galley.size().x > wide, "{language:?} {font:?}: full-width glyphs, {:?}", galley.size());- }- });- }- set_language(Locale::En);- }-- /// Built without craft-fonts, the UI (in every language) still installs its fonts and runs;- /// Latin text keeps Inter.- #[test]- fn the_ui_works_without_craft_fonts() {- let ctx = fonts_ctx(&[]);- ctx.fonts_mut(|fonts| {- // (Not Monospace: egui's `has_glyph` reports false for glyphs of the family's- // replacement-glyph face, which there is Hack, the face that draws Latin.)- for family in [egui::FontFamily::Proportional, egui::FontFamily::Name(crate::theme::FONT_SEMIBOLD.into())] {- let font = egui::FontId::new(13.0, family);- assert!("LightCraft".chars().all(|ch| fonts.has_glyph(&font, ch)), "{font:?}");- }- });- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), Default::default());- for language in Locale::ALL {- app.ui.language = *language;- for frame in 0..3 {- let input = crate::headless::HeadlessView::raw_input(egui::vec2(1200.0, 800.0), 1.0, frame as f64 / 60.0, vec![]);- let mut out = ctx.run_ui(input, |ui| {- app.logic(ui.ctx());- app.ui(ui);- });- out.textures_delta.clear();- }- }- set_language(Locale::En);- }-- /// Traditional Chinese through the menu command and the control channel, persisted, with- /// localised headings and dates; ids and user text are untouched.- #[test]- fn traditional_chinese_switches_through_menu_and_control_and_persists() {- use crate::control::{ControlRequest, Outcome};- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), Default::default());- app.run("app.language.traditionalChinese", serde_json::json!({})).unwrap();- assert_eq!(app.ui.language, Locale::ZhHant);- // Applied at once, not on the next frame.- assert_eq!(tr("File"), "檔案");- assert_eq!(source_label(lightcraft_engine::LibrarySource::All, &app.session.catalog), "所有照片");- assert_eq!(date_group_label("2026-09-20", false), "2026年9月20日 星期日");- assert_eq!(date_group_label("2026-09-20", true), "20日 星期日");- assert_eq!(date_group_label("2026-09", false), "2026年9月");- assert_eq!(date_group_label("2026-09", true), "9月");- assert_eq!(date_group_label("2026", false), "2026年");- assert_eq!(date_group_label("", false), "未知日期");- assert_eq!(display_time("2026-09-20T16:04:05"), "2026年9月20日 星期日 16:04:05");- assert_eq!(display_time("a-user-value"), "a-user-value");- assert_eq!(crate::menubar::checked(&app, "app.language.traditionalChinese"), Some(true));- assert_eq!(crate::menubar::checked(&app, "app.language.english"), Some(false));- assert_eq!(tr("my-photo.jpg"), "my-photo.jpg");- for id in ["album.addPhotos", "metadata.applyPreset", "label.applySet"] {- assert_eq!(crate::menubar::display_item_label(id, &serde_json::json!({"id": 1}), "Color"), "Color");- }- assert_eq!(crate::menubar::display_item_label("view.photoGrid", &serde_json::Value::Null, "Color"), "色彩");- assert_eq!(tr_format!("{n} photo{}", "s", n = 12), "12 張照片");- assert_eq!(tr_format!("Exported {ok} of {total} photo{}", "s", ok = 4, total = 12), "已匯出 4/12 張照片");- let saved = serde_json::to_string(&app.ui).unwrap();- assert!(saved.contains(r#""language":"zh-hant""#), "{saved}");- assert_eq!(serde_json::from_str::<crate::state::UiState>(&saved).unwrap().language, Locale::ZhHant);- let ctx = egui::Context::default();- app.ui.language = Locale::En;- for code in ["zh-hant", "zh-Hant", "zh-TW", "zh_TW", "zh-HK"] {- let (req, _) = ControlRequest::new("ui.set", serde_json::json!({"language": code}));- let Outcome::Done(reply) = crate::control::handle(&mut app, &ctx, &req) else { panic!("expected a reply") };- assert_eq!(reply["ok"], true, "{code}");- assert_eq!(app.ui.language, Locale::ZhHant, "{code}");- assert_eq!(language(), Locale::ZhHant, "{code} applies at once");- }- let (req, _) = ControlRequest::new("ui.set", serde_json::json!({"language": "xx"}));- let Outcome::Done(reply) = crate::control::handle(&mut app, &ctx, &req) else { panic!("expected a reply") };- assert_eq!(reply["ok"], false);- assert_eq!(app.ui.language, Locale::ZhHant);- let ids = |app: &crate::LightcraftApp| crate::menus::menu_entries(app).into_iter().map(|entry| entry.id).collect::<Vec<_>>();- let chinese_ids = ids(&app);- app.run("app.language.english", serde_json::json!({})).unwrap();- assert_eq!(tr("File"), "File");- assert_eq!(chinese_ids, ids(&app));- }-- /// Dates follow every language's own patterns; English keeps the catalog's wording.- #[test]- fn date_headings_in_every_language() {- set_language(Locale::En);- assert_eq!(date_group_label("2026-09-20", false), "Sunday, 20 September 2026");- assert_eq!(date_group_label("2026-09-20", true), "Sunday, 20");- assert_eq!(date_group_label("2026-09", true), "September");- assert_eq!(display_time("2026-09-20T16:04:05"), lightcraft_catalog::dates::display_time("2026-09-20T16:04:05"));- set_language(Locale::Ja);- assert_eq!(date_group_label("2026-09-20", false), "2026年9月20日(日曜日)");- assert_eq!(date_group_label("2026-09", true), "9月");- set_language(Locale::ZhHans);- assert_eq!(date_group_label("2026-09-20", false), "2026年9月20日 星期日");- for language in Locale::ALL {- set_language(*language);- // A key that is not a date never panics and never shows a raw pattern.- for key in ["", "abcd", "2026-xx", "2026-13", "2026-09-xx", "2026-09"] {- assert!(!date_group_label(key, false).contains('{'), "{language:?}: {key:?}");- assert!(!date_group_label(key, true).contains('{'), "{language:?}: {key:?}");- }- }- set_language(Locale::En);- }-- /// Stock presets and panel headers are translated; a user preset keeps its name, also when it- /// shares a stock preset's name.- #[test]- fn traditional_chinese_presets_and_panel_headers_are_painted() {- let ctx = egui::Context::default();- crate::theme::install_fonts(&ctx);- let mut app = crate::LightcraftApp::new(lightcraft_engine::Session::with_demo(), Default::default());- app.ui.presets = true;- let builtin = app.session.presets.iter().find(|p| p.name == "Warm Glow").unwrap().clone();- app.session.presets.push(lightcraft_develop::Preset { id: "user.test".into(), builtin: false, ..builtin });- for (panel, title) in [(crate::state::RightPanel::Activity, "歷史紀錄"), (crate::state::RightPanel::Versions, "版本")] {- app.ui.right = panel;- let text = painted_text(&ctx, &mut app, Locale::ZhHant);- assert!(text.contains(title), "{text}");- assert!(!text.contains("History") && !text.contains("Versions"), "{text}");- assert!(text.contains("暖光"), "stock preset: {text}");- assert!(text.contains("Warm Glow"), "user preset: {text}");- assert!(text.contains("色彩"), "stock group: {text}");- }- assert_eq!(history_label("Exposure", &app.session.presets), "曝光");- assert_eq!(history_label("Preset: Warm Film", &app.session.presets), "預設集:暖調底片");- assert_eq!(history_label("Preset: Warm Glow", &app.session.presets), "預設集:Warm Glow");- set_language(Locale::En);- }-}diff --git a/packaging/crates/ui-egui/src/menus.rs b/packaging/crates/ui-egui/src/menus.rsdeleted file mode 100644index f35eb245c..000000000--- a/packaging/crates/ui-egui/src/menus.rs+++ /dev/null@@ -1,1715 +0,0 @@-//! UI-level commands (views, panels, zoom, tools, dialogs) and the menu model shared by the native-//! menu bar, the shortcut handler and the control channel.--use serde::Serialize;-use serde_json::{Value, json};--use crate::LightcraftApp;-use crate::pick::{PickRequest, Picked};-use crate::state::{BeforeAfter, Dialog, RightPanel, ViewMode, Zoom};--/// (id, label, shortcut, menu path)-pub type UiCommand = (&'static str, &'static str, Option<&'static str>, &'static str);--/// The "Edit → Language" entries, one per language in [`crate::i18n::Locale::ALL`], so a language-/// has a matching menu command (also listed through the control channel). Tests check coverage.-pub const LANGUAGE_COMMANDS: &[UiCommand] = &[- ("app.language.english", crate::i18n::Locale::En.name(), None, "Edit>Language"),- ("app.language.simplifiedChinese", crate::i18n::Locale::ZhHans.name(), None, "Edit>Language"),- ("app.language.traditionalChinese", crate::i18n::Locale::ZhHant.name(), None, "Edit>Language"),- ("app.language.japanese", crate::i18n::Locale::Ja.name(), None, "Edit>Language"),- ("app.language.portuguese", crate::i18n::Locale::PtBr.name(), None, "Edit>Language"),- ("app.language.french", crate::i18n::Locale::Fr.name(), None, "Edit>Language"),- ("app.language.spanish", crate::i18n::Locale::Es.name(), None, "Edit>Language"),- ("app.language.german", crate::i18n::Locale::De.name(), None, "Edit>Language"),- ("app.language.russian", crate::i18n::Locale::Ru.name(), None, "Edit>Language"),- ("app.language.ukrainian", crate::i18n::Locale::Uk.name(), None, "Edit>Language"),- ("app.language.polish", crate::i18n::Locale::Pl.name(), None, "Edit>Language"),-];--/// Every UI command: the languages, then everything else. `xtask parity` reads both tables from-/// this file, so an id listed in `docs/parity-checklist.md` is checked wherever it is declared.-pub fn ui_commands() -> impl Iterator<Item = &'static UiCommand> {- LANGUAGE_COMMANDS.iter().chain(UI_COMMANDS)-}--/// The language a Language-menu command selects, if the id is one. The engine and the UI both go-/// through here, so the menu, the settings row and the control channel agree on the mapping.-pub fn language_from_command(id: &str) -> Option<crate::i18n::Locale> {- match id {- "app.language.english" => Some(crate::i18n::Locale::En),- "app.language.simplifiedChinese" => Some(crate::i18n::Locale::ZhHans),- "app.language.traditionalChinese" => Some(crate::i18n::Locale::ZhHant),- "app.language.japanese" => Some(crate::i18n::Locale::Ja),- "app.language.portuguese" => Some(crate::i18n::Locale::PtBr),- "app.language.french" => Some(crate::i18n::Locale::Fr),- "app.language.spanish" => Some(crate::i18n::Locale::Es),- "app.language.german" => Some(crate::i18n::Locale::De),- "app.language.russian" => Some(crate::i18n::Locale::Ru),- "app.language.ukrainian" => Some(crate::i18n::Locale::Uk),- "app.language.polish" => Some(crate::i18n::Locale::Pl),- _ => None,- }-}--pub const UI_COMMANDS: &[UiCommand] = &[- ("ui.dock", "Arrange Panel", None, ""),- ("ui.dock.reset", "Reset Panel Layout", None, "Window"),- ("modelSetup.cancel", "Cancel Pending Photo Action", None, ""),- ("view.photoGrid", "Photo Grid", None, "View"),- ("view.squareGrid", "Square Grid", None, "View"),- // G: Photo Grid ↔ Square Grid (from other views: the photo grid)- ("view.gridToggle", "Grid", Some("G"), ""),- ("tool.guidedUpright", "Guided Upright", Some("Shift+G"), "Window>Tools"),- ("view.detail", "Detail", Some("D"), "View"),- ("view.compare", "Compare", Some("Shift+C"), "View"),- ("view.survey", "Survey", Some("N"), "View"),- ("view.people", "People", None, "View"),- ("view.person", "Show Person", None, ""),- ("view.faceBoxes", "Face Boxes", None, "View"),- ("view.reference", "Reference View", Some("Shift+R"), "View"),- ("photo.setReference", "Set as Reference Photo", None, ""),- ("compare.swap", "Swap Compare Photos", None, "View"),- ("compare.makeSelect", "Make Candidate the Select", None, "View"),- ("view.autoAdvance", "Auto Advance", None, "Photo"),- ("view.filmstrip", "Filmstrip", Some("/"), "View"),- ("view.leftPanel", "My Photos Panel", Some("Cmd+Shift+L"), "View"),- ("view.beforeAfter", "Compare Before and After", Some("Y"), "View"),- ("view.beforeAfterSplit", "Before/After Split", Some("Shift+Y"), "View"),- ("view.beforeAfterTopBottom", "Before/After Top/Bottom", Some("Alt+Y"), "View"),- ("view.beforeAfterSplitTopBottom", "Before/After Split Top/Bottom", Some("Alt+Shift+Y"), "View"),- ("view.showOriginal", "Show Original", Some("\\"), "View"),- ("view.zoomFit", "Zoom to Fit", Some("Cmd+0"), "View"),- ("view.zoom100", "Zoom 100%", Some("Cmd+Alt+0"), "View"),- ("view.zoomToggle", "Toggle Zoom", Some("Z"), "View"),- // the ratio a click (and Z / Space) zooms to- ("view.clickZoom", "Click Zoom Ratio", None, ""),- ("view.navigate", "Set Image Zoom and Pan", None, ""),- ("view.zoomIn", "Zoom In", Some("Cmd+="), "View"),- ("view.zoomOut", "Zoom Out", Some("Cmd+-"), "View"),- ("view.clipping", "Show Clipping", Some("J"), "View"),- ("view.visualizeHdr", "Visualize HDR", None, "View"),- // in grids S expands/collapses stacks (the engine command it shadows)- ("view.softProof", "Soft Proofing", Some("S"), "View"),- ("view.histogram", "Histogram", Some("Cmd+Shift+H"), "View"),- ("view.maskOverlay", "Show Mask Overlay", Some("O"), "View"),- // Shift+O in the Masking panel (elsewhere it cycles the crop overlay)- ("view.maskOverlayMode", "Cycle Mask Overlay Mode", None, "View"),- ("view.maskOverlayColor", "Cycle Mask Overlay Color", None, "View"),- ("view.maskPins", "Show Mask Pins", None, "View"),- ("view.visualizeSpots", "Visualize Spots", Some("A"), "View"),- ("view.cropOverlay", "Cycle Crop Overlay", Some("Shift+O"), "View"),- ("view.cropOverlayOrientation", "Cycle Crop Overlay Orientation", None, "View"),- ("view.back", "Back to Grid", Some("Escape"), ""),- ("tool.done", "Done", Some("Enter"), ""),- ("view.filterBar", "Filter Bar", Some("Shift+F"), "View"),- ("local.addRoot", "Add Folder to Local", None, ""),- ("local.hide", "Remove from Local", None, ""),- ("local.restoreHidden", "Show Hidden Local Locations", None, ""),- ("view.fullScreenPreview", "Full Screen Preview", Some("F"), "View"),- ("view.enterFullScreen", "Enter Full Screen", Some("Cmd+Shift+F"), "View"),- ("view.infoOverlay", "Cycle Info Overlay", Some("Cmd+I"), "View"),- ("view.navigator", "Navigator", None, "View"),- ("panel.edit", "Edit", Some("E"), "Window"),- ("panel.profiles", "Profile Browser", None, "Window"),- ("panel.crop", "Crop & Rotate", Some("C"), "Window"),- ("panel.remove", "Remove", Some("H"), "Window"),- ("panel.masking", "Masking", Some("M"), "Window"),- ("panel.redeye", "Red Eye", None, "Window"),- ("panel.presets", "Presets", Some("Shift+P"), "Window"),- ("panel.info", "Info", Some("I"), "Window"),- ("panel.keywords", "Keywords", Some("K"), "Window"),- ("panel.versions", "Versions", Some("Shift+V"), "Window"),- ("panel.activity", "History", None, "Window"),- ("panel.close", "Close Panel", None, ""),- ("section.light", "Light", Some("Cmd+1"), "Window>Edit Sections"),- ("section.color", "Color", Some("Cmd+2"), "Window>Edit Sections"),- ("section.effects", "Effects", Some("Cmd+3"), "Window>Edit Sections"),- ("section.detail", "Detail", Some("Cmd+4"), "Window>Edit Sections"),- ("section.optics", "Optics", Some("Cmd+5"), "Window>Edit Sections"),- ("tool.brush", "Brush", Some("B"), "Window>Tools"),- ("tool.linear", "Linear Gradient", Some("L"), "Window>Tools"),- ("tool.radial", "Radial Gradient", Some("R"), "Window>Tools"),- ("tool.wbPicker", "White Balance Selector", Some("W"), "Window>Tools"),- ("tool.none", "No Tool", None, ""),- // brush size / feather of the active brush (Masking brush, Remove tool and its selected spot)- ("brush.smaller", "Decrease Brush Size", Some("["), "Window>Tools"),- ("brush.larger", "Increase Brush Size", Some("]"), "Window>Tools"),- ("brush.featherLess", "Decrease Brush Feather", Some("Shift+["), "Window>Tools"),- ("brush.featherMore", "Increase Brush Feather", Some("Shift+]"), "Window>Tools"),- ("dialog.newAlbum", "New Album…", Some("Cmd+N"), "File"),- ("dialog.newFolder", "New Folder…", Some("Cmd+Shift+N"), "File"),- ("dialog.smartAlbum", "New Smart Album…", None, "File"),- ("view.photoCounts", "Show Photo Counts", None, "View"),- ("view.slideshow", "Slideshow", Some("Cmd+Alt+Enter"), "View"),- ("view.secondWindow", "Second Window", Some("Cmd+F11"), "Window"),- ("tool.keywordPainter", "Keyword Painter", None, ""),- ("view.gridInfo", "Grid Info", None, ""),- ("dialog.allMetadata", "All Metadata…", None, "Photo"),- ("dialog.faceModel", "Add Face Model…", None, ""),- ("dialog.newSmartAlbum", "New Smart Album from Filter…", Some("Cmd+Alt+N"), "File"),- ("dialog.createPreset", "Create Preset…", Some("Cmd+Shift+P"), "Photo"),- ("dialog.autoStack", "Auto-Stack by Capture Time…", None, "Photo>Stack"),- ("dialog.copySettings", "Choose Edit Settings to Copy…", Some("Cmd+Shift+C"), "Edit"),- ("dialog.pasteSettings", "Paste Selected Settings…", Some("Cmd+Shift+V"), "Edit"),- ("view.focusSearch", "Find…", Some("Cmd+F"), "Edit"),- ("dialog.export", "Export…", None, "File"),- ("dialog.contactSheet", "Contact Sheet PDF…", None, "File"),- ("app.contactSheet", "Export Contact Sheet PDF", None, ""),- ("photo.editInExternal", "Edit in External Editor", Some("Cmd+Shift+E"), "Photo"),- ("dialog.mergeHdr", "HDR…", Some("Ctrl+H"), "Photo>Photo Merge"),- ("dialog.mergePanorama", "Panorama…", Some("Ctrl+M"), "Photo>Photo Merge"),- ("dialog.mergeHdrPanorama", "HDR Panorama…", None, "Photo>Photo Merge"),- ("merge.hdrLast", "HDR with Last Settings", Some("Ctrl+Shift+H"), "Photo>Photo Merge"),- ("merge.panoramaLast", "Panorama with Last Settings", Some("Ctrl+Shift+M"), "Photo>Photo Merge"),- ("merge.hdrPanoramaLast", "HDR Panorama with Last Settings", None, "Photo>Photo Merge"),- ("file.addPhotos", "Import Photos…", Some("Cmd+Shift+I"), "File"),- ("file.addFolder", "Import from Folder…", None, "File"),- ("file.importLightroom", "Import Lightroom Catalog…", None, "File"),- ("file.addFromDevice", "Import from Device", None, ""),- ("file.findMissing", "Find Missing Photos…", None, "File"),- ("file.backupLibrary", "Back Up Library…", None, "File"),- ("file.restoreLibrary", "Restore Library from Backup…", None, "File"),- ("photo.locate", "Locate Missing File…", None, ""),- ("dialog.saveMetadataPreset", "Save Metadata Preset…", None, ""),- ("app.quit", "Quit LightCraft", Some("Cmd+Q"), "File"),- ("file.importPresets", "Import Profiles & Presets…", None, "File"),- ("file.exportPresets", "Export Presets…", None, "File"),- ("file.importKeywords", "Import Keywords…", None, "File"),- ("file.exportKeywords", "Export Keywords…", None, "File"),- // Edit panel ▸ Curve ▸ Point Curve dropdown- ("file.importCurvePresets", "Import Point Curve Presets…", None, ""),- ("file.exportCurvePresets", "Export Point Curve Presets…", None, ""),- ("app.settings", "Settings…", Some("Cmd+,"), "Edit"),- ("app.openLibrary", "Open Library…", None, "File"),- // Settings ▸ Display- ("app.displayProfile", "Display Profile", None, ""),- ("app.about", "About LightCraft", None, "Help"),- ("app.systemInfo", "System Info…", None, "Help"),- ("app.openLogFolder", "Open Log Folder", None, "Help"),- ("app.whatsNew", "What's New", None, "Help"),- ("dialog.cull", "Assisted Culling…", None, "Photo"),- ("app.help", "LightCraft Help", Some("F1"), "Help"),- ("app.discord", "Join the ArtCraft Discord…", None, "Help"),- ("app.feedback", "Send Feedback…", None, "Help"),- ("app.website", "LightCraft Website", None, "Help"),- ("app.github", "LightCraft on GitHub", None, "Help"),- ("app.artcraft", "ArtCraft Website", None, "Help"),- ("app.shortcuts", "Keyboard Shortcuts", Some("Cmd+/"), "Help"),- ("app.setShortcut", "Set Keyboard Shortcut", None, ""),- ("app.resetShortcuts", "Reset All Keyboard Shortcuts", None, ""),- ("app.export", "Export Now", None, ""),- ("app.showInFinder", "Show in Finder", Some("Cmd+R"), "Photo"),- ("dialog.rename", "Rename Photos…", Some("F2"), "Photo"),- ("dialog.labelNames", "Edit Color Label Names…", None, ""),- ("dialog.captureTime", "Edit Capture Time…", None, "Photo"),- ("photo.tagFromTracklog", "Auto-Tag from Tracklog…", None, "Photo"),- ("app.exportPrevious", "Export with Previous", Some("Cmd+Alt+Shift+E"), "File"),-];--fn panel(app: &mut LightcraftApp, ctx: &egui::Context, p: RightPanel, name: &str) {- if app.ui.right == p && crate::docking::exposed(app, crate::docking::Panel::Tools) {- app.ui.right = RightPanel::None;- app.toast(ctx, crate::i18n::tr_format!("{name} Off", name = crate::i18n::tr(name)));- } else {- app.ui.right = p;- app.toast(ctx, crate::i18n::tr_format!("{name} On", name = crate::i18n::tr(name)));- if p.is_edit_tool() && !matches!(app.ui.view, ViewMode::Detail) {- app.ui.view = ViewMode::Detail;- }- }- if p != RightPanel::Masking && app.ui.tool != "wbPicker" {- app.ui.tool.clear();- }- let _ = app.session.end_interaction();-}--/// `[` / `]` (size ×`k`) and ⇧`[` / ⇧`]` (feather +`df`) for the brush in use: the Remove tool's-/// (and its selected spot's) or the Masking brush's.-fn adjust_brush(app: &mut LightcraftApp, k: f32, df: f32) -> Value {- if app.ui.right == RightPanel::Remove {- app.ui.remove_size = (app.ui.remove_size * k).clamp(0.001, 0.25);- app.ui.remove_feather = (app.ui.remove_feather + df).clamp(0.0, 100.0);- if app.session.active_spot.is_some() {- let mut p = json!({});- if k != 1.0 {- p["size"] = json!(app.ui.remove_size);- }- if df != 0.0 {- p["feather"] = json!(app.ui.remove_feather);- }- let _ = app.run("spot.update", p);- }- json!({"size": app.ui.remove_size, "feather": app.ui.remove_feather})- } else {- app.ui.brush_size = (app.ui.brush_size * k).clamp(0.002, 0.5);- app.ui.brush_feather = (app.ui.brush_feather + df).clamp(0.0, 100.0);- json!({"size": app.ui.brush_size, "feather": app.ui.brush_feather})- }-}--/// The `parent` folder id of a `dialog.new*` command (none: the top level).-fn parent_param(p: &Value) -> Option<u64> {- p.get("parent").and_then(Value::as_u64)-}--/// An sRGB colour from `"#rrggbb"` or `[r, g, b]` (0..255).-pub fn parse_rgb(v: &Value) -> Option<[u8; 3]> {- if let Some(s) = v.as_str() {- let h = s.strip_prefix('#').unwrap_or(s);- if h.len() != 6 {- return None;- }- let c = |i: usize| u8::from_str_radix(h.get(i..i + 2)?, 16).ok();- return Some([c(0)?, c(2)?, c(4)?]);- }- let a = v.as_array()?;- let c = |i: usize| a.get(i)?.as_f64().map(|x| x.clamp(0.0, 255.0).round() as u8);- Some([c(0)?, c(1)?, c(2)?])-}--/// Handle UI commands; `None` means "not a UI command — send it to the engine".-pub fn run_ui_command(app: &mut LightcraftApp, id: &str, p: &Value) -> Option<Result<Value, String>> {- if matches!(id, "ui.dock" | "ui.dock.reset") {- return Some(crate::docking::command(app, id == "ui.dock.reset", p));- }- if matches!(id, "library.inspectLightroom" | "library.importLightroom") {- // the app's own context: a fresh one's repaints reach no window and its clock starts at zero- let ctx = app.tasks.repaint.clone().unwrap_or_default();- return Some(crate::lightroom_import::command(app, id, p, &ctx));- }- if let Some(language) = language_from_command(id) {- app.ui.language = language;- // Immediately, not on the next frame: the reply and anything else run this frame- // (menus rebuilt from it, toasts) are already in the new language.- crate::i18n::set_language(app.ui.language);- return Some(Ok(json!(app.ui.language)));- }- // the app's own context: a toast's time comes from its clock (a fresh context's clock is at 0,- // and a toast set by it was long over by the app's clock: it never showed)- let ctx = app.tasks.repaint.clone().unwrap_or_default();- let r: Result<Value, String> = match id {- "view.photoGrid" => {- app.ui.view = ViewMode::PhotoGrid;- Ok(Value::Null)- }- "view.squareGrid" => {- app.ui.view = ViewMode::SquareGrid;- Ok(Value::Null)- }- "view.gridInfo" => {- // {info?: filename | exposure | date} (cycles when omitted)- let next = match p.get("info").and_then(Value::as_str) {- Some(i @ ("filename" | "exposure" | "date")) => i.to_string(),- Some(other) => return Some(Err(format!("view.gridInfo: unknown `{other}` (filename|exposure|date)"))),- None => match app.ui.grid_info.as_str() {- "filename" => "exposure".into(),- "exposure" => "date".into(),- _ => "filename".into(),- },- };- app.ui.grid_info = next;- app.ui.show_filenames = true;- Ok(json!({"info": app.ui.grid_info}))- }- "tool.keywordPainter" => {- // {keyword?}: paint that keyword onto photos in the grid by clicking them; no keyword stops- app.ui.keyword_painter = p.get("keyword").and_then(Value::as_str).map(str::trim).filter(|k| !k.is_empty()).map(str::to_string);- if app.ui.keyword_painter.is_some() && !matches!(app.ui.view, ViewMode::PhotoGrid | ViewMode::SquareGrid) {- app.ui.view = ViewMode::PhotoGrid;- }- if let Some(k) = app.ui.keyword_painter.clone() {- app.toast(&ctx, crate::i18n::tr_format!("Painting “{k}”: click photos to add or remove it · Esc stops", k = k));- }- Ok(json!({"keyword": app.ui.keyword_painter}))- }- "view.secondWindow" => {- app.ui.second_window = p.get("show").and_then(Value::as_bool).unwrap_or(!app.ui.second_window);- Ok(json!({"show": app.ui.second_window}))- }- "view.photoCounts" => {- app.ui.show_counts = p.get("show").and_then(Value::as_bool).unwrap_or(!app.ui.show_counts);- Ok(json!({"show": app.ui.show_counts}))- }- "view.gridToggle" => {- app.ui.view = if app.ui.view == ViewMode::PhotoGrid { ViewMode::SquareGrid } else { ViewMode::PhotoGrid };- Ok(Value::Null)- }- "view.detail" => {- app.ui.view = ViewMode::Detail;- Ok(Value::Null)- }- "view.compare" => crate::panels::compare::enter_compare(app),- "view.faceBoxes" => {- app.ui.face_boxes = p.get("show").and_then(Value::as_bool).unwrap_or(!app.ui.face_boxes);- Ok(json!({"show": app.ui.face_boxes}))- }- "view.people" => {- // Everyone; the page just left stays one click away (the chip next to the title)- if let Some(name) = app.ui.person_page.take() {- app.ui.last_person = Some(name);- }- app.ui.person_from = None;- app.ui.view = ViewMode::People;- Ok(json!({"people": app.session.catalog.people().len()}))- }- "view.person" => {- // {name}: one person's page in the People view: their faces, and the faces that look like them- let Some(name) = p.get("name").and_then(Value::as_str).map(str::trim).filter(|n| !n.is_empty()) else {- return Some(Err("view.person: missing `name`".into()));- };- app.ui.view = ViewMode::People;- app.ui.person_from = None;- app.ui.person_page = Some(name.to_string());- Ok(json!({"person": name}))- }- "view.survey" => {- app.ui.view = ViewMode::Survey;- Ok(json!({"photos": crate::panels::compare::survey_photos(app).len()}))- }- "view.reference" => {- // the reference: the one set before, else the active photo (the next one becomes active)- let vis = app.session.visible_cloned();- let reference = app- .ui- .reference- .filter(|r| app.session.catalog.photo(lightcraft_catalog::PhotoId(*r)).is_some())- .or_else(|| app.session.active().map(|a| a.0));- let Some(r) = reference else { return Some(Err("select a photo to use as the reference".into())) };- app.ui.reference = Some(r);- if app.session.active().is_none_or(|a| a.0 == r)- && let Some(i) = vis.iter().position(|x| x.0 == r)- && let Some(next) = vis.get(i + 1).or(i.checked_sub(1).and_then(|j| vis.get(j)))- {- let _ = app.session.execute("library.select", &json!({"ids": [next.0]}));- }- app.ui.view = ViewMode::Reference;- Ok(json!({"reference": r, "active": app.session.active().map(|a| a.0)}))- }- "photo.setReference" => {- let id = p.get("id").and_then(Value::as_u64).or_else(|| app.session.active().map(|a| a.0));- app.ui.reference = id;- Ok(json!({"reference": id}))- }- "compare.swap" => crate::panels::compare::swap(app),- "compare.makeSelect" => crate::panels::compare::make_select(app),- "view.autoAdvance" => {- app.ui.auto_advance = !app.ui.auto_advance;- app.toast(&ctx, if app.ui.auto_advance { "Auto Advance On" } else { "Auto Advance Off" });- Ok(json!({"autoAdvance": app.ui.auto_advance}))- }- "view.back" => {- if app.ui.dialog.is_some() {- app.ui.dialog = None;- } else if app.ui.keyword_painter.is_some() {- app.ui.keyword_painter = None;- } else if app.ui.fullscreen {- app.ui.fullscreen = false;- app.ui.slideshow = None;- } else if !app.ui.tool.is_empty() {- app.ui.tool.clear();- } else if app.ui.view == ViewMode::People && app.ui.person_page.is_some() {- app.ui.person_page = None;- } else if matches!(app.ui.view, ViewMode::Compare | ViewMode::Survey) {- app.ui.view = ViewMode::Detail;- } else if app.ui.view == ViewMode::Detail {- // a photo opened from a person's page goes back to that page, any other to the grid- match app.ui.person_from.take() {- Some((name, photo)) if app.session.active().is_some_and(|a| a.0 == photo) => {- app.ui.view = ViewMode::People;- app.ui.person_page = Some(name);- }- _ => app.ui.view = ViewMode::PhotoGrid,- }- }- Ok(Value::Null)- }- "view.slideshow" => {- // {interval?: seconds (4)}: the photos in view, full screen, one after another- let interval = p.get("interval").and_then(Value::as_f64).unwrap_or(4.0).clamp(0.5, 120.0);- if app.session.active().is_none() {- let first = app.session.visible_cloned().first().copied();- match first {- Some(f) => {- let _ = app.run("library.select", json!({"ids": [f.0]}));- }- None => return Some(Err("no photos to show".into())),- }- }- let now = ctx.input(|i| i.time);- app.ui.slideshow = Some((interval, now + interval, false));- app.ui.fullscreen = true;- app.ui.zoom = Zoom::Fit;- app.ui.tool.clear();- let _ = app.session.end_interaction();- app.toast(&ctx, crate::i18n::tr("Slideshow · Space pauses · Esc ends"));- Ok(json!({"interval": interval}))- }- "view.fullScreenPreview" => {- app.ui.fullscreen = !app.ui.fullscreen;- if !app.ui.fullscreen {- app.ui.slideshow = None;- }- if app.ui.fullscreen {- app.ui.zoom = Zoom::Fit;- app.ui.tool.clear();- let _ = app.session.end_interaction();- }- Ok(json!({"fullscreen": app.ui.fullscreen}))- }- "view.enterFullScreen" => {- // applied by the host's frame logic (it knows the window's current state)- let on = p.get("on").and_then(Value::as_bool);- app.ui.window_fullscreen = Some(on.unwrap_or(!app.window_is_fullscreen));- Ok(json!({"windowFullscreen": app.ui.window_fullscreen}))- }- "view.infoOverlay" => {- app.ui.info_overlay = match p.get("mode").and_then(Value::as_str) {- Some(m) => match serde_json::from_value(json!(m)) {- Ok(v) => v,- Err(_) => return Some(Err(format!("unknown info overlay `{m}` (off|basic|exposure)"))),- },- None => app.ui.info_overlay.next(),- };- let label = match app.ui.info_overlay {- crate::state::InfoOverlay::Off => "Info Overlay Off",- crate::state::InfoOverlay::Basic => "Info Overlay: File",- crate::state::InfoOverlay::Exposure => "Info Overlay: Exposure",- };- app.toast(&ctx, label);- Ok(json!({"infoOverlay": app.ui.info_overlay}))- }- "view.navigator" => {- app.ui.navigator = !app.ui.navigator;- Ok(json!({"navigator": app.ui.navigator}))- }- "app.settings" => {- let tab = p.get("tab").and_then(Value::as_str).unwrap_or("general");- if !crate::panels::settings::TABS.iter().any(|(id, _)| *id == tab) {- let tabs: Vec<&str> = crate::panels::settings::TABS.iter().map(|(id, _)| *id).collect();- return Some(Err(format!("unknown settings tab `{tab}` ({})", tabs.join("|"))));- }- app.ui.dialog = Some(Dialog::Settings { tab: tab.into() });- Ok(Value::Null)- }- "app.openLibrary" => crate::panels::settings::open_library(app, p),- "app.displayProfile" => crate::panels::settings::display_profile(app, p),- "file.backupLibrary" | "file.restoreLibrary" => {- let action = if id == "file.backupLibrary" { app.services.backup_library.as_mut() } else { app.services.restore_library.as_mut() };- match action {- Some(f) => f(&mut app.session),- None => Err("not available here: on the desktop the library is a folder; back it up with your other files".into()),- }- }- "view.filmstrip" => {- app.ui.filmstrip = !app.ui.filmstrip;- Ok(Value::Null)- }- "view.leftPanel" => {- app.ui.left_panel = !app.ui.left_panel;- Ok(Value::Null)- }- "view.beforeAfter" => {- app.ui.before_after = if app.ui.before_after == BeforeAfter::SideBySide { BeforeAfter::Off } else { BeforeAfter::SideBySide };- Ok(Value::Null)- }- "view.beforeAfterSplit" => {- app.ui.before_after = if app.ui.before_after == BeforeAfter::Split { BeforeAfter::Off } else { BeforeAfter::Split };- Ok(Value::Null)- }- "view.beforeAfterTopBottom" => {- app.ui.before_after = if app.ui.before_after == BeforeAfter::TopBottom { BeforeAfter::Off } else { BeforeAfter::TopBottom };- Ok(Value::Null)- }- "view.beforeAfterSplitTopBottom" => {- app.ui.before_after = if app.ui.before_after == BeforeAfter::SplitTopBottom { BeforeAfter::Off } else { BeforeAfter::SplitTopBottom };- Ok(Value::Null)- }- "view.showOriginal" => {- app.ui.before_after = if app.ui.before_after == BeforeAfter::Original { BeforeAfter::Off } else { BeforeAfter::Original };- Ok(Value::Null)- }- "view.zoomFit" => {- app.ui.zoom = Zoom::Fit;- Ok(Value::Null)- }- "view.zoom100" => {- app.ui.zoom = Zoom::Percent(100.0);- Ok(Value::Null)- }- "view.zoomToggle" => {- // the same ratio a click on the photo zooms to- app.ui.zoom = if app.ui.zoom == Zoom::Fit { Zoom::Percent(app.ui.click_zoom as f32) } else { Zoom::Fit };- app.ui.zoom_anim = true;- Ok(Value::Null)- }- "view.clickZoom" => {- // {ratio?: 1|2|3|4|8} → {ratio}- if let Some(r) = p.get("ratio").and_then(Value::as_f64) {- let pct = (r * 100.0).round() as u32;- if !crate::state::CLICK_ZOOMS.contains(&pct) {- return Some(Err(format!("view.clickZoom: ratio {r} (1, 2, 3, 4 or 8)")));- }- app.ui.click_zoom = pct;- }- Ok(json!({"ratio": app.ui.click_zoom / 100}))- }- "view.zoomIn" | "view.zoomOut" => {- let steps = [25.0, 50.0, 100.0, 200.0, 400.0, 800.0];- let cur = match app.ui.zoom {- Zoom::Percent(p) => p,- _ => 25.0,- };- let next = if id == "view.zoomIn" {- steps.iter().find(|s| **s > cur).copied().unwrap_or(800.0)- } else {- steps.iter().rev().find(|s| **s < cur).copied().unwrap_or(0.0)- };- app.ui.zoom = if next == 0.0 { Zoom::Fit } else { Zoom::Percent(next) };- Ok(Value::Null)- }- "view.navigate" => {- // {zoom?: "fit"|"fill"|{percent: number}, pan?: [x, y]} (normalized image centre).- // Validate the complete request before changing either part of the viewport.- let zoom = match p.get("zoom") {- Some(v) => match serde_json::from_value::<Zoom>(v.clone()) {- Ok(Zoom::Percent(p)) if !p.is_finite() || p <= 0.0 || p > 800.0 => {- return Some(Err("view.navigate: zoom percent must be greater than 0 and at most 800".into()));- }- Ok(z) => z,- Err(e) => return Some(Err(format!("view.navigate: {e}"))),- },- None => app.ui.zoom,- };- let pan = match p.get("pan") {- Some(v) => match serde_json::from_value::<(f32, f32)>(v.clone()) {- Ok((x, y)) if x.is_finite() && y.is_finite() && (0.0..=1.0).contains(&x) && (0.0..=1.0).contains(&y) => (x, y),- _ => return Some(Err("view.navigate: pan must be [x, y] with finite coordinates from 0 to 1".into())),- },- None => app.ui.pan,- };- app.ui.zoom = zoom;- app.ui.pan = pan;- app.ui.zoom_anim = false;- Ok(json!({"zoom": zoom, "pan": pan}))- }- "view.clipping" => {- app.ui.show_clipping = !app.ui.show_clipping;- Ok(Value::Null)- }- "view.visualizeHdr" => {- // {on?}; no params toggles. Shown on photos edited in HDR (see `develop.hdr`).- app.ui.hdr_visualize = p.get("on").and_then(Value::as_bool).unwrap_or(!app.ui.hdr_visualize);- Ok(json!({"on": app.ui.hdr_visualize}))- }- "view.softProof" => {- // {on?, space?, destWarning?, displayWarning?}; no params toggles- let has = |k: &str| p.get(k).is_some();- if let Some(s) = p.get("space").and_then(Value::as_str) {- match lightcraft_engine::pipeline::OutputSpace::parse(s) {- Some(sp) => app.ui.proof.space = sp,- None => return Some(Err(format!("view.softProof: unknown space {s:?} (srgb|displayP3|adobeRgb|proPhoto|rec2020)"))),- }- }- if let Some(b) = p.get("destWarning").and_then(Value::as_bool) {- app.ui.proof.dest_warning = b;- }- if let Some(b) = p.get("displayWarning").and_then(Value::as_bool) {- app.ui.proof.display_warning = b;- }- app.ui.soft_proof = match p.get("on").and_then(Value::as_bool) {- Some(b) => b,- None if has("space") || has("destWarning") || has("displayWarning") => app.ui.soft_proof,- None => !app.ui.soft_proof,- };- if app.ui.soft_proof && !matches!(app.ui.view, ViewMode::Detail | ViewMode::Reference) {- app.ui.view = ViewMode::Detail;- }- let pr = app.ui.proof;- Ok(json!({"on": app.ui.soft_proof, "space": pr.space, "destWarning": pr.dest_warning, "displayWarning": pr.display_warning}))- }- "view.histogram" => {- app.ui.histogram = !app.ui.histogram;- Ok(Value::Null)- }- "view.maskOverlay" => {- app.ui.mask_overlay = p.get("show").and_then(Value::as_bool).unwrap_or(!app.ui.mask_overlay);- Ok(json!({"maskOverlay": app.ui.mask_overlay}))- }- "view.maskOverlayMode" => {- use lightcraft_engine::pipeline::MaskView;- let cur = MaskView::parse(&app.ui.mask_overlay_mode).unwrap_or_default();- let next = match p.get("mode").and_then(Value::as_str) {- Some(m) => match MaskView::parse(m) {- Some(v) => v,- None => {- let names: Vec<&str> = MaskView::ALL.iter().map(|v| v.name()).collect();- return Some(Err(format!("view.maskOverlayMode: unknown mode `{m}` ({})", names.join("|"))));- }- },- None => cur.next(),- };- app.ui.mask_overlay_mode = next.name().into();- app.ui.mask_overlay = true;- app.toast(&ctx, next.label());- Ok(json!({"mode": next.name()}))- }- "view.maskOverlayColor" => {- // no params: the next of the panel's swatch colours- if p.get("color").is_none() && p.get("opacity").is_none() {- let all = crate::panels::masking::OVERLAY_COLORS;- let i = all.iter().position(|c| *c == app.ui.mask_overlay_color).map_or(0, |i| (i + 1) % all.len());- app.ui.mask_overlay_color = all[i];- }- if let Some(c) = p.get("color") {- match parse_rgb(c) {- Some(rgb) => app.ui.mask_overlay_color = rgb,- None => return Some(Err("view.maskOverlayColor: `color` is \"#rrggbb\" or [r, g, b]".into())),- }- }- if let Some(o) = p.get("opacity").and_then(Value::as_f64) {- app.ui.mask_overlay_opacity = o.clamp(0.0, 100.0) as f32;- }- let [r, g, b] = app.ui.mask_overlay_color;- Ok(json!({"color": format!("#{r:02x}{g:02x}{b:02x}"), "opacity": app.ui.mask_overlay_opacity}))- }- "brush.smaller" | "brush.larger" | "brush.featherLess" | "brush.featherMore" => {- let (k, df) = match id {- "brush.smaller" => (1.0 / 1.2, 0.0),- "brush.larger" => (1.2, 0.0),- "brush.featherLess" => (1.0, -10.0),- _ => (1.0, 10.0),- };- Ok(adjust_brush(app, k, df))- }- "view.maskPins" => {- app.ui.mask_pins = p.get("show").and_then(Value::as_bool).unwrap_or(!app.ui.mask_pins);- Ok(json!({"maskPins": app.ui.mask_pins}))- }- "view.visualizeSpots" => {- // like Lightroom's A: opens the Remove tool with the view on, or toggles it there- if app.ui.right == RightPanel::Remove {- app.ui.visualize_spots = !app.ui.visualize_spots;- } else {- app.ui.right = RightPanel::Remove;- app.ui.visualize_spots = true;- }- Ok(Value::Null)- }- "view.cropOverlay" => {- use crate::state::CropOverlay::*;- app.ui.crop_overlay = match app.ui.crop_overlay {- Thirds => Grid,- Grid => Golden,- Golden => Diagonal,- Diagonal => Triangle,- Triangle => Spiral,- Spiral => None,- None => Thirds,- };- Ok(json!({"overlay": app.ui.crop_overlay}))- }- "view.cropOverlayOrientation" => {- app.ui.crop_overlay_orient = (app.ui.crop_overlay_orient + 1) % 4;- Ok(json!({"orientation": app.ui.crop_overlay_orient}))- }- "local.addRoot" => {- // a folder kept in Local's sidebar (saved with the UI state); nothing on disk changes- let Some(path) = p.get("path").and_then(Value::as_str) else { return Some(Err("local.addRoot needs a path".into())) };- let abs = std::path::absolute(path).map(|a| a.to_string_lossy().trim_end_matches(['/', '\\']).to_string()).unwrap_or(path.into());- let abs = if abs.is_empty() { path.to_string() } else { abs };- if !std::path::Path::new(&abs).is_dir() {- return Some(Err(format!("{path}: not a folder")));- }- use crate::panels::left::same_folder;- if !app.ui.local_roots.iter().any(|r| same_folder(r, &abs)) {- app.ui.local_roots.push(abs.clone());- }- app.ui.hidden_locations.retain(|h| !same_folder(h, &abs));- Ok(json!({"roots": app.ui.local_roots}))- }- "local.hide" => match p.get("path").and_then(Value::as_str) {- Some(path) => {- if !app.ui.hidden_locations.iter().any(|h| crate::panels::left::same_folder(h, path)) {- app.ui.hidden_locations.push(path.to_string());- }- Ok(json!({"hidden": app.ui.hidden_locations}))- }- None => Err("local.hide needs a path".into()),- },- "local.restoreHidden" => {- // one path, or (no path) every hidden location- match p.get("path").and_then(Value::as_str) {- Some(path) => app.ui.hidden_locations.retain(|h| !crate::panels::left::same_folder(h, path)),- None => app.ui.hidden_locations.clear(),- }- Ok(json!({"hidden": app.ui.hidden_locations}))- }- "view.filterBar" => {- app.ui.filter_bar = !app.ui.filter_bar;- if app.ui.filter_bar && !matches!(app.ui.view, ViewMode::PhotoGrid | ViewMode::SquareGrid) {- app.ui.view = ViewMode::PhotoGrid;- }- Ok(json!({"filterBar": app.ui.filter_bar}))- }- "panel.edit" => {- panel(app, &ctx, RightPanel::Edit, "Edit");- Ok(Value::Null)- }- "panel.profiles" => {- // toggles between the profile browser and the Edit panel it belongs to- app.ui.right = if app.ui.right == RightPanel::Profiles && crate::docking::exposed(app, crate::docking::Panel::Tools) {- RightPanel::Edit- } else {- RightPanel::Profiles- };- if !matches!(app.ui.view, ViewMode::Detail) {- app.ui.view = ViewMode::Detail;- }- Ok(json!({"open": app.ui.right == RightPanel::Profiles}))- }- "panel.crop" => {- panel(app, &ctx, RightPanel::Crop, "Crop, Rotate, Geometry");- Ok(Value::Null)- }- "panel.remove" => {- panel(app, &ctx, RightPanel::Remove, "Remove");- if app.ui.right == RightPanel::Remove && app.ui.tool.is_empty() {- app.ui.tool = "remove".into();- }- Ok(Value::Null)- }- "panel.masking" => {- panel(app, &ctx, RightPanel::Masking, "Masking");- Ok(Value::Null)- }- "panel.redeye" => {- panel(app, &ctx, RightPanel::RedEye, "Red Eye");- Ok(Value::Null)- }- "panel.info" => {- panel(app, &ctx, RightPanel::Info, "Info");- Ok(Value::Null)- }- "panel.keywords" => {- panel(app, &ctx, RightPanel::Keywords, "Keywords");- Ok(Value::Null)- }- "panel.versions" => {- panel(app, &ctx, RightPanel::Versions, "Versions");- Ok(Value::Null)- }- "panel.activity" => {- panel(app, &ctx, RightPanel::Activity, "History");- Ok(Value::Null)- }- "panel.presets" => {- app.ui.presets = !app.ui.presets || !crate::docking::exposed(app, crate::docking::Panel::Presets);- if app.ui.presets && app.ui.view != ViewMode::Detail {- app.ui.view = ViewMode::Detail;- }- Ok(Value::Null)- }- "tool.done" => {- // Return commits a tool panel (crop, remove, red eye, masking): back to Edit- use RightPanel::*;- if app.ui.dialog.is_none() && matches!(app.ui.right, Crop | Remove | RedEye | Masking) {- let _ = app.session.end_interaction();- app.ui.tool.clear();- app.ui.right = Edit;- }- Ok(Value::Null)- }- "panel.close" => {- app.ui.right = RightPanel::None;- app.ui.presets = false;- Ok(Value::Null)- }- s if s.starts_with("section.") => {- let sec = &s["section.".len()..];- if app.ui.right != RightPanel::Edit {- app.ui.right = RightPanel::Edit;- }- app.ui.toggle_section(sec);- Ok(Value::Null)- }- s if s.starts_with("tool.") => {- let tool = &s["tool.".len()..];- match tool {- "none" => app.ui.tool.clear(),- "guidedUpright" => {- // Crop & Geometry with Guided Upright on, ready to draw guides- app.ui.right = RightPanel::Crop;- app.ui.view = ViewMode::Detail;- let guided = app- .session- .active()- .and_then(|id| app.session.develop_of(id))- .is_some_and(|d| d.geometry.upright == lightcraft_develop::Upright::Guided);- if !guided && let Err(e) = app.run("geometry.upright", json!({"mode": "guided"})) {- return Some(Err(e));- }- app.ui.tool = "guidedUpright".into();- }- "brush" => {- // A new mask and Add/Subtract are selection operations, not the brush's- // Erase mode. Paint positively into a component with the requested op.- let create = if p.get("new").and_then(Value::as_bool) == Some(true) {- Some(app.run("mask.add", json!({"kind": "brush"})))- } else {- p.get("op").map(|op| app.run("mask.addComponent", json!({"kind": "brush", "op": op})))- };- if let Some(result) = create {- if let Err(e) = result {- return Some(Err(e));- }- app.ui.brush_erase = false;- app.ui.mask_overlay = true;- }- app.ui.right = RightPanel::Masking;- app.ui.view = ViewMode::Detail;- app.ui.tool = "brush".into();- }- "linear" | "radial" => {- app.ui.right = RightPanel::Masking;- app.ui.view = ViewMode::Detail;- app.ui.tool = tool.into();- return Some(app.session.execute("mask.add", &json!({"kind": tool})).map_err(|e| e.to_string()));- }- "wbPicker" => {- app.ui.right = RightPanel::Edit;- app.ui.view = ViewMode::Detail;- app.ui.tool = "wbPicker".into();- }- other => return Some(Err(format!("unknown tool `{other}`"))),- }- Ok(Value::Null)- }- "dialog.newFolder" => {- app.ui.dialog =- Some(Dialog::NewAlbum { name: p.get("name").and_then(Value::as_str).unwrap_or("").into(), folder: true, parent: parent_param(p) });- Ok(Value::Null)- }- "dialog.newAlbum" => {- app.ui.dialog =- Some(Dialog::NewAlbum { name: p.get("name").and_then(Value::as_str).unwrap_or("").into(), folder: false, parent: parent_param(p) });- Ok(Value::Null)- }- "dialog.autoStack" => {- app.ui.dialog = Some(Dialog::AutoStack { gap: p.get("gap").and_then(Value::as_f64).unwrap_or(60.0) as f32 });- Ok(Value::Null)- }- "dialog.allMetadata" => {- let r = match app.session.execute("photo.allMetadata", p) {- Ok(r) => r,- Err(e) => return Some(Err(e.to_string())),- };- let title = app.session.active().and_then(|id| app.session.catalog.photo(id)).map(|p| p.file_name.clone()).unwrap_or_default();- app.ui.dialog = Some(Dialog::AllMetadata { title, rows: r, search: String::new() });- Ok(Value::Null)- }- "dialog.smartAlbum" => {- // {id?}: edit that smart album's rules; without: a new one starting at Rating ≥ 3- let album = p- .get("id")- .and_then(Value::as_u64)- .and_then(|id| app.session.catalog.album(lightcraft_catalog::AlbumId(id)).filter(|a| a.is_smart()).cloned());- app.ui.dialog = Some(match album {- Some(a) => Dialog::SmartRules {- id: Some(a.id.0),- name: a.name.clone(),- // older rules read as they always matched (RuleSet::upgrade)- rules: a- .smart- .as_ref()- .and_then(|f| f.rule_set.clone())- .map(|mut r| {- r.upgrade();- r- })- .unwrap_or_default(),- parent: None,- },- None => Dialog::SmartRules {- id: None,- name: p.get("name").and_then(Value::as_str).unwrap_or("").into(),- rules: lightcraft_catalog::RuleSet { rules: vec![crate::panels::rules_editor::new_rule()], ..Default::default() },- parent: parent_param(p),- },- });- Ok(Value::Null)- }- "dialog.newSmartAlbum" => {- app.ui.dialog = Some(Dialog::NewSmartAlbum { name: p.get("name").and_then(Value::as_str).unwrap_or("").into(), parent: parent_param(p) });- Ok(Value::Null)- }- "dialog.captureTime" => {- let time = app.session.active().and_then(|id| app.session.catalog.photo(id)).map(|p| p.date().replace('T', " ")).unwrap_or_default();- let mode = p.get("mode").and_then(Value::as_str).unwrap_or("set").to_string();- app.ui.dialog =- Some(Dialog::CaptureTime { mode, time: time.get(..19).unwrap_or(&time).to_string(), days: 0, hours: 0, minutes: 0, zone: 0.0 });- Ok(Value::Null)- }- "dialog.labelNames" => {- let names =- lightcraft_catalog::ColorLabel::ALL.iter().map(|l| app.session.catalog.custom_label_name(*l).unwrap_or("").to_string()).collect();- app.ui.dialog = Some(Dialog::LabelNames { names, save_as: String::new() });- Ok(Value::Null)- }- "dialog.rename" => {- let template = p.get("template").and_then(Value::as_str).unwrap_or("{name}").to_string();- app.ui.dialog = Some(Dialog::Rename { template, start: p.get("start").and_then(Value::as_u64).unwrap_or(1) as u32 });- Ok(Value::Null)- }- "dialog.createPreset" => {- app.ui.dialog = Some(Dialog::create_preset());- Ok(Value::Null)- }- "dialog.pasteSettings" => {- let groups =- app.session.copy_groups.iter().filter_map(|g| serde_json::to_value(g).ok().and_then(|v| v.as_str().map(str::to_string))).collect();- app.ui.dialog = Some(Dialog::PasteSettings { groups });- Ok(Value::Null)- }- "view.focusSearch" => {- // the search field lives in the top bar of the library and detail views alike- app.ui.focus_search = true;- Ok(Value::Null)- }- "dialog.copySettings" => {- let groups =- app.session.copy_groups.iter().filter_map(|g| serde_json::to_value(g).ok().and_then(|v| v.as_str().map(str::to_string))).collect();- app.ui.dialog = Some(Dialog::CopySettings { groups });- Ok(Value::Null)- }- "dialog.contactSheet" => {- app.ui.dialog = Some(Dialog::ContactSheet { options: lightcraft_engine::contact_sheet::Options::default() });- Ok(Value::Null)- }- "app.contactSheet" => {- if app.export.is_some() {- return Some(Err("an export is already running".into()));- }- let mut params = p.clone();- if p.get("path").is_none() {- let req = PickRequest::save("Contact Sheet PDF", "PDF", &["pdf"], "Contact Sheet.pdf");- let paths = match crate::pick::ask(app, id, p, "path", req, |_| None) {- Picked::Now(paths) => paths,- Picked::Later => return Some(Ok(Value::Null)),- Picked::Unavailable => return Some(Err("no save dialog on this platform; supply path".into())),- };- let Some(path) = paths.first() else { return Some(Ok(Value::Null)) };- params["path"] = json!(path);- }- crate::export_task::start_contact_sheet(app, ¶ms)- }- "dialog.export" => {- let prev = app.session.last_export.clone().unwrap_or_default();- let u = |k: &str, d: u64| prev.get(k).and_then(Value::as_u64).unwrap_or(d);- let dir = prev.get("dir").and_then(Value::as_str).map(str::to_string).unwrap_or_else(crate::control::default_export_dir);- let opts = lightcraft_engine::export::ExportOptions::from_json(&prev);- // no previous export: 2048 px long edge; a previous full-size export: full size- let full_size = opts.resize.is_none() && lightcraft_engine::export::ExportOptions::has_size_param(&prev);- let resize = opts.resize.unwrap_or_default();- app.ui.dialog = Some(Dialog::Export { opts, full_size, resize, preset_name: String::new(), limit_kb: u("limitKb", 0) as u32, dir });- Ok(Value::Null)- }- "merge.hdrLast" => crate::merge::start_last(app, "merge.hdr"),- "merge.panoramaLast" => crate::merge::start_last(app, "merge.panorama"),- "merge.hdrPanoramaLast" => crate::merge::start_last(app, "merge.hdrPanorama"),- "dialog.mergeHdr" => crate::merge::open(app, "merge.hdr"),- "dialog.faceModel" => {- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => Some(x.to_string()),- None => app.services.pick_model_file.as_mut().and_then(|f| f().into_iter().next()),- };- match path {- Some(path) => crate::panels::faces::open_dialog(app, &path),- None => Ok(Value::Null),- }- }- "dialog.mergePanorama" => crate::merge::open(app, "merge.panorama"),- "dialog.mergeHdrPanorama" => crate::merge::open(app, "merge.hdrPanorama"),- "app.about" => {- app.ui.dialog = Some(Dialog::About);- Ok(Value::Null)- }- "photo.editInExternal" => {- // render an edit copy (stacked on the original), then open it in the editor- let mut params = p.clone();- if !params.is_object() {- params = json!({});- }- let r = match app.session.execute("photo.editExternal", ¶ms) {- Ok(r) => r,- Err(e) => return Some(Err(e.to_string())),- };- let path = r["path"].as_str().unwrap_or_default().to_string();- if let Some(id) = r["id"].as_u64() {- app.ui.external_edits.push(id);- }- let editor = p.get("app").and_then(Value::as_str).map(str::to_string).unwrap_or_else(|| app.ui.settings.external_editor.clone());- if let Some(f) = app.services.open_with.as_mut()- && let Err(e) = f(&path, &editor)- {- app.toast(&ctx, crate::i18n::tr_format!("Couldn't open the editor: {e}", e = e));- }- let name = std::path::Path::new(&path).file_name().map(|n| n.to_string_lossy().to_string()).unwrap_or_default();- app.toast(&ctx, crate::i18n::tr_format!("{name} opened for editing; it is stacked with the original", name = name));- Ok(r)- }- "dialog.cull" => {- app.ui.dialog = Some(Dialog::Cull { reject_below: 0.0, pick_best: true });- Ok(Value::Null)- }- "app.whatsNew" => {- app.ui.dialog = Some(Dialog::WhatsNew);- Ok(json!({"text": crate::panels::dialogs::WHATS_NEW}))- }- "app.systemInfo" => {- let info = app.session.execute("library.info", &json!({})).unwrap_or_default();- let gpu = (lightcraft_engine::gpu::ready() && lightcraft_engine::gpu::available()).then(lightcraft_engine::gpu::adapter_name).flatten();- let mb = |b: u64| format!("{:.0} MB", b as f64 / (1u64 << 20) as f64);- let mut rows = vec![- ("Version".to_string(), env!("CARGO_PKG_VERSION").to_string()),- ("System".to_string(), format!("{} ({})", std::env::consts::OS, std::env::consts::ARCH)),- ("CPU threads".to_string(), std::thread::available_parallelism().map(|n| n.get().to_string()).unwrap_or_else(|_| "?".into())),- (- "GPU".to_string(),- gpu.unwrap_or_else(|| match lightcraft_engine::gpu::unavailable_reason() {- Some(why) => crate::i18n::tr_format!("none (CPU rendering): {why}", why = why),- None => "none (CPU rendering)".into(),- }),- ),- ("GPU rendering".to_string(), if app.ui.settings.gpu { "on".into() } else { "off".into() }),- ("Memory budget".to_string(), mb(lightcraft_engine::memory::default_budget() as u64)),- (- "Preview size".to_string(),- match app.ui.settings.preview_limit {- 0 => "automatic".to_string(),- n => format!("{n} px"),- },- ),- ("Photos".to_string(), info["photos"].to_string()),- ("Albums".to_string(), info["albums"].to_string()),- ];- if let Some(dir) = info["dir"].as_str().or(info["path"].as_str()) {- rows.push(("Library".into(), dir.to_string()));- }- rows.push(("Frame time".into(), format!("{:.1} ms ({:.0} fps)", app.perf.frame_ms, app.perf.fps)));- rows.push((- "Frame update".into(),- format!("{:.1} ms (logic {:.1} ms; slowest {:.0} ms)", app.perf.update_ms, app.perf.logic_ms, app.perf.max_update_ms),- ));- rows.push(("Last loupe render".into(), format!("{:.0} ms", app.renderer.last_main_ms)));- if let Some(f) = lightcraft_engine::gpu::last_fallback() {- rows.push(("Last GPU fallback".into(), f));- }- let r = json!(rows.iter().map(|(k, v)| json!({"label": k, "value": v})).collect::<Vec<_>>());- if p.get("open").and_then(Value::as_bool).unwrap_or(true) {- app.ui.dialog = Some(Dialog::SystemInfo { rows });- }- Ok(r)- }- "app.shortcuts" => {- app.ui.dialog = Some(Dialog::Shortcuts);- Ok(Value::Null)- }- "app.setShortcut" => crate::shortcuts::set_shortcut(app, p),- "app.resetShortcuts" => {- app.ui.settings.keymap.clear();- Ok(Value::Null)- }- "library.browse" if !cfg!(target_arch = "wasm32") => {- if crate::lightroom_import::is_running(app) {- return Some(Err("finish Lightroom catalog import before browsing folders".into()));- }- // listed and read in the background (see `import::browse`)- let path = p.get("path").and_then(Value::as_str)?;- crate::import::browse(app, path, p.get("subfolders").and_then(Value::as_bool))- }- "file.addPhotos" => {- if crate::lightroom_import::is_running(app) {- return Some(Err("finish Lightroom catalog import before adding photos".into()));- }- let paths = match p.get("paths").and_then(Value::as_array) {- Some(a) => a.iter().filter_map(Value::as_str).map(str::to_string).collect(),- None => {- let req = PickRequest::files(None, crate::i18n::tr("Photos"), lightcraft_engine::import::EXTENSIONS);- match crate::pick::ask(app, id, p, "paths", req, |s| s.pick_files.as_mut().map(|f| f())) {- Picked::Now(paths) => paths,- Picked::Later | Picked::Unavailable => return Some(Ok(Value::Null)),- }- }- };- if paths.is_empty() {- return Some(Ok(Value::Null));- }- // review first: the import dialog lists what was found- crate::import::open(app, paths)- }- "file.importLightroom" => {- let path = match p.get("path").and_then(Value::as_str).map(str::to_string) {- Some(path) => Some(path),- None => {- let req =- PickRequest::file(crate::i18n::tr("Import Lightroom Catalog"), crate::i18n::tr("Lightroom Classic Catalog"), &["lrcat"]);- match crate::pick::ask(app, id, p, "path", req, |s| s.pick_lightroom_catalog.as_mut().and_then(|f| f()).map(|x| vec![x])) {- Picked::Now(v) => v.into_iter().next(),- Picked::Later | Picked::Unavailable => None,- }- }- };- match path {- Some(path) => app.run("library.importLightroom", json!({"path":path})),- None => Ok(Value::Null),- }- }- "app.quit" => {- app.ui.quit = true;- Ok(Value::Null)- }- "dialog.saveMetadataPreset" => {- // from the active photo's copyright, creator and place- crate::panels::dialogs::prompt(app, "Save Metadata Preset", "Preset name", "", "metadata.savePreset", json!({}), "name");- Ok(Value::Null)- }- "file.findMissing" => {- let folder = match p.get("folder").and_then(Value::as_str) {- Some(f) => Some(f.to_string()),- None => match crate::pick::ask(app, id, p, "folder", PickRequest::folder(crate::i18n::tr("Find Missing Photos…")), |s| {- s.pick_folder.as_mut().and_then(|f| f()).map(|x| vec![x])- }) {- Picked::Now(v) => v.into_iter().next(),- Picked::Later | Picked::Unavailable => None,- },- };- let Some(folder) = folder else { return Some(Ok(Value::Null)) };- // the search (checking every photo's file, walking the folder) runs on a worker thread;- // the relinking happens back here, as one undo step- const LABEL: &str = "Find Missing Photos";- if app.tasks.is_running(LABEL) {- return Some(Err("Find Missing Photos is already searching".into()));- }- let candidates = lightcraft_engine::cmd::missing::find_candidates(&app.session.catalog);- let work = move || lightcraft_engine::cmd::missing::plan_find_missing(&candidates, &folder);- let done = |app: &mut LightcraftApp, ctx: &egui::Context, plan: Result<lightcraft_engine::cmd::missing::FindPlan, String>| {- // relinked under the session as it is now: photos relinked meanwhile and files- // now in use are skipped- let r = plan.and_then(|plan| app.run("library.findMissing", plan.to_json()));- match r {- Ok(v) => {- let n = v["found"].as_array().map_or(0, Vec::len);- let left = v["missing"].as_u64().unwrap_or(0);- let unsure = v["ambiguous"].as_array().map_or(0, Vec::len);- let unsure = if unsure > 0 {- crate::i18n::tr_format!(" ({unsure} with several look-alike files: use Locate)", unsure = unsure)- } else {- String::new()- };- app.toast(- ctx,- crate::i18n::tr_format!(- "Found {n} missing photo{}; {left} still missing{unsure}",- if n == 1 { "" } else { "s" },- left = left,- n = n,- unsure = unsure- ),- );- app.ui.last_find_missing = Some(v);- }- Err(e) => app.toast(ctx, e),- }- };- app.ui.last_find_missing = None;- if let Err(e) = crate::tasks::spawn(app, LABEL, Some("findMissing"), work, done) {- return Some(Err(e));- }- if p.get("wait").and_then(Value::as_bool).unwrap_or(false) {- let ctx = app.tasks.repaint.clone().unwrap_or_default();- crate::tasks::wait(app, &ctx, std::time::Duration::from_secs(600));- return Some(Ok(app.ui.last_find_missing.clone().unwrap_or(Value::Null)));- }- Ok(json!({"background": true}))- }- "photo.tagFromTracklog" => {- // a GPX file → GPS for the selected photos by capture time (one undo step)- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => Some(x.to_string()),- None => {- let req = PickRequest::file(crate::i18n::tr("Auto-Tag from Tracklog"), crate::i18n::tr("GPS Track Log"), &["gpx"]);- match crate::pick::ask(app, id, p, "path", req, |s| s.pick_tracklog.as_mut().map(|f| f())) {- Picked::Now(v) => v.into_iter().next(),- Picked::Later | Picked::Unavailable => None,- }- }- };- let Some(path) = path else { return Some(Ok(Value::Null)) };- let mut params = p.as_object().cloned().unwrap_or_default();- params.insert("path".into(), json!(path));- let ask_zone = !params.contains_key("offset");- let params = Value::Object(params);- if ask_zone {- // GPX times are UTC, camera clocks are local: ask for the camera's zone, then come back here- crate::panels::dialogs::prompt(- app,- "Auto-Tag from Tracklog",- "Camera time zone, e.g. -07:00 (empty: UTC)",- "",- "photo.tagFromTracklog",- params,- "offset",- );- return Some(Ok(Value::Null));- }- let r = app.run("photo.autoTagTracklog", params);- if let Ok(v) = &r {- let n = v["tagged"].as_u64().unwrap_or(0);- let sk = &v["skipped"];- let mut msg = crate::i18n::tr_format!("Tagged {n} photo{} from the tracklog", if n == 1 { "" } else { "s" }, n = n);- let outside = sk["outside"].as_u64().unwrap_or(0);- if outside > 0 {- msg += &crate::i18n::tr_format!("; {outside} outside its time range", outside = outside);- }- let kept = sk["hasGps"].as_u64().unwrap_or(0);- if kept > 0 {- msg += &crate::i18n::tr_format!("; {kept} already had a location", kept = kept);- }- let ctx = app.tasks.repaint.clone().unwrap_or_default();- app.toast(&ctx, msg);- }- r- }- "photo.locate" => {- let Some(id) = app.session.active() else { return Some(Err("no photo selected".into())) };- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => Some(x.to_string()),- None => {- let req =- PickRequest::file(crate::i18n::tr("Locate Missing File…"), crate::i18n::tr("Photos"), lightcraft_engine::import::EXTENSIONS);- match crate::pick::ask(app, "photo.locate", p, "path", req, |s| s.pick_files.as_mut().map(|f| f())) {- Picked::Now(v) => v.into_iter().next(),- Picked::Later | Picked::Unavailable => None,- }- }- };- match path {- Some(path) => app.run("photo.relink", json!({"id": id.0, "path": path})),- None => Ok(Value::Null),- }- }- "file.addFromDevice" => {- // a camera / card: review its DCIM folder, copying into the library by default- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => x.to_string(),- None => match lightcraft_engine::devices::devices_now().into_iter().next() {- Some(d) => d.path,- None => return Some(Err("no camera or memory card found".into())),- },- };- let r = crate::import::open(app, vec![path]);- // only the scan just started (an error means another scan is running)- if r.is_ok()- && let Some(t) = &mut app.scan- {- t.copy = true;- }- r- }- "file.addFolder" => {- // a folder (searched recursively) into the import review- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => Some(x.to_string()),- None => match crate::pick::ask(app, id, p, "path", PickRequest::folder(crate::i18n::tr("Import from Folder…")), |s| {- s.pick_folder.as_mut().and_then(|f| f()).map(|x| vec![x])- }) {- Picked::Now(v) => v.into_iter().next(),- Picked::Later | Picked::Unavailable => None,- },- };- match path {- Some(path) => crate::import::open(app, vec![path]),- None => Ok(Value::Null),- }- }- "file.importPresets" => {- let paths = match p.get("paths").and_then(Value::as_array) {- Some(a) => a.iter().filter_map(Value::as_str).map(str::to_string).collect(),- None => {- let req = PickRequest::files(- Some(crate::i18n::tr("Import Presets").into()),- crate::i18n::tr("Presets & Profiles"),- crate::pick::PRESET_EXTENSIONS,- );- match crate::pick::ask(app, id, p, "paths", req, |s| s.pick_preset_files.as_mut().map(|f| f())) {- Picked::Now(paths) => paths,- Picked::Later => return Some(Ok(Value::Null)),- Picked::Unavailable => return Some(Err("no file dialog on this platform".into())),- }- }- };- if paths.is_empty() {- return Some(Ok(Value::Null));- }- // .cube LUTs (and those inside zips / folders) become profiles- let lut_paths: Vec<&String> = paths- .iter()- .filter(|p| {- let l = p.to_ascii_lowercase();- l.ends_with(".cube") || l.ends_with(".zip") || std::path::Path::new(p.as_str()).is_dir()- })- .collect();- let profiles = if lut_paths.is_empty() {- 0- } else {- app.session- .execute("profile.import", &json!({"paths": lut_paths}))- .ok()- .and_then(|v| v["imported"].as_array().map(Vec::len))- .unwrap_or(0)- };- let preset_paths: Vec<&String> = paths.iter().filter(|p| !p.to_ascii_lowercase().ends_with(".cube")).collect();- let r = if preset_paths.is_empty() {- Ok(json!({"imported": [], "failed": [], "skipped": 0}))- } else {- app.session.execute("preset.import", &json!({"paths": preset_paths})).map_err(|e| e.to_string())- };- if profiles > 0 {- app.toast(- &ctx,- crate::i18n::tr_format!(- "Imported {profiles} profile{} (Profile browser ▸ their groups)",- if profiles == 1 { "" } else { "s" },- profiles = profiles- ),- );- }- if let Ok(v) = &r {- let n = v["imported"].as_array().map_or(0, Vec::len);- let failed = v["failed"].as_array().map_or(0, Vec::len);- let mut msg = match (n, failed) {- (0, 0) => "No new presets".to_string(),- (n, 0) => crate::i18n::tr_format!("Imported {n} preset{}", if n == 1 { "" } else { "s" }, n = n),- (n, f) => crate::i18n::tr_format!(- "Imported {n} preset{}, {f} file{} not readable",- if n == 1 { "" } else { "s" },- if f == 1 { "" } else { "s" },- f = f,- n = n- ),- };- // settings with no counterpart here (the other editor's profiles, masks…)- let mut skipped: Vec<&str> = v["imported"]- .as_array()- .into_iter()- .flatten()- .flat_map(|i| i["unmapped"].as_array().into_iter().flatten())- .filter_map(Value::as_str)- .collect();- skipped.sort_unstable();- skipped.dedup();- if !skipped.is_empty() {- let names: Vec<&str> = skipped.iter().take(3).copied().collect();- msg += &crate::i18n::tr_format!(" — not carried over: {}{}", names.join(", "), if skipped.len() > 3 { "…" } else { "" });- }- app.toast(&ctx, msg);- if n > 0 {- app.ui.presets = true;- }- }- return Some(r);- }- "file.importKeywords" => {- // a keyword list file: Lightroom Classic's, Capture One's, Photo Supreme's (.utf8)- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => x.to_string(),- None => {- let req = PickRequest::file(crate::i18n::tr("Import Keywords"), crate::i18n::tr("Keyword Lists"), &["txt", "utf8"]);- match crate::pick::ask(app, id, p, "path", req, |s| s.pick_keyword_list.as_mut().map(|f| f())) {- Picked::Now(v) => match v.into_iter().next() {- Some(x) => x,- None => return Some(Ok(Value::Null)),- },- Picked::Later => return Some(Ok(Value::Null)),- Picked::Unavailable => return Some(Err("no file dialog on this platform".into())),- }- }- };- let r = app.session.execute("keyword.import", &json!({"path": path})).map_err(|e| e.to_string());- match &r {- Ok(v) => {- let (added, updated) = (v["added"].as_u64().unwrap_or(0), v["updated"].as_u64().unwrap_or(0));- let mut msg = crate::i18n::tr_format!("Added {n} keyword{}", if added == 1 { "" } else { "s" }, n = added);- if updated > 0 {- msg.push_str(&crate::i18n::tr_format!("; {n} gained synonyms", n = updated));- }- app.toast(&ctx, msg);- }- Err(e) => app.toast(&ctx, e.clone()),- }- return Some(r);- }- "file.exportKeywords" => {- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => x.to_string(),- None => {- let name = "Keywords.txt";- let req = PickRequest::save(crate::i18n::tr("Export Keywords"), crate::i18n::tr("Keyword Lists"), &["txt"], name);- match crate::pick::ask(app, id, p, "path", req, |s| s.save_keyword_list.as_mut().map(|f| f(name).into_iter().collect())) {- Picked::Now(v) => match v.into_iter().next() {- Some(x) => x,- None => return Some(Ok(Value::Null)),- },- Picked::Later => return Some(Ok(Value::Null)),- Picked::Unavailable => return Some(Err("no file dialog on this platform".into())),- }- }- };- let r = app.session.execute("keyword.export", &json!({"path": path})).map_err(|e| e.to_string());- if let Err(e) = &r {- app.toast(&ctx, e.clone());- }- if let Ok(v) = &r {- let n = v["keywords"].as_u64().unwrap_or(0);- let mut msg = crate::i18n::tr_format!("Exported {n} keyword{}", if n == 1 { "" } else { "s" }, n = n);- // Capture One's importer refuses ; , < > in a list: say which to rename first- let refuses: Vec<&str> = v["captureOneRefuses"].as_array().into_iter().flatten().filter_map(Value::as_str).collect();- if !refuses.is_empty() {- msg.push_str(&crate::i18n::tr_format!(- " — Capture One won't import a list with ; , < or > in a keyword: {names}",- names = refuses.iter().take(5).copied().collect::<Vec<_>>().join(" · ")- ));- }- // what the format can't hold (a name in brackets, a line break…) isn't in the file- let left: Vec<&str> = v["unwritable"].as_array().into_iter().flatten().filter_map(Value::as_str).collect();- if !left.is_empty() {- msg.push_str(&crate::i18n::tr_format!(- " — left out, as a keyword list can't hold them: {names}",- // escaped: a line break in a name would break the toast- names = left.iter().take(5).map(|n| n.escape_debug().to_string()).collect::<Vec<_>>().join(" · ")- ));- }- app.toast(&ctx, msg);- }- return Some(r);- }- "file.exportPresets" => {- let group = p.get("group").and_then(Value::as_str).map(str::to_string);- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => Some(x.to_string()),- None => {- let name = format!("{}.lcpreset", group.as_deref().unwrap_or("LightCraft Presets"));- let req = PickRequest::save(crate::i18n::tr("Export Presets"), crate::i18n::tr("LightCraft Preset"), &["lcpreset"], name.clone());- match crate::pick::ask(app, id, p, "path", req, |s| s.save_preset_file.as_mut().map(|f| f(&name).into_iter().collect())) {- Picked::Now(v) => v.into_iter().next(),- Picked::Later => return Some(Ok(Value::Null)),- Picked::Unavailable => return Some(Err("no file dialog on this platform".into())),- }- }- };- let Some(path) = path else { return Some(Ok(Value::Null)) };- let mut params = json!({"path": path});- if let Some(g) = group {- params["group"] = json!(g);- }- if let Some(ids) = p.get("ids") {- params["ids"] = ids.clone();- }- let r = app.session.execute("preset.export", ¶ms).map_err(|e| e.to_string());- if let Ok(v) = &r {- app.toast(&ctx, crate::i18n::tr_format!("Exported {} preset{}", v["count"], if v["count"] == 1 { "" } else { "s" }));- }- return Some(r);- }- "file.importCurvePresets" => {- let paths: Vec<String> = match p.get("paths").and_then(Value::as_array) {- Some(a) => a.iter().filter_map(Value::as_str).map(str::to_string).collect(),- None => {- let req = PickRequest::files(- Some(crate::i18n::tr("Import Point Curve Presets").into()),- crate::i18n::tr("Point Curve Presets"),- crate::pick::CURVE_PRESET_EXTENSIONS,- );- match crate::pick::ask(app, id, p, "paths", req, |s| s.pick_curve_preset_files.as_mut().map(|f| f())) {- Picked::Now(paths) => paths,- Picked::Later => return Some(Ok(Value::Null)),- Picked::Unavailable => return Some(Err("no file dialog on this platform".into())),- }- }- };- if paths.is_empty() {- return Some(Ok(Value::Null));- }- let r = app.session.execute("curve.importPresets", &json!({"paths": paths})).map_err(|e| e.to_string());- if let Ok(v) = &r {- let n = v["imported"].as_array().map_or(0, Vec::len);- let failed = v["failed"].as_array().map_or(0, Vec::len);- let mut msg = crate::i18n::tr_format!("Imported {n} point curve preset{}", if n == 1 { "" } else { "s" }, n = n);- if failed > 0 {- msg += &crate::i18n::tr_format!(", {failed} file{} not readable", if failed == 1 { "" } else { "s" }, failed = failed);- }- app.toast(&ctx, msg);- }- return Some(r);- }- "file.exportCurvePresets" => {- let path = match p.get("path").and_then(Value::as_str) {- Some(x) => Some(x.to_string()),- None => {- let req = PickRequest::save(- crate::i18n::tr("Export Point Curve Presets"),- crate::i18n::tr("Point Curve Presets"),- &["lccurve"],- "Point Curves.lccurve",- );- match crate::pick::ask(app, id, p, "path", req, |s| {- s.save_curve_preset_file.as_mut().map(|f| f("Point Curves.lccurve").into_iter().collect())- }) {- Picked::Now(v) => v.into_iter().next(),- Picked::Later => return Some(Ok(Value::Null)),- Picked::Unavailable => return Some(Err("no file dialog on this platform".into())),- }- }- };- let Some(path) = path else { return Some(Ok(Value::Null)) };- let mut params = json!({"path": path});- if let Some(n) = p.get("names") {- params["names"] = n.clone();- }- let r = app.session.execute("curve.exportPresets", ¶ms).map_err(|e| e.to_string());- if let Ok(v) = &r {- app.toast(&ctx, crate::i18n::tr_format!("Exported {} point curve preset{}", v["count"], if v["count"] == 1 { "" } else { "s" }));- }- return Some(r);- }- "app.export" => crate::control::export_active(app, p),- "app.showInFinder" => show_in_finder(app),- "app.openLogFolder" => open_log_folder(app),- "app.discord" | "app.website" | "app.github" | "app.artcraft" | "app.help" | "app.feedback" => {- let url = crate::links::url_of(id).unwrap_or(crate::links::WEBSITE);- crate::links::open(app, url)- }- "app.exportPrevious" => match app.session.last_export.clone() {- Some(prev) => crate::control::export_active(app, &lightcraft_engine::export::ExportOptions::known_keys_only(&prev)),- None => Err("nothing exported yet — use Export…".into()),- },- _ => return None,- };- Some(r)-}--pub fn ui_enabled(app: &LightcraftApp, id: &str) -> bool {- match id {- "dialog.contactSheet" | "app.contactSheet" => !cfg!(target_arch = "wasm32") && app.session.active().is_some() && app.export.is_none(),- s if s.starts_with("panel.") || s.starts_with("tool.") || s.starts_with("section.") => app.session.active().is_some() || s == "panel.close",- "app.export" | "dialog.export" | "dialog.createPreset" | "dialog.rename" | "dialog.captureTime" | "dialog.copySettings" => {- app.session.active().is_some()- }- "photo.tagFromTracklog" => app.session.active().is_some() && app.services.pick_tracklog.is_some(),- "app.exportPrevious" => app.session.active().is_some() && app.session.last_export.is_some(),- "dialog.pasteSettings" => app.session.active().is_some() && app.session.clipboard.is_some(),- "app.showInFinder" => {- app.services.reveal.is_some()- && app- .session- .active()- .and_then(|id| app.session.catalog.photo(id))- .is_some_and(|p| matches!(p.source, lightcraft_engine::catalog::Source::File { .. }))- }- "file.exportPresets" => app.session.presets.iter().any(|p| !p.builtin),- "file.exportCurvePresets" => !app.session.curve_presets.is_empty(),- "view.compare" => app.session.catalog.len() > 1,- "view.fullScreenPreview" | "view.infoOverlay" | "view.navigator" => app.session.active().is_some() || app.ui.fullscreen,- "app.openLibrary" | "file.addFolder" => app.services.pick_folder.is_some() && !crate::lightroom_import::is_running(app),- "file.backupLibrary" => app.services.backup_library.is_some(),- "app.openLogFolder" => app.services.reveal.is_some() && app.services.log_file.is_some(),- "file.restoreLibrary" => app.services.restore_library.is_some(),- "compare.swap" | "compare.makeSelect" => app.ui.view == ViewMode::Compare,- s if s.starts_with("dialog.merge") || (s.starts_with("merge.") && s.ends_with("Last")) => {- app.session.targets(&serde_json::json!({})).len() >= 2 && app.merge.final_task.is_none()- }- _ => true,- }-}--#[derive(Clone, Debug, Serialize)]-pub struct MenuEntry {- pub id: String,- pub label: String,- pub menu: Vec<String>,- pub shortcut: Option<String>,- pub enabled: bool,-}--/// The flattened menu model (UI commands + engine commands with menu paths).-pub fn menu_entries(app: &LightcraftApp) -> Vec<MenuEntry> {- let mut v: Vec<MenuEntry> = ui_commands()- .filter(|c| !c.3.is_empty())- .map(|(id, label, sc, m)| MenuEntry {- id: id.to_string(),- label: label.to_string(),- menu: m.split('>').map(str::to_string).collect(),- shortcut: crate::shortcuts::binding(&app.ui.settings.keymap, id, *sc).map(str::to_string),- enabled: ui_enabled(app, id),- })- .collect();- for c in app.session.commands() {- if !c.menu.is_empty() {- v.push(MenuEntry {- id: c.id.into(),- label: c.label.into(),- menu: c.menu.iter().map(|s| s.to_string()).collect(),- shortcut: crate::shortcuts::shortcut_of(&app.ui.settings.keymap, c.id).map(str::to_string),- enabled: c.enabled,- });- }- }- v-}--/// With Settings → General → "Confirm before deleting" on, open the confirmation dialog instead-/// of deleting; true when it did (the dialog's OK runs `photo.delete`).-pub fn confirm_delete(app: &mut LightcraftApp) -> bool {- if !app.ui.settings.confirm_delete {- return false;- }- let count = app.session.targets(&json!({})).len();- if count == 0 {- return false;- }- app.ui.dialog = Some(Dialog::ConfirmDelete { count });- true-}--/// Platform-appropriate label for revealing a file in the system file manager.-pub fn reveal_label() -> &'static str {- if cfg!(target_os = "macos") {- "Show in Finder"- } else if cfg!(target_os = "windows") {- "Show in Explorer"- } else {- "Show in File Manager"- }-}--/// Help ▸ Open Log Folder: reveal the host's log file in the system file manager, so it can be-/// attached to a report without hunting for the settings folder (#260).-fn open_log_folder(app: &mut LightcraftApp) -> Result<Value, String> {- let path = app.services.log_file.clone().ok_or("this session keeps no log file")?;- let reveal = app.services.reveal.as_mut().ok_or("not available here")?;- reveal(&path)?;- Ok(json!({"path": path}))-}--/// Reveal the active photo's original in the system file manager.-fn show_in_finder(app: &mut LightcraftApp) -> Result<Value, String> {- let id = app.session.active().ok_or("no photo selected")?;- let path = match app.session.catalog.photo(id).map(|p| p.source.clone()) {- Some(lightcraft_engine::catalog::Source::File { path }) => path,- _ => return Err("this photo has no file (demo scene)".into()),- };- let reveal = app.services.reveal.as_mut().ok_or("not available here")?;- reveal(&path)?;- Ok(json!({"path": path}))-}