Skip to content

fix(dashboard): localize tags placeholder#73

Open
wananing wants to merge 1 commit into
ob-labs:mainfrom
wananing:fix/dashboard-tags-placeholder-i18n
Open

fix(dashboard): localize tags placeholder#73
wananing wants to merge 1 commit into
ob-labs:mainfrom
wananing:fix/dashboard-tags-placeholder-i18n

Conversation

@wananing

Copy link
Copy Markdown
Contributor

Summary

Localize the dashboard write panel tags placeholder.

Fixes #60.

Solution Description

The write panel tags input still used a hardcoded placeholder string, note, draft, directly in WritePanel.tsx.

This PR moves that placeholder into the existing i18n dictionary as write.tagsPlaceholder and adds Chinese, English,
and Japanese translations. WritePanel.tsx now reads the placeholder through t("write.tagsPlaceholder"), matching
the rest of the localized write panel labels.

Verified with:

  • npm --prefix dashboard run build
  • `git diff --check

Move the write panel tags placeholder into the i18n dictionary and add Chinese, English, and Japanese translations.

Fixes ob-labs#60.
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.

Internationalize dashboard tags placeholder text

1 participant