AOSSIE-Org / AOSSIE-Org/SocialShareButton

Externalize Hero release badge text for i18n

オープン
#195 コメント 0 件 リアクション 0 件 担当者 1 名 @kpj2006 が担当を希望しています GitHub で見る
主要言語
TypeScript
スター
25
フォーク
64
平均マージ
2日 11時間
マージ済み PR(30日)
1

説明

## Summary
Externalize the Hero release badge text currently hardcoded in `landing-page/src/components/Hero.tsx` (for example, `v1.0.4 IS OUT NOW`) into the landing page's i18n resource files.

## Rationale
The badge is user-visible content and should be localized consistently with the rest of the landing page.

## Affected area
- `landing-page/src/components/Hero.tsx`
- The relevant locale/resource files used by the landing page

## Required changes
- Add an appropriately named translation key for the release badge to every supported locale resource.
- Render that key from `Hero` using the project's established i18n mechanism.
- Preserve the current displayed English text.

## Acceptance criteria
- `Hero` no longer contains the release badge text as a hardcoded JSX string.
- All relevant locale resources contain the new key.
- The badge continues to display `v1.0.4 IS OUT NOW` in the default English locale.

Requested by: @kpj2006

Backlinks:
- PR: https://github.com/AOSSIE-Org/SocialShareButton/pull/194
- Review discussion: https://github.com/AOSSIE-Org/SocialShareButton/pull/194#discussion_r3610048350

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。