Skip to content

feat(i18n): localize BrandingSettings page#1176

Merged
perber merged 1 commit into
mainfrom
feat/i18n-branding-settings
Jun 19, 2026
Merged

feat(i18n): localize BrandingSettings page#1176
perber merged 1 commit into
mainfrom
feat/i18n-branding-settings

Conversation

@perber

@perber perber commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Add branding namespace with all strings for site name, logo, favicon sections including labels, descriptions, placeholders, hints, and toast messages. Wire up useTranslation('branding') in BrandingSettings.

Add branding namespace with all strings for site name, logo, favicon
sections including labels, descriptions, placeholders, hints, and
toast messages. Wire up useTranslation('branding') in BrandingSettings.
Copilot AI review requested due to automatic review settings June 19, 2026 12:34

Copilot AI 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.

Pull request overview

This PR localizes the BrandingSettings page by introducing a dedicated branding i18n namespace and wiring the page UI strings (section titles, descriptions, hints, and toast messages) through react-i18next.

Changes:

  • Added a new English locale namespace file for branding-related strings (branding.json).
  • Registered the new branding namespace in the i18n resource initialization.
  • Updated BrandingSettings to use useTranslation('branding') for all previously hardcoded UI text and toast messages.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
ui/leafwiki-ui/src/locales/en/branding.json Adds the new branding namespace strings for the Branding Settings page UI and toasts.
ui/leafwiki-ui/src/lib/i18n.ts Registers branding in the i18next resources.en bundle.
ui/leafwiki-ui/src/features/branding/BrandingSettings.tsx Replaces hardcoded strings with t(...) lookups for page title, labels, hints, and toast messages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@perber
perber merged commit d0d211d into main Jun 19, 2026
10 checks passed
@perber
perber deleted the feat/i18n-branding-settings branch June 19, 2026 12:48
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