i18n: ~85 hardcoded user-facing strings across main.go, command_editor.go, benchmarkview.go #39

Open
opened 2026-04-04 17:51:38 +00:00 by stu · 0 comments
Owner

Problem

Despite the i18n system being fully in place, a significant number of user-visible strings are still hardcoded:

File Estimate Examples
main.go ~50 dialog titles, button labels, status messages
internal/ui/command_editor.go ~15 "Ready", dialog strings
internal/ui/benchmarkview.go ~20 "CPU:", "GPU:", benchmark labels

Fix

For each file: grep for widget.NewLabel(", widget.NewButton(", dialog.Show....(" and replace with t.KeyName references. Add missing keys to internal/i18n/strings.go, en_ca.go, fr_ca.go, and machine-generated Inuktitut placeholders.

See docs/localization-policy.md for the full process.

## Problem Despite the i18n system being fully in place, a significant number of user-visible strings are still hardcoded: | File | Estimate | Examples | |---|---|---| | `main.go` | ~50 | dialog titles, button labels, status messages | | `internal/ui/command_editor.go` | ~15 | "Ready", dialog strings | | `internal/ui/benchmarkview.go` | ~20 | "CPU:", "GPU:", benchmark labels | ## Fix For each file: grep for `widget.NewLabel("`, `widget.NewButton("`, `dialog.Show....("` and replace with `t.KeyName` references. Add missing keys to `internal/i18n/strings.go`, `en_ca.go`, `fr_ca.go`, and machine-generated Inuktitut placeholders. See `docs/localization-policy.md` for the full process.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leak_technologies/VideoTools#39
No description provided.