Skip to content

feat(i18n): add ten languages and restart-to-apply selection - #1519

Merged
l0gicgate merged 40 commits into
mainfrom
feat/1517-internationalization
Oct 8, 2026
Merged

l0gicgate merged 40 commits into
mainfrom
feat/1517-internationalization

Conversation

@l0gicgate

Copy link
Copy Markdown
Contributor

Description

Add compiled-in rust-i18n translations for English, French, German, Spanish, Japanese, Brazilian Portuguese, Korean, Vietnamese, Italian, and Russian. General Settings now offers Auto-detect and native-language names, with a synchronized Restart now action when the effective language changes.

Language changes apply after restart, as requested by the owner. Detection respects Linux language priorities with English fallback. Counts and dates follow the app language; filenames, caller-supplied chooser labels, and protocol identifiers stay unchanged. Restart honors existing operation-close guards. System/provider text remains provider-owned; Japanese/Korean rendering requires system CJK fonts.

Visual evidence

Pending owner upload through the GitHub editor. Sanitized before/after Settings captures and a language-menu capture are retained locally; exact paths and captions are recorded in the issue handoff. Japanese/Korean captures use the existing Noto CJK fonts mounted read-only into the isolated pinned environment. No captures are committed.

How to test

  1. Open Settings → General → Language. Select Français, then reopen Settings in another window: the saved choice and Restart button should agree, while the running UI stays in its original language.
  2. Restart Strata. Check Settings, its search, context menus, dates, and selection counts in French; user filenames should remain unchanged. Try 日本語 or 한국어 with CJK fonts installed.
  3. Select Auto-detect and restart. The interface should follow LANGUAGE, then the message locale (LC_ALL, LC_MESSAGES, LANG), with English fallback. Explicit C/POSIX selects English.
  4. Try Restart now during an active guarded file operation. The normal close warning should prevent shutdown; finish or cancel the operation before retrying.

Expected result: The chosen language persists, applies consistently after restart, and never changes filesystem paths, file contents, or application-supplied chooser values.

Related issue

Closes #1517

Localize application controls, messages, counts and dates with rust-i18n. Persist auto-detected or manual language choices and apply them after restart while honoring operation close guards.

Refs #1517
Keep English source catalogs checked while excluding translated and multilingual data from the English-only dictionary. Preserve the literal French restart caption in its E2E regression.

Refs #1517
Require new and changed user-facing messages to ship in all ten supported languages, preserving interpolation and user-content boundaries.

Refs #1517
@l0gicgate
l0gicgate marked this pull request as ready for review October 7, 2026 15:26
@blacksmith-sh

This comment has been minimized.

The CI E2E bundle is built from a Docker context that only includes src/
and data/, so rust-i18n compiled an empty catalog and every lookup fell
back to its key (for example "counts.items.one"). Move the catalogs to
data/locales so the image build, bundle source key and builds from any
source subset embed them, and fail the build if they are missing.
@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Code review

Reviewed at 6d6e4adb. The overall design works: compiled-in catalogs, a stable English source key, startup-only locale selection, restart-to-apply through ThemeManager/bind_preference, and plural categories kept in one helper. Catalog structure is clean: key parity holds across all 10 locales, there are no duplicate keys, every placeholder name and count matches, the markup-bearing strings keep identical tags and URLs, and the date month and weekday indices line up with glib::DateTime::month() and day_of_week().

The main problems are a build-input gap that ships the CI E2E binary with no catalogs, a restart path that can destroy windows without restarting, and a translated string being used for behaviour.

Blocker

