Skip to content

i18n(it): panel and tab group menus, update check, rules, import and retouch labels - #3411

Merged
aiongg merged 1 commit into
storytold:mainfrom
fabiodalez-dev:i18n-it-docking-updates
Oct 31, 2026
Merged

aiongg merged 1 commit into
storytold:mainfrom
fabiodalez-dev:i18n-it-docking-updates

Conversation

@fabiodalez-dev

@fabiodalez-dev fabiodalez-dev commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Italian for 36 strings on main that still show in English. Only crates/ui-egui/locales/it.json changes, with the new keys at the end.

  • Panel and tab group menus: Close tab group → Chiudi il gruppo di schede, Float tab group → Sgancia il gruppo di schede, Move tab group → Sposta il gruppo di schede, Move group to → Sposta il gruppo in, Close other panels in group, Close / Move panel window, Move panel column, Collapse / Expand column, Collapse to Icons, Expand Panels, Auto-Collapse Iconic Panels, Hold {key} to undock → Tieni premuto {key} per sganciare.
  • Update check: Checking for updates…, Could not check for updates, LightCraft Updates and the newest-version message, with the same wording as WordCraft and PhotoCraft.
  • Rules editor, import, export and settings: Field / Operator / Unit → Campo / Operatore / Unità, Organize into → Organizza in, Recently deleted files → File eliminati di recente, Resize → Ridimensiona, Other preset (the preset for non-raw photos) → Preset per le altre immagini, Cache limit → Limite della cache.
  • Retouch, capture time, places and the rest: the spot labels size / source → dimensione / origine (as Source → Origine), the two capture time messages (ora di scatto, as in Modifica ora di scatto), the place names note, Restore All, Show Metadata For, the manual slideshow note (Presentazione, Durata della diapositiva), and dropping a model without a library.

This doesn't overlap #3035 or #2624: with all three, every tr("…") literal on main has an Italian row. I'm a native Italian speaker and reviewed every row.

cargo test -p lightcraft-ui-egui --lib i18n passes locally (37 tests).

Summary by CodeRabbit

  • Localization
    • Italian-language users can now see translated controls for slideshow playback, panels, tab groups, and update checks.
    • Additional Italian translations are available for metadata, model-drop guidance, capture-time errors, recently deleted files and restore actions, preset categories, and place-name coverage.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 5194cc2 and 16724d0.

Files selected for processing: 1
  • crates/ui-egui/locales/it.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The Italian locale file adds translations for slideshow controls, panels and tab groups, update checks, metadata, model-drop guidance, capture-time messages, recently deleted files, restore actions, preset categories, and place-name coverage. The existing Lightroom-import warning remains unchanged.

Changes: Italian locale translations

Layer / File(s) Summary
Add Italian interface translations
crates/ui-egui/locales/it.json
Added Italian translations for slideshow playback, panel and tab-group controls, update status and errors, metadata, model-drop instructions, capture-time messages, recently deleted files, restore actions, preset categories, and place-name coverage. The Lightroom-import warning remains unchanged.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature

Possibly related issues

  • storytold/lightcraft#2580 — The issue describes an i18n integration track and merge order. This change adds missing Italian locale entries.

Suggested reviewers: nledford

Merge Risk: Minimal · up to 16724

The localization-only change is mergeable with no identified blocking risk.

Architecture risk: Low · up to 16724

The change affects 1 system.

Changed systems: crates

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — crates (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in crates/ui-egui/locales/it.json: Added Italian translations for Lightroom import guidance, manual slideshow behavior, panel and tab-group controls, update status and errors, metadata fields, model-drop instructions, capture-time messages, recently deleted files, restore actions, preset categories, and place-name coverage. The Lightroom-import warning is retained unchanged.
Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title accurately summarizes the main translation areas changed in the Italian locale file, including panel and tab group menus, update checks, import, rules, and retouch labels.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@FredApps FredApps left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 16724d0 and the one changed file, it.json: 36 new Italian entries appended at the end.

There are no duplicate keys in the file, and every {key}, {error} and {version} placeholder in a key is present in its translation. The newline in "Could not check for updates:\n{error}" is kept in the translation. The keys I spot-checked against the source match the English strings used there exactly (the update dialog, the docking hint, the grid reference message and the geocode note). The wording follows the existing Italian terms in the file and the update strings used by the sibling apps.

Validation: full read of the change plus a green run of the full workflows on this head and the current target.

Hosted fork CI validated upstream head 16724d0 merged with target cdf00cc. Test candidate 1a2e324 differs only in fork workflow configuration. SonarCloud excluded.

@aiongg
aiongg merged commit d227bf1 into storytold:main Oct 31, 2026
6 checks passed
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.

3 participants