From d2954e55980577d9ca8443dcfdea9ae17f13b213 Mon Sep 17 00:00:00 2001 From: sudo-py-dev Date: Fri, 13 Nov 2026 09:55:44 +0200 Subject: [PATCH 1/3] Add About links with icons and refine the colour palette The About card had a single "Project website" button. It now lists the source code, issue tracker, release history and license as full-width rows with icons, so people can find each page at a glance. The UI only names which link was chosen; the fixed URLs live in Rust. The palette moves to cooler neutrals and a brighter blue accent, with a soft tint behind row icons. Every text token keeps at least 4.5:1 on each background in both themes, and white keeps 4.5:1 on each primary button state. The window close button now uses the Stop tokens instead of its own colour literals. Co-Authored-By: Claude Opus 5.5 --- locales/ar.json | 10 +++- locales/de.json | 10 +++- locales/en.json | 10 +++- locales/es.json | 10 +++- locales/fr.json | 10 +++- locales/he.json | 10 +++- locales/ru.json | 10 +++- src/main.rs | 17 ++++-- src/slint_ui_tests.rs | 118 ++++++++++++++++++++++++++++++++++++++++++ src/ui_text.rs | 8 ++- ui/app.slint | 87 +++++++++++++++++++++++-------- ui/icons/bug.svg | 1 + ui/icons/github.svg | 1 + ui/icons/license.svg | 1 + ui/icons/tag.svg | 1 + 15 files changed, 264 insertions(+), 40 deletions(-) create mode 100644 ui/icons/bug.svg create mode 100644 ui/icons/github.svg create mode 100644 ui/icons/license.svg create mode 100644 ui/icons/tag.svg diff --git a/locales/ar.json b/locales/ar.json index 956d544..e0572bb 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -111,7 +111,6 @@ "General": "عام", "About": "حول", "Version": "الإصدار", - "Project website": "موقع المشروع", "Checking a {0} file…": "جارٍ فحص ملف {0}…", "{0} of {1}": "{0} من {1}", "Reading unused-space map…": "جارٍ قراءة خريطة المساحة غير المستخدمة…", @@ -227,5 +226,12 @@ "Updates are managed by the Snap Store.": "تتم إدارة التحديثات بواسطة متجر Snap.", "Choose another folder": "اختيار مجلد آخر", "Save here anyway": "الحفظ هنا على أي حال", - "Cancel": "إلغاء" + "Cancel": "إلغاء", + "Source code": "الشيفرة المصدرية", + "Report a problem": "الإبلاغ عن مشكلة", + "Open an issue on GitHub": "فتح بلاغ على GitHub", + "Release history": "سجل الإصدارات", + "Every version with its release notes": "جميع الإصدارات مع ملاحظات كل إصدار", + "License": "الترخيص", + "Read the MIT License": "قراءة ترخيص MIT" } diff --git a/locales/de.json b/locales/de.json index 3bdfcf2..2db3fd8 100644 --- a/locales/de.json +++ b/locales/de.json @@ -111,7 +111,6 @@ "General": "Allgemein", "About": "Info", "Version": "Version", - "Project website": "Projektwebsite", "Checking a {0} file…": "{0}-Datei wird geprüft…", "{0} of {1}": "{0} von {1}", "Reading unused-space map…": "Karte des ungenutzten Speicherplatzes wird gelesen…", @@ -227,5 +226,12 @@ "Updates are managed by the Snap Store.": "Updates werden vom Snap Store verwaltet.", "Choose another folder": "Anderen Ordner wählen", "Save here anyway": "Trotzdem hier speichern", - "Cancel": "Abbrechen" + "Cancel": "Abbrechen", + "Source code": "Quellcode", + "Report a problem": "Problem melden", + "Open an issue on GitHub": "Ein Issue auf GitHub eröffnen", + "Release history": "Versionsverlauf", + "Every version with its release notes": "Alle Versionen mit ihren Versionshinweisen", + "License": "Lizenz", + "Read the MIT License": "MIT-Lizenz lesen" } diff --git a/locales/en.json b/locales/en.json index 4cc079c..89d12a9 100644 --- a/locales/en.json +++ b/locales/en.json @@ -111,7 +111,6 @@ "General": "General", "About": "About", "Version": "Version", - "Project website": "Project website", "Checking a {0} file…": "Checking a {0} file…", "{0} of {1}": "{0} of {1}", "Reading unused-space map…": "Reading unused-space map…", @@ -227,5 +226,12 @@ "Updates are managed by the Snap Store.": "Updates are managed by the Snap Store.", "Choose another folder": "Choose another folder", "Save here anyway": "Save here anyway", - "Cancel": "Cancel" + "Cancel": "Cancel", + "Source code": "Source code", + "Report a problem": "Report a problem", + "Open an issue on GitHub": "Open an issue on GitHub", + "Release history": "Release history", + "Every version with its release notes": "Every version with its release notes", + "License": "License", + "Read the MIT License": "Read the MIT License" } diff --git a/locales/es.json b/locales/es.json index 21f13a8..d206376 100644 --- a/locales/es.json +++ b/locales/es.json @@ -111,7 +111,6 @@ "General": "General", "About": "Acerca de", "Version": "Versión", - "Project website": "Sitio web del proyecto", "Checking a {0} file…": "Comprobando un archivo {0}…", "{0} of {1}": "{0} de {1}", "Reading unused-space map…": "Leyendo mapa de espacio libre…", @@ -227,5 +226,12 @@ "Updates are managed by the Snap Store.": "Snap Store gestiona las actualizaciones.", "Choose another folder": "Elegir otra carpeta", "Save here anyway": "Guardar aquí de todos modos", - "Cancel": "Cancelar" + "Cancel": "Cancelar", + "Source code": "Código fuente", + "Report a problem": "Informar de un problema", + "Open an issue on GitHub": "Abrir una incidencia en GitHub", + "Release history": "Historial de versiones", + "Every version with its release notes": "Todas las versiones con sus notas de la versión", + "License": "Licencia", + "Read the MIT License": "Leer la licencia MIT" } diff --git a/locales/fr.json b/locales/fr.json index bd8984f..108b3e0 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -111,7 +111,6 @@ "General": "Général", "About": "À propos", "Version": "Version", - "Project website": "Site du projet", "Checking a {0} file…": "Vérification d’un fichier {0}…", "{0} of {1}": "{0} sur {1}", "Reading unused-space map…": "Lecture de la carte de l’espace libre…", @@ -227,5 +226,12 @@ "Updates are managed by the Snap Store.": "Les mises à jour sont gérées par le Snap Store.", "Choose another folder": "Choisir un autre dossier", "Save here anyway": "Enregistrer ici quand même", - "Cancel": "Annuler" + "Cancel": "Annuler", + "Source code": "Code source", + "Report a problem": "Signaler un problème", + "Open an issue on GitHub": "Ouvrir un ticket sur GitHub", + "Release history": "Historique des versions", + "Every version with its release notes": "Toutes les versions et leurs notes de version", + "License": "Licence", + "Read the MIT License": "Lire la licence MIT" } diff --git a/locales/he.json b/locales/he.json index e2ba20d..3c07c54 100644 --- a/locales/he.json +++ b/locales/he.json @@ -111,7 +111,6 @@ "General": "כללי", "About": "אודות", "Version": "גרסה", - "Project website": "אתר הפרויקט", "Checking a {0} file…": "בודק קובץ {0}…", "{0} of {1}": "{0} מתוך {1}", "Reading unused-space map…": "קורא את מפת השטח הפנוי…", @@ -227,5 +226,12 @@ "Updates are managed by the Snap Store.": "העדכונים מנוהלים באמצעות חנות Snap.", "Choose another folder": "בחירת תיקייה אחרת", "Save here anyway": "שמירה כאן בכל זאת", - "Cancel": "ביטול" + "Cancel": "ביטול", + "Source code": "קוד מקור", + "Report a problem": "דיווח על בעיה", + "Open an issue on GitHub": "פתיחת דיווח ב־GitHub", + "Release history": "היסטוריית גרסאות", + "Every version with its release notes": "כל הגרסאות והערות השחרור שלהן", + "License": "רישיון", + "Read the MIT License": "קריאת רישיון MIT" } diff --git a/locales/ru.json b/locales/ru.json index 763137c..8e1404d 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -111,7 +111,6 @@ "General": "Общие", "About": "О программе", "Version": "Версия", - "Project website": "Сайт проекта", "Checking a {0} file…": "Проверка файла {0}…", "{0} of {1}": "{0} из {1}", "Reading unused-space map…": "Чтение карты свободного места…", @@ -227,5 +226,12 @@ "Updates are managed by the Snap Store.": "Обновления управляются через Snap Store.", "Choose another folder": "Выбрать другую папку", "Save here anyway": "Всё равно сохранить здесь", - "Cancel": "Отмена" + "Cancel": "Отмена", + "Source code": "Исходный код", + "Report a problem": "Сообщить о проблеме", + "Open an issue on GitHub": "Создать задачу на GitHub", + "Release history": "История версий", + "Every version with its release notes": "Все версии с примечаниями к выпуску", + "License": "Лицензия", + "Read the MIT License": "Прочитать лицензию MIT" } diff --git a/src/main.rs b/src/main.rs index a585e0a..87535f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -903,6 +903,16 @@ fn device_tag(path: &std::path::Path) -> String { text.rsplit(['/', '\\']).next().unwrap_or(text).to_owned() } /// `kind` holds the fixed English labels set by the platform drive discovery. +/// Fixed addresses for the About card. The UI sends only which link, never a URL. +fn about_link_url(link: AboutLink) -> &'static str { + match link { + AboutLink::Source => "https://github.com/sudo-py-dev/reclaim", + AboutLink::Issues => "https://github.com/sudo-py-dev/reclaim/issues", + AboutLink::Releases => "https://github.com/sudo-py-dev/reclaim/releases", + AboutLink::License => "https://github.com/sudo-py-dev/reclaim/blob/main/LICENSE", + } +} + fn drive_icon(drive: &drives::Drive) -> DriveIcon { if drive.phone { DriveIcon::Phone @@ -1045,9 +1055,10 @@ fn run() -> Result<(), slint::PlatformError> { } }); } - ui.on_open_project(|| { - std::thread::spawn(|| { - if let Err(e) = installer::open_url("https://github.com/sudo-py-dev/reclaim") { + ui.on_open_link(|link| { + let url = about_link_url(link); + std::thread::spawn(move || { + if let Err(e) = installer::open_url(url) { diagnostics::write(&e); } }); diff --git a/src/slint_ui_tests.rs b/src/slint_ui_tests.rs index 0277378..dffc289 100644 --- a/src/slint_ui_tests.rs +++ b/src/slint_ui_tests.rs @@ -1363,3 +1363,121 @@ fn stop_buttons_are_filled_red_in_light_and_dark() { } } } + +#[test] +fn about_links_open_only_fixed_project_pages() { + let links = [ + AboutLink::Source, + AboutLink::Issues, + AboutLink::Releases, + AboutLink::License, + ]; + let urls: Vec<&str> = links.into_iter().map(about_link_url).collect(); + for url in &urls { + assert!( + url.starts_with("https://github.com/sudo-py-dev/reclaim"), + "{url}" + ); + } + let mut unique = urls.clone(); + unique.sort_unstable(); + unique.dedup(); + assert_eq!( + unique.len(), + urls.len(), + "each About row opens its own page" + ); +} + +#[test] +fn about_rows_are_keyboard_buttons_with_descriptions() { + slint::platform::set_platform(Box::new(i_slint_backend_testing::TestingBackend::new( + i_slint_backend_testing::TestingBackendOptions { + renderer_name: Some("software".into()), + ..Default::default() + }, + ))) + .ok(); + let ui = AppWindow::new().unwrap(); + ui.show().unwrap(); + // Tall enough that the whole Settings page is in view, About card included. + ui.window().set_size(slint::PhysicalSize::new(1160, 2000)); + ui_text::apply(&ui); + ui.set_page(2); + let opened = Rc::new(RefCell::new(Vec::new())); + let sink = opened.clone(); + ui.on_open_link(move |link| sink.borrow_mut().push(link)); + for label in [ + "Source code", + "Report a problem", + "Release history", + "License", + ] { + let row = i_slint_backend_testing::ElementHandle::find_by_accessible_label(&ui, label) + .next() + .unwrap_or_else(|| panic!("{label} row")); + assert!( + row.accessible_description().is_some_and(|d| !d.is_empty()), + "{label}" + ); + row.invoke_accessible_default_action(); + } + assert_eq!( + *opened.borrow(), + [ + AboutLink::Source, + AboutLink::Issues, + AboutLink::Releases, + AboutLink::License + ] + ); +} + +/// Renders the whole Settings page, About card included, when previews are +/// requested. Run with `RECLAIM_PREVIEW_DIR=dir cargo test about_card_previews`. +#[test] +fn about_card_previews() { + let Ok(directory) = std::env::var("RECLAIM_PREVIEW_DIR") else { + return; + }; + std::fs::create_dir_all(&directory).unwrap(); + slint::platform::set_platform(Box::new(i_slint_backend_testing::TestingBackend::new( + i_slint_backend_testing::TestingBackendOptions { + renderer_name: Some("software".into()), + ..Default::default() + }, + ))) + .ok(); + for (code, language) in [ + ("en", i18n::Language::English), + ("he", i18n::Language::Hebrew), + ] { + i18n::with_language(language, || { + let ui = AppWindow::new().unwrap(); + ui.show().unwrap(); + ui.window().set_size(slint::PhysicalSize::new(1160, 1180)); + ui_text::apply(&ui); + ui.set_version("0.2.3".into()); + ui.set_page(2); + for dark in [false, true] { + ui.global::().set_theme(if dark { 2 } else { 1 }); + // Let colour transitions finish so the render shows the settled theme. + ui.window().take_snapshot().unwrap(); + std::thread::sleep(Duration::from_millis(300)); + slint::platform::update_timers_and_animations(); + let snapshot = ui.window().take_snapshot().unwrap(); + image::save_buffer( + format!( + "{directory}/about-{code}-{}.png", + if dark { "dark" } else { "light" } + ), + snapshot.as_bytes(), + snapshot.width(), + snapshot.height(), + image::ColorType::Rgba8, + ) + .unwrap(); + } + }); + } +} diff --git a/src/ui_text.rs b/src/ui_text.rs index 3174fb3..100aa21 100644 --- a/src/ui_text.rs +++ b/src/ui_text.rs @@ -82,7 +82,13 @@ ui_strings! { set_hide_details => "Hide details", set_update_when_ready => "You can keep working and update later.", set_no_release_notes => "No release notes.", - set_project_website => "Project website", + set_source_code => "Source code", + set_report_a_problem => "Report a problem", + set_open_an_issue_on_github => "Open an issue on GitHub", + set_release_history => "Release history", + set_every_version_with_its_notes => "Every version with its release notes", + set_license => "License", + set_read_the_mit_license => "Read the MIT License", set_built_with_rust_and_slint => "Built with Rust and Slint · MIT licensed application", set_stop => "Stop", set_stop_recovery => "Stop recovery", diff --git a/ui/app.slint b/ui/app.slint index 5347031..5efc0b0 100644 --- a/ui/app.slint +++ b/ui/app.slint @@ -65,7 +65,13 @@ export global Strings { in-out property hide-details: "Hide details"; in-out property update-when-ready: "You can keep working and update later."; in-out property no-release-notes: "No release notes."; - in-out property project-website: "Project website"; + in-out property source-code: "Source code"; + in-out property report-a-problem: "Report a problem"; + in-out property open-an-issue-on-github: "Open an issue on GitHub"; + in-out property release-history: "Release history"; + in-out property every-version-with-its-notes: "Every version with its release notes"; + in-out property license: "License"; + in-out property read-the-mit-license: "Read the MIT License"; in-out property built-with-rust-and-slint: "Built with Rust and Slint · MIT licensed application"; in-out property stop: "Stop"; in-out property stop-recovery: "Stop recovery"; @@ -79,6 +85,8 @@ export global Strings { } import { CheckBox, LineEdit, ScrollView, ListView as NativeListView, Palette as NativePalette } from "std-widgets.slint"; export enum DriveIcon { disk, usb, volume, locked, phone } +// Pages the About card can open. The addresses live in Rust, so the UI never hands over a URL. +export enum AboutLink { source, issues, releases, license } export struct DriveItem { name: string, device: string, icon: DriveIcon, detail: string, size: string, available: bool } export struct FileItem { name: string, kind: string, size: string, selected: bool, index: int } export struct ReleaseNoteBlock { text: string, kind: int } @@ -92,21 +100,25 @@ export global Palette { // The widget style resolves the system scheme; its background tells us which one it picked. property native-background: NativePalette.background; out property dark: theme == 2 || (theme == 0 && native-background.to-hsv().value < 0.5); - out property bg: dark ? #1c2028 : #f4f6f9; - out property surface: dark ? #252a33 : #ffffff; - out property subtle: dark ? #303641 : #eef1f6; - out property hover: dark ? #2c313c : #f3f5f9; - out property selected: dark ? #31415f : #e6eeff; - out property line: dark ? #3b424f : #dfe4ec; - out property ink: dark ? #e6e9ef : #151c2b; - out property muted: dark ? #aab3c2 : #5b6880; + // Cool neutrals with one blue accent. Text tokens keep at least 4.5:1 on + // every background token in both themes, and white keeps 4.5:1 on each primary state. + out property bg: dark ? #14171c : #f5f7fa; + out property surface: dark ? #1c2027 : #ffffff; + out property subtle: dark ? #262b33 : #eef1f5; + out property hover: dark ? #22272f : #f4f6f9; + out property selected: dark ? #1f3150 : #e8effd; + // Soft accent behind row icons, so groups read as one family without competing with buttons. + out property tint: dark ? #1e2a40 : #eaf0fd; + out property line: dark ? #2e343e : #e2e6ed; + out property ink: dark ? #e9edf3 : #111827; + out property muted: dark ? #a0a9b8 : #556074; // Supporting text that must stay readable, between ink and muted. - out property secondary: dark ? #c9d0db : #3f4b60; - out property accent: dark ? #a3bdff : #2c5cc5; - out property primary: dark ? #4c7be0 : #2c5cc5; - out property primary-hover: dark ? #5c89ea : #3567d3; - out property primary-pressed: dark ? #416cc9 : #244ea8; - out property danger: dark ? #ffaaa4 : #b42318; + out property secondary: dark ? #c5ccd7 : #364152; + out property accent: dark ? #93b4ff : #2457d6; + out property primary: dark ? #3a6ad8 : #2457d6; + out property primary-hover: dark ? #3363d0 : #1e4cc2; + out property primary-pressed: dark ? #2d59bd : #1a42aa; + out property danger: dark ? #ff9e97 : #b42318; // Filled Stop buttons. White text keeps at least 4.5:1 on each state, and // the dark fill keeps 3:1 against the card it sits on. out property stop: dark ? #d13c30 : #c42b1c; @@ -406,7 +418,7 @@ component IconTile inherits Rectangle { in property icon; // Full-colour artwork (the app icon) is shown as is, larger and untinted. in property full-colour: false; - width: 32px; height: 32px; border-radius: Metrics.radius; background: root.full-colour ? transparent : Palette.subtle; + width: 32px; height: 32px; border-radius: Metrics.radius; background: root.full-colour ? transparent : Palette.tint; Image { source: root.icon; width: root.full-colour ? 30px : 18px; height: self.width; colorize: root.full-colour ? transparent : Palette.accent; } } component SettingRow inherits Row { @@ -422,6 +434,31 @@ component SettingRow inherits Row { } @children } +// A settings row that opens a page in the browser. The whole row is the target. +component LinkRow inherits Rectangle { + in property icon; + in property title; + in property detail; + callback clicked(); + forward-focus: focus; + accessible-role: button; + accessible-label: root.title; + accessible-description: root.detail; + accessible-action-default => { root.clicked(); } + background: touch.pressed ? Palette.subtle : touch.has-hover ? Palette.hover : transparent; + animate background { duration: 120ms; } + border-width: focus.has-focus ? 2px : 0px; border-color: Palette.accent; + focus := FocusScope { + key-pressed(event) => { + if event.text == Key.Space || event.text == Key.Return { root.clicked(); return accept; } + return reject; + } + } + SettingRow { icon: root.icon; title: root.title; detail: root.detail; + Image { source: @image-url("icons/external.svg"); width: 16px; height: 16px; colorize: Palette.muted; } + } + touch := TouchArea { mouse-cursor: pointer; clicked => { focus.focus(); root.clicked(); } } +} // Divider that starts at the label column, so rows read as one group. component RowDivider inherits Rectangle { height: 1px; vertical-stretch: 0; Rectangle { x: Locale.rtl ? 16px : 60px; width: parent.width - 76px; background: Palette.line; } @@ -494,8 +531,8 @@ component CaptionButton inherits Rectangle { accessible-role: button; accessible-label: root.label; accessible-action-default => { root.clicked(); } - background: touch.pressed ? (root.danger ? #a52a1f : Palette.line) - : touch.has-hover ? (root.danger ? #c42b1c : Palette.subtle) : transparent; + background: touch.pressed ? (root.danger ? Palette.stop-pressed : Palette.line) + : touch.has-hover ? (root.danger ? Palette.stop : Palette.subtle) : transparent; animate background { duration: 100ms; } Image { source: root.icon; width: 16px; height: 16px; colorize: root.danger && touch.has-hover ? #ffffff : Palette.ink; } touch := TouchArea { clicked => { root.clicked(); } } @@ -586,7 +623,7 @@ export component AppWindow inherits Window { in property update-progress; in-out property language; callback change-language(int); - callback open-project(); + callback open-link(AboutLink); callback apply-update(); callback dismiss-update(); callback open-image(); callback refresh(); callback select-drive(int); callback scan(); callback stop(); @@ -854,9 +891,15 @@ export component AppWindow inherits Window { Rectangle { height: 8px; } GroupTitle { text: Strings.about; } Card { VerticalLayout { - SettingRow { icon: @image-url("../assets/icons/reclaim-64.png"); full-colour-icon: true; title: Strings.reclaim; detail: Strings.built-with-rust-and-slint; - Action { text: Strings.project-website; icon: @image-url("icons/external.svg"); clicked => { root.open-project(); } } - } + SettingRow { icon: @image-url("../assets/icons/reclaim-64.png"); full-colour-icon: true; title: Strings.reclaim; detail: Strings.built-with-rust-and-slint; } + RowDivider { } + LinkRow { icon: @image-url("icons/github.svg"); title: Strings.source-code; detail: "github.com/sudo-py-dev/reclaim"; clicked => { root.open-link(AboutLink.source); } } + RowDivider { } + LinkRow { icon: @image-url("icons/bug.svg"); title: Strings.report-a-problem; detail: Strings.open-an-issue-on-github; clicked => { root.open-link(AboutLink.issues); } } + RowDivider { } + LinkRow { icon: @image-url("icons/tag.svg"); title: Strings.release-history; detail: Strings.every-version-with-its-notes; clicked => { root.open-link(AboutLink.releases); } } + RowDivider { } + LinkRow { icon: @image-url("icons/license.svg"); title: Strings.license; detail: Strings.read-the-mit-license; clicked => { root.open-link(AboutLink.license); } } } } } } } // Status strip for Recovered files. Sources shows status inside its action bar; diff --git a/ui/icons/bug.svg b/ui/icons/bug.svg new file mode 100644 index 0000000..1c8fcc0 --- /dev/null +++ b/ui/icons/bug.svg @@ -0,0 +1 @@ + diff --git a/ui/icons/github.svg b/ui/icons/github.svg new file mode 100644 index 0000000..d98a3c4 --- /dev/null +++ b/ui/icons/github.svg @@ -0,0 +1 @@ + diff --git a/ui/icons/license.svg b/ui/icons/license.svg new file mode 100644 index 0000000..3f01ab2 --- /dev/null +++ b/ui/icons/license.svg @@ -0,0 +1 @@ + diff --git a/ui/icons/tag.svg b/ui/icons/tag.svg new file mode 100644 index 0000000..62649aa --- /dev/null +++ b/ui/icons/tag.svg @@ -0,0 +1 @@ + From 8d97e87be09d9e8f86de406e63eff42999f4491c Mon Sep 17 00:00:00 2001 From: sudo-py-dev Date: Fri, 13 Nov 2026 10:01:33 +0200 Subject: [PATCH 2/3] Polish the Hebrew wording and stop bolding drive names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Hebrew catalog used several words for the same thing (disk image, volume, unused space, offset), switched Reclaim between masculine and feminine, and mixed impersonal "יש ל..." with direct instructions. Use one term for each, treat Reclaim as feminine like the website, and address the reader with plural imperatives throughout. Sentences that start with a Latin product name get a leading RLM so they stay right-to-left. On the website, smooth a few stiff lines and match the app's "report a problem" wording. Drive names on the Sources page were semibold, unlike file names on the Recovered files page; use the same weight for both. Co-Authored-By: Claude Opus 5.5 --- locales/he.json | 160 ++++++++++++++++++++--------------------- src/i18n.rs | 2 +- ui/app.slint | 2 +- website/src/i18n/he.ts | 22 +++--- 4 files changed, 93 insertions(+), 93 deletions(-) diff --git a/locales/he.json b/locales/he.json index 3c07c54..e16ff28 100644 --- a/locales/he.json +++ b/locales/he.json @@ -4,19 +4,19 @@ "Applications": "יישומים", "Archives": "ארכיונים", "Audio": "שמע", - "Candidate limit reached (100,000). Recover available results or scan a smaller image.": "הגעתם למגבלת התוצאות (100,000). שחזרו את התוצאות הקיימות או סרקו דמות כונן קטנה יותר.", - "Candidate range is invalid": "טווח הנתונים לשחזור אינו תקין", - "Choose a drive or disk image to get started.": "בחרו כונן או דמות כונן כדי להתחיל.", - "Choose a raw disk image": "בחירת דמות כונן גולמית", - "Contains mounted volumes": "מכיל אמצעי אחסון מחוברים", - "Could not get read-only drive access: {e}. Allow the desktop authentication prompt and try again. If no prompt appears, check that UDisks2 and a polkit authentication agent are installed, or open a disk image.": "לא התקבלה גישת קריאה בלבד לכונן: {e}. אשרו את בקשת ההזדהות ונסו שוב. אם אין בקשה, ודאו ששירותי UDisks2 ו־polkit מותקנים, או פתחו דמות כונן.", - "Could not inspect Mac drives: {e}": "לא ניתן לבדוק את כונני המק: {e}", - "Could not list Windows drives: {e}. Open a disk image instead.": "לא ניתן להציג את כונני Windows: {e}. אפשר לפתוח דמות כונן במקום זאת.", - "Could not list drives: {e}. You can still open a disk image.": "לא ניתן להציג את הכוננים: {e}. עדיין אפשר לפתוח דמות כונן.", + "Candidate limit reached (100,000). Recover available results or scan a smaller image.": "הגעתם למגבלה של 100,000 קבצים. שחזרו את מה שכבר נמצא, או סרקו תמונת דיסק קטנה יותר.", + "Candidate range is invalid": "טווח הנתונים של הקובץ אינו תקין", + "Choose a drive or disk image to get started.": "בחרו כונן או תמונת דיסק כדי להתחיל.", + "Choose a raw disk image": "בחירת תמונת דיסק גולמית", + "Contains mounted volumes": "מכיל מחיצות מחוברות", + "Could not get read-only drive access: {e}. Allow the desktop authentication prompt and try again. If no prompt appears, check that UDisks2 and a polkit authentication agent are installed, or open a disk image.": "לא התקבלה גישת קריאה בלבד לכונן: {e}. אשרו את חלון האימות של המערכת ונסו שוב. אם החלון לא מופיע, ודאו ש־UDisks2 וסוכן אימות של polkit מותקנים, או פתחו תמונת דיסק.", + "Could not inspect Mac drives: {e}": "לא ניתן לבדוק את הכוננים ב־Mac: {e}", + "Could not list Windows drives: {e}. Open a disk image instead.": "לא ניתן להציג את הכוננים ב־Windows: {e}. אפשר לפתוח תמונת דיסק במקום.", + "Could not list drives: {e}. You can still open a disk image.": "לא ניתן להציג את הכוננים: {e}. עדיין אפשר לפתוח תמונת דיסק.", "Could not read the scanned source: {e}": "לא ניתן לקרוא את המקור שנסרק: {e}", "Dark": "כהה", "Documents": "מסמכים", - "Encrypted: unlock in Disks, then refresh": "מוצפן: בטלו את הנעילה ביישום הכוננים ורעננו", + "Encrypted: unlock in Disks, then refresh": "מוצפן: פתחו את הנעילה ב״דיסקים״ ורעננו", "English": "אנגלית", "Entire drive": "הכונן כולו", "Generated filename": "שם קובץ שנוצר אוטומטית", @@ -24,55 +24,55 @@ "Image decoded": "התמונה פוענחה", "Internal drive": "כונן פנימי", "Invalid device path": "נתיב ההתקן אינו תקין", - "Invalid source offset": "מיקום הנתונים במקור אינו תקין", + "Invalid source offset": "המיקום במקור אינו תקין", "Invalid source sector size": "גודל המגזר במקור אינו תקין", "Language": "שפה", "Language preference could not be saved: {e}": "לא ניתן לשמור את העדפת השפה: {e}", "Light": "בהיר", "Linux system": "מערכת לינוקס", - "Locked: unlock in Disk Utility first": "נעול: בטלו תחילה את הנעילה בכלי הכוננים", + "Locked: unlock in Disk Utility first": "נעול: פתחו קודם את הנעילה ב״תוכנית השירות לדיסקים״", "Mounted at {mount}": "מחובר בנתיב {mount}", "NTFS record checked": "רשומת NTFS נבדקה", "No drive access was returned": "לא התקבלה גישה לכונן", "Not mounted": "לא מחובר", - "Opening source… If Linux asks, authorize read-only access to the drive.": "פותח את המקור… אם תופיע בקשת הזדהות בלינוקס, אשרו גישת קריאה בלבד לכונן.", + "Opening source… If Linux asks, authorize read-only access to the drive.": "פותחת את המקור… אם המערכת מבקשת אישור, אשרו גישת קריאה בלבד לכונן.", "Pictures": "תמונות", "Reclaim": "Reclaim", "Reclaim - File Recovery": "Reclaim - שחזור קבצים", "Recovered file": "קובץ משוחזר", "Recovered image failed validation. The source may have changed since scanning.": "התמונה ששוחזרה לא עברה את בדיקת התקינות. ייתכן שהמקור השתנה מאז הסריקה.", - "Recovered {count} file before error: {e}": "שוחזר קובץ אחד ({count}) לפני השגיאה: {e}", + "Recovered {count} file before error: {e}": "שוחזר {count} קובץ לפני השגיאה: {e}", "Recovered {count} files before error: {e}": "שוחזרו {count} קבצים לפני השגיאה: {e}", - "Recovering selected files…": "משחזר את הקבצים שנבחרו…", - "Recovery result limit reached. Available results can still be exported.": "הגעתם למגבלת תוצאות השחזור. עדיין אפשר לשמור את התוצאות הקיימות.", - "Recovery stopped. {count} file saved.": "השחזור נעצר. נשמר קובץ אחד ({count}).", - "Recovery stopped. {count} files saved.": "השחזור נעצר. {count} קבצים נשמרו.", + "Recovering selected files…": "משחזרת את הקבצים שנבחרו…", + "Recovery result limit reached. Available results can still be exported.": "הגעתם למגבלת התוצאות. עדיין אפשר לשחזר את מה שכבר נמצא.", + "Recovery stopped. {count} file saved.": "השחזור נעצר. נשמר {count} קובץ.", + "Recovery stopped. {count} files saved.": "השחזור נעצר. נשמרו {count} קבצים.", "Refresh": "רענון", "Save to a different physical drive": "שמירה בכונן פיזי אחר", - "Saved {n} file. Open the destination folder and verify their contents.": "נשמר קובץ אחד ({n}). פתחו את תיקיית היעד ובדקו את תוכנו.", + "Saved {n} file. Open the destination folder and verify their contents.": "נשמר {n} קובץ. פתחו את תיקיית היעד ובדקו את תוכנו.", "Saved {n} files. Open the destination folder and verify their contents.": "נשמרו {n} קבצים. פתחו את תיקיית היעד ובדקו את תוכנם.", - "Scan complete. {} file candidate found.": "הסריקה הושלמה. נמצא מועמד אחד לשחזור ({}).", - "Scan complete. {} file candidates found.": "הסריקה הושלמה. נמצאו {} מועמדים לשחזור.", - "Scan failed. See the message above.": "הסריקה נכשלה. פרטים מופיעים בהודעה למעלה.", - "Scan stopped. You can recover partial results.": "הסריקה נעצרה. אפשר לשחזר תוצאות חלקיות.", + "Scan complete. {} file candidate found.": "הסריקה הסתיימה. נמצא {} קובץ.", + "Scan complete. {} file candidates found.": "הסריקה הסתיימה. נמצאו {} קבצים.", + "Scan failed. See the message above.": "הסריקה נכשלה. הפרטים מופיעים בהודעה שלמעלה.", + "Scan stopped. You can recover partial results.": "הסריקה נעצרה. אפשר לשחזר את מה שכבר נמצא.", "Scan the selected source before recovering files.": "סרקו את המקור שנבחר לפני שחזור קבצים.", - "Scanning for recoverable files…": "מחפש קבצים שניתן לשחזר…", - "Source changed or candidate is truncated": "המקור השתנה או שהנתונים לשחזור קטועים", + "Scanning for recoverable files…": "מחפשת קבצים שאפשר לשחזר…", + "Source changed or candidate is truncated": "המקור השתנה או שהקובץ קטוע", "Source changed since scanning. Scan it again before recovering.": "המקור השתנה מאז הסריקה. סרקו אותו שוב לפני השחזור.", "System": "מערכת", - "Too many files with the same recovered name": "קיימים יותר מדי קבצים בעלי אותו שם משוחזר", + "Too many files with the same recovered name": "יש יותר מדי קבצים משוחזרים עם אותו שם", "USB drive": "כונן USB", "Phone or camera": "טלפון או מצלמה", "File transfer only": "העברת קבצים בלבד", - "Phones and cameras connect for file transfer only, so Reclaim can’t search them for deleted files. If yours has a memory card, put the card in a card reader and scan it here. Also check its Trash or Recently deleted folder.": "טלפונים ומצלמות מתחברים להעברת קבצים בלבד, ולכן Reclaim לא יכול לחפש בהם קבצים שנמחקו. אם יש במכשיר כרטיס זיכרון, הכניסו אותו לקורא כרטיסים וסרקו אותו כאן. כדאי גם לבדוק את תיקיית האשפה או ״נמחקו לאחרונה״ במכשיר.", - "Unlocked volume": "כונן שנעילתו בוטלה", - "Unverified candidate": "מועמד שלא אומת", + "Phones and cameras connect for file transfer only, so Reclaim can’t search them for deleted files. If yours has a memory card, put the card in a card reader and scan it here. Also check its Trash or Recently deleted folder.": "טלפונים ומצלמות מתחברים להעברת קבצים בלבד, ולכן Reclaim לא יכולה לחפש בהם קבצים שנמחקו. אם יש במכשיר כרטיס זיכרון, הכניסו אותו לקורא כרטיסים וסרקו אותו כאן. כדאי גם לבדוק במכשיר את תיקיית האשפה או ״נמחקו לאחרונה״.", + "Unlocked volume": "מחיצה פתוחה", + "Unverified candidate": "לא אומת", "Video": "וידאו", - "Volume": "כונן", + "Volume": "מחיצה", "Window closed": "החלון נסגר", - "Windows denied access. For physical drives, restart Reclaim with Run as administrator, or open a disk image. BitLocker volumes must be unlocked first.": "אין הרשאה לקריאת הכונן. הפעילו מחדש כמנהל או פתחו דמות כונן. אם הכונן מוצפן, יש לפתוח את נעילתו תחילה.", - "macOS could not inspect drives. Open a raw disk image instead.": "macOS לא הצליח לבדוק את הכוננים. פתחו דמות כונן גולמית במקום זאת.", - "macOS denied access. Reading a whole drive requires administrator rights, and macOS may ask you to allow access to removable volumes or Full Disk Access in System Settings > Privacy & Security. You can open a disk image instead.": "macOS חסם את הגישה. קריאת כונן שלם דורשת הרשאות מנהל, ו־macOS עשוי לבקש לאשר גישה לכוננים נשלפים או גישה מלאה לדיסק בהגדרות המערכת > פרטיות ואבטחה. אפשר לפתוח דמות כונן במקום זאת.", + "Windows denied access. For physical drives, restart Reclaim with Run as administrator, or open a disk image. BitLocker volumes must be unlocked first.": "‏Windows חסמה את הגישה. בכוננים פיזיים, הפעילו מחדש את Reclaim כמנהל מערכת, או פתחו תמונת דיסק. מחיצות BitLocker צריך לפתוח קודם.", + "macOS could not inspect drives. Open a raw disk image instead.": "‏macOS לא הצליחה לבדוק את הכוננים. פתחו תמונת דיסק גולמית במקום.", + "macOS denied access. Reading a whole drive requires administrator rights, and macOS may ask you to allow access to removable volumes or Full Disk Access in System Settings > Privacy & Security. You can open a disk image instead.": "‏macOS חסמה את הגישה. קריאת כונן שלם דורשת הרשאות מנהל, ו־macOS עשויה לבקש לאשר גישה לכוננים נשלפים או ״גישה מלאה לדיסק״ בהגדרות המערכת > פרטיות ואבטחה. אפשר גם לפתוח תמונת דיסק.", "{} file": "{} קובץ", "{} files": "{} קבצים", "{} selected": "נבחרו {}", @@ -96,71 +96,71 @@ "Dates are not available for files found by signature scanning.": "תאריכים אינם זמינים לקבצים שנמצאו בסריקה לפי חתימות.", "File dates do not indicate when a file was deleted. This scanner does not recover deletion timestamps.": "תאריכי הקובץ אינם מציינים מתי הוא נמחק. הסורק אינו משחזר את מועד המחיקה.", "Check for updates": "בדיקת עדכונים", - "Checking for updates…": "בודק עדכונים…", - "You’re up to date.": "הגרסה שברשותך מעודכנת.", - "Downloading and verifying update…": "מוריד ומאמת את העדכון…", + "Checking for updates…": "בודקת עדכונים…", + "You’re up to date.": "יש לכם את הגרסה העדכנית.", + "Downloading and verifying update…": "מורידה ומאמתת את העדכון…", "Structure checked": "המבנה נבדק", "Could not download update: {e}": "לא ניתן להוריד את העדכון: {e}", "Could not open installer (Windows error {result}). Open the downloaded file from Explorer.": "לא ניתן לפתוח את המתקין (שגיאת Windows מספר {result}). פתחו את הקובץ שהורד מסייר הקבצים.", "Download update": "הורדת עדכון", "Open installer": "פתיחת המתקין", "Update and restart": "עדכון והפעלה מחדש", - "Preparing update…": "מכין את העדכון…", - "Installing update…": "מתקין את העדכון…", - "Restarting Reclaim…": "מפעיל מחדש את Reclaim…", + "Preparing update…": "מכינה את העדכון…", + "Installing update…": "מתקינה את העדכון…", + "Restarting Reclaim…": "מפעילה מחדש את Reclaim…", "General": "כללי", "About": "אודות", "Version": "גרסה", - "Checking a {0} file…": "בודק קובץ {0}…", + "Checking a {0} file…": "בודקת קובץ {0}…", "{0} of {1}": "{0} מתוך {1}", - "Reading unused-space map…": "קורא את מפת השטח הפנוי…", - "No unused space is available on this volume.": "אין שטח פנוי לסריקה באמצעי אחסון זה.", - "Unused-space scanning needs a supported formatted volume (NTFS, FAT12/16/32, exFAT, ext2/3/4, or HFS+). Select the volume/partition rather than a whole-disk image. Occupied space was not scanned.": "סריקת שטח שאינו בשימוש דורשת אמצעי אחסון מפורמט ונתמך (NTFS, FAT12/16/32, exFAT, ext2/3/4 או HFS+‎). יש לבחור אמצעי אחסון או מחיצה במקום דמות של כונן שלם. שטח שנמצא בשימוש לא נסרק.", - "This is a ReFS volume. Reclaim cannot read the ReFS free-space map yet, so this volume was not scanned.": "זהו אמצעי אחסון ReFS. עדיין אין ל־Reclaim אפשרות לקרוא את מפת השטח הפנוי של ReFS, ולכן אמצעי האחסון הזה לא נסרק.", - "This ext volume uses a feature Reclaim cannot map yet (compression, an external journal, META_BG, or bigalloc), so it was not scanned.": "אמצעי האחסון ext הזה משתמש בתכונה ש־Reclaim עדיין לא יודע לפענח (דחיסה, יומן חיצוני, META_BG או bigalloc), ולכן הוא לא נסרק.", - "This HFS+ volume's free-space map is too fragmented for Reclaim to read yet, so it was not scanned.": "מפת השטח הפנוי של אמצעי האחסון HFS+‎ הזה מקוטעת מדי מכדי ש־Reclaim יוכל לקרוא אותה כרגע, ולכן הוא לא נסרק.", - "Saving recovered files to the same physical drive you scanned can overwrite and permanently damage data you are trying to recover. Choose a folder on a different physical drive. Continue only if this destination is on another drive.": "שמירת קבצים משוחזרים באותו כונן פיזי שנסרק עלולה לדרוס נתונים שמנסים לשחזר ולפגוע בהם לצמיתות. יש לבחור תיקייה בכונן פיזי אחר. יש להמשיך רק אם היעד נמצא בכונן אחר.", - "Saving here can overwrite the deleted files you are trying to recover and damage them permanently. Choose a folder on a different physical drive, such as a USB drive.": "שמירה כאן עלולה לדרוס את הקבצים המחוקים שמנסים לשחזר ולפגוע בהם לצמיתות. יש לבחור תיקייה בכונן פיזי אחר, כמו כונן USB.", - "Could not connect to the update server. Check your internet connection and try again.": "לא ניתן להתחבר לשרת העדכונים. יש לבדוק את החיבור לאינטרנט ולנסות שוב.", - "Could not check for updates. Please try again later.": "לא ניתן לבדוק אם קיימים עדכונים. יש לנסות שוב מאוחר יותר.", + "Reading unused-space map…": "קוראת את מפת השטח הפנוי…", + "No unused space is available on this volume.": "אין במחיצה הזו שטח פנוי לסריקה.", + "Unused-space scanning needs a supported formatted volume (NTFS, FAT12/16/32, exFAT, ext2/3/4, or HFS+). Select the volume/partition rather than a whole-disk image. Occupied space was not scanned.": "סריקת שטח פנוי דורשת מחיצה במערכת קבצים נתמכת (NTFS, FAT12/16/32, exFAT, ext2/3/4 או HFS+‎). בחרו את המחיצה עצמה ולא תמונה של כונן שלם. השטח התפוס לא נסרק.", + "This is a ReFS volume. Reclaim cannot read the ReFS free-space map yet, so this volume was not scanned.": "זו מחיצת ReFS. ‏Reclaim עדיין לא יודעת לקרוא את מפת השטח הפנוי של ReFS, ולכן המחיצה לא נסרקה.", + "This ext volume uses a feature Reclaim cannot map yet (compression, an external journal, META_BG, or bigalloc), so it was not scanned.": "מחיצת ה־ext הזו משתמשת בתכונה ש־Reclaim עדיין לא יודעת לקרוא (דחיסה, יומן חיצוני, META_BG או bigalloc), ולכן היא לא נסרקה.", + "This HFS+ volume's free-space map is too fragmented for Reclaim to read yet, so it was not scanned.": "מפת השטח הפנוי במחיצת HFS+‎ הזו מפוצלת מדי, ו־Reclaim עדיין לא יודעת לקרוא אותה. המחיצה לא נסרקה.", + "Saving recovered files to the same physical drive you scanned can overwrite and permanently damage data you are trying to recover. Choose a folder on a different physical drive. Continue only if this destination is on another drive.": "שמירת הקבצים המשוחזרים באותו כונן פיזי שסרקתם עלולה לדרוס את המידע שאתם מנסים לשחזר ולהרוס אותו לצמיתות. בחרו תיקייה בכונן פיזי אחר. המשיכו רק אם היעד הזה נמצא בכונן אחר.", + "Saving here can overwrite the deleted files you are trying to recover and damage them permanently. Choose a folder on a different physical drive, such as a USB drive.": "שמירה כאן עלולה לדרוס את הקבצים המחוקים שאתם מנסים לשחזר ולהרוס אותם לצמיתות. בחרו תיקייה בכונן פיזי אחר, למשל כונן USB.", + "Could not connect to the update server. Check your internet connection and try again.": "לא ניתן להתחבר לשרת העדכונים. בדקו את החיבור לאינטרנט ונסו שוב.", + "Could not check for updates. Please try again later.": "לא ניתן לבדוק עדכונים. נסו שוב מאוחר יותר.", "The scan ended unexpectedly. You can recover the files already found or scan again.": "הסריקה הסתיימה באופן בלתי צפוי. אפשר לשחזר את הקבצים שכבר נמצאו או לסרוק מחדש.", "Recovery ended unexpectedly. Check the destination folder before trying again.": "השחזור הסתיים באופן בלתי צפוי. בדקו את תיקיית היעד לפני ניסיון נוסף.", - "Scan finished with unreadable areas. Some files could not be checked. The drive may be failing: recover the files you need now and avoid repeated scans.": "הסריקה הסתיימה עם אזורים שאינם ניתנים לקריאה. חלק מהקבצים לא נבדקו. ייתכן שהכונן כושל: שחזרו עכשיו את הקבצים החשובים והימנעו מסריקות חוזרות.", + "Scan finished with unreadable areas. Some files could not be checked. The drive may be failing: recover the files you need now and avoid repeated scans.": "הסריקה הסתיימה, אבל חלק מהאזורים לא היו קריאים ולא כל הקבצים נבדקו. ייתכן שהכונן מתקלקל: שחזרו עכשיו את מה שחשוב לכם והימנעו מסריקות חוזרות.", "No source selected": "לא נבחר מקור", "Select a file to inspect its details.": "בחרו קובץ להצגת פרטיו.", "A second chance for your files": "הזדמנות שנייה לקבצים שלכם", "Sources": "מקורות", "Recovered files": "קבצים לשחזור", "Settings & help": "הגדרות ועזרה", - "Read-only by design": "לקריאה בלבד", - "Your source stays untouched. Save recovered files to another drive.": "המקור נשאר ללא שינוי. שמרו קבצים ששוחזרו בכונן אחר.", - "Choose a drive or disk image to search for deleted files.": "בחרו כונן או קובץ תמונת דיסק לחיפוש קבצים שנמחקו.", - "Inspect candidates, choose your files, and recover them safely.": "בדקו קבצים שנמצאו, בחרו את הרצויים ושחזרו אותם בבטחה.", - "Appearance, updates, and a little guidance.": "מראה, עדכונים והדרכה קצרה.", + "Read-only by design": "קריאה בלבד", + "Your source stays untouched. Save recovered files to another drive.": "המקור לא משתנה. שמרו את הקבצים המשוחזרים בכונן אחר.", + "Choose a drive or disk image to search for deleted files.": "בחרו כונן או תמונת דיסק כדי לחפש קבצים שנמחקו.", + "Inspect candidates, choose your files, and recover them safely.": "בדקו את מה שנמצא, בחרו את הקבצים ושחזרו אותם בבטחה.", + "Appearance, updates, and a little guidance.": "מראה, עדכונים וקצת הדרכה.", "AVAILABLE SOURCES": "מקורות זמינים", "Open disk image": "פתיחת תמונת דיסק", - "No drives found. Open a disk image or connect a drive and refresh.": "לא נמצאו כוננים. פתחו תמונת דיסק או חברו כונן ורעננו.", + "No drives found. Open a disk image or connect a drive and refresh.": "לא נמצאו כוננים. פתחו תמונת דיסק, או חברו כונן ורעננו.", "SELECTED SOURCE": "המקור שנבחר", "Start scanning": "התחלת סריקה", - "Search name or offset…": "חיפוש לפי שם או היסט…", + "Search name or offset…": "חיפוש לפי שם או מיקום…", "Select all": "בחירת הכול", - "Searching… candidates will appear here.": "מתבצע חיפוש… קבצים שיימצאו יופיעו כאן.", + "Searching… candidates will appear here.": "מחפשת… הקבצים שיימצאו יופיעו כאן.", "No matching files yet. Start a scan from Sources.": "עדיין אין קבצים תואמים. התחילו סריקה במסך המקורות.", "FILE INSPECTOR": "פרטי הקובץ", - "Candidates may be incomplete. Verify recovered files before relying on them.": "ייתכן שהקבצים שנמצאו אינם שלמים. בדקו אותם לאחר השחזור לפני שתסתמכו עליהם.", - "Recover selected": "שחזור הבחירה", + "Candidates may be incomplete. Verify recovered files before relying on them.": "ייתכן שחלק מהקבצים לא שלמים. בדקו אותם אחרי השחזור לפני שאתם סומכים עליהם.", + "Recover selected": "שחזור הנבחרים", "System language": "שפת המערכת", "Recover in three steps": "שחזור בשלושה שלבים", - "1. Stop using the drive you lost files from. Don't save, download or install anything to it.\n\n2. Choose that drive or a raw disk image, then scan its unused space. Stop any time and keep partial results.\n\n3. Inspect and select files, then save them to a different physical drive.": "1. הפסיקו להשתמש בכונן שממנו נמחקו הקבצים. אל תשמרו, תורידו או תתקינו עליו דבר.\n\n2. בחרו את הכונן הזה או קובץ תמונת דיסק גולמית, וסרקו את השטח הלא מנוצל. אפשר לעצור בכל עת ולשמור תוצאות חלקיות.\n\n3. בדקו ובחרו קבצים, ושמרו אותם בכונן פיזי אחר.", + "1. Stop using the drive you lost files from. Don't save, download or install anything to it.\n\n2. Choose that drive or a raw disk image, then scan its unused space. Stop any time and keep partial results.\n\n3. Inspect and select files, then save them to a different physical drive.": "1. הפסיקו להשתמש בכונן שממנו נמחקו הקבצים. אל תשמרו, תורידו או תתקינו עליו שום דבר.\n\n2. בחרו את הכונן הזה או תמונת דיסק גולמית, וסרקו את השטח הפנוי שלו. אפשר לעצור בכל רגע ולשמור את מה שכבר נמצא.\n\n3. בדקו ובחרו קבצים, ושמרו אותם בכונן פיזי אחר.", "Supported formats": "פורמטים נתמכים", - "Photos, documents, archives, audio, video, applications, and small NTFS resident files. Unused-space scanning on FAT, exFAT, NTFS, ext2/3/4, and HFS+ volumes.": "תמונות, מסמכים, ארכיונים, שמע, וידאו, יישומים וקובצי NTFS קטנים המאוחסנים ברשומה. סריקת שטח לא מנוצל במחיצות FAT,‏ exFAT,‏ NTFS,‏ ext2/3/4 ו־HFS+‎.", - "Built with Rust and Slint · MIT licensed application": "נבנה עם Rust ו־Slint · יישום ברישיון MIT", + "Photos, documents, archives, audio, video, applications, and small NTFS resident files. Unused-space scanning on FAT, exFAT, NTFS, ext2/3/4, and HFS+ volumes.": "תמונות, מסמכים, ארכיונים, שמע, וידאו, יישומים וקובצי NTFS קטנים השמורים ברשומה עצמה. סריקת שטח פנוי במחיצות FAT,‏ exFAT,‏ NTFS,‏ ext2/3/4 ו־HFS+‎.", + "Built with Rust and Slint · MIT licensed application": "נבנתה ב־Rust וב־Slint · קוד פתוח ברישיון MIT", "Locked": "נעול", - "Stopping after the current step…": "הפעולה תיעצר לאחר השלב הנוכחי…", - "The volume size is unknown; unused-space scanning cannot start.": "גודל אמצעי האחסון אינו ידוע; אי אפשר להתחיל סריקת שטח לא מנוצל.", + "Stopping after the current step…": "עוצרת אחרי השלב הנוכחי…", + "The volume size is unknown; unused-space scanning cannot start.": "גודל המחיצה לא ידוע, ולכן אי אפשר לסרוק את השטח הפנוי.", "Update worker stopped. Try again.": "תהליך העדכון נעצר. נסו שוב.", - "Update verified. Open the installer to finish.": "העדכון אומת. פתחו את תוכנית ההתקנה להשלמה.", - "Update finished. Close and reopen Reclaim if needed.": "העדכון הסתיים. סגרו ופתחו את Reclaim מחדש לפי הצורך.", + "Update verified. Open the installer to finish.": "העדכון אומת. פתחו את תוכנית ההתקנה כדי לסיים.", + "Update finished. Close and reopen Reclaim if needed.": "העדכון הסתיים. אם צריך, סגרו ופתחו מחדש את Reclaim.", "Version {0} is available.": "גרסה {0} זמינה.", "Review recovery destination": "בדיקת יעד השחזור", "reclaim": "reclaim", @@ -168,7 +168,7 @@ "Invalid preview position": "מיקום התצוגה המקדימה אינו תקין", "This image is too large to preview. Recover it to view the full image.": "התמונה גדולה מדי לתצוגה מקדימה. שחזרו אותה לצפייה בתמונה המלאה.", "The source is no longer available.": "המקור אינו זמין עוד.", - "This image could not be previewed. Its contents may be incomplete or damaged.": "לא ניתן להציג תצוגה מקדימה. ייתכן שתוכן התמונה אינו שלם או פגום.", + "This image could not be previewed. Its contents may be incomplete or damaged.": "לא ניתן להציג תצוגה מקדימה של התמונה. ייתכן שהיא לא שלמה או פגומה.", "Could not open Reclaim": "לא ניתן לפתוח את Reclaim", "A native desktop session is required": "נדרשת סביבת שולחן עבודה פעילה", "Version {} is available.": "גרסה {} זמינה.", @@ -183,26 +183,26 @@ "Could not check for updates: {0}": "לא ניתן לבדוק אם קיימים עדכונים: {0}", "Could not install update: {e}. Move Reclaim to a writable folder and retry.": "לא ניתן להתקין את העדכון: {e}. העבירו את Reclaim לתיקייה עם הרשאות כתיבה ונסו שוב.", "Could not open link or file: {e}. Try opening it from your browser or file manager.": "לא ניתן לפתוח את הקישור או הקובץ: {e}. נסו לפתוח אותו מהדפדפן או ממנהל הקבצים.", - "Could not read this volume: {0}": "לא ניתן לקרוא את אמצעי האחסון הזה: {0}", + "Could not read this volume: {0}": "לא ניתן לקרוא את המחיצה: {0}", "Could not start the package manager: {e}": "לא ניתן להפעיל את מנהל החבילות: {e}", "Diagnostic log: {0}": "יומן אבחון: {0}", "If this is a virtual machine, install or update its graphics drivers or guest additions.": "אם זו מכונה וירטואלית, התקינו או עדכנו את מנהלי ההתקן הגרפיים או את תוספות האורח (Guest Additions).", - "Mount table changed too quickly. Try Refresh.": "טבלת העיגון השתנתה מהר מדי. נסו ללחוץ על רענון.", + "Mount table changed too quickly. Try Refresh.": "רשימת המחיצות המחוברות השתנתה מהר מדי. נסו לרענן.", "No release notes.": "אין הערות גרסה.", "No update for this platform yet": "עדיין אין עדכון למערכת זו", - "Package update did not complete (status {}). Reclaim was left open.": "עדכון החבילה לא הושלם (קוד {}). Reclaim נשארה פתוחה.", - "Physical disk": "דיסק פיזי", + "Package update did not complete (status {}). Reclaim was left open.": "עדכון החבילה לא הושלם (קוד {}). ‏Reclaim נשארה פתוחה.", + "Physical disk": "כונן פיזי", "Reclaim could not continue": "Reclaim לא יכולה להמשיך", - "Reclaim encountered an unexpected error and must close.": "ב-Reclaim אירעה שגיאה בלתי צפויה, והיא תיסגר.", + "Reclaim encountered an unexpected error and must close.": "אירעה ב־Reclaim שגיאה לא צפויה, והיא תיסגר.", "Reclaim stopped because of a Windows exception.": "Reclaim נעצרה בגלל חריגה של Windows.", "Run the Windows setup once to enable automatic updates": "הריצו פעם אחת את תוכנית ההתקנה של Windows כדי לאפשר עדכונים אוטומטיים", - "Starting installer…": "מפעיל את תוכנית ההתקנה…", + "Starting installer…": "מפעילה את תוכנית ההתקנה…", "The desktop did not open the link or file. Try opening it manually.": "שולחן העבודה לא פתח את הקישור או הקובץ. נסו לפתוח אותו ידנית.", "The desktop returned an unexpected open request. Try opening the link or file manually.": "שולחן העבודה החזיר בקשת פתיחה לא צפויה. נסו לפתוח את הקישור או הקובץ ידנית.", "The diagnostic log could not be written.": "לא ניתן לכתוב את יומן האבחון.", "The package manager did not install the update (status {code})": "מנהל החבילות לא התקין את העדכון (קוד {code})", "The update could not be installed: {0}": "לא ניתן להתקין את העדכון: {0}", - "The update was not installed: administrator permission was not given. Reclaim was left open.": "העדכון לא הותקן: לא ניתנה הרשאת מנהל. Reclaim נשארה פתוחה.", + "The update was not installed: administrator permission was not given. Reclaim was left open.": "העדכון לא הותקן כי לא ניתנה הרשאת מנהל. ‏Reclaim נשארה פתוחה.", "This installation must be updated using the matching installer.": "יש לעדכן התקנה זו באמצעות תוכנית ההתקנה המתאימה.", "This update is not signed by the Reclaim release key": "העדכון הזה אינו חתום במפתח ההפצה של Reclaim", "Update checksum verification failed": "אימות סכום הביקורת של העדכון נכשל", @@ -219,10 +219,10 @@ "Updates": "עדכונים", "Updates are managed by Flatpak.": "העדכונים מנוהלים באמצעות Flatpak.", "Restart as administrator": "הפעלה מחדש כמנהל", - "Administrator permission was not granted. Reclaim is still open.": "לא ניתן אישור מנהל. התוכנה נשארה פתוחה.", + "Administrator permission was not granted. Reclaim is still open.": "לא ניתנה הרשאת מנהל. ‏Reclaim עדיין פתוחה.", "Could not restart as administrator: {0}": "לא ניתן להפעיל מחדש כמנהל: {0}", - "The source stopped returning data before its reported end. It may be truncated, disconnected, or restricted by the operating system. Files already found can still be recovered.": "המקור הפסיק להחזיר נתונים לפני סופו המדווח. ייתכן שהוא נקטע, נותק או שהגישה אליו מוגבלת על ידי מערכת ההפעלה. עדיין ניתן לשחזר את הקבצים שכבר נמצאו.", - "Could not prepare read-only access to this volume: {0}": "לא ניתן להכין גישה לקריאה בלבד לכונן הזה: {0}", + "The source stopped returning data before its reported end. It may be truncated, disconnected, or restricted by the operating system. Files already found can still be recovered.": "המקור הפסיק להחזיר נתונים לפני הסוף המדווח שלו. ייתכן שהוא קטוע, מנותק או חסום על ידי מערכת ההפעלה. עדיין אפשר לשחזר את הקבצים שכבר נמצאו.", + "Could not prepare read-only access to this volume: {0}": "לא ניתן להכין גישת קריאה בלבד למחיצה: {0}", "Updates are managed by the Snap Store.": "העדכונים מנוהלים באמצעות חנות Snap.", "Choose another folder": "בחירת תיקייה אחרת", "Save here anyway": "שמירה כאן בכל זאת", @@ -231,7 +231,7 @@ "Report a problem": "דיווח על בעיה", "Open an issue on GitHub": "פתיחת דיווח ב־GitHub", "Release history": "היסטוריית גרסאות", - "Every version with its release notes": "כל הגרסאות והערות השחרור שלהן", + "Every version with its release notes": "כל הגרסאות עם הערות הגרסה", "License": "רישיון", "Read the MIT License": "קריאת רישיון MIT" } diff --git a/src/i18n.rs b/src/i18n.rs index debce5e..81d9635 100644 --- a/src/i18n.rs +++ b/src/i18n.rs @@ -454,7 +454,7 @@ mod tests { Language::Hebrew, 0 ), - "לא ניתן לקרוא את אמצעי האחסון הזה: מיקום הנתונים במקור אינו תקין" + "לא ניתן לקרוא את המחיצה: המיקום במקור אינו תקין" ); assert_eq!( translate("/media/user/Photos", Language::Hebrew, 0), diff --git a/ui/app.slint b/ui/app.slint index 5efc0b0..a394427 100644 --- a/ui/app.slint +++ b/ui/app.slint @@ -711,7 +711,7 @@ export component AppWindow inherits Window { } VerticalLayout { horizontal-stretch: 1; min-width: 0px; spacing: 1px; alignment: center; Row { spacing: 6px; - Label { text: drive.name; color: Palette.ink; font-size: 14px; font-weight: 600; overflow: elide; min-width: 0px; horizontal-stretch: 0; } + Label { text: drive.name; color: Palette.ink; font-size: 14px; font-weight: 500; overflow: elide; min-width: 0px; horizontal-stretch: 0; } if drive.device != "" : DeviceTag { text: drive.device; } Rectangle { horizontal-stretch: 1; } } diff --git a/website/src/i18n/he.ts b/website/src/i18n/he.ts index 292d967..7dffde7 100644 --- a/website/src/i18n/he.ts +++ b/website/src/i18n/he.ts @@ -78,7 +78,7 @@ const he: Dict = { ], }, features: { - kicker: 'שחזור זהיר, מהיסוד', + kicker: 'זהירות מובנית', title: 'פשוטה לשימוש. זהירה בכל שלב.', items: [ { @@ -87,7 +87,7 @@ const he: Dict = { }, { title: 'רואים לפני ששומרים', - body: 'סמלים לפי סוג קובץ, חיפוש, סינון לפי קטגוריה, תצוגה מקדימה של תמונות וחלונית פרטים מפורטת עוזרים לזהות מה באמת שווה לשחזר.', + body: 'חיפוש, סינון לפי קטגוריה, סמלים לפי סוג קובץ, תצוגה מקדימה של תמונות ופרטים מלאים על כל קובץ עוזרים להבין מה באמת שווה לשחזר.', }, { title: 'תמיכה בכוננים הנפוצים', @@ -122,15 +122,15 @@ const he: Dict = { more: 'לרשימת הפורמטים המלאה', }, limits: { - kicker: 'בשקיפות מלאה', + kicker: 'בלי הפתעות', title: 'מה Reclaim עדיין לא יודעת לעשות.', - lead: 'Reclaim נמצאת בשלב תצוגה מקדימה, ואין ערובה שכל קובץ ישוחזר. כדאי להכיר את המגבלות לפני שמתחילים.', + lead: 'Reclaim עדיין בגרסת תצוגה מקדימה, ואין הבטחה שכל קובץ ישוחזר. כדאי להכיר את המגבלות לפני שמתחילים.', items: [ 'מידע שנדרס, או שנמחק בפקודת TRIM בכונן SSD, אינו ניתן לשחזור.', 'שמות הקבצים והתיקיות המקוריים אינם משוחזרים; כל קובץ מקבל שם חדש שנוצר אוטומטית.', - 'רוב הקבצים מוגבלים לגודל של 64 MiB, וקבצים מקוטעים עלולים להשתחזר באופן חלקי.', + 'לרוב סוגי הקבצים יש מגבלת גודל של 64 MiB, וקבצים מפוצלים עלולים להשתחזר רק בחלקם.', 'עדיין אי אפשר לסרוק את הכונן הפנימי של מחשבי Mac‏ (APFS), מחיצות Linux מסוג Btrfs או XFS ותמונות של דיסק שלם הכוללות טבלת מחיצות.', - 'תוצאות הסריקה אינן נשמרות לאחר סגירת התוכנה, לכן שמרו קודם את מה שאתם צריכים.', + 'תוצאות הסריקה נמחקות כשסוגרים את התוכנה, לכן שחזרו קודם את מה שאתם צריכים.', ], }, faq: { @@ -138,11 +138,11 @@ const he: Dict = { items: [ { q: 'האם Reclaim באמת חינמית?', - a: 'כן. Reclaim חינמית לחלוטין ובקוד פתוח, ברישיון MIT. אין מסלולים בתשלום, אין הגבלה על כמות הקבצים ששוחזרו ואין צורך בהרשמה.', + a: 'כן. Reclaim חינמית לחלוטין ובקוד פתוח, ברישיון MIT. אין מסלולים בתשלום, אין הגבלה על מספר הקבצים שאפשר לשחזר ואין צורך בהרשמה.', }, { q: 'אפשר לשחזר קבצים אחרי שרוקנתי את סל המחזור?', - a: 'אם הקבצים עדיין בסל המחזור, שחזרו אותם משם: זה מהיר יותר והשמות נשמרים. אחרי ריקון הסל, בכוננים קשיחים, בכרטיסי זיכרון ובדיסק און קי המידע נשאר בדרך כלל עד שנכתב עליו משהו אחר, ולכן לסריקה יש סיכוי טוב. בכונן SSD פנימי של מחשב הוא נמחק בדרך כלל זמן קצר אחר כך (ראו את השאלה על SSD).', + a: 'אם הקבצים עדיין בסל המחזור, שחזרו אותם משם: זה מהיר יותר והשמות נשמרים. אחרי ריקון הסל, בכוננים קשיחים, בכרטיסי זיכרון ובדיסק און קי המידע נשאר בדרך כלל עד שנכתב עליו משהו אחר, ולכן יש סיכוי טוב למצוא אותו בסריקה. בכונן SSD פנימי של מחשב הוא נמחק בדרך כלל זמן קצר אחר כך (ראו את השאלה על SSD).', }, { q: 'אפשר לשחזר תמונות מכרטיס SD או מדיסק און קי?', @@ -183,7 +183,7 @@ const he: Dict = { name: 'Windows', detail: '64 ביט (x86_64)', scans: 'סורקת כונני NTFS,‏ FAT32 ו-exFAT: כוננים פנימיים, כרטיסי זיכרון ודיסק און קי. גם כוננים חיצוניים בפורמט ext2/3/4 או HFS+‎ עובדים.', - how: 'הפעילו את קובץ ההתקנה. התוכנה תותקן עבור המשתמש שלכם, עם קיצור דרך בתפריט התחל ואפשרות הסרה מסודרת. אם כונן לא נפתח, לחצו על Reclaim בלחצן הימני ובחרו ״הפעל כמנהל מערכת״. איבדתם קבצים בכונן C:? השתמשו במקום זאת בגרסה הניידת מדיסק און קי.', + how: 'הפעילו את קובץ ההתקנה. התוכנה תותקן עבור המשתמש שלכם, עם קיצור דרך בתפריט התחל ואפשרות הסרה מסודרת. אם כונן לא נפתח, לחצו לחיצה ימנית על Reclaim ובחרו ״הפעל כמנהל מערכת״. איבדתם קבצים בכונן C:? השתמשו במקום זאת בגרסה הניידת מדיסק און קי.', }, macos: { name: 'macOS', @@ -195,7 +195,7 @@ const he: Dict = { name: 'Linux', detail: 'Debian 12,‏ Ubuntu 22.04 ואילך · x86_64', scans: 'סורקת מחיצות ext2,‏ ext3 ו-ext4, וגם כונני FAT32,‏ exFAT ו-NTFS, כמו כרטיסי זיכרון ודיסק און קי. עדיין אי אפשר לסרוק Btrfs או XFS.', - how: 'מתוך התיקייה שאליה הורדתם את החבילה, התקינו אותה באמצעות הפקודה שלהלן. כשתבחרו כונן, Reclaim תבקש סיסמת מנהל דרך חלון האימות הרגיל של המערכת. הגרסה הניידת דורשת glibc 2.35 ואילך.', + how: 'פתחו מסוף בתיקייה שאליה הורדתם את החבילה, והתקינו אותה בפקודה שלמטה. כשתבחרו כונן, Reclaim תבקש סיסמת מנהל דרך חלון האימות הרגיל של המערכת. הגרסה הניידת דורשת glibc 2.35 ואילך.', }, }, arm: 'Apple Silicon', @@ -217,7 +217,7 @@ const he: Dict = { project: 'הפרויקט', source: 'קוד המקור', releases: 'גרסאות', - issues: 'דיווח על תקלה', + issues: 'דיווח על בעיה', docs: 'מדריך למפתחים', license: 'מופץ ברישיון MIT.', }, From e5b3840fe62219d1eac732b9cd98512cb6fa07de Mon Sep 17 00:00:00 2001 From: sudo-py-dev Date: Fri, 13 Nov 2026 10:08:39 +0200 Subject: [PATCH 3/3] Pin the About row test to English labels The test looks up rows by their English labels, so on a non-English system locale it could not find them. Apply the labels inside an English scope, as the other UI tests do. Found by CodeRabbit review. Co-Authored-By: Claude Opus 5.5 --- src/slint_ui_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slint_ui_tests.rs b/src/slint_ui_tests.rs index dffc289..4e2b01d 100644 --- a/src/slint_ui_tests.rs +++ b/src/slint_ui_tests.rs @@ -1402,7 +1402,7 @@ fn about_rows_are_keyboard_buttons_with_descriptions() { ui.show().unwrap(); // Tall enough that the whole Settings page is in view, About card included. ui.window().set_size(slint::PhysicalSize::new(1160, 2000)); - ui_text::apply(&ui); + i18n::with_language(i18n::Language::English, || ui_text::apply(&ui)); ui.set_page(2); let opened = Rc::new(RefCell::new(Vec::new())); let sink = opened.clone();