1. The CI E2E binary is built without locales/, so users see raw keys

  • Where: .dockerignore (allowlist), tests/e2e/Dockerfile:87-90, scripts/e2e_bundle.py:41-42.
  • Problem: The bundle build copies only src, data and build.rs, and .dockerignore excludes locales/. i18n!("locales") compiles silently with no catalogs.
  • Failure: The current E2E shards fail with unexpected dialog 'Permanently delete counts.items.one?' and missing 4 files, 1 folder labels. Date patterns would also render as dates.long. Local ./scripts/e2e.sh bind-mounts the repository, which is why it passes locally.
  • Fix:
    • Add !locales/ and !locales/** to .dockerignore.
    • Add COPY locales ./locales before cargo build in the Dockerfile. This changes the image key, so follow the base-image procedure.
    • Add "locales" to the source_key directories in e2e_bundle.py, and update scripts/test_e2e_sharding.py.
    • Add --watch locales to scripts/start-dev.sh.
    • Consider failing the build or startup when rust_i18n::available_locales!() is empty, so a missing input cannot ship silently again.

Major

2. "Restart now" can close some windows and then refuse to restart

  • Where: src/ui/settings.rs:2153-2164 (close_windows_for_restart). The guards are in src/ui/window/composition/tabs.rs:76-90 (per window) and src/ui/jobs.rs:385-397 (last window only).
  • Problem: Windows are closed one by one, and the loop only finds out afterwards that a guard refused.
  • Failure:
    • Two windows are open, and window B has an active copy. Clicking Restart in window A closes A, B refuses with "File operations are still active", and no restart happens. A's tabs and navigation are lost.
    • The same happens with queued or running Jobs: every non-last window closes, and then the last one refuses.
    • This also changes the update dialog's "Restart now", which previously did not close windows.
    • If waiter.spawn() fails after all windows have closed, the app exits without restarting.
  • Fix: Check first without closing anything. Add an app-level "busy" query covering tab background operations, Jobs running or queued, and active formatting. If anything is busy, show the existing warning and return. Otherwise close all windows, then spawn the waiter. Extend restart_honors_window_close_guards to two windows, with the guard on the later one, and assert that no window was closed.

3. A translated title is used for behaviour, and every error-dialog subtitle stays English

  • Where: src/ui/modal.rs:370-383.
  • Problem: message == "Completed with errors" now compares against a translated title, because callers pass tr("Completed with errors"), for example browser/events.rs, progress/context.rs and trash.rs. The subtitles "Reported by the file provider" and "The operation could not be completed" are not in any catalog, and message_dialog_layout does not translate them.
  • Failure: In French, a partial-failure dialog shows the wrong subtitle, "The operation could not be completed" instead of "Some items could not be processed", and it is in English. Every error dialog in every non-English locale has an English subtitle.
  • Fix: Pass an explicit kind or subtitle from the caller, or compare against the source key before translating. Translate all three subtitles and add them to the catalogs.

4. Modal titles and subtitles are never translated, so many dialogs keep English headings

  • Where: src/ui/controls.rs:418-427. modal_layout_with_tone translates the confirm and cancel labels but not the title or subtitle. These callers still pass English literals:

    • browser/customization.rs:46-53 (format!("Custom {item_title} Color"), "Choose a color for this {item_label}") and :177-187 ("Customize File" / "Customize Folder")
    • browser/location.rs:298-304 ("Authentication required" / "Passphrase required")
    • browser/properties.rs:418 ("Folder" / "File" subtitle)
    • window/device_release.rs:40-46 ("Unmounting", "Ejecting", "Locking volume") and :827 ("{display_name} can be unplugged.")
    • window/drive_dialogs/format_progress.rs:90 ("Format complete")
    • window.rs:772/922/971 (Appearance menu headings "VIEW", "DENSITY", "TEXT SIZE")
    • settings/actions.rs editor confirm labels "Create action" / "Save changes" and show_notice "Action exported"
    • jobs.rs job_button("Minimize")
    • settings.rs update dialog "Download update" and "Loading release notes…"

    None of these strings are catalog keys.

  • Failure: In Japanese or Russian these dialogs, menus and overlays mix English headings with translated bodies. That contradicts the PR's "Expected result" and AGENTS.md "all ten languages in the same change".

  • Fix: Translate these at the call sites, using whole-sentence keys with placeholders rather than format! fragments. Add them to all 10 catalogs. Then audit the remaining &'static str label helpers (append_menu_heading, ReleaseKind::title, CompactProgress::completed).

Minor

5. Destructive and other messages are assembled from English fragments

  • Where:
    • window/drive_dialogs.rs:890-895: the format confirmation inserts untranslated "(none)", "Quick format" / "Full format" and "unknown size" into a translated frame.
    • window/drive_ops.rs:50: "{} labels cannot contain “{character}”."
    • window/keyboard/chords.rs:95: "No %{name} folder" with an English name such as "Downloads".
    • window/keyboard/chords.rs:228-229: pin feedback.
    • browser/transfer.rs:252-256: Copy-or-move subtitle "{} to {}".
    • shortcut_footer.rs: parts.join(", ") ignores the existing "%{files}, %{folders}" key, whose Japanese form uses "、".
    • window/composition/layout.rs:114-117: header_action splits the English tooltip on " (" at runtime, so translators cannot reorder the text or use full-width parentheses.
  • Fix: Use complete messages per variant, for example "Mode: Quick format" as its own key, or translate the inserted value. Use full-key tooltips as the other call sites already do, such as "Toggle sidebar (Ctrl+B)".

6. Update and release-notes strings left in English

  • Where: settings.rs:1741 (the disconnected-channel markup bypasses the existing translated key), :2766-2767 (%{instruction} is injected as English), :1353-1354 ("{count} changes", which also has no plural form), and :2287-2292 (the Omarchy/pacman status).
  • Fix: Route these through the catalog, and use i18n::count for the change count.

7. A GIO-supplied description is passed through tr()

  • Where: browser_modes.rs:4792.
  • Problem: tr(entry_type_description(entry)) looks up shared-mime-info text, which belongs to the system, as a catalog key. That breaks the "never translate values supplied by another application" rule.
  • Fix: Translate only the Strata-owned variants (EntryType::Folder, BrokenLink and Other). Pass Known(description) through unchanged.

8. Internal, never-shown error strings are translated, and inconsistently

  • Where: thumbnail.rs:981, thumbnail/background.rs:79/85, thumbnail/camera.rs:64/74/91, and media/audio.rs:79.
  • Problem: These errors are discarded or used for diagnostics. camera.rs:34 returns the same "Camera thumbnail cancelled" untranslated.
  • Fix: Keep internal errors in English, and translate only at the presentation boundary.

9. Translation errors found in the catalogs

  • ru: counts.selected_items.* uses genitive forms, but "This runs “%{value1}” on %{value2}." renders "…запущена на 2 выбранных элементов", where "на" needs the prepositional case. Change the frame to "…будет запущена для %{value2}."
  • "Reported %{value1} created." (jobs.rs:112) is mistranslated:
    • es "Se creó el informe…" → "Se informó de la creación de %{value1}."
    • pt-BR "Relatório %{value1} criado." → "Criação de %{value1} informada."
    • vi "Đã tạo báo cáo…" → "Đã báo cáo tạo %{value1}."
    • fr is ungrammatical → "Création signalée : %{value1}."
    • ja implies Strata created them → "%{value1}の作成が報告されました。"
  • "Complete" on a finished progress card (progress_dock.rs:128) reads as a verb in some locales: es "Completar" → "Completado", pt-BR "Concluir" → "Concluído", fr "Terminer" → "Terminé".
  • ja:
    • "Saved as action.toml under …" is in the past tense, but the subtitle shows before saving → "…に action.toml として保存されます" (vi has the same problem → "Sẽ được lưu thành…").
    • "Cancelled after %{elapsed}" → "%{elapsed} 後にキャンセルされました".
    • "Cancel a pending chord" uses キーコード (keycode) → "入力途中のキーシーケンスをキャンセル".
  • es: es.json uses usted, while messages/es.json mostly uses tú. Pick one register.

Nit

10. Confirm labels are translated twice

  • Where: controls.rs:461.
  • Problem: modal_layout_with_tone calls tr(confirm_label), and most callers already pass tr(...). Today this is a harmless second lookup, but a translation that equals another source key would be translated again. For example, in Italian "Downloads" → "Download" → "Scarica".
  • Fix: Pick one boundary: either the helper translates and callers pass source keys, or the reverse.

11. The new E2E test is in the wrong file

  • Where: tests/e2e/scenarios/test_settings_search.py.
  • Problem: test_language_selection_and_auto_detection_apply_after_relaunch covers language persistence and relaunch, not Settings search.
  • Fix: Move it to a language or preferences scenario file.

12. typos.toml excludes the English values in the shared catalogs

  • Problem: Excluding locales/counts.json and locales/dates.json wholesale also stops spell-checking their English values.
  • Fix: This is acceptable if intended. Otherwise, consider an ignore regex for the non-en entries.

wmfeht added 6 commits October 7, 2026 21:16
Restart closed windows one at a time and only learned afterwards that a
later window refused, so a busy window could leave earlier windows closed
without restarting. Close guards for file operations, Jobs and drive
formatting now register in a shared registry that restart queries before
closing anything; a refusal shows the guard's warning on the busy window.
The waiter is spawned before any window closes and stopped if closing is
refused, so a spawn failure no longer exits without restarting.
…slated titles

The message dialog chose its subtitle by comparing the translated title with
"Completed with errors", so partial failures showed the wrong subtitle in
other languages, and all three subtitles stayed English. Callers now request
a partial-failure dialog explicitly and the subtitles are translated.

Modal builders now display titles, subtitles and confirm labels as given, so
each string is translated once by its caller. Translate the remaining modal
headings, the Appearance menu headings, Jobs buttons, device release and
drive dialogs, progress and completion titles, Settings action dialogs, and
update and release-notes text. Replace sentences assembled from English
fragments with whole messages: drive label errors, format confirmation
values, go-to-folder and pin feedback, the copy-or-move subtitle, header
tooltips, managed-install guidance and update status. Join translated lists
with the language's separator and use plural forms for the release change
count.
The Type column looked up shared-mime-info descriptions as catalog keys.
Translate only Strata's own Folder, Broken link and Other types and show
GIO-supplied descriptions as provided. Thumbnail, camera and audio worker
errors are diagnostics that are never shown, so keep them in English like
the other internal errors and drop their catalog entries.
- ru: run an action "для" the selection, which takes the genitive count forms.
- es, pt-BR, vi, fr, ja: say that a script reported creating items, not that
  a report was created.
- es, pt-BR, fr: label a finished progress card as completed, not as a verb.
- ja, vi: describe where an action will be saved before it is saved.
- ja: fix the cancelled-after and pending key sequence wording.
- es: use the informal tú register throughout, as most messages already did.
Exclude only the non-English values of counts.json and dates.json from typos instead of the whole files, so their English messages are checked.
The scenario covers saved language and relaunch behavior, not Settings search.
@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Review fixes

Follow-up to the code review.

Findings

  1. Fixed in 38ff195. The catalogs moved to data/locales/, so the E2E build context, bundle source key and --watch data pick them up. build.rs fails if data/locales/en.json is missing. I also checked the packaging. The release workflow, mise install tasks, AUR PKGBUILD and install.sh copy only specific data/ files, and the gresource manifest lists its files individually. Raw JSON catalogs are not installed or packaged anywhere.
  2. Fixed in 2a2a74d. Close guards for file operations, Jobs (last window) and drive formatting now go into a shared registry. Restart queries every window before closing any. If one is busy, it shows that guard's warning on the busy window and closes nothing. The restart waiter is spawned before any window closes and is stopped if closing is still refused, so a spawn failure no longer quits without restarting. restart_honors_window_close_guards now uses two windows with a last-window (Jobs-style) guard on the later one, and asserts that both stay open.
  3. Fixed in 1c4b707. Callers now use show_partial_failure_dialog instead of passing tr("Completed with errors"), and the subtitle comes from an explicit kind instead of a title comparison. All three subtitles are translated. The same commit removes another translated-text comparison: the release-notes card checked starts_with("What's new in"), and it now has an explicit card kind.
  4. Fixed in 1c4b707. Callers translate modal titles and subtitles. That covers customization, authentication, properties, device release, drive properties/label/format, archive compress/extract, the Trash lookup indicator, progress titles, Open With, the Settings action editor and notices, and the update dialog. Also translated:
    • the Appearance menu headings
    • Jobs buttons
    • completion titles (Copy/Compression/Deletion/Format complete)
    • ReleaseKind::title and the error titles
    • release-row accessibility labels
    • the eject/unmount tooltip
    • "Loading release notes…" and "Download update"
  5. Fixed in 1c4b707. Fragmented messages are now whole messages:
    • The format confirmation translates its values ((none), Quick/Full format, unknown size/device).
    • Drive label errors use %{filesystem} labels cannot contain “%{character}”.
    • Go-to-folder feedback has one message per folder.
    • Pin and unpin feedback are whole messages.
    • The copy-or-move subtitle uses %{items} to %{destination}.
    • Header tooltips use full keys (Search (Ctrl+K), New tab (Ctrl+T), Close tab (Ctrl+W)).
    • A new i18n::list joins translated items with the language's separator (Japanese 、). The footer and the authentication-retry field list use it.
  6. Fixed in 1c4b707. The disconnected-check markup is now a catalog key, and the Omarchy/pacman status texts are translated. %{instruction} is replaced by one complete update-available message per update method. The change count uses a new counts.changes plural (Russian one/few/many). Also translated: the "Managed by …" version labels, the release-channel descriptions, the release-notes fallback messages, and the managed-install guidance from install_source, including the unnamed-manager fallback.
  7. Fixed in 8c660be. The Type column translates only Strata's Folder, Broken link and Other types. Known GIO descriptions are shown as provided, and the now-unused entry_type_description is removed.
  8. Fixed in 8c660be. The thumbnail, camera and audio worker errors are back in English, and their catalog entries are removed.
  9. Fixed in 8d70aed.
    • ru: changed the frame to «…будет запущена для %{value2}».
    • "Reported %{value1} created.": applied the suggested wording for es, pt-BR, vi, fr and ja.
    • "Complete": now Completado / Concluído / Terminé.
    • ja and vi: the action-save subtitle is now future tense.
    • ja: fixed "Cancelled after %{elapsed}" and the pending-chord wording.
    • es: informal tú was the more common register (about 22 vs 18 imperatives), so all usted forms now use tú.
  10. Fixed in 1c4b707. There is now one translation boundary. modal_layout/message_dialog_layout display the confirm label as given, and every caller translates it. The callers that relied on the helper translating labels for them now translate those labels themselves. These were Compress, Extract, the Trash indicator, Create action / Save changes, and the update dialog actions.
  11. Fixed in 4f0121c. Moved test_language_selection_and_auto_detection_apply_after_relaunch to tests/e2e/scenarios/test_preferences.py.
  12. Fixed in 634d501. counts.json and dates.json are no longer excluded as whole files. An ignore regex now skips only their non-English values, so typos still checks the English messages. I confirmed it flags a misspelled "en" value.

docs/internationalization.md now documents i18n::list, the caller-translates rule for modal builders, the rule against comparing translated text, and keeping internal errors in English.

Not done: a heuristic scan still finds about 270 English literals in src/ui that are not catalog keys. Some of these are internal strings. Others are real user-facing text, such as the Settings action-editor field labels and validation messages, the drive-properties row labels, the shortcut-footer candidate key hints and some connection error hints. They are outside this review's findings and should be a follow-up.

Validation

All runs used a private display and bus. Containers ran on Docker.

  • ./scripts/test-headless.py i18n::: 7 passed, 0 failed.
  • ./scripts/test-headless.py -- ui::settings:: ui::modal ui::window::device_release ui::window::drive_dialogs … services::install_source services::mime_type i18n:: (scoped run of the touched modules): 219 passed, 0 failed, 1 ignored.
  • ./scripts/quality.sh (all phases): fmt and clippy passed; tests 2448 passed, 0 failed, 9 ignored.
  • ./scripts/e2e.sh (full suite): 956 passed, 0 failed.
  • typos and git diff --check: clean.

@blacksmith-sh

This comment has been minimized.

@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

i18n visual QA sweep (all 10 languages)

Head: 4f0121cf (PR head). Languages: en baseline plus fr, de, es, ja, pt-BR, ko, vi, it and ru.

Method: 16 scoped passes ran a snapshot binary of the PR head on private Xvfb displays, each with a private D-Bus and AT-SPI bus. They captured screenshots and full AT-SPI dumps (names, descriptions and texts) per language. Each scope did a full pass in de, ru, ja and ko and spot-checked fr, es, it, pt-BR and vi on tight or suspicious surfaces. Plural boundaries were exercised (ru 1/2/5/21/22/25), and some scopes also checked narrow windows or larger text sizes. After the visual pass, each scope reviewed the source for literals that bypass tr()/t!(). Every capture was confirmed to come from a fresh process in the requested language.

Screenshots and AT-SPI dumps are kept locally and are not attached here. They are pending owner upload if needed. File and line references are as reported at 4f0121cf.

What's fine everywhere: plural forms (ru one/few/many, fr/pt-BR 0 as singular, ja/ko/vi invariant), relative and absolute dates, and CJK, Cyrillic and Vietnamese glyphs. No tofu, mojibake, raw catalog keys or unreplaced %{…} placeholders were seen. Filenames, paths, user-defined names and keycaps correctly stay untranslated.

Per-scope verdicts

Scope abbreviations used in the items below are in parentheses.

Scope Verdict Full pass Spot checks
navigation (nav) fail en de ru ja fr es it pt-BR vi ko
browser-modes (modes) fail en de ru ja ko fr es it pt-BR vi
pointer-selection (ptr) fail en de ru ja ko fr vi es it pt-BR
keyboard (kbd) fail en de ru ja ko fr es it pt-BR vi
file-operations (fileops) fail en de ru ja ko fr es it pt-BR vi
trash (trash) fail all 10 —
archives (arch) fail en de ru ja ko fr es it pt-BR vi
search-filter (search) fail en de ru ja ko fr es it pt-BR vi
previews (prev) fail en de ru ja ko fr es it pt-BR vi
dialogs-menus (menus) fail en de ru ja ko fr es it pt-BR vi
settings-general (settings) fail all 10 —
theming (theme) fail en de ru ja fr es it pt-BR vi ko
updates-about (upd) fail en de ru ja ko fr es it pt-BR vi
file-chooser (chooser) fail en de ru ja ko fr es it pt-BR vi
desktop-integration (desk) fail en de ru ja ko fr es it pt-BR vi
accessibility (a11y) fail en de ru ja fr es it pt-BR vi ko

Result: all 16 scopes fail. Findings reported by several scopes are merged into one item, and each item lists every scope that saw it.

Item counts

Theme Items
A. Cut-off / clipping 13
B. Untranslated visible UI text 62
C. Mixed-language sentences / English error details spliced in 14
D. Formatting (numbers, sizes, units, dates, lists, durations) 6
E. Wrong sense / terminology / grammar in catalogs 24
F. Accessibility-only (screen-reader names/descriptions) 15
G. Source-only (not reached on screen) 22
H. Test gap 1
Total 157

There are also 18 non-i18n observations, listed at the end.

Conventions: "all 9" means every non-English language. Sources are file:line, with paths under src/ unless shown otherwise. Catalogs are data/locales/<lang>.json and data/locales/messages/<lang>.json. When an item says a key is missing, it means the key is missing from every catalog, so tr() falls back to English.


A. Cut-off / clipping

  • A1 Context menus clip on the right. Affects every file, folder, multi-selection and background context menu.
    • Seen: the accelerator column is cut ("Retu", "Ctrl-", "Dele", "Shift+Dele"), and so are the header path ("…/notes.tx"), the right border, the "Actions ›" chevron and the focus ring. A horizontal scrollbar appears, and hovering shifts the menu left.
    • Languages: de, fr, es, it, pt-BR (ru within about 5 px).
    • Scopes: menus, theme, a11y, ptr, fileops, arch, chooser.
    • Source: ui/browser/context_menu/actions.rs:779-782 pins the min and max content width to 310 px. Also see ui/browser/context_menu.rs:66-80 (the ScrolledWindow does not propagate natural width).
    • Fix: set a minimum width only (or use natural width up to a cap) and ellipsize labels. Disable horizontal scrolling.
  • A2 Settings → General → Opening items: Single/Double break mid-word with false hyphens.
    • Seen: de "Einfa-/ch" and "Doppe-/lt", ru "Одина-/рный" and "Двойн-/ой", it "Singo-/lo", and vi "Gấp/đôi" on two lines.
    • Languages: de, ru, it, vi.
    • Scopes: settings, ptr.
    • Source: ui/settings/general.rs:806 (set_width_request(180)); the segmented control is built in ui/controls.rs:486.
    • Fix: use natural width, or make 180 a minimum and stop in-word wrapping.
  • A3 Settings search placeholder is truncated at the default size.
    • Seen: "Einstellungen durch…", "Rechercher dans les pa…", "Cerca nelle impost…", "Buscar configuraçõ…".
    • Languages: de, fr, it, pt-BR.
    • Scopes: settings, ptr, kbd, theme, upd, desk, a11y.
    • Source: the catalog values for the Settings search placeholder.
    • Fix: use shorter strings (de "Suchen", fr "Rechercher", it "Cerca", pt "Buscar") or widen the entry.
    • Related: in de, the exclusions placeholder "Ordnername (z. B. .venv) oder ~/P…" truncates at 820 px.
  • A4 Sidebar update pill hides "available" and is English.
    • Seen: "v0.22.0-rc.1 (Rele…" (en too), "v0.22.0 available". The pill's tooltip is translated.
    • Languages: all 9 (the truncation also happens in en).
    • Scope: upd.
    • Source: ui/window.rs:4048-4053 (sidebar_update_label uses format!).
    • Fix: use a t!("v%{version} available") key and shorten the prerelease form (version plus a translated badge).
  • A5 Preview password prompt at a narrow window (820 px): the subtitle doesn't wrap.
    • Seen: in de the heading, the subtitle and the whole "Entsperren" button are clipped off-screen, and the header Open/Close buttons disappear. In en, "Un…" is partly clipped.
    • Languages: de, ru (en partially).
    • Scope: prev.
    • Source: ui/preview.rs:1353.
    • Fix: set_wrap(true) plus centered justification, as the feedback detail labels already do.
  • A6 Unlock "waiting" / "Connecting…" overlay overflows the pane.
    • Seen: Cancel is clipped (de "Abbrecher", es/pt-BR "Cancelar", ja "キャンセル"), and the overlay overlaps the sidebar row. en clips slightly too.
    • Languages: de, es, pt-BR, ja.
    • Scope: desk.
    • Source: ui/window/open_argument.rs (show_connecting_overlay).
    • Fix: let the overlay wrap or shrink within the pane.
  • A7 Icons view: the empty-folder caption is cut.
    • Seen: "No hay elemen…", "Nessun elemen…", "Không có mục …", at 13 px and 18 px.
    • Languages: es, it, vi.
    • Scope: modes.
    • Source: ui/browser_modes.rs:4889 ("No items").
    • Fix: use shorter strings (es "Vacía", it "Vuota", vi "Trống") or let the caption wrap.
  • A8 List Type column (default width) cuts the app-owned "Broken link".
    • Seen: "Defekte Verk…", "Повреждённая…".
    • Languages: de, ru.
    • Scope: modes.
    • Source: catalog values.
    • Fix: use shorter wording (de "Defekter Link", ru "Битая ссылка").
  • A9 With 10xer chord keycaps shown in the sidebar, "Persönlicher Ordner" becomes "Persönlicher Or…".
    • Languages: de (likely ru, fr).
    • Scope: kbd.
    • Source: sidebar row layout.
    • Fix: reserve keycap space, or let the label shrink less.
  • A10 The collision dialog body breaks words mid-word in CJK.
    • Seen: ko "이"/"미" on separate lines, ja "両方"/"を保持". The ko/ja templates also start the sentence with the raw path.
    • Languages: ko, ja.
    • Scope: arch.
    • Source: the collision dialog body label.
    • Fix: use WORD wrap mode, or move the path onto its own line.
  • A11 Properties: the label column is so narrow that the value touches "ANGEHEFTET".
    • Languages: de.
    • Scope: a11y.
    • Source: the Properties grid.
    • Fix: size the label column to the longest translated label.
  • A12 Theme library at 48 px: the badge "СВЕТЛАЯ" squeezes theme names to "Atelier Cave Lig…". Cosmetic; the names stay identifiable.
    • Languages: ru.
    • Scope: theme.
    • Fix: let the badge or name wrap, or use a shorter badge.
  • A13 F1 reference hint line at 640 px wraps with a leading separator ("· Tab смена области"). Cosmetic.
    • Languages: ru.
    • Scope: kbd.
    • Fix: build the line from wrap-aware separate items.

B. Untranslated visible UI text

Sidebar & location

  • B1 The sidebar headings "PINNED" and "DEVICES" are English. They also show in the file chooser and the destination chooser.
    • Languages: all 9.
    • Scopes: nav, modes, ptr, kbd, fileops, arch, search, prev, menus, theme, upd, chooser, desk, a11y.
    • Source: ui/window.rs:2142 (append_heading → gtk::Label::new); callers at :1605 and :1637. Both keys exist.
    • Fix: call tr(text) in append_heading, as settings.rs:3030 does.
  • B2 Location bar. The completion hint "Tab Complete ↑↓ Choose ↵ Open" is English. So are the entry name "Location (Ctrl+L)" and the "Navigate (Enter)" / "Cancel (Escape)" names and tooltips.
    • Languages: all 9.
    • Scopes: nav, a11y.
    • Source: ui/browser/location/completion.rs:115 (markup literal); ui/accessibility.rs:22-24; ui/browser.rs:363,371,378. The keys are missing.
    • Fix: translate the words separately and keep the keycaps.
  • B3 Trash view error state: "Unable to read this directory" is English. The key is not in the catalogs. This differs from the translated heading used elsewhere.
    • Languages: de.
    • Scope: menus.
    • Source: not located; it shows under GIO_USE_VFS=local.
    • Fix: find the call site, wrap it in tr() and add the key.

Browser header & views

  • B4 Appearance popover options are English under translated headings. The options are "Columns", "Icons", "List", "Preview panel", "Compact", "Airy", "Group by file type" and "Hidden files". The text-size tooltips "Decrease/Reset/Increase text size (Ctrl+…)" are English too. The Preview toggle's accessible name is translated, but its visible label is not.
    • Languages: all 9.
    • Scopes: modes, menus, a11y, nav.
    • Source: ui/window.rs:1105 (appearance_row, no tr); callers at :777/783/789/796/862/927/933/978/1006. The keys Compact, Airy, Group by file type, Hidden files and the text-size strings are missing.
    • Fix: call tr in appearance_row and add the keys.
  • B5 List column header "Mode" is English (also its button name).
    • Languages: all 9.
    • Scopes: modes, prev, a11y.
    • Source: ui/browser_modes.rs:2772. tr("Mode") is called, but the key is missing.
    • Fix: add the key (de "Berechtigungen", ru "Права", …).
  • B6 Filter toggle tooltips and names are English: "Filter this pane (Ctrl+F)", "Filter icons (Ctrl+F)" and "Filter list (Ctrl+F)". They show in the main window and the chooser.
    • Languages: all 9.
    • Scopes: modes, search, a11y, chooser, arch, fileops, theme, upd.
    • Source: ui/browser_modes.rs:1964 (filter_controls, .tooltip_text(tooltip)); callers at :2051, :3081 and ui/browser/columns.rs:931. The keys are missing.
    • Fix: call tr in filter_controls and add the keys.
  • B7 List/Icons navigation tooltips and names are English: "Back (Alt+Left)", "Forward (Alt+Right)" and "Parent folder (Alt+Up)".
    • Languages: all 9.
    • Scopes: modes, a11y.
    • Source: ui/browser_modes.rs:3001-3022 (list_navigation). The keys are missing.
    • Fix: call tr and add the keys.

Footer, 10xer & shortcut reference

  • B8 The 10xer chord panel (g, ,, c, t) shows English action names. Examples: "First item", "Home", "Config", "Pin / unpin folder", "Name/Modified/Size", "Copy path", "New tab".
    • Languages: all 9.
    • Scope: kbd.
    • Source: ui/shortcut_footer.rs:125-131 (copies Chord::options() raw); ui/shortcut_footer/chord_panel.rs:117-122 (fill, no tr). The keys exist.
    • Fix: call tr(action) in fill or in ChordIndicator::set.
  • B9 The folder-candidate popover legend is English: "↑↓ Choose Tab Complete ↵ Move Esc Cancel" (and "↵ Open").
    • Languages: all 9.
    • Scopes: kbd, a11y.
    • Source: ui/shortcut_footer/candidates.rs:108-113; ui/window/keyboard/prompts.rs:329-331, 451-454, 464-470.
    • Fix: build the legend from translated words. Add new keys for tab-completion "Complete" and for "Choose". Don't reuse the existing "Complete" key, which means "done" (de "Abgeschlossen").
  • B10 10xer footer feedback flashes and refusal reasons are English.
    • ui/window/keyboard/files.rs:
      • "Nothing to cut/yank/paste/delete/rename/restore/copy/compress/open/preview"
      • "Can’t cut/rename/create/compress…"
      • "Only items in Trash can be restored"
      • "Selection changed", "Actions changed"
    • prompts.rs: "Nothing to search", "No previous find", "No matches for “{query}”", "“{name}” already exists".
    • chords.rs: "Unknown chord", "Nothing to reveal".
    • items.rs: "Nothing to select".
    • ui/browser/file_commands.rs:468-549: "Nothing to move/copy/extract", "Can’t move these items", "Can’t put a folder inside itself", "Already in this folder", "Extract one archive at a time", "Not an archive".
    • ui/window/keyboard/chooser.rs: "Not available in the file chooser", "Only one item can be chosen", "Only local folders can be opened here".
    • Languages: all 9.
    • Scopes: kbd, trash, fileops, arch, ptr.
    • Source: ShortcutFooter::show_feedback (ui/shortcut_footer.rs:1055-1058) sets the text raw. The keys are missing.
    • Fix: translate at the call sites (t! with %{query}/%{name}) and add the keys.
  • B11 The 10xer prompt hint shows English text: "No matching folders" and "1 of 5". The same hint also shows "Not a folder", "No such folder" and "Unable to check folder".
    • Languages: all 9.
    • Scopes: kbd, ptr, fileops.
    • Source: ui/window/keyboard/prompts.rs:505-510, 536-556; ui/folder_picker.rs:15 (NO_MATCHES); PromptSink::set_hint (ui/shortcut_footer.rs:506-507, no tr).
    • Fix: use t!("%{index} of %{count}") and tr(…), and add the keys.
  • B12 10xer prompt labels and the filter/search indicator are English.
    • Labels: "move to ›", "copy to ›", "extract to ›", "go ›", "jump ›", "recent ›", "create ›", "rename ›", "filter:", "search:".
    • Indicator: "filter: rep" next to a localized count.
    • Languages: all 9.
    • Scopes: kbd, search, fileops, arch.
    • Source: ui/tenxer_mode.rs:179-195 (Prompt::label); ui/shortcut_footer.rs:543, 1004-1005 (format!("{label}: {}")).
    • Fix: translate them, using a t!("filter: %{query}")-style template. If they are deliberate untranslatable command names, document that.
  • B13 The F1 reference key column contains English prose.
    • Default mode: "← at first pane", "↑ at top", "← / → in header", "→ in sidebar", "Enter on a video".
    • 10xer mode: "l / → on a file", "Esc after g", "Tab in go › / move to › / copy to ›", "… in an archive", "Esc after a find/filter/search", and others.
    • Chooser section: "o on a file", "Enter / o on a folder".
    • Languages: all 9.
    • Scopes: kbd, chooser, a11y.
    • Source: ui/shortcut_reference.rs:175, 183, 194-201, 222, 282-343, 407-428, 538-572, 629-630; rendered raw at ui/shortcut_footer.rs:1992.
    • Fix: split each entry into keycaps plus a translatable context string.
  • B14 10xer visual marks "VISUAL" / "UNSET" are English, as are their accessible names "Visual select" / "Visual unset". Low severity.
    • Languages: all 9.
    • Scope: kbd.
    • Source: ui/shortcut_footer.rs:1756-1765.
    • Fix: translate at least the accessible names. If the vim jargon is deliberate, document it.

Search

  • B15 Palette and history empty states are English: "No matching files or folders", "No matching folders" and "No folder history yet".
    • Languages: all 9.
    • Scope: search.
    • Source: ui/search.rs:584-596 (render_results → status.set_text). The keys are missing.
    • Fix: call tr() and add the keys.
  • B16 Palette "Searching…" is English while indexing. The raw literal overwrites the translated text set at :469.
    • Languages: all 9.
    • Scope: search.
    • Source: ui/search.rs:592.
    • Fix: tr("Searching…").
  • B17 Filter status "Partial search — some folders could not be read" (and the other 4 reasons) is English. The same text is the description of the palette "Partial results" hint.
    • Languages: all 9.
    • Scope: search.
    • Source: services/search.rs:201-222 (SearchCoverage::message, format! plus join("; ")); shown at ui/inline_search.rs:775-776 and ui/search.rs:404,558.
    • Fix: use a t!("Partial search — %{reasons}") template, translated reasons and i18n::list.

Context menus & dialogs

  • B18 The custom-action submenu label "Actions" is English.
    • Languages: all 9.
    • Scope: menus.
    • Source: ui/browser/context_menu/actions.rs:513 (new_submenu(Some("Actions"))). The key exists.
    • Fix: tr("Actions").
  • B19 Open With section headings are English: "Recently Used", "Recommended Applications" and "Other Applications".
    • Languages: all 9.
    • Scopes: menus, a11y.
    • Source: ui/open_with.rs:698, 725, 752; create_section_header at :575-583. The keys are missing.
    • Fix: call tr and add the keys.
  • B20 The conflict dialog body is English (paste, drop or Copy to… onto an existing name).
    • Seen: "An item named “x” already exists in … Replacing it will overwrite its contents." The merge variant reads "A folder named … Merging combines…".
    • Languages: all 9.
    • Scopes: ptr, fileops.
    • Source: ui/browser/transfer.rs:683-693 (format!).
    • Fix: use t! keys with %{name} and %{destination}.
  • B21 The cross-device "Copy or move?" body is English: "The destination is on a different device." The same goes for "Strata could not determine whether the destination is on the same device."
    • Languages: all 9.
    • Scope: ptr.
    • Source: ui/browser/transfer.rs:180-186 (cross_volume_drop_description, no tr). The keys are missing.
    • Fix: call tr and add the keys.
  • B22 The "Operation cancelled" dialog body is English: "0 completed, 1 failed, and 0 not attempted. Completed changes were not reverted."
    • Languages: all 9.
    • Scopes: fileops, arch.
    • Source: ui/browser/progress/context.rs:322-324 and ui/browser/events.rs:908 (format!).
    • Fix: use one t! message with i18n::count placeholders.
  • B23 Destination choosers are English.
    • Window titles: "Move to", "Copy to", "Extract to", "Send to folder".
    • Accept buttons: "Move here", "Copy here", "Extract here".
    • Validator error: "Choose an existing folder."
    • Languages: all 9.
    • Scopes: fileops, arch, chooser.
    • Source: ui/browser/transfer.rs:1176-1179, 1215-1219; ui/browser/archive.rs:499-500, 508. The Extract and "Choose an existing folder." keys exist; the Move, Copy and Send keys are missing.
    • Fix: call tr (see transfer.rs:1207) and add the keys.
  • B24 Revealing a missing item shows an English body: " is not available in the loaded folder." The title "Unable to select file" is translated.
    • Languages: all 9.
    • Scopes: desk, arch.
    • Source: ui/browser/events.rs:973-976 (format!).
    • Fix: t!("%{path} is not available in the loaded folder.").

Progress & jobs

  • B25 Progress dock time text is English: "85.1 MB/s · 2s left" and "Abgeschlossen · closing in 5s". It is shared by every completion toast.
    • Languages: all 9.
    • Scopes: fileops, arch.
    • Source: ui/browser/progress.rs:168-176; ui/progress_dock/completion.rs:215.
    • Fix: use counted t! messages.

Properties & Customize

  • B26 Properties row labels are English: LOCATION, SIZE, MODIFIED, OPENS WITH, HIDDEN and CONTAINS. The media rows (RESOLUTION, VIDEO CODEC, FRAME RATE, AUDIO CODEC, SAMPLE RATE, CHAPTERS, HDR, …) and the folder subtitle "Folder" are English too.
    • Languages: all 9.
    • Scopes: fileops, a11y, nav, desk.
    • Source: properties_row calls tr, but the keys are missing. See ui/browser/properties.rs:165, 445, 485, 495-498, 893-895 and properties/media.rs:35-104.
    • Fix: add the keys.
  • B27 The executable checkbox is English: "Allow executing file as a program (+x)", or "Executable (+x)" in the compact layout. The tick callback rewrites the untranslated literal every frame, including the accessible label.
    • Languages: all 9.
    • Scopes: fileops, a11y, desk.
    • Source: ui/browser/properties.rs:579-587.
    • Fix: translate both strings once, before the closure, and add the compact key.
  • B28 The Properties PINNED value is "No"/"Yes" while HIDDEN shows "Nein".
    • Languages: all 9.
    • Scopes: fileops, a11y, nav, desk.
    • Source: ui/browser/properties.rs:506-513.
    • Fix: call tr (as :822 does).
  • B29 The folder Properties "Pin" button is English.
    • Languages: all 9.
    • Scope: fileops.
    • Source: ui/browser/properties.rs:611-615; PinAction::label in ui/browser/paths.rs. The key "Pin" is missing ("Unpin" exists).
    • Fix: add the key.
  • B30 Customize dialog swatch and icon names are English (tooltips and accessible names).
    • Colors: Red, Orange, Yellow, Green, Blue, Purple, Gray.
    • Icons: Documents, Downloads, Code, Archive, Storage, Computer, Private, Pinned, Media, Tasks, …
    • Emoji button: "Choose any emoji for this item".
    • Languages: all 9.
    • Scopes: fileops, a11y.
    • Source: model/mod.rs:474-482; assets.rs:117-132; ui/browser/customization.rs:285-286, 305-307, 453.
    • Fix: call tr at the display sites and add the keys.
  • B31 Default new-item names are English: "new folder" and "new file" (judgement call).
    • Languages: all 9.
    • Scopes: fileops, menus.
    • Source: app/browser.rs:2274, 2325.
    • Fix: decide policy; if localized, add the keys.

Archives

  • B32 Archive password prompt field errors are English: "Enter a password" and "Invalid password".
    • Languages: all 9.
    • Scope: arch.
    • Source: ui/browser/archive.rs:544, 563. set_form_field_error calls tr, but the keys are missing.
    • Fix: add the keys.

Previews

  • B33 Preview feedback titles and details are English.
    • "Preview unavailable"
    • "No visual preview" / "Metadata is available for this file type."
    • "The sandboxed preview renderer failed"
    • "Multipart model detected. Unable to render preview."
    • Languages: all 9.
    • Scopes: prev, trash, desk.
    • Source: ui/preview.rs:1318-1321, 1507, 1610-1611, 1630-1631, 3576-3583; sandbox.rs:525; sandbox/browser.rs:212; sandbox_helper/model.rs:21; sandbox_helper/model/embedded.rs:170.
    • Fix: call tr in show_message_with_icon and the audio/video show_error, and map sandbox codes to keys.
  • B34 The video/audio position caption is English: "1 of 1 in folder" / "… in results".
    • Languages: all 9.
    • Scope: prev.
    • Source: ui/preview.rs:3136-3143 (ListingPosition::caption).
    • Fix: add the keys "%{position} of %{count} in folder" and "… in results".
  • B35 Audio/video previous/next tooltips and names are English: "Previous audio file (Ctrl+Alt+<)", "Next video", and so on.
    • Languages: all 9.
    • Scope: prev.
    • Source: ui/preview/audio.rs:141-150; ui/preview/video.rs:178-187 (transport_button, no tr).
    • Fix: call tr and add the keys.
  • B36 The Markdown/HTML "View source" / "View rendered" toggle tooltip is English. update_document_view_action overwrites the translated tooltip set at :242.
    • Languages: all 9.
    • Scope: prev.
    • Source: ui/preview.rs:3397-3401, 1828-1832.
    • Fix: call tr and add "View rendered".
  • B37 The "Copy diagram source" / "Copy equation source" buttons are English, as is the alt text "Mermaid diagram" / "LaTeX equation".
    • Languages: all 9.
    • Scope: prev.
    • Source: ui/document_media.rs:177-178, 184-188.
    • Fix: call tr and add the keys.
  • B38 The archive breadcrumb root "Contents" is English.
    • Languages: all 9.
    • Scopes: prev, arch.
    • Source: ui/preview/archive.rs:18, 43, 343 (ROOT_LABEL). The key exists.
    • Fix: call tr at display.
  • B39 The archive wrong-password text is English: "The password is incorrect."
    • Languages: all 9.
    • Scope: prev.
    • Source: services/preview.rs:164 (sentinel); displayed raw at ui/preview.rs:1398.
    • Fix: compare against the constant but display tr(…).
  • B40 The preview pane title and name "Preview" are English when nothing is selected.
    • Languages: all 9.
    • Scopes: prev, ptr, trash, a11y.
    • Source: ui/preview.rs:207, 218; ui/preview/session.rs:115 (PREVIEW_LABEL).
    • Fix: call tr.
  • B41 Model progress text is English: "Rendering 400.0K triangles…", "Reading model…", "Reading thumbnail…" and "Finishing preview…". The number format is also wrong (D1).
    • Languages: all 9.
    • Scope: prev.
    • Source: services/preview.rs:192-209 (ModelPreviewStage::label).
    • Fix: use t! keys and a locale number.
  • B42 The large-text notice is English: "Preview limited to the first 1 MB." The period-terminated literal misses the existing key. The two long-line notices are English too.
    • Languages: all 9.
    • Scopes: prev, desk.
    • Source: ui/virtual_preview.rs:145-151.
    • Fix: use the existing key and add the long-line keys.
  • B43 The print error alert is entirely English: "Unable to prepare file for printing", "This file type cannot be printed." and "This text file is too large to print safely." Its GTK "Close" button follows the system locale.
    • Languages: all 9.
    • Scopes: desk, prev.
    • Source: ui/preview.rs:3283-3288; details at :1075, :1087, :1121.
    • Fix: call tr, add the keys and pass .buttons([tr("Close")]), or use show_error_dialog.

Settings: General, integration, actions

  • B44 Desktop-integration status rows are English: "Open and Save dialogs", "Opening folders", "Reveal in File Manager", "Keyboard shortcuts" and "Unlock encrypted volumes". The last one has a key.
    • Languages: all 9.
    • Scopes: settings, desk, chooser, a11y.
    • Source: ui/portal_preferences.rs:65-68, 290 and ui/udiskie_preferences.rs:65, 260 (IntegrationIndicator::new, no tr). The accessible labels "{name}: Configured/Not configured" at portal_preferences.rs:308-313 and udiskie_preferences.rs:278-283 are also English.
    • Fix: add the keys, call tr(name) and use a "%{name}: %{status}" message.
  • B45 The custom-action editor is mostly English.
    • Tabs: GENERAL / SCRIPT / BEHAVIOR.
    • Field titles and hints: Id, Folder name, Description, Icon, "Shown in the context menu", …
    • Script tab: Runtime, "How it starts", "Script file", "Saved beside action.toml", and "{} available" readiness.
    • Behavior tab descriptions and segments: "Whole selection", "Per item", "Invoking", "Menu item", "Actions submenu", "Stop", …
    • Library popover: "Search templates", the All/Files/Media chips, and template names and descriptions.
    • Languages: all 9.
    • Scopes: settings, a11y.
    • Source: ui/settings/actions.rs:663-665 (editor_page), :1285 (label_control), :1292-1310 (field, no tr), callers :837-952; actions/readiness.rs:84; actions/examples.rs:36, 101, 127.
    • Fix: call tr in these helpers, add the keys and localize the example metadata.
  • B46 Action editor validation errors are English. Examples: "Enter a name", and "The action id “Bad Id” must start with a lowercase letter…".
    • Languages: all 9.
    • Scope: settings.
    • Source: literals at ui/settings/actions.rs:1101-1167; ActionError Display at model/action.rs:237+, shown via actions.rs:370/387.
    • Fix: map each variant to a t! key with placeholders.
  • B47 The Actions page intro is English: "Add your own scripts to the file and folder context menus…".
    • Languages: all 9.
    • Scopes: settings, a11y.
    • Source: ui/settings/actions.rs:46-49.
    • Fix: call tr and add the key.
  • B48 The action row summary is English: "Python · per item · files and folders", "· disabled".
    • Languages: all 9.
    • Scope: settings.
    • Source: summary() at ui/settings/actions.rs:1516-1536 (and unavailable_reason()).
    • Fix: build it from translated parts.

Settings: Appearance

  • B49 The Add-theme editor's 14 color labels are English: "Background", "Surface", "Accent", "Danger", "Syntax keywords", and so on.
    • Languages: all 9.
    • Scope: theme.
    • Source: ui/settings/theme/editor.rs:88; ColorField::ALL at :173-188. The keys are missing.
    • Fix: call tr(label_text) and add 14 keys.
  • B50 The theme editor error "Enter a theme name" is English.
    • Languages: all 9.
    • Scope: theme.
    • Source: ui/theme.rs:313, 682; shown at ui/settings/theme/editor.rs:146.
    • Fix: call tr at display and add the key.
  • B51 The renderer option "GTK default" is English.
    • Languages: all 9.
    • Scopes: theme, a11y.
    • Source: ui/settings/theme.rs:109. choice_menu calls tr, but the key is missing.
    • Fix: add the key.

Updates & About

  • B52 About page rows are English: BUILD, Version, Commit, Toolkit, Website, Source code, Report an issue and License (visible text and link names). The "Copy version info" text is translated, so the page and the clipboard disagree.
    • Languages: all 9.
    • Scopes: upd, a11y.
    • Source: ui/settings/about.rs:55-63, 94, 97, 130-134 (append_about_detail, no tr). The keys are missing for Version, Commit and Toolkit.
    • Fix: call tr and add those keys.
  • B53 Release channels "Stable" and "Nightly" are English while "Preview" is translated.
    • Languages: all 9.
    • Scopes: upd, a11y.
    • Source: ui/settings.rs:1100-1102. The keys are missing.
    • Fix: add the keys (or deliberately keep all three as names).
  • B54 The build-kind label is English: "Release candidate" and "Nightly" (also Alpha/Beta). It shows on badges, the dialog's Channel value, the sidebar pill, About and the idle status.
    • Languages: all 9.
    • Scope: upd.
    • Source: services/release_channel.rs:67-73 (BuildKind::label); used at ui/settings.rs:1365, 2273, 2697, 2752, ui/settings/about.rs:34 and ui/window.rs:4052.
    • Fix: call tr at the call sites and add the keys.
  • B55 Update dialog prerelease detail labels are English: "Channel", "Tag", "Commit" and "Published". The Published value is raw ISO (D4).
    • Languages: all 9.
    • Scope: upd.
    • Source: ui/settings.rs:2695-2701, 2714.
    • Fix: call tr and add the keys.

File chooser (portal)

  • B56 Chooser error row messages are English. Examples: "Choose an existing, accessible file", "The file does not match the selected filter", "Could not download the file: …", "Names cannot contain /", "Enter a name".
    • Languages: all 9.
    • Scope: chooser.
    • Source: ChooserState::show_error (ui/chooser.rs:691) is raw. Callers:
      • ui/chooser.rs:521, 607, 660, 809/884/939, 968-972, 1119, 1159
      • services/operations.rs:19-25 (via chooser.rs:928/982)
      • portal.rs:719-773
      • remote_download.rs:78-143
      • ui/chooser/image_conversion.rs:52, 144, 151, 175, 218
    • Fix: call tr/t! at the call sites. Keep only the OS detail raw.
  • B57 Default chooser titles and accept labels are English: "Open Files", "Save File", "Save Files", "Open" and "Save", shown when the caller sends none.
    • Languages: all 9.
    • Scope: chooser.
    • Source: portal.rs:310-311, 359-360, 402-403.
    • Fix: translate only the fallback branch. Caller strings stay verbatim.
  • B58 Chooser row labels "Name", "Filter" and "Files" are English (they are also copied into the accessible description).
    • Languages: all 9.
    • Scopes: chooser, a11y.
    • Source: ui/chooser.rs:1569, 1592, 1599, 1622; labeled_row at :2034 (no tr). The key "Filter" is missing.
    • Fix: call tr in labeled_row.
  • B59 The remote-location error body is English: "The system file chooser supports local files and folders only." So is "Choose an existing folder inside this removable device."
    • Languages: all 9.
    • Scope: chooser.
    • Source: ui/chooser.rs:128, 133.
    • Fix: call tr and add the keys.
  • B60 10xer Save footer hints are English: "Save here", "Edit name" and "Replace file".
    • Languages: all 9.
    • Scope: chooser.
    • Source: ui/chooser.rs:2063-2086 (save_hints).
    • Fix: call tr and add the keys.

Devices & desktop

  • B61 The label-length counter "255 chars remaining" is English. It shows in the device Set label dialog and the Format "Filesystem label" field.
    • Languages: all 9.
    • Scopes: nav, desk.
    • Source: ui/controls.rs:94 (format!); callers at ui/window/drive_dialogs.rs:615, 800.
    • Fix: add a plural-aware i18n::count key (ru needs one/few/many).
  • B62 The --unlock-volume overlay and error are English: "Waiting for encrypted volume…", "The encrypted volume was not found" and "This is not an encrypted volume".
    • Languages: all 9.
    • Scopes: desk, nav.
    • Source: ui/window/unlock_argument.rs:19-21 → show_connecting_overlay / show_unlock_error (:329).
    • Fix: call tr and add the keys.

C. Mixed-language sentences / English error details spliced in

These come from errors created below the UI layer (services, adapters, io, glib) that reach the UI through to_string() or %{message}. The fix pattern is to give the error a structured kind, translate it at the UI boundary, and keep only OS or library detail raw.

  • C1 Directory error states append the raw Rust io::Error text.
    • Seen: "Dieses Verzeichnis kann nicht gelesen werden / Permission denied (os error 13)" or "/ No such file or directory (os error 2)". It occurs for stale pins, unreadable folders and a missing startup argument.
    • Languages: all 9.
    • Scopes: nav, modes.
    • Source: ui/browser/events.rs:498/529; ui/browser_modes.rs:4603; ui/browser_modes/events.rs:465; ui/browser/columns.rs:797.
    • Fix: map NotFound and PermissionDenied to translated text. The exemption in 8c660be may be intended for the raw detail only.
  • C2 Location validation errors are English under a translated title.
    • Seen: "That location does not exist.", "You do not have permission…", "Enter an absolute path.", "Only ~ and ~/ paths…", "The bogus-scheme:// scheme isn't supported…", "The smb:// / sftp:// / network:// backend isn't installed…".
    • Not seen, but on the same path: "Enter a location.", "Enter a valid URI.", "…not a directory.", "…not mounted yet.", "…needs to be mounted first.", "Unable to open that location: {message}" and the embedded-password text.
    • Languages: all 9.
    • Scope: nav.
    • Source: services/file_source.rs:47-73 (LocationValidationError Display) and :82-96; app/browser.rs:1058, 4416-4436; shown at ui/browser/location.rs:1561, 1622.
    • Fix: add a localized message method (t! with %{scheme}/%{packages}).
  • C3 The "Completed with errors" body is English.
    • Seen: "N items could not be deleted. The remaining items were processed." and per item "Could not delete x: …". It also says "deleted" for a trash move.
    • Languages: all 9.
    • Scopes: menus, trash.
    • Source: adapters/local_operations.rs:3888-3909 (operation_error_summary, English plurals; also :5671 "restored"), :3136, :3459.
    • Fix: return structured counts and errors, and format per action with i18n::count.
  • C4 Trash restore reasons are English. Example: "lost-parent.txt: The original location's parent folder no longer exists". In ja and ko the English sentence also wraps badly.
    • Languages: all 9.
    • Scope: trash.
    • Source: RestoreTargetError::new literals in adapters/trash_restore.rs:117-136, 207, 278, 297-319, 346, 358, 385, 410-437, 640-687; displayed at ui/browser/trash.rs:538.
    • Fix: add a kind enum and translate at the UI.
  • C5 Archive failure details are English.
    • Seen: "This file is not a valid archive or is damaged." and "Could not create the extraction staging folder: Permission denied (os error 13)".
    • Languages: all 9.
    • Scope: arch.
    • Source: adapters/local_operations/archive/{listing.rs:19, decoders.rs:41, destination.rs, extraction.rs}; shown via ui/browser/events.rs:850.
    • Fix: map the common failures to translated messages.
  • C6 The Jobs panel failure detail is English: "QA fail job exited with status 1", "was stopped by signal N" and "could not be started".
    • Languages: all 9.
    • Scope: fileops.
    • Source: services/jobs.rs:719-729 (exit_failure_message).
    • Fix: use t! keys with %{name}/%{code}.
  • C7 Open-file errors have English details under a translated title. Seen: "Broken symbolic links cannot be opened with an application". The same applies to "Unable to determine the selected file type" and "No application is registered for this file".
    • Languages: all 9.
    • Scopes: desk, menus.
    • Source: ui/browser/desktop.rs:91, 100, 151 (app-authored glib::Error, shown at :149-155).
    • Fix: translate the app-authored details and pass GIO-provided text through.
  • C8 "Couldn't check for updates" adds English reasons.
    • Seen: "…: Network request failed: io: Connection refused" and "…: GitHub API rate limit reached".
    • Languages: all 9.
    • Scope: upd.
    • Source: services/update_check.rs:609-615 (request_error_message) and :564.
    • Fix: translate the app-owned prefixes and keep the io/ureq detail raw.
  • C9 "Couldn't install update: …" gives English reasons. Example: "The release points at an unexpected download location."
    • Languages: all 9.
    • Scope: upd.
    • Source: services/update_install.rs:136-155, 446-470, 501-1063.
    • Fix: translate the user-facing reasons, or show a translated generic reason and log the detail.
  • C10 AUR/package-manager check errors are English. Example: "strata-qa-nonexistent-bin is not available in the AUR".
    • Languages: all 9.
    • Scope: upd.
    • Source: services/update_install.rs:243-273, 300-396.
    • Fix: same as C8.
  • C11 A package-managed install shows the raw channel id inside a sentence. Seen: "Veröffentlichungskanal rc wird verfolgt.", while the dropdown says "Vorschau".
    • Languages: all 9.
    • Scope: upd.
    • Source: ui/settings.rs:1143-1146, 1457-1461 (managed.channel() verbatim).
    • Fix: map through tracked_channel() to the translated name.
  • C12 The 16-media limit note mixes languages. Seen: "Gleichung nicht verfügbar: Preview limited to 16 images, diagrams, and equations".
    • Languages: all 9.
    • Scope: prev.
    • Source: ui/document_media.rs:69 (a literal passed into a translated %{message}).
    • Fix: call tr and add the key.
  • C13 The theme color dialog title mixes languages: "Danger auswählen" / "Выбрать Danger".
    • Languages: all 9.
    • Scope: theme.
    • Source: ui/settings/theme/editor.rs:90.
    • Fix: pass the translated label into t!. B49 fixes this too.
  • C14 Two action strings mix a translated prefix with English text.
    • Action template requirement: "Erfordert: Python 3 only; no extra packages".
    • PROBLEMS row: "broken: The action file is not valid TOML: …". The parser detail is library text.
    • Languages: all 9.
    • Scope: settings.
    • Source: the example metadata in ui/settings/actions/examples.rs; problem_row at ui/settings/actions.rs:566 (ActionError::Toml).
    • Fix: translate the requirement text and the app-owned prefix.

D. Formatting

  • D1 File sizes, speeds and model counts always use "." and English units. One shared formatter is needed.
    • Seen: "1.5 kB", "128.5 MB/s", "30.8 GB", "400.0K".
    • Expected: de/es/it/pt-BR/vi "1,5 kB"; fr "1,5 ko" / "Go"; ru "1,5 КБ" / "Б".
    • Sizes also differ by surface: "KB" in drive dialogs and "kB" elsewhere. The preview header shows "18 MB" where the row shows "17.5 MB".
    • Languages: de, fr, es, it, pt-BR, ru, vi (units: fr, ru).
    • Scopes: modes, ptr, kbd, fileops, trash, prev, arch, nav, desk.
    • Source: ui/browser/entry.rs:21-26 (format_file_size); duplicates in ui/preview.rs:3916-3933 and ui/window/drive_dialogs.rs:214-227 (human_size); ui/browser/progress.rs:160; services/preview.rs:192-209.
    • Fix: write one locale-aware formatter that uses a catalog decimal separator and unit keys.
  • D2 Large counts have no digit grouping.
    • Seen: "3000 Dateien ausgewählt", "60000 файлов", "120000/120000". This also affects Icons child counts and filter placeholders.
    • Languages: de, ru, fr, es, it, pt-BR, vi.
    • Scopes: modes, fileops.
    • Source: i18n.rs:157-161 (count_u64 passes the raw integer).
    • Fix: group digits per locale.
  • D3 Durations use a hard-coded "s".
    • Seen: "Сбой через 0s", "0s 後に失敗". The progress dock's "2s left" / "closing in 5s" are in B25.
    • Languages: all 9.
    • Scope: fileops.
    • Source: ui/jobs.rs:912-916; ui/browser/progress.rs:168-176.
    • Fix: use counted duration keys per unit.
  • D4 Release dates are raw ISO.
    • Seen: "veröffentlicht am 2026-09-20", "опубликовано 2026-10-01". The dialog Published value is "2026-10-01T12:00:00Z".
    • Languages: all 9.
    • Scope: upd.
    • Source: ui/settings.rs:1347-1360 (published_at.split('T')), :2695-2701.
    • Fix: use the localized date formatter (data/locales/dates.json).
  • D5 Lists are joined with a hard-coded ", ".
    • Seen: the SaveFiles "Files" row, the overwrite subtitle and the no-terminal message. In ja it also wraps mid-token ("gnome-" / "terminal,").
    • Languages: ja, ko (any language without ", ").
    • Scopes: chooser, desk.
    • Source: ui/chooser.rs:1057, ~1586; ui/terminal.rs:214.
    • Fix: use i18n::list.
  • D6 Extraction progress word order is wrong in ko: "889 / 파일 1200개" (the counted noun lands after the slash).
    • Languages: ko.
    • Scope: arch.
    • Source: ui/browser/progress.rs:631 (t!("%{completed} / %{items}")).
    • Fix: use a dedicated counted message with %{completed} and %{total}.

E. Wrong sense / terminology / grammar in catalogs

Shared keys used in two senses

  • E1 Permission class "Group" uses the verb sense.
    • Seen: de "Gruppieren", fr "Grouper", es/pt-BR "Agrupar", it "Raggruppa", ja "グループ化". Expected: Gruppe, Groupe, Grupo, Gruppo, グループ.
    • Also: vi "Others" is "Các mục khác" ("other items").
    • Scopes: fileops, a11y, desk.
    • Source: ui/browser/properties.rs:560-562; shared key "Group" (*.json:227).
    • Fix: add a separate key for the permission noun.
  • E2 The Compress dialog "Format" label uses the verb "to format a disk".
    • Seen: de "Formatieren", fr "Formater", es "Formatear", it "Formatta", pt-BR "Formatar", ru "Форматировать".
    • Scope: arch.
    • Source: ui/browser/archive.rs:326 shares the key with ui/window/drive_dialogs.rs:117/902 and ui/window/drive_ops.rs:371.
    • Fix: add an "Archive format" noun key.
  • E3 The "Preview" release channel reuses the file-preview word.
    • Seen: ru "Предпросмотр", fr "Aperçu", vi "Xem trước", pt-BR "Prévia". The ko Nightly description reads "everything in the file preview". The fr Preview description leaves "release candidate" in English.
    • Scope: upd.
    • Source: ui/settings.rs:1101.
    • Fix: add a channel-specific key (ru "Предварительные выпуски", fr "Préversion", …).
  • E4 The Properties PINNED row uses the plural sidebar heading.
    • Seen: ru "ЗАКРЕПЛЁННЫЕ", fr "ÉPINGLÉS", es "FIJADOS", it "FISSATI", pt-BR "FIXADOS".
    • Scope: fileops.
    • Source: shared key PINNED.
    • Fix: add a singular state key ("Épinglé", "Закреплено").
  • E5 The generic error dialog title and subtitle are identical: ru "Не удалось завершить операцию" twice, and the same in pt-BR and vi. de, ja and ko are near-duplicates, and en is near-redundant.
    • Scope: menus.
    • Source: the keys "Unable to complete operation" and "The operation could not be completed" (ui/modal.rs:405, ui/browser/events.rs:850).
    • Fix: reword the subtitle.
  • E6 "Unpin" is ambiguous: de "Lösen" ("solve/loosen") and it "Rimuovi" ("Remove").
    • Scope: nav.
    • Fix: de "Nicht mehr anheften"; it "Rimuovi dai fissati".

de

  • E7 "Theme" has several translations. "Theme" is used in "Aktuelles Theme" and "Theme-Bibliothek", "Thema" in "…ein Thema aus der Bibliothek", "Themen" in "Themen suchen" (which means "topics"), and "Design" in the nav subtitle.
    • Scopes: theme, a11y.
    • Source: messages/de.json:66, 218, 347; de.json:527.
    • Fix: use "Theme" throughout.
  • E8 Updates wording.
    • The same card and dialog mix "Aktualisierung" and "Update".
    • "LINKS" became "VERKNÜPFUNGEN" (which reads as shortcuts or symlinks).
    • "PREFERENCES" became "EINSTELLUNGEN", duplicating the window title.
    • Scope: upd.
    • Fix: pick one term and keep "Links".
  • E9 Shortcut reference wording.
    • A capital follows a semicolon: "Einfügen; Bei Konflikten…".
    • "drawer" is translated as "Schublade".
    • Scope: kbd.
    • Source: the de.json keys "Paste; Keep Both/Replace is focused on conflicts" and "Enter its preview; keys move into the drawer".
  • E10 Jobs terminology is inconsistent: the footer says "1 Auftrag läuft", but the panel says "Aufgaben" / "Hintergrundaufgaben".
    • Scope: fileops.
    • Fix: pick one term.
  • E11 An F1 reference row embeds the all-caps heading word: "Sichtbare ANGEHEFTETE Zeilen…".
    • Scope: chooser.
    • Fix: use the normal-case word.

ja

  • E12 Stray spaces in ja strings.
    • Before particles: "1 個の項目 を復元しますか?", "14 個の項目 を完全に削除…", "1 個の項目 を圧縮", "項目を圧縮中 をキャンセル".
    • In counts: "1 個のファイル", where "1個" is normal.
    • In a quote: 「Omarchy に従う」 vs the switch label "Omarchyに従う".
    • Scopes: trash, arch, menus, kbd, theme.
    • Source: messages/ja.json:53, 82, 222, 280, 281, 319, 320; counts.json (ja).
    • Fix: remove the spaces.
  • E13 "Open containing folder" is rendered "保存フォルダーを開く" ("open save folder"). Low confidence.
    • Scope: search.
    • Fix: "親フォルダーを開く" or "ファイルの場所を開く".
  • E14 "What’s new" and "What's new in v…" use different terms (新着情報 / の新機能), because the two keys differ only by apostrophe.
    • Scope: upd.
    • Fix: unify the keys or the values.

ko

  • E15 Count messages use the generic 을(를) particle: "항목 14개을(를) 영구 삭제할까요?". After 개 it is always 를.
    • Scopes: trash, menus.
    • Source: messages/ko.json:222, 281, 320.
    • Fix: use 를.
  • E16 The footer's "Shortcuts" is "바로 가기" (a link or shortcut file). "단축키" fits keyboard shortcuts.
    • Scopes: modes, menus, desk.
  • E17 The Light/Dark filter and badges use adverbs: "밝게 / 어둡게".
    • Scope: theme.
    • Source: ko.json and messages/ko.json "Light"/"Dark"/"LIGHT"/"DARK".
    • Fix: "밝은/어두운" or "라이트/다크".

ru

  • E18 The menu says "Восстановить объекты" while everything else says "элементы".
    • Scope: trash.
    • Source: ru "Restore items".
  • E19 Settings wording.
    • "Введите для поиска" reads as an imperative.
    • "Дублировать выделение столбцов" is odd.
    • The exclusions placeholder leaves "/path" in English (de uses "/Pfad").
    • Scopes: ptr, settings.
    • Source: ru.json:211 and others.

vi

  • E20 "Theme" is both "giao diện" (which is also "Appearance") and "chủ đề".
    • Scope: theme.
    • Fix: use "chủ đề" for theme.
  • E21 The Actions page title is "Thao tác", but its subtitle, heading and buttons use "Hành động".
    • Scope: settings.
    • Fix: use one term.

Several languages

  • E22 Trash capitalization differs within one dialog: pt-BR "lixeira" vs "Lixeira", vi "thùng rác" vs "Thùng rác".
    • Languages: pt-BR, vi.
    • Scope: trash.
    • Source: pt-BR.json:179 vs messages/pt-BR.json:146, 151, 237; vi.json:179 vs messages/vi.json:146, 237.
    • Fix: pick one convention.
  • E23 Click-count option wording: vi "Đơn / Gấp đôi" ("doubled") and pt-BR "Único / Duplo".
    • Languages: vi, pt-BR.
    • Scope: ptr.
    • Source: the keys "Single" and "Double".
    • Fix: vi "Một lần / Hai lần"; pt-BR "Simples / Duplo".
  • E24 Two different translations of the same sentence. The palette's initial hint "Type to search Home and mounted local drives" and its cleared-query hint are translated differently. Examples: de "eingehängte" vs "eingebundene", ru "Введите для поиска" vs "Введите текст для поиска". Also, it says "raccolta" in the theme description but "LIBRERIA DEI TEMI" in the section heading.
    • Languages: de, fr, it, ru, vi.
    • Scopes: search, theme.
    • Source: <lang>.json vs messages/<lang>.json.
    • Fix: align the values.

F. Accessibility-only (screen-reader names/descriptions)

  • F1 Every file row, list and pane description is English.
    • Row descriptions: "Folder", "File", "Folder link", "File link", "Broken link", "Other", "Entry".
    • List description: "Files".
    • Pane descriptions: "Columns view", "Icons view", "List view".
    • A screen reader announces "notes.txt, File" in every language.
    • Scopes: a11y, modes, nav, fileops, search, theme, chooser.
    • Source: ui/accessibility.rs:41, 69, 72-79, 104-121 (&'static str, never passed through tr). The keys "Folder link", "File link" and "Entry" are missing.
    • Fix: return tr(…) from the helpers. If E2E selectors depend on the English text, move them to a stable id.
  • F2 The footer selection description has template errors.
    • ja/ko double the counter: "항목 9개개 중 1개", "9 個の項目 件中".
    • de uses the wrong case: "1 von 7 Elemente" (should be "Elementen").
    • ru will say "из 21 элемент" (should be "элемента").
    • Scopes: ptr, fileops, arch, prev.
    • Source: ui/shortcut_footer.rs:1836-1840; messages/{ja,ko}.json:22.
    • Fix: pass a bare %{total} number, or add a genitive/dative count key.
  • F3 The F1 dialog's accessible name "Keyboard shortcuts" is English; the visible title is translated.
    • Scopes: kbd, a11y.
    • Source: ui/shortcut_footer.rs:676.
    • Fix: call tr in dialog_box.
  • F4 The 10X pill's accessible name and description are English: "10xer mode (experimental feature, under active development)". The keys exist.
    • Scopes: kbd, a11y, fileops.
    • Source: ui/shortcut_footer.rs:1738-1751 (TAG_NAME, EXPERIMENTAL_LABEL).
    • Fix: call tr.
  • F5 The footer prompt entry's accessible name is English ("Find in this listing", "Move the selection to a folder", …).
    • Scope: kbd.
    • Source: ui/shortcut_footer.rs:544; Prompt::name() in ui/tenxer_mode.rs.
    • Fix: call tr and add the keys.
  • F6 Preview header metadata descriptions "Size", "Modified" and "Type" are English.
    • Scopes: prev, a11y, fileops.
    • Source: ui/preview.rs:290-292, 3593-3597 (metadata_value).
    • Fix: call tr.
  • F7 Settings → General accessible text is English.
    • Sidebar chip names and descriptions: "Show Home in sidebar" / "Show the Home folder in the sidebar." The keys exist.
    • Dropdown description: "Decoding backend".
    • Scopes: settings, a11y.
    • Source: ui/settings/general.rs:614-618, 838/885.
    • Fix: call tr.
  • F8 The disabled Open With… row's explanation is English: "Broken symbolic links cannot be opened…" and "Looking for compatible applications…".
    • Scope: menus.
    • Source: ui/browser/context_menu.rs:1562, 2043 (set_open_with_explanation); ui/open_with.rs:146, 148, 176, 180, 184. Six keys are missing.
    • Fix: call tr in set_open_with_explanation.
  • F9 Progress dock accessible text.
    • The destination description is "Destination: /path".
    • The Cancel name is concatenated: de "Elemente werden kopiert abbrechen", ru "Отменить Сжатие элементов". presentation.rs:93 parses the English prefix back out.
    • Scopes: fileops, arch.
    • Source: app/browser.rs:2419, 3136; ui/browser/progress/presentation.rs:93, 118.
    • Fix: keep a separate path and a translated prefix, and give each operation its own Cancel name.
  • F10 Permission toggle descriptions mix languages: "read-Berechtigung für owner umschalten".
    • Scope: fileops.
    • Source: ui/browser/properties.rs:659-672 (English subject/permission interpolated).
    • Fix: use full-sentence keys or translated parts.
  • F11 The folder peek accessible label "Folder peek" is English.
    • Scope: modes.
    • Source: ui/browser/peek.rs:18, 286.
    • Fix: call tr and add the key.
  • F12 The search results label "Search results" is English; the key exists.
    • Scope: search.
    • Source: ui/inline_search/collection.rs:693 (SEARCH_RESULTS_LABEL, ui/inline_search.rs:30).
    • Fix: call tr.
  • F13 Action editor icon buttons have English names.
    • The names are "play icon" (format!("{slug} icon")).
    • The "More icons" accessible name and tooltip revert to English after a selection.
    • Scope: a11y.
    • Source: ui/settings/actions.rs:1364-1365, 1394, 1420.
    • Fix: use a t!("%{name} icon") key and call tr on the reset.
  • F14 The waveform scrubber value "0:01 of 0:03" is English.
    • Scope: prev.
    • Source: ui/preview/waveform.rs:236-240.
    • Fix: use a t! key.
  • F15 Spinner descriptions are English. The modal spinner falls back to a raw "Working…", whose key exists. The global activity spinner shows "Writing to device…" / "Connecting…".
    • Scopes: a11y, desk.
    • Source: ui/controls.rs:342-345; ui/window/device_release.rs:854; ui/browser/location.rs:1327, 1473, 2074.
    • Fix: call tr.

G. Source-only (not reached on screen)

Each of these passes English text to the UI, and in most cases the key is missing.

  • G1 Sidebar menu items "Empty Trash…", "Disconnect" and "Format…" (keys missing; only "Empty Trash" and "Format" exist): ui/window.rs:1923, 2321, 3963.
  • G2 SSH host-key warning "If the server did not provide a fingerprint…": ui/browser/location.rs:201-203.
  • G3 Transport failure messages ("That host couldn't be found." and others): ui/browser/location.rs:706-733.
  • G4 Unlock progress "Unlocking volume" and "You can hide this and keep working…": ui/browser/location.rs:1912-1916.
  • G5 "Connecting to location…" overlay: ui/window/open_argument.rs:217, 237.
  • G6 Forget-saved-password dialog body and the ForgetCachedPasswordError texts: ui/window.rs:3337-3339; ui/window/volume_password.rs:24-31.
  • G7 "The volume is not mounted." (a glib error shown in the eject and unmount dialogs): ui/window.rs:3061, 3072.
  • G8 DriveOpError Display ("Could not identify the drive's block device", "Invalid label: {msg}", "I/O error: {error}") and the Format dropdown's "(current)": ui/window/drive_ops.rs:138-145; ui/window/drive_dialogs.rs:733.
  • G9 Undo/redo move-conflict explanation, which interpolates the English "Redoing"/"Undoing": ui/browser/transfer.rs:914-918.
  • G10 "Destination: Trash" makes the compact dock show "→ Trash": app/browser.rs:2464; ui/browser/progress/presentation.rs:93.
  • G11 Properties "Folder contents couldn't be read." and "Calculating…": ui/browser/properties.rs:112, 896. Also "“{candidate}” already exists" and "The new item has an invalid URI" at create_entry.rs:47, 127.
  • G12 Trash and restore:
    • Empty Trash partial-failure body and "…and {} more" (counts.more_items exists): ui/browser/trash.rs:33-47, 96; adapters/local_operations.rs:3901.
    • No-Trash message: adapters/local_operations.rs:3916.
    • Restore and undo failures: adapters/local_operations.rs:2315, 2338, 3741, 4061, 4144, 4182, 5561.
    • "Trashed item" fallback: adapters/local_operations.rs:4478.
  • G13 Archive 10xer armed-action rows ("Open terminal here", "Compress…", "Extract here", "Extract to…"), Prompt::ExtractTo "Extract" and "Extract the archive to a folder": ui/window/keyboard/files.rs:247-251; ui/window/keyboard/prompts.rs:468; ui/tenxer_mode.rs:193, 228.
  • G14 Previews:
    • "Additional media support required" and the GStreamer hint: ui/preview.rs:3574-3578.
    • The missing-tools install hint: ui/missing_tools.rs:65-67.
    • adapters/local_preview.rs:333, 412, 441, 467, 546-550, 682, 721, 747 (for example "Copy this file locally before previewing it" and "The preview worker stopped unexpectedly.").
    • "Loading preview…" and the render-error details: ui/document_media.rs:110, 113, 151.
  • G15 Open With "No compatible applications were found." and "No application is registered for this file": ui/open_with.rs:567-571 (rendered at :807). Also "This application cannot open files at this location" (a glib error): ui/open_with.rs:386.
  • G16 "Send to…" submenu label (the catalog has only "Send to"): ui/browser/context_menu/actions.rs:373.
  • G17 Settings:
    • "Another integration change is running. Try again when it finishes.": ui/portal_preferences.rs:235 (message() at :117); ui/udiskie_preferences.rs:207.
    • "{runtime} not found — cannot run": ui/settings/actions/readiness.rs:89.
    • "{name} copy": ui/settings/actions.rs:1539.
    • Program and arguments fields: ui/settings/actions.rs:839-840.
    • Settings search TARGETS aliases work only in English: ui/settings/search.rs.
  • G18 Integration setup failure messages shown on the Settings card (for example "Another per-user FileManager1 provider is already installed: …"): portal_setup.rs.
  • G19 Updates:
    • "AUR update opened in your terminal." and "AUR package page opened.": ui/settings.rs:1769, 2655-2680.
    • "missing package metadata" and "missing AUR package name" inside "Couldn’t open AUR update: %{error}": ui/settings.rs:2658, 2668.
  • G20 Theme validation "Every color must be a valid CSS color": ui/theme.rs:708.
  • G21 Chooser image-conversion progress row ("Image", "Checking image…", "Converting to PNG…"): ui/chooser/image_conversion.rs:78, 116, 224. set_name/set_activity in ui/chooser/download.rs:114-128 don't translate.
  • G22 Desktop entry and CLI:
    • data/io.github.lgse.Strata.desktop has no Name[xx], GenericName[xx], Comment[xx] or Keywords[xx], so launchers show English for 9 locales.
    • Low priority: the terminal wrapper's "Process exited with status %s…" (ui/browser/desktop.rs:263) and the CLI --help (main.rs:233).

H. Test gap

  • H1 The catalog tests only check key parity.
    • What they miss:
      • Call sites that skip tr(): gtk::Label::new(Some("…")), .tooltip_text("…"), accessible labels, show_feedback, set_hint, show_error, format! bodies. This accounts for most of B and F.
      • Call sites that call tr("X") where "X" is in no catalog, so the text silently falls back to English. Examples: "Mode", "Pin", "GTK default", "Stable", the Properties labels, "Enter a password".
    • Suggested fixes:
      • A test that extracts every literal tr()/t!() key and asserts it exists in all catalogs.
      • A lint or allowlist for user-facing widget setters that receive string literals.
      • A pseudo-locale E2E or AT-SPI pass that flags any visible or accessible string identical to English.

Non-i18n observations (functional / layout, all languages incl. en)

  • The chooser "saved" into a read-only folder: it returned a URI with no error.
  • The chooser context menu offers "Move to Trash" and "Permanently delete".
  • The overwrite-confirmation description wraps badly at narrow widths: a lone word, then a forced break.
  • The "Convert image to PNG?" dialog shows an empty body band between the header and the buttons.
  • The filter placeholder counts hidden entries ("23 Elemente filtern…" with 21 visible).
  • An error dialog exposes the internal temp-file name: "Permission denied (os error 13) at path …/.strata-replacement-xAKUVX".
  • Item counts disagree:
    • The permanent-delete title says "13 items" but the subtitle says "12 items".
    • For the same three entries, Empty Trash says "5 items" and permanent delete says "4 items".
  • The "Completed with errors" body's "\n\n• " bullets render inline.
  • Settings search leaves faint glyph remnants of hidden rows below the results. This may be an Xvfb/cairo redraw issue.
  • The title "File already exists" is also used for folder conflicts.
  • The preview header shows "18 MB" while the row and footer show "17.5 MB" for the same file.
  • Release notes render GitHub <!-- … --> comments literally.
  • The update dialog's "Channel" detail shows the build kind ("Release candidate") instead of the channel ("Preview").
  • The sidebar update pill is a text button with a tooltip, which AGENTS.md allows only on icon-only buttons.
  • Settings search does not find the 10xer row by "10xer" or "Modus" (de).
  • Focus issues:
    • In List mode, Up from the first row focuses a disabled-looking Back button.
    • Header focus traversal stops at the Filter toggle.
  • Toolkit dialogs (the GTK print dialog, the color chooser buttons, the Import/Export file chooser) follow the process locale, not Strata's language setting. They are toolkit-owned, but the mismatch shows whenever the two differ.
  • docs/10xer-mode.md says F1 shows "(experimental feature, under active development)". It does not.

wmfeht added 7 commits October 7, 2026 23:46
A press that changes the layout makes GTK synthesize a motion event a frame
later from the live X pointer state. When the server had already processed
the 20 ms release but GTK had not yet read it, that motion carried no button
and cancelled the click, which made the quick-preview scenario flaky in CI.
Hold buttons for 100 ms; scroll taps keep the short gap.
Add shared integer, decimal, file_size, transfer_rate and duration helpers
that apply each language's digit grouping, decimal separator and unit
symbols, and group the number in every count message. English now groups
thousands ("3,000 items").

Unoptimized builds initialize every compiled-in translation in one stack
frame, which outgrows libtest's default 2 MiB thread stack, so tests run
with an 8 MiB minimum thread stack.

Refs #1517
Translate the English labels, tooltips, accessible names, dialog bodies and
error details reported by the ten-language visual sweep across the sidebar,
location bar, views, 10xer footer and F1 reference, context menus, progress
and jobs, Properties, archives, previews, Settings, updates, the file
chooser, desktop integration setup and devices. Error enums shown in dialogs
gain localized messages while their Display output stays English for logs.

Use the shared formatters for sizes, rates, durations, counts and dates, add
context keys where one English word needs two translations (permission
"Group", archive "Format", release channel "Preview", and others), translate
the desktop entry, and rename the compress cancel button to "Cancel
compressing".

Refs #1517
Apply the sweep's wording findings to existing translations: consistent
terminology (de Theme/Update/Aufgabe, vi chủ đề/Hành động, ko 단축키 and
라이트/다크), Japanese spacing around placeholders and counters, the Korean
object particle after counts, word order in progress counters, and a generic
error subtitle that no longer repeats its title. English is unchanged.

Refs #1517
Unoptimized builds initialize every compiled-in translation in one large stack frame. When the portal's D-Bus executor thread was the first to translate text, it overflowed its stack and the file chooser never opened. Load the catalogs at the start of main instead.

Refs #1517
…ns out

Wrapping segmented choices only between words kept long translated labels whole, but at the largest text size the General page then grew wider than a narrow window and pushed switches out of view. Restore the word-then-character wrapping.

Refs #1517
Format the preview position, print page and 10xer candidate counters with the shared integer formatter, and route the remaining desktop-integration inspection errors through the translated message.

Refs #1517
@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

i18n sweep round 1 — fixes

Fixes for the round-1 sweep. Item IDs below refer to that comment. Items marked "re-verify" have a code change that I could only confirm from source, not from screenshots; round 2 will re-verify them on screen.

Commits pushed (4f0121cf..a0154392)

  • 764735a3 test(e2e): hold synthetic clicks like a physical click
  • ab4f4150 feat(i18n): add locale-aware number, size and duration formatting
  • 012070c0 fix(i18n): translate remaining UI text found by the visual sweep
  • 8f28f759 fix(i18n): correct catalog wording and grammar
  • 7e568a2d fix(i18n): build the catalogs on the main thread at startup
  • 76eb63d7 fix(settings): let segmented choices break within words when space runs out
  • a0154392 fix(i18n): group position counters and translate remaining setup errors

Catalogs: 438 new keys in <lang>.json, 370 in messages/<lang>.json, and 24 new plus 24 corrected counts.* entries. Each has all 10 languages and placeholders that match English. Three keys were removed and replaced:

  • The footer selection template is replaced by counts.selected_of_items.* plus a separate size sentence.
  • Cancel %{value1} is replaced by per-operation cancel labels.
  • Toggle %{subject} %{permission} permission is replaced by nine whole-sentence keys.

Context keys: where one English word needs two translations, a context key is used and documented in docs/internationalization.md. The English value stays the plain word. The keys are completion.complete, chooser.filter, permissions.group, archive.format, properties.pinned, release_channel.preview, build_kind.nightly and action_icon.*.

A. Cut-off / clipping

  • Addressed in code, re-verify:
    • A1: the context menu width is now a minimum, without the fixed max.
    • A3: shorter "Search settings" in de, fr, it and pt-BR. The same text is also the accessible name and the compact-button tooltip.
    • A4: the update pill uses the localized build kind and can wrap.
    • A5: the password prompt text wraps.
    • A6: the connecting overlay text wraps.
    • A7: shorter "No items" in es, it and vi. Its only call site is the folder child count, so the feminine form is correct.
    • A8: shorter "Broken link" in de and ru.
  • Not fixed:
    • A2: the Opening-items columns now share size groups. I tried word-only wrapping for segmented choices, but at the largest text size the General page then grew wider than a 640 px window and pushed switches out of view (test_text_size caught it). Word-then-character wrapping is back, so narrow widths can still break inside a word. This needs a layout change.
    • A9–A13: layout work; not attempted this round.

B. Untranslated visible UI text

  • Fixed: B1, B2, B4–B47, B49–B62.
    • B31 (default "new folder"/"new file" names) is now translated. This is a judgement call for the owner.
    • B56 is fixed except "Invalid PNG filename", which cannot occur.
  • Partial: B48. The action row summary is translated, but the appended unavailability reason (for example "“make” was not found on your PATH") still comes from the English ActionStoreError Display, which also feeds the context-menu hint.
  • Not fixed: B3 ("Unable to read this directory" in the Trash view). Every call site already uses the translated key, so I could not find where the English comes from. To re-check in round 2.

C. Mixed-language sentences

  • Fixed: C1, C2, C4, C6–C8, C10–C14.
    • Common I/O errors now get application text through one shared io_error_message. Other OS text still passes through as a value.
    • Location errors use LocationValidationError::message(), including on the async typed-location path.
  • Partial:
    • C3: the summary, counts and per-item "Could not … %{name}" messages are translated. Rarer per-item details in local_operations.rs are still English, for example "changed while it was being deleted", "Cannot copy …: not a regular file" and "Could not safely replace…".
    • C5: RAR helper errors are still English.
    • C9: three rare install errors are still English: "archive contains no …", "Could not run {:?}" and "Missing verification stdout/stderr".

D. Formatting

  • Fixed: D1, D2, D3, D4, D6.
    • A single shared formatter (i18n::file_size, transfer_rate, integer, decimal, duration) applies digit grouping, decimal separators and localized unit symbols. Counts group their number.
    • Release dates use the app-language date format.
    • ko progress word order is fixed.
    • Leftover from before this PR: the update download progress divides by 1,048,576 but labels the value "MB".
  • Partial: D5. The cited sites use i18n::list. Two uncited join(", ") calls remain, in context_menu.rs and properties/media.rs.

E. Catalog wording

  • Fixed: E1–E4, E6–E10, E12–E21, E23, E24.
  • Partial:
    • E5: the translated subtitles now say "An error occurred". The English subtitle is unchanged and still close to its title.
    • E22: the cited strings are now capitalized, but some new round-1 pt-BR and vi strings use lowercase "lixeira" / "thùng rác".
  • Not fixed: E11. de, fr and ru still embed the all-caps heading word in the F1 row.

F. Accessibility-only

  • Fixed: F1–F15. F1 is translated; E2E still finds widgets by their English descriptions because it runs in C.UTF-8.

G. Source-only

  • Fixed: G1–G16, G18–G21.
    • G18 covers portal_setup.rs, udiskie and Omarchy setup errors.
    • Install/uninstall success text stays English because only the CLI shows it.
  • Partial:
    • G17: Settings search also matches translated titles, but the English-only TARGETS aliases are untranslated.
    • G22: the desktop entry has GenericName, Comment and Keywords for 9 languages. CLI --help is still English.

H. Test gap

  • Not fixed: H1. No key-existence test or setter lint yet. Instead, a one-off scan checked that every literal tr()/t! key in src/ exists in the catalogs, and found none missing. Catalog tests still check parity and placeholders.

CI flake: quick-preview click

Root cause: the harness released a synthetic click 20 ms after the press. When the press changed the layout, GTK synthesized a motion event one frame later from the live X pointer state. If the X server had already processed the release but GTK had not yet read it, that motion event had no button held and cancelled the click.

Fix: tests/e2e/harness/interaction.py now holds buttons for 100 ms (BUTTON_HOLD), like a physical click. Scroll taps keep the short gap.

Problems found during integration

  • Portal crash in debug builds: in an unoptimized build, rust-i18n builds every compiled-in translation in one stack frame on first use. With the larger catalogs, that frame needs about 2.2 MiB.
    • When the portal's zbus executor thread was the first to translate, it overflowed its stack and the chooser never opened. Three test_chooser_image_conversion cases failed this way.
    • Fix: main now loads the catalogs on the main thread.
    • libtest threads also default to 2 MiB, so .cargo/config.toml sets an 8 MiB minimum thread stack for test runs.
  • Text-size overflow: word-only wrapping of segmented choices overflowed the page at the largest text size, so it was reverted (see A2).

English-visible changes

  • Digit grouping: "3,000 items", "Filter 3,000 items…", "1,234 of 3,000 files" and "Rendering 400,000 triangles…" (previously "400.0K").
  • Durations: "1m 5s" and "1h 3m" (previously "1m 05s").
  • Sizes: drive dialogs use "kB" and drop ".0". The preview header now matches the row size ("17.5 MB").
  • Dates: the release Published value reads "Sep 20, 2026" instead of raw ISO.
  • Accessible cancel names: per operation, e.g. "Cancel copying" and "Cancel compressing" (previously "Cancel Compressing items"). test_archive_errors.py was updated.
  • Cancelled-operation body: "0 items completed, 1 item failed, 0 items not attempted." followed by "Completed changes were not reverted." as its own paragraph.
  • Completed-with-errors summaries: "… and N more items", and a failed trash move reads "could not be moved to Trash".
  • I/O errors: "Permission denied", "No such file or folder" and similar replace the raw "(os error N)" text.
  • Large-text notice: loses its trailing period (it now matches the existing key).
  • Footer selection description: "3 of 10 items selected.", with the plural following the total.
  • Hyprland setup: "Could not run hyprctl reload: …".
  • Settings search: also matches translated titles.

Validation

  • Host checks:
    • cargo check --all-targets: clean.
    • ./scripts/test-headless.py i18n::: 10 passed. Catalog coverage, placeholder and formatter tests are included.
    • ./scripts/test-headless.py -- ui::settings shortcut_footer ui::preview ui::controls adapters:: ui::browser services:: chooser keyboard util::tests language_: 1485 selected, 1480 passed, 5 ignored (manual benchmarks, mapped-window test).
    • ./scripts/test-headless.py -- i18n:: portal udiskie image_conversion model ui::settings::tests::updates: 193 passed.
  • Pinned containers:
    • ./scripts/quality.sh fmt and ./scripts/quality.sh clippy: clean after fixing one manual_is_multiple_of lint.
    • Full ./scripts/quality.sh: passed, 2453 passed, 9 ignored.
  • Full E2E: ./scripts/e2e.sh with Docker gave 952 passed, 1 failed (test_text_size) and 3 errors (test_chooser_image_conversion), the two problems above.
  • After the fixes (scoped):
    • ./scripts/e2e.sh tests/e2e/scenarios/test_chooser_image_conversion.py tests/e2e/scenarios/test_text_size.py: 5 passed.
    • ./scripts/e2e.sh -k "chooser or portal": 6 passed.
    • ./scripts/test-headless.py -- i18n:: ui::preview keyboard portal_setup ui::settings update_check: 307 passed.
    • fmt and clippy were clean again; typos and git diff --check were clean.
  • The full suites ran before the last three commits, which were validated with the scoped runs above rather than a second full run.

@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

i18n visual QA sweep — round 2

Head: a0154392 (PR head, including the round-1 fixes). Round-1 IDs (A1…H1) refer to the round-1 sweep. Languages: en baseline plus fr, de, es, ja, pt-BR, ko, vi, it and ru.

Method: the same 16 scopes as round 1 re-ran a snapshot binary of the PR head on private Xvfb displays with private D-Bus and AT-SPI buses. Each scope re-checked its round-1 items on screen and looked for new problems, including the new digit grouping, localized sizes and durations, growing context menus and the desktop-entry translations. Every capture was confirmed to come from a fresh process in the requested language.

Screenshots and AT-SPI dumps are kept locally and are not attached here. File and line references are at a0154392; paths are under src/ unless shown otherwise, and catalogs are data/locales/<lang>.json, data/locales/messages/<lang>.json and data/locales/counts.json.

Round 2 vs round 1

Round 1 Round 2
Distinct items (deduplicated across scopes) 157 40
Cut-off / layout 13 13
Untranslated / mixed-language 76 (B + C) 4
Formatting 6 6
Catalog wording / terminology / typography 24 15
Accessibility-only 15 0 (folded into the groups above)
Source-only 22 2
Test gap 1 not re-assessed

Of the 40 round-2 items, 19 are carry-overs or residuals of round-1 items (cited per item) and 21 are new.

Per-scope results

Scope abbreviations are used in the items below. "Reported" is the issues: count each scope gave; findings that several scopes share are merged into one item.

Scope Reported Items
theming (theme) 3 R2-3, R2-14, R2-28
updates-about (upd) 1 R2-1
keyboard (kbd) 6 R2-2, R2-4, R2-25, R2-26, R2-27, R2-33
file-chooser (chooser) 1 R2-25
pointer-selection (ptr) 3 R2-8, R2-14 (two sites)
previews (prev) 4 R2-9, R2-14, R2-15, R2-20
navigation (nav) 1 R2-13
search-filter (search) 1 R2-7
archives (arch) 6 R2-13 (two symptoms), R2-14 (two sites), R2-24, R2-40
desktop-integration (desk) 8 R2-10, R2-11, R2-14, R2-21, R2-34, R2-35, R2-37, R2-38
dialogs-menus (menus) 4 R2-13, R2-14 (two sites), R2-19
settings-general (settings) 6 R2-5, R2-6, R2-16, R2-17, R2-31, R2-32
browser-modes (modes) 1 R2-12
trash (trash) 5 R2-13, R2-18, R2-22, R2-29, R2-39
accessibility (a11y) 2 R2-23, R2-30
file-operations (fileops) 5 R2-13, R2-14, R2-18, R2-24, R2-36
Total 57 40 distinct

Round-1 areas confirmed fixed on screen

  • Clipping: context menus (A1) now grow to fit in every language, at 13, 18, 20 and 48 px, for file, folder, background, archive, sidebar and chooser menus. The Settings search placeholder (A3), the Icons empty-folder caption (A7) and the de/ru "Broken link" (A8) fit. The Single/Double segments (A2) fit at the default text size and every tested width. The update pill (A4), password prompt (A5) and unlock overlay (A6) now wrap, with residuals in R2-1, R2-9 and R2-11.
  • Untranslated UI (B): sidebar headings, Appearance popover, List "Mode" header, filter and navigation tooltips, footer prompts and 10xer feedback, F1 reference prose, search palette, history and partial-status text, conflict, cross-device and cancel bodies, chooser titles, buttons, error rows and 10xer save hints, Properties and Customize labels, default new-item names, preview feedback, captions, Markdown media text, archive breadcrumbs and the 1 MB notice, Settings integration rows and the action editor, the theme editor, Updates and About, unlock overlays, print alerts and PDF progress, the label counter and the Trash view (B3).
  • Mixed-language (C): location-validation errors, I/O text for unreadable folders and stale pins ("Zugriff verweigert"), update check, install and AUR errors (only the network library detail stays raw, as intended), job failure details, broken-symlink details, restore reasons, the trash-failure summary, damaged-archive text and the color dialog title.
  • Formatting (D): digit grouping in counts, placeholders, position captions, triangle counts, Properties, the running dock and Empty Trash; localized decimal separators and unit symbols; durations; release dates; ko progress word order; and the ja "、" list separator in the chooser.
  • Catalog wording (E): most fixes were re-observed: de "Theme", "Update" and "OPTIONEN"; ja 新機能 and 「」 quotes; ko 라이트/다크, "F1 단축키" and "항목 N개"; vi "chủ đề" and "Hành động"; Preview-channel wording; click-count wording; the permission noun "Group"; the singular PINNED value; de jobs terms; ja particle spacing; ru "~/путь".
  • Accessibility (F1–F15): an AT-SPI diff against en in every language found no app-owned name, description or label still in English.
  • Source-only (G): G1, G5–G12, G15, G16, G20 and G21 were confirmed in source. G22's desktop entry has all 9 locales and passes desktop-file-validate.
  • Plurals and glyphs: ru 1/2/5/21/22/25 and four- and five-digit counts, and fr/pt-BR zero-as-singular, are correct everywhere. No tofu, mojibake, raw keys or unreplaced %{…} placeholders were seen.

Cut-off / layout

  • R2-1 The sidebar update pill still cuts the meaning of prerelease offers. Carry-over: A4 (now translated and two lines, but still ellipsized).
    • Seen: en "v0.22.0-rc.1 / (Release candidate…", de "…(Release Candidate…", ru "Доступна v0.22.0- / rc.1 (Кандидат в р…", ru nightly "…nightly.20261007 (…", ko nightly "v0.22.0- / nightly.20261007(나…". "available" (and for nightlies the build kind) is lost. Stable offers fit.
    • Languages: all except ja (en too). Scope: upd.
    • Source: ui/window/sidebar.rs:124-127 (set_lines(2) + EllipsizeMode::End); the string is built in ui/window.rs:4050-4061.
    • Fix: keep the version and "available" in the pill and move the build kind to a separate badge or the dialog, or allow a third line.
  • R2-2 With 10xer chord keycaps shown in the sidebar, the Home row truncates. Carry-over: A9.
    • Seen: de "Persönlicher Or…", fr "Dossier personn…" (10xer on, press g).
    • Languages: de, fr. Scope: kbd.
    • Source: the keycap is appended to the place row at ui/window.rs:2411.
    • Fix: reserve keycap space in the row, or let the keycap overlay the row end instead of shrinking the label.
  • R2-3 Theme library at 48 px: the "СВЕТЛАЯ" badge squeezes theme names to "Atelier Cave Lig…". Carry-over: A12. Cosmetic.
    • Languages: ru. Scope: theme.
    • Source: ui/settings/theme.rs:573-578 (name label with end ellipsis next to the kind badge).
    • Fix: give the name label priority, or wrap the badge under the name when space is short.
  • R2-4 F1 reference hint line at 640 px wraps with a leading separator ("· Tab смена области"). Carry-over: A13. Cosmetic.
    • Languages: ru. Scope: kbd.
    • Source: the single ·-joined key at ui/shortcut_footer.rs:725.
    • Fix: build the hint line from separate items in a wrapping box.
  • R2-5 Opening-items row label breaks mid-word at large text: "Spaltenansic-/ht". Residual of A2; the Single/Double segments themselves now fit.
    • Languages: de (text size 28). Scope: settings.
    • Source: the Opening-items matrix in ui/settings/general.rs (around :697); the label column uses word-char wrapping.
    • Fix: give the row-label column its natural width, or restack the matrix earlier at large text sizes.
  • R2-6 Global-search-exclusions placeholder truncates sooner than English. Carry-over: the exclusions-placeholder note under A3.
    • Seen: de "Ordnername (z. B. .venv) oder ~/P…" (820 px), "Ordnername (z.…" (640 px); ru "Имя папки (например, .v…" (640 px). en still shows "Folder name (e.g. .venv)…" at 640 px.
    • Languages: de, ru. Scope: settings.
    • Source: ui/settings/exclusions.rs:26; de value at data/locales/de.json:343.
    • Fix: move the entry above the Browse/Add buttons at narrow widths, or shorten (de "Ordner oder ~/Pfad…").
  • R2-7 The pane-filter partial-search status never wraps, so it sets the pane's minimum width.
    • Seen: at 640 px de "…konnten nicht gelesen werde", fr "…n'ont pas pu être l", it "…leggere alcune car"; at 560 px ru and de clip too. The pane's filter, view-options and sort buttons are pushed out of view. The two-reason message also overflows in en at 700 px.
    • Languages: de, ru, fr, it (any language longer than en). Scope: search.
    • Source: ui/inline_search.rs:597-599 (label with no wrap or ellipsize).
    • Fix: set_wrap(true), WrapMode::WordChar, centered, with a small width_chars so it wraps instead of forcing width.
  • R2-8 The multi-item folder-merge conflict dialog's action row does not wrap, so the dialog grows wider than the window.
    • Seen: ru at 20 px text in a 900 px window cuts "Заменить" to "З" and pushes the close button off-screen. At the default size the ru dialog is about 740 px wide; en fits under the same conditions.
    • Languages: ru (other long languages likely). Scope: ptr.
    • Source: confirm_replace_conflict in ui/browser/transfer.rs:975.
    • Fix: wrap the action row (or move "Apply to all" above the buttons), or cap the dialog at the window width.
  • R2-9 Archive password prompt at an 820 px window: the entry + Unlock row is wider than the pane. Residual of A5 (the text now wraps).
    • Seen: de clips "des", shows "Entsperr…" and pushes Open and Close preview off-screen; en clips "Unlock" and the Close button.
    • Languages: de (worse), en. Scope: prev.
    • Source: render_archive_password_prompt, ui/preview.rs:1344 onward.
    • Fix: let the row shrink (smaller entry minimum) or stack the button under the entry when narrow.
  • R2-10 The unlock "not found" error overlaps the empty-folder text when it wraps.
    • Seen: de "…nicht gefunden" drawn over "Dieses Verzeichnis ist leer"; same in it and pt-BR. One-line languages sit just above it.
    • Languages: de, it, pt-BR. Scope: desk.
    • Source: ui/window/unlock_argument.rs:320-337 adds a centered overlay on top of the centered empty-state label.
    • Fix: hide the empty-state label while the error shows, or put both in one vertical box.
  • R2-11 The unlock "waiting" overlay squeezes its label and breaks a word with a false hyphen: "verschlüsse-/ltes Volume…". Residual of A6.
    • Languages: de. Scope: desk.
    • Source: ui/window/open_argument.rs:217-222 (WordChar with no minimum width beside a wide Cancel).
    • Fix: use WrapMode::Word plus a minimum width_chars, or stack Cancel under the text.
  • R2-12 List Type column cuts "Broken link" to "Collegamento…" ("Link…"). Carry-over: A8, now fixed for de and ru.
    • Languages: it. Scope: modes.
    • Source: data/locales/it.json:77.
    • Fix: a shorter value such as "Link interrotto".
  • R2-13 wrap_dialog_text breaks CJK words and drops paragraph breaks in every message dialog. Carry-over: A10, plus round-1's non-i18n note about inline bullets.
    • Seen:
      • ja: "…dav://、d" / "avs://…" (a protocol split in two), "…「archive.zip」というアーカイ / ブがすでにあります。", "…「one」とい / う / フォルダーが…" (one-character orphan line).
      • ko: "…열 수 없습 / 니다", "둘 다 유지하세 / 요.", "…원래 위치의 상 / 위 폴더가…".
      • All languages: the cancel summary's "\n\nCompleted changes were not reverted." and the "Completed with errors" "\n\n• " bullets collapse into one paragraph; ja gets a stray half-width space after "。". de at 520 px gets ragged short lines.
    • Languages: ja, ko (word splitting); all (lost paragraph breaks). Scopes: nav, arch, menus, trash, fileops.
    • Source: ui/controls.rs:272-302 (split_whitespace plus hard \n every 64 characters, counting a double-width glyph as one), used by message_dialog_description (:305), the title/subtitle at :374-375, and ui/browser/location.rs:313,321.
    • Fix: stop pre-wrapping; keep explicit newlines and let Pango wrap with max_width_chars and WordChar.

Untranslated / mixed-language

  • R2-14 Raw English OS, GIO and library error text inside translated sentences, or as the whole body. Carry-over: C3 and C5 remainders, G18 residual, and round-1's temp-path note. This is one shared root cause: the shared io_error_message (services/file_source.rs:117) is only used by a few callers.
    • Seen (all 9 languages), by surface:
      • Move by drag onto a read-only folder (ptr): "todo.txt konnte nicht verschoben werden: Permission denied (os error 13)". adapters/local_operations.rs:2249-2253 interpolates a rustix Errno; the same applies to "Could not restore/inspect/recheck" at :2349-2352, :1447-1450, :1492-1495, :3145-3148, :3171-3174 and :3218-3221.
      • Permanent delete, "Completed with errors" (menus): "stuck.txt konnte nicht gelöscht werden: Permission denied (os error 13)". local_operations.rs:3186-3190, :3521.
      • Copy into a read-only folder (ptr, fileops): the whole body is Permission denied (os error 13) at path "…/.strata-replacement-LXrPzZ", exposing the temp name. local_operations.rs:2093-2094 (also :1113, :2623) via io_error at :2550-2551.
      • Rename to an existing name (fileops): body "Can’t rename file, filename already exists". local_operations.rs:4894 (message: error.to_string()).
      • New Folder / New File in a read-only folder (menus): "Error creating directory …/Neuer Ordner: Permission denied". adapters/local_operations/create_entry.rs:141-145, :99-103.
      • Extract into a read-only folder (arch): "Der temporäre Entpackordner konnte nicht erstellt werden: Permission denied (os error 13)". adapters/local_operations/archive/destination.rs:113-119, :195, :217, :231.
      • Compress into a read-only folder (arch): the whole body is Permission denied (os error 13) at path "…/.strata-compression-DPugRi". archive/compression.rs:91-92 and the .map_err(|error| error.to_string()) sites in the same file.
      • Theme save (theme): "Das Theme konnte nicht gespeichert werden: Permission denied (os error 13)". ui/settings/theme/editor.rs:160.
      • Media playback (prev): "Diese Medienvorschau kann nicht wiedergegeben werden: failed to fill whole buffer" for truncated OGG/MP4 and a 0-byte MP3. ui/preview.rs:3607-3610 inserts the raw io::Error string from sandbox/media.rs:201.
      • Integration setup errors (desk, source-only): "Could not create/read/write… %{path}: %{error}" receives io::Error directly. portal_setup.rs:1080-1134.
      • Also seen (trash, counted as system text by that scope): the GIO per-item detail "Unable to trash file …: Permission denied" in "Completed with errors".
    • Scopes: theme, ptr, prev, arch, desk, menus, fileops, trash.
    • Fix: one helper that maps rustix::Errno, io::Error and glib::Error (IOErrorEnum Exists, PermissionDenied, NoSpace, ReadOnly, NotFound) to io_error_message, adding UnexpectedEof as "The file is truncated or damaged". Wrap whole-English bodies in translated sentences such as "Could not copy %{name}: %{error}", and never show temp paths.
  • R2-15 Preview helper error messages have no catalog entries, so the details stay English.
    • Seen: "This model is too complex to draw within the preview rendering limit. Try a lower-detail version.", "This model file exceeds the 128 MiB preview limit…", "STL contains no valid triangles" and "3MF package has no model", under translated titles.
    • Languages: all 9. Scope: prev.
    • Source: ui/preview.rs:1318 calls tr(&message), but sandbox_helper/model.rs:419, :300 and about 45 other Err("…") literals in model.rs and model/embedded.rs have no keys. sandbox.rs:435, model.rs:129, model.rs:463 and embedded.rs:142 are format!-built, so tr can never match. The media helper messages (sandbox_helper/media.rs:199, 314, 345, 377) and the Markdown media limit messages (sandbox_helper/document_media.rs:26-58) are in the same state.
    • Fix: add keys for the user-reachable messages (or map them to a few generic keys), and make limit messages fixed text or %{limit} keys.
  • R2-16 The action row summary ends with an English unavailability reason: de "Befehl · pro Element · Ordner · “qa-missing-tool” was not found on your PATH". Carry-over: B48 (partial).
    • Languages: all 9. Scope: settings.
    • Source: ui/settings/actions.rs:1567-1568 pushes unavailable_reason() raw (the English ActionStoreError Display, services/actions.rs:201).
    • Fix: map it through the existing store_error_message() (actions.rs:1582 onward), and use the same path for the context-menu hint.
  • R2-17 Settings search synonyms are English-only: de "Doppelklick" finds nothing, while en "double click" finds Opening items. Carry-over: G17 (partial; translated titles do match).
    • Languages: all 9. Scope: settings.
    • Source: TARGETS[..].aliases in ui/settings/search.rs:13 onward.
    • Fix: add a translatable keyword string per target.

Formatting

  • R2-18 The completed progress counter is not digit-grouped: "40003/40003" and "4000/4000", while the running dock shows "39.120/40.003".
    • Languages: all, en included. Scopes: trash, fileops.
    • Source: ui/browser/progress.rs:677 (format!("{total}/{total}")).
    • Fix: crate::i18n::integer(total as u64), as progress/presentation.rs already does.
  • R2-19 The permanent-delete confirmation body is always plural: "These items will be permanently deleted…" under "Delete 1 item permanently?". The Trash variant "These items can be restored from Trash." has the same problem.
    • Languages: all, en included. Scope: menus.
    • Source: ui/browser/trash.rs:863-867.
    • Fix: count-aware counts.* entries ("This item / These items…").
  • R2-20 fr preview-limit messages use English unit symbols: "Aperçu limité au premier 1 MB" right under a header reading "2,1 Mo".
    • Languages: fr. Scope: prev.
    • Source: data/locales/fr.json:302 ("4 KB"), :388 and :391 ("8 MB"), :447, :616 and :675 ("1 MB"), :460 ("16 KB").
    • Fix: use "Mo"/"ko" (:840 already uses "Mio").
  • R2-21 ja no-terminal message: the program list becomes one unbreakable run. A line starts with "、" and "gnome-terminal" is split. Residual of D5.
    • Languages: ja. Scope: desk.
    • Source: ui/terminal.rs:213-214 with the ja "、" separator from i18n.rs:130-143.
    • Fix: show the fallback programs on their own line or one per line, or use ", " between Latin program names.
  • R2-22 Hard-coded "name: reason" separator skips French spacing. The same fr dialog mixes the catalog's " : " with code-built "protected.txt: …".
    • Languages: fr. Scope: trash.
    • Source: ui/browser/trash.rs:542 and adapters/local_operations.rs:4011 (format!("{name}: {error}")).
    • Fix: use the existing t!("%{name}: %{error}") key (fr already has "%{name} : %{error}").
  • R2-23 The 10X pill's accessible name is assembled by concatenation: ja "10xerモード (開発中の実験的機能)" has an ASCII space before a full-width parenthesis, and translators cannot reorder it.
    • Languages: ja. Scope: a11y.
    • Source: ui/shortcut_footer.rs:1750-1752 (format!("{name} {phrase}")).
    • Fix: one whole-sentence key, such as "%{mode} (experimental feature, under active development)".

Catalog wording / terminology / typography

Several languages

  • R2-24 The cancelled-operation summary capitalizes mid-sentence: ru "Выполнено: 0 элементов, С ошибкой: 1 элемент, Не обработано: 0 элементов."; vi "Hoàn tất 0 mục, Thất bại 0 mục, Chưa xử lý 1 mục."
    • Languages: ru, vi. Scopes: arch, fileops.
    • Source: counts.items_failed.* and counts.items_not_attempted.* (and vi counts.items_completed.*) in data/locales/counts.json (from :591); joined by i18n::list at ui/browser/progress.rs:182-189.
    • Fix: lowercase the ru and vi fragments, or make the sentence one message.
  • R2-25 The F1 g 1–9 row embeds an inflected all-caps heading word that no longer matches the heading: de "Sichtbare ANGEHEFTETE Zeilen…" vs heading "ANGEHEFTET"; fr "ÉPINGLÉES" vs "ÉPINGLÉS"; es "FIJADAS"; it "FISSATE"; pt-BR "FIXADAS"; vi "ĐÃ GHIM". ru and ja quote the heading exactly, which is the right pattern. Carry-over: E11.
    • Languages: de, fr, es, it, pt-BR, vi. Scopes: kbd, chooser.
    • Source: ui/shortcut_reference.rs:325,330; values at data/locales/messages/<lang>.json:770 and the sibling "…that are local folders" key.
    • Fix: quote the exact heading (de „ANGEHEFTET“-Zeilen), or use the normal-case word.
  • R2-26 "drawer" is translated literally in the F1 row "Enter its preview; keys move into the drawer": fr "tiroir", it "cassetto", ja "ドロワー", ko "서랍". de, es, pt-BR and ru now say "preview pane". Residual of E9.
    • Languages: fr, it, ja, ko. Scope: kbd.
    • Source: data/locales/messages/{fr,it,ja,ko}.json:317.
    • Fix: fr "volet d’aperçu", it "riquadro di anteprima", ja "プレビューパネル", ko "미리 보기 패널".
  • R2-27 The g c chord ("Config", i.e. ~/.config) is "設定" / "설정", the same word as the app's Settings, so it reads as "open Settings" next to Ctrl+,.
    • Languages: ja, ko. Scope: kbd.
    • Source: the "Config" key in data/locales/messages/{ja,ko}.json.
    • Fix: ja "構成フォルダー", ko "구성 폴더", or ".config".
  • R2-28 The color dialog title capitalizes a field label mid-phrase: ru "Выбрать Синтаксис: ключевые слова", "Выбрать Опасность". The same template shape is in fr, es, it, pt-BR and vi. Low impact: the title is shown only by window managers that draw titles, and to assistive tech.
    • Languages: ru, fr, es, it, pt-BR, vi. Scope: theme.
    • Source: "Choose %{label_text}" (data/locales/messages/ru.json:160 and peers), used at ui/settings/theme/editor.rs:91.
    • Fix: label-first, e.g. ru "Цвет: %{label_text}".
  • R2-29 Trash is capitalized inconsistently: pt-BR "Não foi possível mover para a lixeira: 2 itens" beside "Lixeira" in the sidebar and dialogs; vi "vào thùng rác" vs "Thùng rác". Carry-over: E22 (partial).
    • Languages: pt-BR, vi. Scope: trash.
    • Source: data/locales/messages/{pt-BR,vi}.json:26, 66, 229, 246, 477, 479, 647, 737 and data/locales/{pt-BR,vi}.json:97, 252, 902. Lines 651, 653, 663, 728 and 735 mean the trash directory and may stay lowercase.
    • Fix: capitalize where the text names the Trash location.
  • R2-30 "Folder peek" (popover label) and "Folder peeking" (setting) use different terms, and several collide with "preview": ru "Предпросмотр папки" vs "Быстрый просмотр папок"; ja "フォルダーのプレビュー" vs "フォルダーの先読み"; es "Vista rápida de carpeta" vs "Exploración de carpetas"; pt-BR "Prévia da pasta" vs "Visualização de pastas"; it "Anteprima cartella" vs "Esplorazione rapida delle cartelle"; ko "폴더 미리 보기" vs "폴더 엿보기". A screen reader announces the peek as a "folder preview".
    • Languages: ru, ja, es, pt-BR, it, ko. Scope: a11y.
    • Source: "Folder peek" / "Folder peeking" in data/locales/<lang>.json (e.g. ru.json:345-346); label set at ui/browser/peek.rs:286.
    • Fix: use the setting's noun for the label (ru "Быстрый просмотр папки", ja "フォルダーの先読み").
  • R2-31 "Thumbnail" uses several words within one Performance section: de "Thumbnail-Worker" / "Thumbnail-Dekodierer" / "Miniaturprozesse" / "Video-Miniaturansichten" (and the browser's "Thumbnail-Größe"); ko title "썸네일 작업자" but stepper names "미리 보기 작업자…" ("preview workers").
    • Languages: de, ko. Scope: settings.
    • Source: data/locales/de.json:583,882, data/locales/messages/de.json:281,282,373,555, and the "Decrease/Increase/Reset thumbnail workers" values in data/locales/messages/ko.json.
    • Fix: one term per language (ko "썸네일").
  • R2-32 The Library requirement line capitalizes a fragment after the colon: de "Erfordert: Nur Python 3; keine zusätzlichen Pakete", ru "Требуется: Только Python 3, без дополнительных пакетов".
    • Languages: de, ru. Scope: settings.
    • Source: "Python 3 only; no extra packages" (data/locales/de.json:635 and the ru equivalent). The same value starts the button's accessible description, where a capital is fine.
    • Fix: a context key for the prefixed form, lowercased.

de

  • R2-33 F1 row "New / close tab" reads "Neuer / Tab schließen".
    • Scope: kbd. Source: data/locales/messages/de.json:427.
    • Fix: "Neuer Tab / Tab schließen".

fr

  • R2-34 Ordinary spaces inside « » and before ":", "?" and "!" let lines break there: the no-terminal dialog ends a line with "Installez «" and starts the next with "xdg-terminal-exec »". 43 values use « » with ordinary spaces (none use NBSP) and 170 have " :".
    • Scope: desk. Source: data/locales/fr.json, data/locales/messages/fr.json.
    • Fix: use U+00A0 or U+202F after « and before », :, ?, ! and ;.

it

  • R2-35 The System file manager card names the same feature two ways: the description says "Mostra nel file manager", the status row below says "Mostra nel gestore di file", under the heading "File manager di sistema".
    • Scope: desk. Source: data/locales/it.json:695 ("Reveal in File Manager") and the card description key.
    • Fix: "Mostra nel file manager" in both.

ru

  • R2-36 Two words for jobs: the footer pill says "Выполняется 1 задача", but the panel is "Задания" / "Показать фоновые задания". Same class as round-1 E10 (fixed for de).
    • Scope: fileops. Source: counts.jobs_running.* ru in data/locales/counts.json:255-300 vs data/locales/ru.json:414, 759.
    • Fix: "Выполняется %{count} задание/задания/заданий", or rename the panel "Задачи".

vi

  • R2-37 Three forms of "terminal": "Không thể mở terminal" over a body with "trình giả lập thiết bị đầu cuối"; "Mở trong Terminal" vs "Mở thiết bị đầu cuối tại đây".
    • Scope: desk. Source: keys containing "terminal" in data/locales/vi.json and data/locales/messages/vi.json.
    • Fix: use "terminal" everywhere.
  • R2-38 "Encrypted volume" is "phân vùng" (partition) in Settings but "ổ đĩa" (disk) in the unlock overlay and errors.
    • Scope: desk. Source: data/locales/vi.json:947 ("Unlock encrypted volumes") vs the "Waiting for encrypted volume…", "The encrypted volume was not found" and "This is not an encrypted volume" values in data/locales/messages/vi.json.
    • Fix: use one term.

Uncounted wording nits (flagged as minor by the reports): ko audio caption "9개 중 트랙 2" reads unnaturally; it mixes straight and curly apostrophes in one dialog; it "apri la cartella contenitore" (palette) vs "Apri cartella contenitore" (menu); ko renders "pane" as "창" (window) in "이 창 필터링"; ja "GitHub で表示" has a space other ja strings omit; ru mixes "объекты" and "элементы"; the ja footer uses ASCII "(6 B)" instead of full-width parentheses.

Source-only

  • R2-39 Rare file-operation errors are still English literals or format! strings. Carry-over: C3 (partial).
    • Restore: adapters/local_operations.rs:2301-2310 ("Cannot restore the filesystem root", "Invalid restore source", …) and :3788-3820 ("Could not safely open {}: {error}", "A restore destination must use an absolute path", "Could not open the restore area: {error}", …).
    • Move: :2216-2225 ("Cannot move the filesystem root", "Invalid move source", …).
    • Copy and merge: :1105, :1249, :2578, :2584, :2938, :3899.
    • Languages: all 9. Scopes: trash, fileops, ptr.
    • Fix: t! keys with %{name} / %{error}, using io_error_message for the error values.
  • R2-40 Remaining English archive errors that can reach the error dialog. Carry-over: C5 (partial).
    • adapters/local_operations/archive/destination.rs:104, 178, 248, 255, 262, 281, 310, 371, 405; archive/decoders.rs:451; archive/compression.rs:95 ("Compression task panicked"), :297, :301; and the RAR helper errors.
    • Languages: all 9. Scope: arch.
    • Fix: t! keys, with io_error_message for the error values.

Non-i18n observations (functional / layout, all languages incl. en)

  • The update dialog's "Channel" row shows the build kind instead of the channel (carry-over).
  • A failed forced startup update check leaves the Updates status idle until "Check now" is pressed.
  • The sidebar update pill is a text button with a tooltip, which AGENTS.md allows only on icon-only buttons (carry-over).
  • "File already exists" is used as the title for folder conflicts (carry-over).
  • Permanent-delete confirmations count different numbers in the title and the subtitle (carry-over).
  • Move to Trash shows "Deleting items" progress and a "Delete complete" toast (ui/browser/events.rs:739).
  • The "Operation cancelled" dialog uses the generic error subtitle ("An error occurred") and counts the interrupted item as failed; the en error title and subtitle remain near-duplicates (E5 remainder).
  • Properties for an emptied folder showed a stale size ("646,4 МБ" with 0 files).
  • After a cancelled cross-device folder drop, the folder stays selected but its child column is not shown.
  • After cancelling PDF print preparation, the preview pane is blank until the file is reselected.
  • The fake-PNG preview shows the same text as title and detail ("Preview unavailable").
  • With a recursive filter, the footer still says "11 items" while 30+ results show; Columns view shows no partial or no-matches status.
  • At 20 px text the preview header's relative date truncates (ru "11 мин. наз…", de "Vor 11 M…"); not compared against en.
  • Chooser: the overwrite confirmation wraps badly at narrow widths, "Convert image to PNG?" has an empty body band, and directory-mode OpenFile is titled "Open Files" (carry-overs).
  • When a translated label is the widest context-menu row, only about one character separates it from the accelerator; a minimum column gap would help.
  • The Columns "Retry" button renders light on dark themes (tokyo-night).
  • The 10X pill's accessible name and description both carry the experimental phrase, so it is announced twice.
  • Properties permission toggles are named only "r", "w" or "—"; the meaning is only in the description.
  • In 10xer, d inside an entered empty folder opens Move to Trash for the parent's cursor folder instead of "Nothing to delete".
  • Toolkit and system text follows the process locale, not Strata's language: GTK color chooser buttons and swatch names, GtkNotebook "Page 1/2/3", GIO content-type descriptions in Properties, Open With app descriptions (carry-over).
  • The custom-action Python starter template (docstring and comments) is English; it is code content, so this is the owner's call.

wmfeht added 4 commits October 8, 2026 01:46
Show failure details through the shared io_error_message, which now also
translates no-space, read-only, already-exists, not-empty, busy, too-long
and truncated-file errors and drops the "(os error N)" suffix and tempfile
paths that exposed internal staging names. Add gio_error_message for
glib::Error and use both for move, restore, delete, copy and replace,
rename, new items, archive extraction and compression, paste and undo
failures, media playback and integration setup.

Translate the remaining restore, move, copy and archive error sentences,
and collapse model-preview parse diagnostics into a few translated
messages with fixed limit text.

Refs #1517
wrap_dialog_text hard-wrapped dialog text every 64 characters, splitting
Japanese and Korean words mid-token and collapsing paragraph breaks and
bullets. Replace it with dialog_text, which only normalizes spacing, and
let the labels wrap with WordChar within their maximum width, including
the authentication dialog.

The folder-merge conflict dialog moves "Apply to All" above the buttons
and lets button labels wrap so long translations stay within the window,
and the no-terminal message lists program names on their own line.

Refs #1517
- Update pill: keep "v… available" and put a prerelease's build kind on
  its own line.
- 10xer place chord: show keycaps in place of the row icon so long place
  names are not truncated further.
- Wrap the pane-filter partial-search status, theme names beside the
  light/dark badge and the unlock waiting text (between words only).
- Show the unlock error in the status card instead of over the folder's
  empty-state text.
- Let the archive password entry shrink in narrow panes.
- Stack the search-exclusion entry above its buttons below 1000 px, and
  keep Opening-items row labels whole beside the choices.
- Keep each F1 footer hint together so lines break only after a separator.
- Announce the 10X pill with one translatable sentence.

Refs #1517
Digit-group the completed progress counter, use singular delete and
trash confirmation bodies for one item, translate the trash "name: reason"
separator, and lower-case the Russian and Vietnamese cancelled-summary
fragments, capitalizing only the start of the joined sentence.

Refs #1517
wmfeht added 2 commits October 8, 2026 02:14
rust-i18n's i18n! macro initializes its catalogs with one inline statement
per message. Unoptimized, that closure needs about 2.2 MiB of stack, so
any 2 MiB thread that translates first overflows. CI runs the prebuilt
test binaries directly, without the RUST_MIN_STACK that .cargo/config.toml
gave cargo test, and test threads and app worker threads aborted.

build.rs now loads data/locales with rust-i18n-support and writes them as
static tables, served by a small i18n::Catalogs backend. Loading is a loop
over static data and works on 256 KiB thread stacks, so the minimum-stack
override and the early main-thread load are removed.

Refs #1517
…onalization

# Conflicts:
#	src/adapters/local_operations.rs
@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

i18n visual QA sweep — round 3

Build swept: 3064561d (the PR head with the round-2 fixes). R2 IDs refer to the round-2 sweep; round-1 IDs (A1…H1) refer to the round-1 sweep. Languages: en baseline plus fr, de, es, ja, pt-BR, ko, vi, it and ru.

Method: the same 16 scopes re-ran a snapshot binary of 3064561d on private Xvfb displays with private D-Bus and AT-SPI buses. Each scope re-verified its round-2 items on screen (the layout fixes had only been checked in code) and looked for new problems. New surfaces this round include the progress dock, the folder-peek popover, archive free-space, hard-link and FIFO errors, the chooser download progress row, unreadable-file previews, theme-editor large text and the unlock not-found card. Every capture was confirmed to come from a fresh process in the requested language.

Screenshots and AT-SPI dumps are kept locally and are not attached here. File and line references are at 3064561d; paths are under src/ unless shown otherwise, and catalogs are data/locales/<lang>.json, data/locales/messages/<lang>.json and data/locales/counts.json.

CI: after the swept build, 9615a08e (fix(i18n): embed catalogs as static tables so loading needs little stack) fixed the CI stack overflow, and e09ff913 merged upstream main. Neither changes catalog values or UI strings, so the findings below still apply. All 13 checks are green on e09ff913.

Trend

Round 1 Round 2 Round 3
Distinct items (deduplicated across scopes) 157 40 30
Cut-off / layout 13 13 7
Untranslated / mixed-language 76 (B + C) 4 6
Formatting 6 6 4
Catalog wording / terminology / typography 24 15 11
Accessibility-only 15 0 0 (folded into the groups above)
Source-only 22 2 2
Test gap 1 not re-assessed not re-assessed

Of the 30 round-3 items:

  • 14 are residuals of round-2 items that are only partly fixed (cited per item).
  • 2 are sites a round-2 fix missed: the restore body (R2-19) and one ru heading (the round-2 "объекты" nit).
  • 14 are new. Three of them were exposed or caused by round-2 fixes: R3-2 (the R2-13 wrapping change), R3-18 (the R2-14 error text) and R3-21 (localized I/O reasons now embedded mid-sentence).

The untranslated group grew from 4 to 6 only because R2-14 was one grouped item in round 2; its four remaining sites are listed separately here (R3-8, R3-11, R3-12 and R3-13).

Per-scope results

"Reported" is the issues: count each scope gave. Findings that several scopes share are merged into one item.

Scope Reported Items
theming (theme) 2 R3-5, R3-24
updates-about (upd) 2 R3-8, R3-9
keyboard (kbd) 1 R3-6
file-chooser (chooser) 2 R3-8, R3-10
pointer-selection (ptr) 1 R3-3
previews (prev) 2 R3-12, R3-29
navigation (nav) 1 R3-11
search-filter (search) 0 —
archives (arch) 7 R3-1, R3-2, R3-14, R3-16, R3-20, R3-21, R3-30
desktop-integration (desk) 2 R3-1, R3-13
dialogs-menus (menus) 2 R3-18, R3-19
settings-general (settings) 5 R3-4, R3-22, R3-23, R3-27, R3-28
browser-modes (modes) 1 R3-7
trash (trash) 1 R3-17
accessibility (a11y) 1 R3-25
file-operations (fileops) 3 R3-15, R3-18, R3-26
Total 33 30 distinct

Merged: R3-1 (desk + arch, also noted uncounted by nav, upd and prev), R3-8 (upd + chooser) and R3-18 (menus + fileops).

Round-2 items confirmed fixed on screen

  • Fully fixed (27): R2-1, R2-2, R2-3, R2-6, R2-7, R2-9, R2-10, R2-11, R2-17, R2-18, R2-20, R2-21, R2-22, R2-23, R2-24, R2-25, R2-26, R2-27, R2-28, R2-29, R2-30, R2-31, R2-33, R2-35, R2-36, R2-37 and R2-38.
    • Layout: the update pill wraps to up to four lines with nothing ellipsized (R2-1). The g chord keycaps replace the row icons, so "Persönlicher Ordner" and "Домашняя папка" stay whole in the main window and the chooser (R2-2). At 48 px, ru theme names wrap beside "СВЕТЛАЯ" (R2-3). The exclusions entry stacks at about 1000 px with the full placeholder (R2-6). The partial-search status wraps from 480 to 640 px in all 10 languages (R2-7). The archive password row fits at 820 and 700 px (R2-9). The unlock error card replaces the waiting card, and the waiting label wraps between words (R2-10, R2-11).
    • Formatting: completed counters are grouped ("40.002/40.002", "40 002/40 002"). Durations, sizes and the fr "Mo"/"ko" units are localized. The ja terminal list wraps between names. "%{name}: %{error}" follows fr spacing. The 10X pill is one whole-sentence key.
    • Wording: lower-case ru/vi summary fragments. The F1 row quotes the exact pinned heading. "Preview pane", 構成フォルダー/구성 폴더, "%{label} color" titles, pt-BR "Lixeira" and vi "Thùng rác". "Folder peek" matches the setting. One thumbnail term each in de and ko. de "Neuer Tab / Tab schließen". it "file manager", ru "задание", vi "terminal" and "phân vùng".
    • Settings search: localized keywords such as de "Doppelklick", ja "ダブルクリック" and vi "nhấp đúp" all find Opening items (R2-17).
  • Fixed, with a residual or a missed site counted this round:
    • R2-13: dialog paragraphs, bullets and ja wrapping are fixed in every dialog scope; Korean still breaks inside words (R3-1).
    • R2-14: localized OS text with no "(os error N)" and no .strata-* paths. This holds for copy, move, rename, New Folder/File, delete, trash, restore, extract, compress, theme save, media playback, drops and stale pins. Four sites remain (R3-8, R3-11, R3-12 and R3-13).
    • R2-15: every reachable model error is translated; the sandbox start-up errors remain (R3-29).
    • R2-16: the reason is translated in all 10 languages; es and vi start it with a capital (R3-23).
    • R2-19: the delete and trash bodies are singular; the restore body is not (R3-17).
    • R2-32: fixed in de and ru; es, it, pt-BR and vi still capitalize (R3-22).
    • R2-34: the fr catalog uses NBSP throughout, but message dialogs strip it (R3-19).
  • Partly fixed on screen:
    • R2-4: no line starts with "·", but hints split at "/" (R3-6).
    • R2-5: the row label wraps between words, but the Single/Double segments now split (R3-4).
    • R2-8: the dialog fits at 900 px and at the default text size; de and ru still overflow at 700 px with 20 px text (R3-3).
    • R2-12: still cut, as "Link interro…" (R3-7).
  • Remainders: R2-39 is accepted (see below). R2-40 remains as R3-30.
  • Still holding from round 1: context menus grow to fit (A1), menu headings and Open With headings (B4, B18, B19), and the About, channel and dialog labels (B52–B55). Plurals (ru 0/1/2/5/21/22/25), digit grouping and localized sizes and dates are correct on every surface checked. No tofu, mojibake, raw keys or unreplaced %{…} were seen.

Cut-off / layout

  • R3-1 Korean text breaks in the middle of words. Residual of R2-13 / A10.
    • Seen: "…파일 관리자 키 / 보드 단축키도…" (Settings > System file manager), "다음 중 하나를 설 / 치하세요:" (no-terminal dialog), "…번호가 붙은 사 / 본을…" (archive collision dialog), "…열 수 없습 / 니다." (network:// error) and the update pill "사용 가 / 능".
    • Cause: Pango follows UAX Avoid logging full sensitive filesystem paths by default #14, which allows a break between any two Hangul syllables. Korean separates words with spaces, so this needs CSS keep-all behaviour.
    • Languages: ko. Scopes: desk, arch (nav, upd and prev noted it without counting).
    • Source: the controls::dialog_text labels (ui/controls.rs:307, :382), ui/portal_preferences.rs:26, and every wrapped label.
    • Fix: for ko, insert U+2060 WORD JOINER between consecutive Hangul syllables in each space-separated word, in a shared helper.
  • R3-2 Pango inserts a false hyphen into a path that runs into a Korean particle: "…/fx/readonly-" / "에 아카이브를 만들 수 없습니다", so the folder reads as "readonly-". New; a side effect of the R2-13 WordChar wrapping.
    • Languages: ko (any %{folder}에 or %{name}을 value). Scope: arch.
    • Source: the controls::dialog_text labels (ui/controls.rs:285-301, :373-374).
    • Fix: set insert_hyphens = false (AttrInt::new_insert_hyphens) on dialog text labels.
  • R3-3 The multi-item folder-merge dialog still grows wider than a narrow window. Residual of R2-8.
    • Seen: de at 20 px text in a 700 px window is about 790 px wide; "Ersetzen" and the close button are off-screen and the body is cut ("…demselbe"). de at 13 px in 560 px shows "Erset". ru at 20 px in 700 px clips "Заменить". en, fr, es, it, pt-BR, vi, ja and ko fit under the same conditions.
    • Languages: de, ru. Scope: ptr.
    • Source: ui/browser/transfer.rs:1004-1020 (five buttons in a non-wrapping action box); wrap_button_label (ui/controls.rs:245, WrapMode::Word) gives each button the width of its longest word ("Zusammenführen", "Überspringen").
    • Fix: let the action row reflow (a vertical layout below a width threshold, or Cancel/Skip on a second row), and cap the modal at the overlay width.
  • R3-4 Opening items at text size 28: the Single/Double segments break inside words with false hyphens. de shows "Ein-/fach" and "Dop-/pelt" on the Columns row; ru shows "Один-/арный" and "Двой-/ной" on all three rows, and the columns no longer line up. Residual of R2-5 / A2.
    • Languages: de, ru (en and pt-BR fit). Scope: settings.
    • Source: ui/settings.rs:412-418. activation_compact uses a fixed 620 + 320 × (scale − 1) instead of the measured width.
    • Fix: choose the stacked layout from the measured natural widths, and never let the segment labels wrap inside a word.
  • R3-5 Theme editor at text size 48: every color label is hyphenated inside the word ("Ф-/он", "Повер-/хность", "Hinte-/rgrund", "Gef-/ahr") once the longest label wraps, even with most of the row empty. New.
    • Languages: de, ru (en and ja fit; ru fits at 20 px). Scope: theme.
    • Source: constrain_page_text (ui/settings.rs:2948-2962, WordChar on every settings label), the labels in color_field_row (ui/settings/theme/editor.rs:88-89), and the homogeneous FlowBox at editor.rs:61-74.
    • Fix: make the FlowBox non-homogeneous, or give the labels hexpand with WrapMode::Word (or exclude them from constrain_page_text).
  • R3-6 F1 hint line at 640 px splits a hint at its slash: ru "… · стрелки/" | "hjkl перемещение", de "Pfeiltasten/" | "hjkl bewegen", fr "flèches/", vi "phím mũi tên/". No line starts with "·" any more. Residual of R2-4 / A13.
    • Languages: de, fr, ru, vi. Scope: kbd.
    • Source: ui/shortcut_footer.rs:725-731 replaces only spaces with U+00A0.
    • Fix: also wrap "/" in word joiners ("\u{2060}/\u{2060}"), or lay out each hint as its own item in a wrap box.
  • R3-7 List Type column still cuts "Broken link", now to "Link interro…". Residual of R2-12 / A8.
    • Languages: it. Scope: modes.
    • Source: data/locales/it.json:82 ("Link interrotto", 15 characters; the column fits about 12).
    • Fix: use "Link rotto".

Untranslated / mixed-language

  • R3-8 Network errors still end in raw ureq English, with "(os error N)". Residual of R2-14; carry-over C8 / B56.
    • Seen: de "Die Datei konnte nicht heruntergeladen werden: io: Connection refused (os error 111)"; ru "Не удалось загрузить файл: http status: 404"; de "…: io: failed to lookup address information: Name or service not known"; de "Updates konnten nicht geprüft werden: Netzwerkanfrage fehlgeschlagen: io: Connection refused (os error 111)"; and the same detail in the ru AUR check.
    • Languages: all, en included. Scopes: upd, chooser.
    • Source: services/remote_download.rs:94, :139 (download_failed(&error.to_string())); services/update_check.rs:622-629 (the catch-all at :628); services/update_install.rs:255 (AUR query).
    • Fix: match ureq::Error. Send Io through io_error_message, after adding ConnectionRefused/Reset/HostUnreachable/NetworkUnreachable kinds. Map StatusCode(n) to "The server returned HTTP %{code}", and give host-not-found and timeout short translated texts.
  • R3-9 A cached update-check error is stored as a finished, localized sentence and replayed in the old language. With an English cache, the de UI showed "Updates konnten nicht geprüft werden: Network request failed: io: Connection refused". New.
    • Languages: all. Scope: upd.
    • Source: services/update_check.rs:520-531 writes the message into the cache; check_from_cache (:458-466) returns it as is.
    • Fix: cache a language-neutral error (kind plus HTTP code or raw detail) and localize it on display, or treat an error cache as stale.
  • R3-10 The chooser download progress row is English: de "0 B downloaded", ru "0 Б downloaded". The progress ring's accessible value "N% downloaded" is also English (found in source). New; missed in rounds 1 and 2.
    • Languages: all. Scope: chooser.
    • Source: ui/chooser/download.rs:153 (format!("{} downloaded", …)) and :139-142 ("{}% downloaded"). Neither has a catalog key.
    • Fix: add t!("%{size} downloaded") and a percent key (shared with R3-15).
  • R3-11 A path that runs through a file shows raw OS text: en "Unable to open that location: Not a directory (os error 20)", de "…: Not a directory (os error 20)", ja "その場所を開けません:Not a directory (os error 20)". Residual of R2-14.
    • Languages: all, en included. Scope: nav.
    • Source: adapters/local_files.rs:251-257. map_validation_error maps only NotFound and PermissionDenied, and falls back to Unavailable(error.to_string()) at :256. The GIO branch at :272 does the same.
    • Fix: map NotADirectory to LocationValidationError::NotDirectory, and use io_error_message / gio_error_message in the fallbacks.
  • R3-12 Unreadable files in the preview pane show "Permission denied (os error 13)" under the translated title "Vorschau nicht verfügbar" / "プレビューを表示できません". This applies to text, image, archive and Markdown previews. Residual of R2-14.
    • Languages: all. Scope: prev.
    • Source: adapters/local_preview.rs:299 (query_info failure) and :832-837 (read_text) use error.to_string(). ui/preview.rs:1316-1318 passes system text through unchanged.
    • Fix: map I/O and GIO errors through io_error_message / gio_error_message before emitting PreviewEvent::Failed.
  • R3-13 A terminal launch failure embeds raw OS text: de "Terminal „…/kitty“ konnte nicht gestartet werden: Text file busy (os error 26)". Residual of R2-14 / G18.
    • Languages: all. Scope: desk.
    • Source: ui/terminal.rs:199-203 (launch_failure passes the raw io::Error). The same class exists in source only for unmount, eject, lock and format: ui/window/device_release.rs:514 (error.to_string()), :542 (a glib::Error that skips gio_error_message) and ui/window/drive_ops.rs:158 ("I/O error: %{error}").
    • Fix: use io_error_message / gio_error_message at all four sites.

Formatting

  • R3-14 Archive free-space errors show raw, ungrouped byte counts: de "Die angegebene Archivgröße (34359738352 Byte) übersteigt den freien Speicherplatz von 24853635072 Byte am Ziel", ru "34359738352 байт", fr "34359738352 octets". New.
    • Languages: all. Scope: arch.
    • Source: adapters/local_operations/archive/extraction.rs:198-205 (preflight_claimed_size), :219 ("…declared %{declared} bytes, but only %{available} bytes are free…") and :632-638 ("(%{available} bytes available)").
    • Fix: pass the values through the shared size formatter, and reword the keys to use %{size}.
  • R3-15 The progress-dock percentage is not localized: fr "99%" and "100%" beside "40 002/40 002" and "28,9 ko/s". The catalog's own update-pill key already uses "%{value1} %" in fr and de. New.
    • Languages: fr, de. Scope: fileops.
    • Source: format!("{}%", …) at ui/browser/progress.rs:131, :139, :608 and ui/browser/progress/presentation.rs:55.
    • Fix: add a %{percent}% key or an i18n::percent helper, and use it here and in R3-10.
  • R3-16 A Latin ". " is inserted between Japanese sentences: "…ハードリンクです. 展開した項目は hardlinkに残っています。". New.
    • Languages: ja. Scope: arch.
    • Source: append_sentence (adapters/local_operations/archive/extraction.rs:600-609) adds ". " unless the text ends in "。". It is used by failure_message (:494) and the password-discard path (:468).
    • Fix: add a localized joiner key ("%{first} %{second}", ja "%{first}。%{second}").
  • R3-17 The restore confirmation body is always plural: "Restore 1 item?" over "These items will be moved back to the original locations shown above." (de "Diese Elemente…", ru "Эти элементы…", ja "これらの項目は…"). A site the R2-19 fix missed.
    • Languages: all, en included. Scope: trash.
    • Source: ui/browser/trash.rs:634-636.
    • Fix: when one item is restored, use a singular key ("This item will be moved back to the original location shown above.").

Catalog wording / terminology / typography

Several languages

  • R3-18 The default new-item name is inserted bare into "Could not create %{name}: %{error}", which breaks the grammar. New; exposed by the R2-14 fix.
    • Seen: ru "Не удалось создать новая папка: Доступ запрещён" (wrong case), fr "Impossible de créer nouveau dossier : …", es "No se pudo crear carpeta nueva: …", it "Impossibile creare nuova cartella: …", pt-BR "Não foi possível criar nova pasta: …", ko "새 폴더을(를) 만들 수 없습니다".
    • Languages: ru, fr, es, it, pt-BR, ko (de, ja and vi read acceptably). Scopes: menus, fileops.
    • Source: adapters/local_operations/create_entry.rs:153-160 and the Could not create %{name}: %{error} values.
    • Fix: quote the name in every catalog, as "“%{name}” already exists" does (ru «%{name}», fr « %{name} » with NBSP, ko "“%{name}”을(를)").
  • R3-19 Message dialogs turn every no-break space into a breakable space. This undoes the R2-34 fr NBSP fix in all message-dialog titles, subtitles and bodies and in the auth dialog. It also lets grouped numbers ("1 234") and « xdg-terminal-exec » break across lines. AT-SPI shows "Suppression impossible : …" with U+0020, while non-dialog labels keep U+00A0. Residual of R2-34.
    • Languages: fr mainly, and any language whose dialog text has U+00A0 or U+202F (ru digit groups). Scope: menus.
    • Source: controls::dialog_text (ui/controls.rs:285-301) splits with split_whitespace() (:289), and Rust counts U+00A0 and U+202F as whitespace.
    • Fix: split only on ASCII space and tab, so U+00A0, U+202F and U+2007 survive.
  • R3-20 Archive errors quote names with Markdown backticks: de "Das Archivelement link.txt ist ein harter Link auf missing.txt…", ja "アーカイブ内の link.txtは", with a space on one side only. The rest of the archive UI uses „…“, « … », «…» and 「…」. New.
    • Languages: all, en included. Scope: arch.
    • Source: about 20 keys, for example "Archive member %{name} …", "Could not open %{path}: %{error}" and "Extracted entries remain in %{folder}." They are used at adapters/local_operations/archive/extraction.rs:597 and destination.rs:141, :320, :345, :393, :551, :605, :623 and :633.
    • Fix: use each language's quotation marks.
  • R3-21 The localized I/O reason starts with a capital letter in the middle of a sentence: fr "Impossible de créer l’archive dans … : Autorisation refusée", ru "…: Доступ запрещён", es "…: Permiso denegado", it "…: Autorizzazione negata", pt-BR "…: Permissão negada", vi "…: Quyền truy cập bị từ chối". New.
    • Languages: fr, ru, es, it, pt-BR, vi (de nouns and ja/ko are correct). Scope: arch. The same pattern appears in every "…: %{error}" dialog that other scopes checked.
    • Source: services::io_error_message returns standalone, capitalized text that is substituted into "%{…}: %{error}" keys (for example archive/compression.rs:172 and archive/destination.rs:117).
    • Fix: add a per-language lowercase_first for embedded reasons (the inverse of R2-24's capitalize_first), or provide fragment variants.
  • R3-22 The Library requirement line still capitalizes after the colon: es "Requiere: Solo Python 3; …", it "Richiede: Solo Python 3; …", pt-BR "Requer: Apenas Python 3; …", vi "Yêu cầu: Chỉ cần Python 3; …". Residual of R2-32, which fixed de and ru only.
    • Languages: es, it, pt-BR, vi. Scope: settings.
    • Source: data/locales/{es,it,pt-BR,vi}.json:649.
    • Fix: lowercase the values (use a separate key if the accessible description needs a capital).
  • R3-23 The action-row unavailability reason starts with a capital mid-summary: es "Comando · por elemento · carpetas · No se encontró «qa-missing-tool» en tu PATH", vi "… · Không tìm thấy “qa-missing-tool” trong PATH". Residual of R2-16.
    • Languages: es, vi. Scope: settings.
    • Source: summary() in ui/settings/actions.rs appends user_message(), whose value is at data/locales/messages/{es,vi}.json:912. The same text stands alone in dialogs, where the capital is correct.
    • Fix: lowercase the first letter when joining it into the summary (the same helper as R3-21).

de

  • R3-24 The Appearance sidebar button's accessible name uses a different term: it is announced as "Darstellungseinstellungen" while the label and page title say "Erscheinungsbild". New.
    • Scope: theme.
    • Source: data/locales/de.json:49 ("Appearance settings"), used at ui/settings.rs:2913-2914.
    • Fix: "Erscheinungsbild-Einstellungen".

ja

  • R3-25 The 10xer mode name is spaced two ways: "10xerモード" (the Settings switch, the pill and "10xerモードが有効です") vs "10xer モード" (the F1 rows "10xer モードをオン" and "10xer モードを切り替え", and "10xer モードでは使用しません。"). New.
    • Scope: a11y.
    • Source: data/locales/messages/ja.json:532, :808 and :823; compare with data/locales/ja.json:10-11.
    • Fix: use "10xerモード" everywhere.
  • R3-26 One error line mixes a full-width and an ASCII colon: "• locked.txt:locked.txtを削除できませんでした: アクセスが拒否されました". The ja catalogs use ":" in 69 values and ": " in 112. New.
    • Scope: fileops (menus and arch noted it without counting).
    • Source: data/locales/messages/ja.json:74 ("%{name}:%{error}") vs the ": %{error}" error keys.
    • Fix: choose one style for ja error-detail templates. The simplest is ": " in %{name}: %{error}.

ko

  • R3-27 The Library requirement line repeats "필요": "필요: Python 3만 필요, 추가 패키지 없음". New.
    • Scope: settings.
    • Source: data/locales/ko.json:649 combined with "필요: %{value1}" (data/locales/messages/ko.json:637).
    • Fix: "Python 3만, 추가 패키지 없음".

ru

  • R3-28 The Opening-items heading still says "ОТКРЫТИЕ ОБЪЕКТОВ", while round 2 aligned ru on "элементы": the search title reads "Открытие элементов", and nearby rows say "Элементы в боковой панели". This key was missed by the round-2 "объекты" → "элементы" change.
    • Scope: settings.
    • Source: data/locales/ru.json:546.
    • Fix: "ОТКРЫТИЕ ЭЛЕМЕНТОВ".

Source-only

  • R3-29 Preview sandbox start-up errors are built with format!, so tr can never match them. Without bwrap in a trusted directory, every sandboxed preview would show "Unable to start the preview sandbox: bwrap was not found in a trusted system directory" under a translated title. "Unable to open preview input: {error}" and "Unable to inspect preview input: {error}" have the same problem. Remainder of R2-15.
    • Languages: all. Scope: prev.
    • Source: sandbox.rs:469, :489 and :417-419; sandbox/media.rs:152, :180; sandbox/archive.rs:123. The detail comes from trusted_command.rs:66-68.
    • Fix: show fixed catalog text ("The preview sandbox (bubblewrap) is not available") and log the detail, or use %{error} keys with a localized error.
  • R3-30 Remaining English archive errors. Remainder of R2-40 / C5.
    • Sites: the zip fallback error.to_string() (adapters/local_operations/archive/compression.rs:189); raw 7z writer errors (:791); "RAR support is disabled in this build." (sandbox_helper.rs:41, adapters/local_operations/archive.rs:306); "RAR compression is not supported" (archive.rs:163); and "RAR member produced fewer bytes than declared" and the other RAR errors (rar_extraction.rs:188-317).
    • Languages: all. Scope: arch.
    • Fix: t! keys, with io_error_message for the error values.

Accepted limitations (not counted going forward)

These come up every round. They are outside Strata's catalogs or are deliberately English, so later rounds will note them without counting them.

  • GTK toolkit-owned text: GtkColorChooser ("Custom", "Cancel", "Select" and swatch names such as "Light Blue"), GtkNotebook "Page N" and the PasswordEntry peek "Show Text". GTK translates these from the process locale, not Strata's language setting.
  • GIO/MIME descriptions: content-type names such as "Plain text document", "Folder" and "Shell script" in Properties and the List Type column, and Open With app descriptions. They come from shared-mime-info and desktop files in the process locale.
  • External release notes: written upstream on GitHub and shown verbatim.
  • Library parser details: for example the TOML "key with no value, expected =" in the Actions PROBLEMS row. Strata's prefix is translated, but the parser's diagnostic is library text.
  • Custom-action starter template: the Python docstring and comments are code that users edit, so they stay English.
  • Internal worker and task-panic diagnostics: the R2-39 remainder ("Copy worker failed", "Delete task panicked", "Restore worker failed", …), plus the rare decoder and renderer diagnostics noted with R2-15 ("Truncated decoded frame", "The preview renderer produced no output"). They appear only if a background thread or helper fails internally.

Uncounted i18n nits (judgment calls)

  • ko: the plural delete and trash bodies reuse the singular "이 항목은" ("this item"), while the restore body uses "이 항목들은". Plural marking is optional in Korean.
  • ru: Settings shows "Домашний каталог" for the default-folder button, but the sidebar says "Домашняя папка". The English source mixes "directory" and "folder" (F1 "Open focused directory").
  • ja and ko: some text leaves a single trailing syllable on its own line ("…お試しくださ / い。", "…사용해 보세 / 요."), and the ja Action delete body ends with a lone "す。".
  • de, fr, es, it and pt-BR: "xdg-terminal-exec" breaks at its hyphen in the no-terminal body.
  • de, ru and fr: the permanent-delete subtitle "1 Element · 6 B werden … gelöscht" uses a plural verb under a singular body.
  • The Ctrl+K palette's wrapped hint is left-aligned inside a centered block at 640 px.

Non-i18n observations (functional / layout / accessibility; all languages incl. en)

  • Dialogs and wording:
    • The Delete and Conflict dialogs put initial focus on the destructive button, so Return confirms.
    • "Operation cancelled" still uses the "An error occurred" subtitle and counts the interrupted item as failed (carry-over E5).
    • "File already exists" is the title for folder conflicts (carry-over).
    • The permanent-delete title and subtitle count different numbers for folder trees (carry-over).
    • The partial-delete dialog lists only the first failing child per folder.
    • A single failed delete says "The remaining items were processed" when there were none.
    • Undoing a rename into a read-only folder is titled "Could not rename item" over "Could not move y.txt". A cross-device Move says "Could not copy".
  • Progress: Move to Trash shows "Deleting items" / "Delete complete" (carry-over). On the completion toast the bar is about 80% full while the label says 100%.
  • Previews:
    • Unreadable MP3/MP4 report "truncated or damaged", unreadable STL reports "invalid or damaged" and unreadable PDF reports "the sandboxed renderer failed".
    • A fake PNG shows the same text as title and detail (carry-over).
  • Updates:
    • The pill is a text button with a tooltip (carry-over), and its accessible name includes "●" and a newline.
    • The check-failed status repeats its title in the message.
    • The Channel row shows the build kind (carry-over).
    • After an install failure, both Cancel and Close are shown.
  • Accessibility:
    • The theme-editor color buttons and the theme name entry have no accessible name.
    • The System file manager ✕ status icons have no name.
    • The 10X pill's description repeats the experimental phrase (carry-over).
    • The g chord hint popover was missing from the AT-SPI tree at dump time.
  • Layout and theming:
    • With date_format = "long" the List Modified column truncates the time, en included.
    • The unlock status card covers the pane path header and toolbar, and its error text uses the accent colour.
    • The Columns "Retry" button renders light on dark themes (carry-over).
    • A long find-flash query is not ellipsized and pushes the count and the 10X pill past the footer edge.
    • Appearance popover accelerators read "Ctrl + H", but menus read "Ctrl+H".
    • Context menus leave about one character between a long label and its accelerator (carry-over).
  • Chooser:
    • "Convert image to PNG?" has an empty body band, and directory-mode OpenFile is titled "Open Files" (carry-overs).
    • In the 10xer chooser, d d trashes the focused item.
  • Other:
    • In 10xer, d in an entered empty folder targets the parent's cursor item (carry-over).
    • The recursive filter's footer count ignores its results, and Columns view shows no partial or no-match status (carry-over).
    • The search palette indexes host drives under /run/media even with an isolated HOME.
    • The ja/ko Settings search results leave stray pixel fragments (redraw).

wmfeht added 7 commits October 8, 2026 03:48
…-neutrally

Map ureq failures to a serializable NetworkError (HTTP status, catalog
reason or library detail) and localize it when shown, so downloads,
update checks and the AUR query no longer embed raw English "io: ...
(os error N)" text. The update-check cache stores that value instead of
a translated sentence; a cache written by an older version is stale.

Add error_detail, io_error_detail and gio_error_detail for reasons that
continue a sentence after a colon, and network kinds to io_error_message.
…ails

Route the remaining raw OS and GIO errors through the localized helpers:
location validation (not a folder), unreadable previews, sandbox start-up,
terminal launch, unmount/eject and drive operations. Archive messages
quote names with each language's quotation marks instead of backticks,
show free-space and declared sizes with localized units, join sentences
with a translatable separator, and log untranslatable encoder and RAR
helper diagnostics behind fixed text.

The new-item failure quotes the default name ("Could not create “New
Folder”: ...") so it reads correctly in inflected languages, and the
action-row unavailability reason continues the summary in lower case.
Pango may break between any two Hangul syllables and hyphenates words it
has to split. controls::keep_words_whole disables inserted hyphens and
marks short Korean words as unbreakable; it is applied to dialog text,
Settings labels, the authentication and drive-label dialogs and the
sidebar update notice. dialog_text now normalizes only ASCII spaces and
tabs, so French no-break spaces and digit-group spaces survive, and each
F1 footer hint stays on one line instead of splitting at its slash.
…hs and large text

The folder-merge dialog stacks its five actions once it is narrowed to
the window, so long German and Russian labels no longer push Replace
off-screen. The Opening-items matrix stacks further when a translated
choice gets less than its natural width, and theme-editor color labels
wrap between words instead of being hyphenated inside them.
Add i18n::percent ("%{value}%", with a narrow no-break space in French
and a no-break space in German) for the progress dock and the chooser
download ring, translate the chooser's "%{size} downloaded" row, make the
update pill's spaced percent non-breaking, and use a singular restore
body when one item is restored.
Japanese uses the ASCII colon everywhere, so nested "%{name}: %{error}"
templates no longer mix styles, and "10xerモード" is spelled one way.
Also: it "Link rotto", de "Erscheinungsbild-Einstellungen", ru "ОТКРЫТИЕ
ЭЛЕМЕНТОВ", lower-case Library requirement values in es/it/pt-BR/vi and
no repeated "필요" in ko.
…ing helpers

Describe the after-colon error detail helpers, NetworkError, i18n::percent, controls::keep_words_whole and stack_actions_when_constrained, the quotation-mark, Japanese colon and French typography rules, and the accepted limitations of the translation.
@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

i18n sweep round 3 — fixes

Fixes for the round-3 sweep (R3-1…R3-30), on top of e09ff913.

Commits

  • 6d31b590 fix(i18n): localize network errors and cache update failures language-neutrally
  • 38650cdc fix(i18n): localize remaining archive, preview and location error details
  • 2aca5f31 fix(ui): keep Korean words and no-break spaces intact in wrapped text
  • cf820097 fix(ui): reflow conflict actions and settings controls at narrow widths and large text
  • c40831ff fix(i18n): localize percentages, download progress and restore wording
  • f1f91385 fix(i18n): correct catalog wording, quotes and Japanese colons
  • 5d379b73 docs(i18n): document error details, network errors, percent and wrapping helpers

Catalogs: +16 main keys, +29 messages keys and 4 new counts.bytes.* forms. 22 messages keys were removed: the 21 archive keys that quoted names with backticks or showed raw byte counts, and "Could not create %{name}: %{error}". 6 main and 75 messages values changed (mostly ja colons), plus the fr/de update-pill percent values.

Per item

Layout items are fixed in code. Where noted, the fix agent checked them in screenshots on a private display. Round 4 should re-check them all.

Cut-off / layout

  • R3-1 fixed in code, to be re-checked in round 4. The new controls::keep_words_whole sets Pango allow_breaks=false on space-separated words of 2–12 characters that contain Hangul, so Korean wraps only between words. Longer runs, such as file names, can still break so they cannot widen a dialog. It is applied to message-dialog titles, subtitles and bodies, Settings page labels (including System file manager), the authentication dialog, the drive-label hint and the sidebar update notice. The fix agent's screenshots of the ko folder-merge dialog at 13 px/560 px and 20 px/700 px show no word split.
  • R3-2 fixed in code, to be re-checked in round 4. keep_words_whole also sets insert_hyphens=false, so a path that runs into a Korean particle no longer gets a false hyphen.
  • R3-3 fixed in code, verified by the fix agent's screenshots, to be re-checked in round 4. controls::stack_actions_when_constrained stacks the five folder-merge actions vertically once the dialog is narrowed to the window. Screenshots: de 20 px/700 px and de 13 px/560 px show all five buttons, including "Ersetzen", inside the dialog. At 13 px/1200 px they stay in one row.
  • R3-4 fixed in code, verified by the fix agent's screenshots, to be re-checked in round 4. The Opening-items matrix now also stacks based on measured widths: once any choice gets less than its one-line width, it stacks further at that width. Screenshots: de and ru at 28 px show "Einfach/Doppelt" and "Одинарный/Двойной" whole.
  • R3-5 fixed in code, verified by the fix agent's screenshots, to be re-checked in round 4. Theme-editor color labels expand and wrap between words (WrapMode::Word, class settings-word-wrap). Screenshots: de and ru at 48 px show no hyphenated labels.
  • R3-6 fixed in code, verified by the fix agent's screenshots, to be re-checked in round 4. Each F1 footer hint and its following "·" are one unbreakable span, so lines break only after a separator. Screenshots: de and ru at 640 px keep "Pfeiltasten/hjkl bewegen" and "стрелки/hjkl перемещение" whole.
  • R3-7 fixed: it "Link rotto".

Untranslated / mixed-language

  • R3-8 fixed. A new NetworkError turns ureq errors into an HTTP status, a catalog reason or a library detail. The catalog reasons are connection refused, reset or interrupted, server unreachable, network unreachable or down, host not found, could not connect, TLS failure, too many redirects and timed out. It is used for file downloads, update checks, update downloads and the AUR query. io_error_message also maps the connection kinds. Example: "Could not download the file: The server returned HTTP 404".
  • R3-9 fixed. The update-check cache now stores the language-neutral failure and localizes it when shown. A cache from an older version that has the translated error string is treated as stale and re-checked.
  • R3-10 fixed. The chooser row uses "%{size} downloaded", and the ring's accessible value uses "%{percent} downloaded" with i18n::percent.
  • R3-11 fixed. NotADirectory maps to "That location is not a directory.", and the other I/O and GIO fallbacks use the localized reason.
  • R3-12 fixed. Preview query_info, read_text and image/file open failures go through gio_error_message or io_error_message.
  • R3-13 fixed. Terminal launch, unmount/eject flush and GIO failures, and drive-operation I/O errors all use the localized reason.

Formatting

  • R3-14 fixed. Free-space and declared-size messages use i18n::file_size ("(4 B available)"). Declared-vs-produced member sizes use the new bytes count ("declared 1,000 bytes").
  • R3-15 fixed. The new i18n::percent ("%{value}%": fr "42 %" with U+202F, de "42 %" with U+00A0) is used by the progress dock. The update pill's fr/de "%{value1} %" now uses the same non-breaking spaces.
  • R3-16 fixed. Sentences are joined with the "%{first}. %{second}" key; ja uses "%{first}。%{second}".
  • R3-17 fixed. One restored item uses "This item will be moved back to the original location shown above."

Catalog wording / terminology / typography

  • R3-18 fixed. "Could not create “%{name}”: %{error}" quotes the name in every language (fr « … », ru/es «…», de „…“, ja 「…」, ko “…”을(를)).
  • R3-19 fixed. dialog_text splits only on ASCII spaces and tabs, so U+00A0, U+202F and U+2007 survive in dialogs.
  • R3-20 fixed. All archive messages quote names with each language's quotation marks, en included. Backtick keys are removed.
  • R3-21 fixed. io_error_detail, gio_error_detail and error_detail lower-case an embedded reason after a colon in fr, es, it, pt-BR, ru and vi, and leave acronyms such as "HTTP" alone. They are used in every "…: %{error}" site that takes a localized reason.
  • R3-22 fixed: es "Python 3; sin paquetes adicionales", it "Python 3; nessun pacchetto aggiuntivo", pt-BR "Python 3; sem pacotes extras", vi "Python 3; không cần gói bổ sung".
  • R3-23 fixed. The action-row summary passes the reason through error_detail, so es and vi continue in lower case. Dialogs keep the capital.
  • R3-24 fixed: de "Erscheinungsbild-Einstellungen".
  • R3-25 fixed: ja "10xerモード" everywhere.
  • R3-26 fixed. ja uses the ASCII colon everywhere (": " mid-line, ":" at the end of a line). No ":" remains in the ja catalogs.
  • R3-27 fixed: ko "Python 3만, 추가 패키지 없음".
  • R3-28 fixed: ru "ОТКРЫТИЕ ЭЛЕМЕНТОВ".

Source-only

  • R3-29 fixed. A missing or untrusted bubblewrap shows "The bubblewrap sandbox is not available", and the detail is logged. Spawn failures show "Unable to start the sandbox: %{error}" with a localized reason. Preview-input open and inspect failures show the localized reason.
  • R3-30 partial. Fixed: the zip and 7z writer fallbacks ("The archive could not be written"; the detail is logged), the RAR helper's fixed messages (translated in the parent), and declared-size mismatches ("This file is not a valid archive or is damaged."). The parent's "RAR compression is not supported" and "RAR support is disabled in this build." already had translated keys. Not fixed: two cases stay English. The framed-stream integrity checks in rar_extraction.rs ("RAR member produced fewer/more bytes than declared") appear only if the sandboxed decoder misbehaves, so they are treated as internal diagnostics. The helper-side "RAR support is disabled in this build." for CBR covers appears only in builds without the rar feature.

English-visible changes

  • Archive messages quote names with “…” instead of backticks, show sizes with units ("(4 B available)"), and use "declared 1,000 bytes".
  • "Could not create “New Folder”: …" quotes the name.
  • Network failures read "Could not download the file: The server returned HTTP 404" and "Network request failed: The connection was refused" instead of ureq text such as "http status: 404" or "io: Connection refused (os error 111)".
  • A path through a file reads "That location is not a directory."
  • Unreadable previews, terminal launch, unmount/eject and drive errors show the reason without "(os error N)".
  • Sandbox start-up reads "The bubblewrap sandbox is not available" or "Unable to start the sandbox: …".
  • Archive encoder failures read "The archive could not be written". A RAR member size mismatch reads "This file is not a valid archive or is damaged."
  • Restoring one item reads "This item will be moved back to the original location shown above."

tests/e2e/scenarios/test_archive_errors.py and the affected unit tests were updated for the new quoting.

Validation

  • Catalog check (all 10 languages): same keys in every language, placeholders preserved, no empty values, no key in both main and messages, and complete counts forms. Every literal tr(), t!, count and network-reason key in src exists. No fr value breaks the typography rule, no ":" remains in ja, and no new value uses backticks. Each commit's catalog state was checked the same way.
  • cargo check --all-targets: clean.
  • ./scripts/test-headless.py -- i18n:: services:: adapters:: sandbox ui::controls ui::settings ui::browser ui::window ui::chooser shortcut_footer ui::terminal: 2020 passed, 2 failed. Both failures are the same known host-only test, tenxer_preview_owns_document_keys_until_returned; it passes in the pinned container (see the full run below).
  • ./scripts/quality.sh (pinned container; fmt, clippy and the full test run): passed. 2462 passed, 0 failed, 9 ignored.
  • ./scripts/e2e.sh (pinned container, full suite): 956 passed in 3 min 51 s. This includes the text-size, archive-error, conflict and settings scenarios.
  • typos and git diff --check: clean.

Accepted limitations

These stay outside Strata's catalogs or are deliberately English. They are now listed in docs/internationalization.md, and later rounds will note them without counting them.

  • GTK toolkit-owned text: GtkColorChooser ("Custom", "Cancel", "Select", swatch names), GtkNotebook "Page N" and the PasswordEntry "Show Text". GTK translates these from the process locale.
  • GIO/MIME descriptions: content-type names and Open With app descriptions from shared-mime-info and desktop files.
  • External release notes: written upstream and shown verbatim.
  • Library parser details: for example the TOML diagnostic after Strata's translated prefix.
  • Custom-action starter template: code that users edit.
  • Internal worker and task-panic diagnostics: the R2-39 remainder, the rare decoder and renderer diagnostics, and the RAR framed-stream integrity checks (R3-30). They appear only if a background thread or helper fails internally.

@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

i18n visual QA sweep — round 4

Build swept: 5d379b73, the PR head with the round-3 fixes. R3 IDs refer to the round-3 sweep, R2 IDs to the round-2 sweep and round-1 IDs (A1…H1) to the round-1 sweep. Languages: en baseline plus fr, de, es, ja, pt-BR, ko, vi, it and ru.

Method: the same 16 scopes re-ran a snapshot binary of 5d379b73 on private Xvfb displays with private D-Bus and AT-SPI buses. Each scope re-checked its round-3 items on screen, including the round-3 layout fixes, which had only been checked in code or in the fix agent's screenshots. New surfaces this round include unreadable archives (extract, compress and preview), a zip with an unsupported compression method, update-install staging failures, "Copy version info", symlink loops and over-long names in the location bar, Follow Omarchy turned on, and the action editor in Korean. Every capture was confirmed to come from a fresh process in the requested language.

Screenshots and AT-SPI dumps are kept locally and are not attached here. File and line references are at 5d379b73; paths are under src/ unless shown otherwise, and catalogs are data/locales/<lang>.json, data/locales/messages/<lang>.json and data/locales/counts.json.

CI on 5d379b73: all 13 checks pass (gh pr checks 1519): Format, lint, and test; Quality build and lint; Rust tests shards 0–1; E2E build and plan; E2E shards 0–2; End-to-end GUI suite; Dependency and spelling policy; Metadata policy; Release workflow scripts; warm.

Trend

Round 1 Round 2 Round 3 Round 4
Distinct items (deduplicated across scopes) 157 40 30 14
Cut-off / layout 13 13 7 3
Untranslated / mixed-language 76 (B + C) 4 6 6
Formatting 6 6 4 1
Catalog wording / terminology / typography 24 15 11 2
Accessibility-only 15 0 0 0
Source-only 22 2 2 2
Test gap 1 not re-assessed not re-assessed not re-assessed

Of the 14 round-4 items:

  • 5 are residuals of round-3 items that are only partly fixed: R4-1 and R4-2 (R3-1), R4-4 (R3-12), R4-10 (R3-15) and R4-11 (R3-21).
  • 9 are new. Five of them are on surfaces exercised for the first time this round (R4-3, R4-5, R4-6, R4-8 and R4-12). R4-6 and R4-8 are the same class as R2-14: raw OS text where Strata has no localized reason.

Per-scope results

"Reported" is the issues: count each scope gave. Findings that several scopes share are merged into one item.

Scope Reported Items
theming 1 R4-12
updates-about 3 R4-6, R4-7, R4-11
keyboard 0 —
file-chooser 0 —
pointer-selection 0 —
previews 3 R4-4, R4-9, R4-13
navigation 1 R4-8
search-filter 0 —
archives 4 R4-4, R4-5, R4-10, R4-11
desktop-integration 0 —
dialogs-menus 1 R4-2
settings-general 2 R4-1, R4-3
browser-modes 0 —
trash 1 R4-11
accessibility 1 R4-10
file-operations 2 R4-10, R4-14
Total 19 14 distinct

Six scopes report 0: keyboard, file-chooser, pointer-selection, search-filter, desktop-integration and browser-modes.

Merged: R4-4 (archives extract path + previews listing path), R4-10 (archives + file-operations + accessibility) and R4-11 (updates-about + trash + archives, three sites).

Round-3 items confirmed fixed on screen

  • Fixed (24): R3-2 through R3-11, R3-13, R3-14, R3-16 through R3-20, and R3-22 through R3-28.
    • Layout:
      • Korean wraps only between words in message dialogs, Settings pages, the update pill (also at text size 20), the navigation, terminal, archive, trash and conflict dialogs, and the unlock cards (R3-1, except R4-1 and R4-2).
      • No false hyphen after a path that runs into a Korean particle (R3-2).
      • The five folder-merge actions stack vertically once the dialog reaches the window width: de and ru at 20 px/700 px, 13 px/560 px and down to 480 px. Every label is whole, "Ersetzen"/"Заменить" and the close button stay inside, and widening restores the row (R3-3).
      • The Opening-items matrix stacks at size 28 in de and ru with "Einfach|Doppelt" and "Одинарный|Двойной" whole. At 640 px/28 every language stacks with no mid-word break (R3-4).
      • Theme-editor color labels wrap between words at 48 px in de, ru, ja and ko (R3-5).
      • The F1 hint line breaks only after "·" in all nine languages at 640 and 520 px, also at 20 px text (R3-6).
      • it "Link rotto" fits the List Type column (R3-7).
    • Untranslated:
      • Network errors are localized with no ureq text or "(os error N)": downloads, update checks, AUR queries, release notes and signed-metadata downloads. "HTTP" keeps its case after the colon (R3-8).
      • The update-check cache is language-neutral: the same cache shows de text in de and ru text in ru, and a legacy translated cache is re-checked (R3-9).
      • The chooser download row and the ring's accessible value are translated, with the locale's percent format ("27 % heruntergeladen", "Téléchargé à 20 %") (R3-10).
      • A path through a file now navigates to the folder and selects the file; a pin through a file shows a localized "Not a folder" (R3-11).
      • Terminal launch failures show a localized, lower-cased reason with no errno (R3-13).
    • Formatting and wording:
      • Archive free-space and declared sizes are localized ("34,4 GB", "34,4 Go", "34.4 GB") (R3-14).
      • ja joins sentences with "。" (R3-16).
      • Restoring one item uses the singular body in every language (R3-17).
      • New-item names are quoted in every language: «новая папка», « nouveau dossier », „Neuer Ordner“, 「新しいフォルダー」 (R3-18).
      • U+00A0 survives in dialogs: guillemets stay attached and grouped numbers ("1 234") stay whole at 1200 and 560 px (R3-19).
      • Archive messages quote names with each language's marks; no backticks remain (R3-20).
      • The reason after a colon is lower case at the sites round 3 fixed, in fr, es, it, pt-BR, ru and vi (R3-21, except R4-11).
      • R3-22 to R3-28: es/it/pt-BR/vi Library lines, es/vi action-row summaries, de "Erscheinungsbild-Einstellungen", ja "10xerモード", ja ASCII colons, ko "Python 3만", ru "ОТКРЫТИЕ ЭЛЕМЕНТОВ".
  • Fixed, with a residual counted this round (4): R3-1 (R4-1, R4-2), R3-12 (unreadable text, image and Markdown previews are fixed; unreadable archives remain, R4-4), R3-15 (the running percent is localized; the completed card is not, R4-10) and R3-21 (three sites missed, R4-11).
  • Fixed in source, not reachable on screen (1): R3-29 (bubblewrap start-up errors).
  • Remainder accepted (1): R3-30 (RAR framed-stream integrity checks).
  • Still holding: context menus grow to fit (A1); R2-1, R2-2, R2-3, R2-6, R2-9, R2-10, R2-11, R2-13 and R2-19. Plurals (ru 0/1/2/5/21/22/25), digit grouping, localized sizes and relative dates are correct on every surface checked. No tofu, mojibake, raw keys or unreplaced %{…} appear in any capture or in the 530 AT-SPI dumps.

Cut-off / layout

  • R4-1 ko: words split inside the action editor. Residual of R3-1.
    • Seen:
      • Footer validation error (type "Bad Id" and press Create): "…점, 대 / 시, 밑줄만 사용해야 합니다", which splits "대시".
      • Script → Library popover, Batch rename description: "…덮어쓰지 않습니다. 기 / 존 이름은…", which splits "기존".
    • The Settings page, message dialogs and action-row summaries keep words whole.
    • Languages: ko. Scope: settings.
    • Source: form_error_label() (ui/controls.rs:221, configured at ui/settings/actions.rs:656-660) and note() (ui/settings/actions/examples.rs:275) never get keep_words_whole. The editor is a modal overlay, so constrain_page_text does not reach it.
    • Fix: call controls::keep_words_whole (ui/controls.rs:378) on the editor error label and the Library note() labels, or on every wrapped label in the action-editor modal.
  • R4-2 ko: the object particle splits from a long file name in message dialogs. Residual of R3-1.
    • Seen ("Completed with errors" after a permanent delete with a locked child): at 1200 px "…переноса строк.txt을" / "(를) 삭제할 수 없습니다: …", which cuts "을(를)" in two; at 560 px "…строк.txt" / "을(를) 삭제할 수 없습니다…".
    • Affects nearly every "%{name}을(를) …" line (delete, trash, rename and create errors) once it wraps.
    • Languages: ko. Scope: menus.
    • Source: korean_word_ranges (ui/controls.rs:327-348) protects only space-separated words of at most MAX_KEPT_HANGUL_WORD_CHARS (12, :319) characters, so a name of 8+ characters plus "을(를)" loses protection.
    • Fix: for longer words, keep a trailing particle run (을(를), 이(가), 은(는), 와(과), (으)로) together with the character before it, and apply the length cap to the name part only.
  • R4-3 de: the Home chip in Settings → General → Sidebar breaks inside a word: "Persönlich / er Ordner", with no hyphen. New.
    • Only at a 640 px window with text size 28. de at 760/28, 1000/28 and 640/20, and ru, fr, es, vi, pt-BR and it at 640/28, stay whole.
    • Languages: de. Scope: settings.
    • Source: ui/settings/general.rs:612 builds the chip label with a plain gtk::Label; constrain_page_text (ui/settings.rs:3010) then sets WrapMode::WordChar, so the minimum width is one character.
    • Fix: give chip labels settings-word-wrap (Word mode, minimum width = longest word) or settings-nowrap.

Untranslated / mixed-language

  • R4-4 An unreadable archive shows raw "Permission denied (os error 13)" in every language. Residual of R3-12 / R2-14.
    • Seen:
      • Extract path: chmod 000 a .zip or .7z, then Extract here. The dialog body is only "Permission denied (os error 13)" in de, ru, fr and ja. The same case for .tar.gz is correct ("Zugriff verweigert", "Доступ запрещён").
      • Preview listing path: select an unreadable .zip, .7z, .tar or .tar.gz. "Vorschau nicht verfügbar / Permission denied (os error 13)", "Предпросмотр недоступен / Permission denied (os error 13)". Unreadable txt, png and md files in the same folder are localized.
    • Languages: all, en included. Scopes: arch, prev.
    • Source:
      • Extract: adapters/local_operations/archive.rs:261 and :278 (File::open(&archive_path).map_err(|e| e.to_string())). Same class: archive.rs:240 passes the raw io::Error to "Could not create folder: %{error}".
      • Listing: adapters/local_operations/archive/listing.rs:152 (list_zip), :260 (list_7z) and :307 (list_tar). The sandbox helper returns the string, decode_archive_listing (:584-587) makes it the PreviewEvent::Failed message, and tr() cannot match it.
    • Fix: use io_error_message at the File::open sites and io_error_detail for %{error}. The listing text crosses the sandbox, so it must be the English catalog source that tr() translates in the parent, as INVALID_ARCHIVE already does.
  • R4-5 A zip with an unsupported compression method shows raw library text: the ja dialog body is only "compression method not supported: 6". New; the reader side was not covered by R3-30, and this is not the accepted RAR limitation.
    • Languages: all. Scope: arch.
    • Source: adapters/local_operations/archive/decoders.rs:59, the error => archive_failed(error) fallthrough of zip_error (UnsupportedArchive and similar).
    • Fix: map the fallthrough to catalog text ("This archive uses an unsupported compression method", or the existing "This file is not a valid archive or is damaged.") and log the detail, as round 3 did for the writer.
  • R4-6 An update-install staging failure shows English OS text, the errno and an internal temp path. New; same class as R2-14 / R3-8.
    • Seen (self-managed install in a read-only directory, then "Download update"): ru "Не удалось установить обновление: Не удалось подготовить обновление: Permission denied (os error 13) at path "/…/.strata-update-Bn6U62"", and the same in de.
    • Languages: all, en included. Scope: upd.
    • Source: services/update_install.rs:564 and :576 (error = error on the tempfile error, which appends at path "…"). The same raw io::Error Display is used at :607, :646, :683, :705, :731, :1121, :1143 and :1160, and in update_install/command.rs:38 ("Could not run %{program}", which also shows a {:?}-quoted program name). Source-only, not reachable here: the Omarchy and pacman Command::output errors at :363-366 and :453-456.
    • Fix: route these through io_error_message / io_error_detail, which already strip the errno and the tempfile path.
  • R4-7 "Copy version info" mixes English into every translation. New.
    • Seen (ko, pasted): "Strata 0.21.0 / A fast, keyboard-first file manager for Linux / 커밋: … / 툴킷: … / 작성자: … / 라이선스: MIT". The labels are translated, but line 2 is the English Cargo description, while the About page above it shows "키보드 중심의 Linux용 파일 관리자입니다."
    • Languages: all except en. Scope: upd.
    • Source: ui/settings/about.rs:128 (value2 = crate::build_info::DESCRIPTION, i.e. CARGO_PKG_DESCRIPTION).
    • Fix: use the About page string tr("A keyboard-first file manager for Linux."), or keep the whole block English on purpose for bug reports.
  • R4-8 I/O errors without a mapped reason fall back to the English system text. New; first exercised this round.
    • Seen (Ctrl+L to a symlink loop, or a pin pointing at one): fr "Impossible d’ouvrir cet emplacement : too many levels of symbolic links", and the same English text in es, it, pt-BR and vi. It is also lower-cased by error_detail. desktop-integration saw the same fallback for ETXTBSY: de "Terminal „…/kitty“ konnte nicht gestartet werden: Text file busy" (noted there without counting).
    • Other errors that reach this fallback while navigating: ENOTCONN (dead sshfs/FUSE mount), ESTALE (NFS), ENODEV and EIO.
    • Languages: all except en. Scopes: nav (desk).
    • Source: services/file_source.rs:130 io_error_reason returns None for these kinds, so io_error_message (:117-121) falls back to system_error_text (:158). Reached here through adapters/local_files.rs:257.
    • Fix: add catalog reasons for ELOOP, ENOTCONN, ESTALE, EIO, ENODEV, ENXIO, EROFS and ExecutableFileBusy, matching raw_os_error() where the ErrorKind is uncategorized. Or fall back to a generic localized reason and log the strerror. Map GIO TooManyLinks and NotMounted in gio_error_message the same way.
  • R4-9 Video preview badges are hard-coded English: ru "SD · 25 fps · H.264" and "AAC Mono", while Properties for the same file shows "25,00 кадр/с" and the catalog has "1 (моно)" / "2 (стерео)". Same in ja, ko, vi and fr. New; missed in earlier rounds.
    • Languages: all except en. Scope: prev.
    • Source: ui/preview/video/badges.rs:93 (format!("{} fps", …)), :141 and :152-153 ("Mono"/"Stereo") and :156 (format!("{other} ch")).
    • Fix: use the existing "%{rate} fps" key with an integer rate, and add short translated Mono/Stereo/channel keys (or reuse the Properties wording). Codec names and SD/HD/4K can stay.

Formatting

  • R4-10 The completed progress card shows a hard-coded "100%". Residual of R3-15.
    • Seen: the dock switches from fr "94 %" (U+202F) and de "75 %" (U+00A0) while running to "100%" on completion, for copy, permanent delete and compression ("Terminé · fermeture dans 2 s … 100%"). Screen readers get the same text.
    • Languages: fr, de (the other catalogs use "%{value}%", so they look the same). Scopes: arch, fileops, a11y.
    • Source: ui/progress_dock/completion.rs:132 (status.set_text("100%")). The modal progress label starts as gtk::Label::new(Some("0%")) at ui/browser/progress.rs:248 until the first update (source-only).
    • Fix: crate::i18n::percent(100) and crate::i18n::percent(0).

Catalog wording / terminology / typography

  • R4-11 The reason after a colon still starts with a capital at three sites that skip error_detail. Residual of R3-21.
    • Sites:
      • Install failures (updates): ru "Не удалось установить обновление: Не удалось загрузить подписанные метаданные…", fr "Impossible d’installer la mise à jour : Impossible de télécharger…". Source: ui/settings.rs:2725-2728 passes message straight into "Couldn’t install update: %{message}"; the similar "Couldn't install update: %{message}" at :2004-2007 does the same.
      • Restore refusals (trash): fr "lost-parent.txt : Le dossier parent…", es "…: La carpeta principal…" and "report.txt: La ubicación original no está disponible", it "…: La cartella superiore…", pt-BR "…: A pasta pai…", ru "…: Родительская папка…", vi "…: Thư mục cha…". The "Completed with errors" bullets next to them are lower case. Source: ui/browser/trash.rs:542-546 (error = error.user_message()).
      • Compressing an unreadable source (archives): fr "Impossible de compresser noread.txt : Autorisation refusée", ru "Не удалось сжать noread.txt: Доступ запрещён". Source: adapters/local_operations/archive/compression.rs:414-419; open_archive_source returns errno_text (:182, the standalone form). The same key leaves the name unquoted (ja "noread.txtを圧縮できませんでした").
    • Languages: fr, es, it, pt-BR, ru, vi. Scopes: upd, trash, arch.
    • Fix: wrap with services::error_detail(…) at the first two sites and use the detail form (io_error_detail) at the third. Quote %{path} in "Could not compress %{path}: %{error}" like the other archive messages.
  • R4-12 de: the Follow Omarchy subtitle embeds the setting name unquoted, so the sentence reads as broken German: "Von Omarchy verwaltet. Deaktivieren Sie Omarchy folgen, um ein Theme manuell auszuwählen." New; first exercised this round.
    • ru («Следовать Omarchy») and ja (「Omarchyに従う」) quote it, and de quotes UI names elsewhere (Farbe „Gefahr“).
    • Languages: de. Scope: theme.
    • Source: data/locales/messages/de.json:481, used at ui/settings/theme.rs:75.
    • Fix: "… Deaktivieren Sie „Omarchy folgen“, um …".

Source-only

  • R4-13 Remote preview staging errors are English under the translated "Preview unavailable" title: "Remote preview exceeds the 64 MiB download limit" (256 MiB for video), "Remote preview exceeds the download limit (64 MiB maximum)", "Remote preview download timed out", "Too many remote previews are active; try again shortly" and "Remote preview transfer failed". New; not reachable here (no gvfs on the private bus).
    • Languages: all. Scope: prev.
    • Source: adapters/local_preview/remote.rs:41, :74, :128, :132 and :159 (some built with format!, none in the catalogs); :90, :110, :153 and :165 pass GIO/IO error.to_string(). They reach the UI through PreviewEvent::Failed (adapters/local_preview.rs:471-481, :555-565) and tr().
    • Fix: catalog keys with %{limit} (formatted by i18n::file_size), and gio_error_message / io_error_message for the GIO/IO errors. The neighbouring "Remote model/PDF/cover previews are not supported…" strings are already translated.
  • R4-14 A pasted clipboard image is always named "image.png" / "image (N).png", while every other default name Strata creates is localized ("Neuer Ordner", «новая папка», 「新しいフォルダー」). New; not confirmed on screen (Paste stayed disabled for a texture offered on the private display).
    • Languages: all except en. Scope: fileops.
    • Source: ui/browser/clipboard.rs:1214 and :1216 (write_pasted_image, :1209). There is no catalog key.
    • Fix: add a key for the stem ("image" or "pasted image"), numbered like the "new file" default name.

Accepted limitations (not counted)

Unchanged from round 3 and listed in docs/internationalization.md:

  • GTK toolkit-owned text: GtkColorChooser ("Custom", "Cancel", "Select" and swatch names), GtkNotebook "Page N" and the PasswordEntry "Show Text".
  • GIO/MIME descriptions: content-type names and Open With app descriptions.
  • External release notes.
  • Library parser details: for example the TOML diagnostic in the Actions PROBLEMS row and raw unrar library text.
  • The custom-action starter template.
  • Internal worker, task-panic and decoder-misbehaviour diagnostics: the R2-39 remainder, "Restore task panicked", the media stall diagnostics ("Media startup or seek timed out", "Audio output stopped advancing") and the RAR framed-stream checks (R3-30).
  • Korean breaks in wrapped labels outside dialogs and Settings that do not hide meaning: for example the ko too-complex model message "…보세 / 요." in the preview pane.
  • Also not counted: GVfs/udisks daemon text (ui/browser/location.rs:705, :1361, :1508) and the raw GIO query_info text in a GVfs-volume restore path (adapters/trash_restore.rs:452). Neither was reachable here.

Uncounted i18n nits

  • es, ru: "%{value}%" has no space; CLDR writes "75 %" with NBSP, but many apps write "75%".
  • es, vi: "%{name}: Esta ubicación no admite la papelera…" and the vi equivalent capitalize after the colon (catalog value; not reachable here).
  • ja: spacing around Latin words is inconsistent ("AURにより strata-…-binとして", "Omarchy によって" vs "Omarchyに従う", "JPEGで" vs "PNG に"). Legal kinsoku breaks look awkward in places ("利用可 / 能", "GitHubでリ / リース", "します / か?"). The selection summary uses ASCII "(6 B)" next to full-width "(F1)". The Omarchy variant "暗く" would read better as "暗め".
  • ko: archive terminology mixes "압축 파일" and "아카이브". The generic "을(를)" follows the fixed name "새 폴더". Window titles are noun phrases while menu items are "다음으로 이동…".
  • vi: archive terminology mixes "tệp nén", "tệp lưu trữ" and "kho lưu trữ" (previews).
  • Hyphens and slashes: "xdg-terminal-exec" breaks at its hyphen in de, fr, es, it, pt-BR and vi; ko "gvfs- / smb"; ~/.config/udiskie/ / config.yml; fr "ci- / dessus".
  • ru: a line ends on the one-letter preposition "с" in the merge body at 900 px/20 px.
  • de: which-key "Anheftungen" vs the heading "ANGEHEFTET" (fr "Épingles" vs "ÉPINGLÉS"); "Dieses Bild ist JPEG, was …" is colloquial.
  • fr: "Désactivez Suivre Omarchy" has no guillemets around the setting name.
  • es/pt-BR: sidebar "Inicio"/"Início" vs the default-folder button "Pasta pessoal".
  • Directory/folder mix: "Unable to read this directory / Not a folder" (identical in English).
  • Wide g chord panel: at 640 px with 20 px text the panel is wider than the window (de about 660 px, ru about 800 px); nothing is hidden.

Non-i18n observations (functional / layout / accessibility; all languages incl. en)

  • Dialogs: Delete and Conflict dialogs focus the destructive button, so Return confirms. "Operation cancelled" uses the error subtitle (E5). "File already exists" is the title for folder conflicts. The delete title and subtitle count different numbers for folder trees.
  • Progress: the percent shows twice (bottom left and right) during Move to Trash and before the first delete update. Move to Trash uses "Deleting items" / "Delete complete".
  • Previews: unreadable MP3/MP4 say "truncated or damaged", STL "invalid or damaged", PDF "the sandboxed renderer failed". A fake PNG shows the same title and detail. Stray pixel fragments appear beside the audio "Track 2 of 9" label.
  • Updates: a long install error does not wrap until the dialog reaches the window width. The pill is a text button with a tooltip, and its accessible name includes "●" and a newline. The check-failed body repeats its title. Cancel and Close both show after a failure. The AUR error offers "View releases on GitHub". English mixes "Couldn’t" (title) and "Couldn't" (body) in the check-failed state.
  • Accessibility: the theme-editor color buttons and name entry have no accessible name. The 10X pill's description repeats its experimental phrase.
  • Layout and theming: the Columns "Retry" button renders white on dark themes. With date_format = "long" the List Modified column truncates the time. The unlock card ignores the text size, covers the path header and uses the accent colour for errors. At 48 px the theme library shows about two rows and the text-size spin button shrinks.
  • Chooser and Settings: typing a path through a file in a destination chooser shows the full unquoted path. The encrypted-volume row shows literal backticks around ~/.config/udiskie/config.yml. The download counter stays at "0 B" with very small chunks. "Convert image to PNG?" has an empty body band.
  • Other: the Appearance popover shows "Ctrl + H" while menus show "Ctrl+H". The recursive filter's footer count ignores its results, and Columns view shows no partial or no-match status. The search palette indexes host drives under /run/media even with an isolated HOME.

wmfeht added 5 commits October 8, 2026 15:45
Route install staging, archive open and remote preview I/O and GIO errors through the localized error helpers, so they no longer show OS text, errno suffixes or temporary paths. Unsupported archive methods get a catalog message, compressed and run names are quoted, and install failures and restore refusals continue in lower case after a colon where the language does.
Add reasons for symlink loops, device I/O errors, missing devices, disconnected and stale network locations and busy executables, matching raw errnos where ErrorKind has no stable variant. Any other OS error shows a generic localized reason and logs the system text. GIO TooManyLinks and NotMounted are mapped too. Video preview badges use catalog text for the frame rate, mono, stereo and channel counts.
…d splits

A particle ending a word longer than the kept-word cap, such as 을(를) after a long file name, now stays on the same line as the character before it. The action editor's error and library notes keep Korean words whole, and sidebar chips in Settings wrap only between words.
… info

The completed progress card and the modal's initial status use the localized percent format. A pasted clipboard image takes its name from a translated stem, numbered like new files. Copied version info uses the translated About description instead of the Cargo package description.
German and French quote the Follow Omarchy setting name in the Managed by Omarchy hint. Japanese drops the spaces around Latin words in the PNG conversion prompt, and Spanish and Vietnamese continue the Trash-unsupported reason in lower case.
@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

i18n sweep round 4 — fixes

Fixes for the round-4 sweep. File references are at the previous head, 5d379b73.

Commits (on top of 5d379b73, head d17c3e1c):

  • b391b66e fix(i18n): localize remaining install, archive and preview error details
  • b2158f50 fix(i18n): localize unknown system errors and video badges
  • 4eafd2ef fix(ui): keep Korean particles with their words and fix remaining word splits
  • 65d9b48e fix(i18n): localize completion percent, pasted image name and version info
  • d17c3e1c fix(i18n): quote setting names in Omarchy hints

Status per finding

ID Finding Status Change
R4-1 ko: words split in the action editor Fixed The editor's footer error label and the Library note() labels now call controls::keep_words_whole.
R4-2 ko: particle split from a long file name Fixed korean_word_ranges now keeps a trailing particle run of up to 6 characters (을(를), 이(가), (으)로, 에서: and similar) together with the character before it, even when the word is longer than the 12-character cap. A long all-Hangul run stays breakable. There is a new unit case.
R4-3 de: sidebar chip "Persönlich / er Ordner" Fixed Chip labels get settings-word-wrap, so constrain_page_text uses Word mode and the minimum width is the longest word.
R4-4 Unreadable archive shows "Permission denied (os error 13)" Fixed The extract path (archive.rs File::open for zip/7z, and "Could not create folder") and the preview listing (listing.rs zip/7z/tar) use io_error_message / io_error_detail. The sandbox helper runs in English, so the text it sends is the catalog key that tr() translates in the parent.
R4-5 Unsupported zip method shows raw library text Fixed ZIP UnsupportedArchive / CompressionMethodNotSupported, and 7z UnsupportedCompressionMethod / Unsupported / ExternalUnsupported / UnsupportedVersion, now show "This archive uses a compression method or feature that Strata does not support." The library detail is logged. Other unexpected ZIP decoder errors show the existing invalid-archive message.
R4-6 Update staging shows OS text, errno and a temp path Fixed Every io::Error in the install path now goes through io_error_detail / io_error_message. That covers update_install.rs (staging, inspect, replace, preserve, sync, restore, save, mark executable, the Omarchy/pacman Command::output errors and the persist/sync errors), plus update_install/archive.rs, manifest.rs and command.rs. "Could not run" quotes the program name instead of printing it Debug-quoted.
R4-7 "Copy version info" has the English Cargo description Fixed Line 2 is the translated About-page description.
R4-8 Unmapped I/O errors show English strerror Fixed io_error_reason adds reasons for ELOOP, EIO, ENODEV/ENXIO (matched by raw errno), NotConnected, StaleNetworkFileHandle and ExecutableFileBusy (ETXTBSY). Any other OS errno now gets "An unexpected system error occurred", and the system text goes to the debug log. Errors that Strata or a library builds with their own message keep that message. EROFS was already mapped. gio_error_message maps TooManyLinks and NotMounted.
R4-9 Video badges are hard-coded English Fixed The frame rate uses the existing "%{rate} fps" key with a localized integer. Mono and Stereo are new short keys, and other channel counts use "%{channels} ch".
R4-10 Completed card shows "100%" Fixed Uses i18n::percent(100). The modal's initial "0%" uses i18n::percent(0).
R4-11 Capital after the colon at three sites Fixed Both install-failure messages (settings.rs ~2004 and ~2725) and the restore refusals use error_detail. Compression of an unreadable source uses error_detail, and its key now quotes the name: "Could not compress “%{path}”: %{error}".
R4-12 de: unquoted "Omarchy folgen" Fixed de „Omarchy folgen“. fr also gets « Suivre Omarchy » with no-break spaces.
R4-13 Remote preview staging errors are English Fixed (source only, not reachable here) New keys, with the limit formatted by i18n::file_size, so 64 MiB shows as "67.1 MB" or "67,1 Mo". GIO and I/O errors go through gio_error_message / io_error_message.
R4-14 Pasted image is always "image.png" Fixed (source only, not reachable here) The stem comes from the new context key pasted_image.name (de "Bild", ru "изображение", ja "画像", …). Numbering is "name (N).png", like "new file".

Uncounted items also fixed:

  • ja: "この画像は%{value1}で、…PNGに変換しますか?" no longer has spaces around the Latin words.
  • es and vi: the trash-unsupported reason continues in lower case after the colon.
  • Restore: a GVfs-volume restore's raw GIO query_info text now goes through gio_error_message.
  • Not changed: es/ru percent spacing (left as is).

English-visible changes

  • An unrecognized OS error now reads "An unexpected system error occurred" instead of the system's strerror. The system text is still logged.
  • New English reasons:
    • "There are too many levels of symbolic links"
    • "A device input/output error occurred"
    • "The device is not available"
    • "The location is no longer connected"
    • "The network file handle is no longer valid"
    • "The file is running and cannot be changed"
    • "The location is not mounted"
  • Archives with an unsupported method or feature show "This archive uses a compression method or feature that Strata does not support."
  • Quoted names: "Could not compress “name”: …" and "Could not run “program”: …". The program name used to be Debug-quoted.
  • "Copy version info" line 2 now reads "A keyboard-first file manager for Linux." (the About page text), not the Cargo description.
  • The remote preview size limit message now reads "Remote preview exceeds the 67.1 MB download limit", where it used to say "64 MiB".

Validation

All of these ran locally on d17c3e1c, or on the identical tree before it was split into commits.

Catalogs:

  • All 10 languages have the same keys and the same placeholders.
  • No key is in both the main and messages catalogs.
  • Every literal tr/t! key used in the source exists (1,360 uses scanned). The only hits are the same pre-existing false positives as on 5d379b73.
  • fr typography and ja ASCII colons are clean.

Rust:

  • cargo check --all-targets --all-features passed.
  • Targeted headless run: ./scripts/test-headless.py -- i18n:: services:: adapters:: ui::controls ui::settings ui::browser ui::preview progress_dock portal_setup.
    • The first run caught 11 failures. Archive and extraction tests relied on custom io::Error messages passing through io_error_message, and two tests expected the old "MiB" wording.
    • Fix: the generic reason now applies only to OS errors, and those tests were updated.
    • Rerun of the affected adapters::local_operations::archive adapters::local_preview services::file_source services::network_error: 258 passed, 0 failed.
  • ./scripts/quality.sh fmt and ./scripts/quality.sh clippy passed.
  • Full ./scripts/quality.sh: 2,464 passed, 0 failed, 9 ignored.

E2E: full ./scripts/e2e.sh in the pinned container (Docker): 956 passed.

Other: typos and git diff --check are clean.

Not verified on screen: remote (GVfs) preview staging errors, a pasted clipboard texture, and the Omarchy/pacman install paths. None of them is reachable on the private test display.

wmfeht added 2 commits October 8, 2026 16:28
…onalization

# Conflicts:
#	src/adapters/local_operations.rs
Translate the copy-fallback restore errors added on main, report an
occupied destination through the existing restore message, and drop
the no-longer-used unsupported-rename message from the catalogs.
@wmfeht

wmfeht commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

i18n visual QA sweep — round 5

Build swept: 6dd567e5, the PR head with the round-4 fixes and the main merge that brought in the #1527 restore fallback. R4 IDs refer to the round-4 sweep. Languages: en baseline plus fr, de, es, ja, pt-BR, ko, vi, it and ru.

Method: the same 16 scopes ran a snapshot binary of 6dd567e5 on private Xvfb displays with private D-Bus and AT-SPI buses. Each scope re-checked its round-4 items on screen. New surfaces this round include the #1527 restore fallback (exercised through a test FUSE filesystem that rejects RENAME_NOREPLACE and fails chosen calls), damaged 7z headers, a ZIP write failure under ulimit -f, a pasted image/png clipboard offer, and Korean names of 30+ unspaced syllables. Every capture was confirmed to come from a fresh process in the requested language.

Screenshots and AT-SPI dumps are kept locally and are not attached here. File and line references are at 6dd567e5; paths are under src/ unless shown otherwise.

CI on 6dd567e5: all 13 checks pass.

This is the final fix pass. Round 5 found 8 distinct items, under the stop threshold of 10. The next commits fix them; no further sweep round is planned.

Trend

Round 1 Round 2 Round 3 Round 4 Round 5
Distinct items (deduplicated across scopes) 157 40 30 14 8

Of the 8 round-5 items:

  • 2 are residuals of round-4 fixes: R5-5 (R4-2) and R5-7 (R4-5).
  • 1 is a regression from a round-4 fix: R5-2 (R4-14).
  • 1 was already on screen in round 4 but missed: R5-1.
  • 4 are new or on surfaces reached for the first time: R5-3, R5-4, R5-6 and R5-8.

Per-scope results

Scope Reported Items
keyboard 1 R5-1
pointer-selection 1 R5-2
file-operations 1 R5-2 (duplicate of pointer-selection)
search-filter 1 R5-3
trash 1 R5-4
dialogs-menus 1 R5-5
settings-general 1 R5-6
archives 2 R5-7, R5-8
navigation, browser-modes, previews, theming, updates-about, file-chooser, desktop-integration, accessibility 0 —
Total 9 8 distinct

Round-4 items confirmed fixed on screen

  • R4-1: the ko action-editor error keeps "대시" whole and the Library note keeps "기존" whole.
  • R4-2: "을(를)" stays on the name's line after long Latin, Cyrillic, Japanese and spaced Korean names, at 1200 and 560 px, in delete, copy, move and conflict bodies. The all-Hangul edge case is R5-5.
  • R4-3: the de chip wraps between words, as "Persönlicher / Ordner", at 640 px / 28.
  • R4-4: an unreadable .zip or .7z shows the localized reason on Extract here and in the preview ("Zugriff verweigert", "Доступ запрещён", "アクセスが拒否されました"), matching .tar and .tar.gz.
  • R4-5: a zip with an unsupported method shows the new catalog sentence in every language. The 7z fallthrough is R5-7.
  • R4-6: update staging failures show "…: Could not stage the update: Permission denied" with no errno or temp path, in all 10 languages.
  • R4-7: line 2 of "Copy version info" is the translated description.
  • R4-8: a symlink loop shows "There are too many levels of symbolic links" in every language, lower case after the colon where expected. ETXTBSY on terminal launch is localized too.
  • R4-9: video badges are localized ("30 кадр/с", "AAC Стерео", "AAC 4 кан.", "AAC 스테레오", "30 i/s").
  • R4-10: the completed card and toast show de "100 %" (U+00A0) and fr "100 %" (U+202F), on screen and in the accessible names. The modal starts at fr "0 %".
  • R4-11: lower case after the colon in install failures, restore refusals and compression of an unreadable file, with the name quoted ("Impossible de compresser « noread.txt » : autorisation refusée").
  • R4-12: de „Omarchy folgen“ and fr « Suivre Omarchy » are quoted.
  • R4-13: fixed in source; not reachable here (no GVfs on the private bus).
  • R4-14: the pasted image stem is translated in all 9 languages ("Bild.png", "Bild (1).png", "изображение.png", "画像.png"). The English value is R5-2.
  • Still holding: R3-1 (Korean wraps between words in dialogs, Settings and the update pill), R3-3/R3-4 (merge and matrix stacking), R3-6 (F1 hint breaks after "·"), R3-8/R3-9 (network errors and cache), R3-11, R3-18, R3-19, R3-21, R3-26, A1, R2-2, R2-3 and R2-13. Plurals (ru 0/1/2/5/21/22/25), digit grouping, sizes, durations, speeds and relative dates are correct on every surface checked.
  • fix(operations): fall back to safe atomic restore when NOREPLACE is unsupported #1527 restore fallback (new from main): every message is translated in all 9 languages, inner reasons are lower case, fr uses NBSP/NNBSP, ko wraps between words, and ja has no stray spaces. The only problem is the outer bullet prefix (R5-4).

No tofu, mojibake or unreplaced %{…} appears in any capture or AT-SPI dump. The only raw key is R5-2.


Cut-off / layout

  • R5-1 F1 reference: the category chip strip is half-clipped when the hint line wraps. Languages: ru, vi. Scope: keyboard.
    • Seen: at text size 20 and the default 1200×760 window, the bottom hint wraps to two lines ("…Tab смена области ·" / "Esc закрыть"). The chip strip shrinks to about 1.5 rows, cutting ru "Режим 10xer", "Поиск и инструменты", "Предпросмотр медиафайлов" and vi "Tìm kiếm và công cụ" in half. No scrollbar shows. At 640 px ru has three hint lines and the strip shows 2 of its 4 chip rows, so three categories are hidden.
    • en, de, fr, ja, es, it, pt-BR and ko keep a one-line hint and both rows at 1200/20.
    • Source: ui/shortcut_footer.rs:259-260. The results scroller gets a fixed height_request((window.height() - 300).clamp(1, 620)) in compact mode, so the extra hint line comes out of the category strip (:250-253), whose minimum height is tiny.
    • Fix: let the results shrink instead, or give the strip a minimum height equal to its reflowed rows.
  • R5-3 Search palette: the footer forces the panel wider than a narrow window, clipping "Partial results". Languages: ru, es, pt-BR (clipped at about 590 px), de and fr (border pushed off-screen); en, it, vi, ja and ko fit at 590 px. Scope: search-filter.
    • Seen: ru "Частичные результат…", es "Resultados parciale", pt-BR "Resultados parciai" at 590 px; ru "Частичные р" and de "Teilerg" at 540 px. Every language, en included, overflows at 400 px.
    • Source: ui/search.rs:138-175. The footer is a horizontal box of non-wrapping labels, so its minimum width is the sum of their natural widths; panel.set_size_request(760, 452) (:80) with Overflow::Hidden (:82) clips rather than shrinks.
    • Fix: let the hints shrink or wrap, keep "Partial results" visible, and clamp the panel width to the window.
  • R5-5 ko: the particle still splits after a long all-Hangul name. Residual of R4-2. Scope: dialogs-menus.
    • Seen at 560×700, "Completed with errors": "…테스트용데이터파일입니다확을" / "(를) 삭제할 수 없습니다: …". It needs about 30+ unspaced syllables to reach a line end.
    • Source: ui/controls.rs:357-378. attached_particle_start walks back over every Hangul syllable and parenthesis; in an all-Hangul word that is the whole word (more than MAX_PARTICLE_CHARS, :353), so it returns None, and the word is longer than MAX_KEPT_HANGUL_WORD_CHARS (:319).
    • Fix: when the word ends in a parenthesised particle form (을(를), 이(가), 은(는), 와(과), (으)로), always protect from the syllable before it to the end, and keep the rest of the name breakable.

Untranslated / malformed

  • R5-2 en: a pasted image is saved as "pasted_image.name.png". Regression from R4-14. Scopes: pointer-selection (source), file-operations (on screen).
    • Seen: two pastes in en give "pasted_image.name.png" and "pasted_image.name (1).png". The 9 translations are correct.
    • Source: data/locales/en.json:1120 maps "pasted_image.name" to itself; used at ui/browser/clipboard.rs:1201. The clipboard unit tests pass a literal stem, so they never saw the catalog value. No other en key maps to itself.
    • Fix: the en value is "image"; add a catalog check that no en value equals its own dotted key.
  • R5-7 A damaged 7z shows the raw library error in Debug form. Residual of R4-5. All languages, en included. Scope: archives.
    • Seen (Extract here): Other("Broken or unsupported archive: no Header") and Other("Cannot handle next_header_size 576"). A damaged zip shows "This file is not a valid archive or is damaged."
    • Source: adapters/local_operations/archive/decoders.rs:96, the error => archive_failed(error) fallthrough of sevenz_decode_error. The preview listing already maps these (archive/listing.rs:139).
    • Fix: map the fallthrough to invalid_archive() and log the detail.
  • R5-8 A read or write failure while compressing to ZIP shows raw OS text with the errno. New; same class as R4-8. All languages. Scope: archives.
    • Seen (de, under ulimit -f): "File too large (os error 27)". The same failure with TAR is localized ("Die Datei ist für dieses Dateisystem zu groß"). ENOSPC and EIO take the same path.
    • Source: adapters/local_operations/archive.rs:528 and :532, where copy_with_big_buf maps read/write_all errors with archive_failed. Source-only, same class: archive/decoders.rs:452 (entry.path()).
    • Fix: archive_io_failed(&error) at those sites.

Catalog wording / capitalization

  • R5-4 Restore failures that happen while the restore runs start with a capital after "name:". Same rule as R3-21/R4-11. Languages: fr, es, it, pt-BR, ru, vi. Scope: trash.
    • Seen ("Completed with errors" after a restore): fr "folder-denied : Impossible de restaurer folder-denied : autorisation refusée", es "occupied.txt: No se pudo restaurar occupied.txt: ya existe algo en el destino", ru "copy-stuck.txt: Элемент восстановлен…". The Move-to-Trash bullets and the R4-11 refusals are lower case. In every language, en included, the bullet repeats the name ("occupied.txt: Could not restore occupied.txt: …").
    • Source: adapters/local_operations.rs:6237 uses item_error(&entry.display_name, error) without gio_error_detail; the delete path at :4503 uses it.
    • Fix: use the detail form, or drop the redundant name prefix since every restore message already names the item.
  • R5-6 vi: custom actions are "tác vụ" in some strings and "hành động" everywhere else. Scope: settings-general.
    • Seen: "Xóa tác vụ này?" above a body that says "Thư mục hành động…", while the page, heading and editor use "hành động" (about 51 strings).
    • Source: data/locales/messages/vi.json:119 ("Actions changed"), :350 ("Delete this action?"), :512 ("No action %{digit}"), :519 ("No free action name…"), :523 ("No matching actions"), :658 (F1 "Run one of the first ten matching custom actions"), :659 ("Run this action?") and :796 ("This action has not been saved yet").
    • Fix: use "hành động" in those keys and keep "tác vụ" for background jobs.

Accepted limitations (not counted)

Unchanged from round 4 and listed in docs/internationalization.md: GTK toolkit-owned text (color chooser, "Page N", PasswordEntry "Show Text", color swatch accessible names), GIO/MIME descriptions and Open With app descriptions, external release notes, library parser details (TOML diagnostics, unrar text), the custom-action starter template, internal worker/panic/decoder diagnostics (including RAR framed-stream checks and media stall diagnostics), GVfs/udisks daemon text, and Korean breaks outside dialogs and Settings that do not hide meaning (the ko too-complex model message).

Uncounted i18n nits

  • ja: Latin-word spacing is still mixed, including inside one dialog ("画像を PNG に変換しますか?" and "PNG に変換" vs "PNGに変換しますか?"), and "Omarchy によって" vs "Omarchyに従う". "暗く" would read better as "暗め". The Delete-action body leaves a lone "す。".
  • ko and vi: archive terminology mixes "압축 파일"/"아카이브" and "tệp nén"/"tệp lưu trữ"/"kho lưu trữ".
  • es, ru: "100%" without a space (kept by decision in round 4).
  • Hyphenated names break at their hyphen: "xdg-terminal-exec", ko "gvfs- / smb", fr "ci- / dessus".
  • fr, es, it, pt-BR, vi: read-only move/copy errors do not quote the file name; English does the same.
  • Video badges: "CC" and "10-bit" stay as technical labels (not seen on screen).
  • pt-BR "Qualquer um" for extensions; de "Erweiterungen" vs "Dateiendungen".
  • Wide g chord panel at 640 px / 20 px in de and ru; nothing is hidden.

Non-i18n observations (all languages incl. en)

  • The search palette overflows the window below about 560 px in English too (root of R5-3).
  • Restore bullets repeat the item name; one failed restore says "1 item could not be restored. The remaining items were processed."
  • Carried over: "File already exists" for folder conflicts, the error subtitle on "Operation cancelled", the delete title/subtitle count mismatch, the duplicate percent in the delete dock, the empty accessible names of theme-editor color buttons, and the 10xer item count ignoring filter results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(i18n): localize the interface in ten languages

2 participants