Skip to content

feat(i18n): add pt-BR translation for Antigravity Manager and sync missing keys - #750

Merged
lzt404 merged 1 commit into
router-for-me:devfrom
jpa-gitt:i18n/pt-br-dev-sync
Dec 4, 2026
Merged

lzt404 merged 1 commit into
router-for-me:devfrom
jpa-gitt:i18n/pt-br-dev-sync

Conversation

@jpa-gitt

@jpa-gitt jpa-gitt commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Re-submitted against the latest dev (4ac101af) as requested in #749.

Summary

  • Added full Brazilian Portuguese (pt-BR) translations to src/i18n/antigravityManage.ts (all 164 keys, including the newly added setupSourceIncompatibleTitle and setupSourceIncompatibleDesc keys on dev) and wired pt-BR into the locale lookup.
  • Synced missing pt-BR keys in src/i18n/locales/pt-BR.ts (4,013 / 4,013 keys in parity with en.ts, including ranking/analytics keys).

References

@lzt404
lzt404 merged commit a7f5be4 into router-for-me:dev Dec 4, 2026
5 checks passed
lzt404 added a commit that referenced this pull request Dec 4, 2026
…plicate ranking keys

Follow-up cleanup after #750:
- Export antigravityManagePtBR as Partial<Record<AntigravityManageMessageKey, string>> to match other optional pt-BR auxiliary dictionaries and keep English fallback safe for future keys.
- Cover antigravityManagePtBR in tests/pt-br-auxiliary.test.ts.
- Remove the 14 duplicated ranking.* entries appended to src/i18n/locales/pt-BR.ts, which are already defined in src/i18n/ranking.ts (intentionally filtered when identical to English).
@lzt404

lzt404 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Thank you for updating this against dev and contributing the complete pt-BR translations for Antigravity Manager!

Merged into dev, followed by a small cleanup commit (81e78a9):

  • Exported antigravityManagePtBR as Partial<Record<AntigravityManageMessageKey, string>> (matching our other optional pt-BR auxiliary dictionaries so future keys fall back to English without breaking tsc) and added test coverage in tests/pt-br-auxiliary.test.ts.
  • Removed the 14 duplicated ranking.* entries from src/i18n/locales/pt-BR.ts, since those keys are already defined in src/i18n/ranking.ts and intentionally filtered when identical to English for tests/i18n.test.ts.

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.

2 participants