i18n: translate profiles & datalogger stop-gap strings#322
Merged
Conversation
…BR/ja)
Replace the English stop-gap values left in the non-English locale files for
the user-profiles (plan 0006) and request-datalogger surfaces with real
translations across all six languages: driver-profile page, avatar/copy-link
toasts, public-vehicle toggle + hints, back-to-home, leaderboard view-profile,
custom-track submission notice, and the "New datalogger connection" contact
category. Preserves {{name}} interpolation and locale quote glyphs.
Also drop a now-unused eslint-disable directive in ContactDialog.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VUypCCbFtY85CaHxj9VWE6
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Coverage SummaryLines: 58.57% (6343/10829) · Statements: 57.5% · Functions: 55.89% · Branches: 53.45% Per-file coverage
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
lapwing | 6356bf4 | Commit Preview URL Branch Preview URL |
Jun 30 2026, 03:46 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The user-profiles (plan 0006) and request-datalogger surfaces shipped with their non-English locale values left as English stop-gaps (the
bun run i18n:seedscript is a local/maintainer-only tool — never run in CI or the app, seedocs/i18n.md→ "Seeding (maintainer tool only)"). This PR replaces those stop-gaps with real translations across all six non-English languages (es,fr,de,it,pt-BR,ja).Surfaces translated:
driverns): loading / load-failed / not-found / vehicles / snapshots titles + empty states + open-snapshot.{{name}}interpolation and locale quote glyphs preserved (e.g. ja uses 「{{name}}」).plugins.account.*): change avatar, updated/failed, copy profile link, link copied/failed.plugins.leaderboard.*): track-added + custom-track notice (current en text, not the original stop-gap).drawer.vehicles.*): show-on-profile + hint, public badge + hint.landing.contact.categories/admin.messages.categories): "New datalogger connection" category.Also removes a now-unused
eslint-disabledirective inContactDialog.tsx.Related Issues
None.
Type of Change
Checklist
bun run lintpassesbun run typecheckpassesbun run test:runpasses (i18n key + placeholder parity holds across all locales)bun run buildsucceedsdocs/i18n.mdalready documents the seed script as maintainer-onlyNotes for Reviewers
Translations were applied by replacing the English-identical leaf values only — no keys added or removed, so the i18n parity test (
src/lib/i18n/i18n.test.ts) stays green. Brand/format names (Dove CSV, AiM MyChron CSV, LapWing, MoTeC, VBO), unit symbols, and pure-placeholder strings were intentionally left literal.🤖 Generated with Claude Code
Generated by Claude Code