fix(i18n): update norwegian translation#1263
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
📝 WalkthroughWalkthroughThis change renames the Norwegian locale entry in config/i18n.ts from code Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
| "provenance_section": { | ||
| "title": "Opprinnelse", | ||
| "built_and_signed_on": "Bygget og signert på {provider}", | ||
| "view_build_summary": "Vis byggeoppsummering", | ||
| "source_commit": "Kilde-commit", | ||
| "build_file": "Byggefil", | ||
| "public_ledger": "Offentlig hovedbok", | ||
| "transparency_log_entry": "Åpenhetsloggoppføring", | ||
| "view_more_details": "Vis flere detaljer", | ||
| "error_loading": "Kunne ikke laste opprinnelsesdetaljer" | ||
| }, | ||
| "provenance_section": {}, | ||
| "security_downgrade": {}, |
There was a problem hiding this comment.
Remove duplicate keys that override translations.
Line 259 and Line 1057 re‑declare provenance_section and privacy_policy. In JSON, the last key wins, so the populated translations are discarded. Please remove the empty duplicates.
🧹 Suggested fix
@@
- "provenance_section": {},
"security_downgrade": {},
@@
- "privacy_policy": {
- "cookies": {
- "what_are": {},
- "types": {},
- "local_storage": {},
- "management": {}
- },
- "analytics": {},
- "authenticated": {},
- "data_retention": {},
- "your_rights": {},
- "contact": {},
- "changes": {}
- }Also applies to: 977-1070
🧰 Tools
🪛 Biome (2.3.14)
[error] 250-250: The key provenance_section was already declared.
This is where a duplicated key was declared again.
If a key is defined multiple times, only the last definition takes effect. Previous definitions are ignored.
(lint/suspicious/noDuplicateObjectKeys)
This commit adds missing keys and values to the Norwegian translation
It also renames previous locale (no-NO) to nb-NO (Bokmål) to open for nn-NO (Nynorsk) translation in the feature.