Skip to content

ThemeSettings画面のoffTextに専用の翻訳キーを追加#5449

Merged
TinyKitten merged 1 commit intodevfrom
fix/i18n
Feb 26, 2026
Merged

ThemeSettings画面のoffTextに専用の翻訳キーを追加#5449
TinyKitten merged 1 commit intodevfrom
fix/i18n

Conversation

@TinyKitten
Copy link
Member

@TinyKitten TinyKitten commented Feb 26, 2026

Summary

  • ThemeSettings画面のStatePanelで使用するoffTextに、既存のsettingsキーではなく専用のselect翻訳キーを追加
  • en.json"select": "Select"ja.json"select": "設定"を追加
  • ThemeSettings.tsxoffTexttranslate('select')に変更

Test plan

  • ThemeSettings画面で未選択のテーマに「設定」(日本語) / 「Select」(英語) と表示されることを確認
  • 選択中のテーマには「使用中」/ 「In use」が引き続き表示されることを確認

🤖 Generated with Claude Code

Summary by CodeRabbit

リリースノート

  • ローカライゼーション
    • テーマ設定画面に「Select」ラベルを新たに追加し、英語および日本語の多言語対応を強化しました。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the react label Feb 26, 2026
@TinyKitten TinyKitten self-assigned this Feb 26, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 42995aa and 9a7f971.

📒 Files selected for processing (3)
  • assets/translations/en.json
  • assets/translations/ja.json
  • src/screens/ThemeSettings.tsx

📝 Walkthrough

Walkthrough

このプルリクエストは、英語と日本語の翻訳ファイルに新しい「select」キーを追加し、ThemeSettingsコンポーネントでこの新しい翻訳キーを参照するようにUIラベルを更新しています。ローカライズ機能とUI表示テキストの変更のみです。

Changes

Cohort / File(s) Summary
Translation Keys
assets/translations/en.json, assets/translations/ja.json
新しい翻訳キー「select」を追加(英語:"Select"、日本語:"設定")。
Theme Settings Component
src/screens/ThemeSettings.tsx
StatePanel コンポーネントの offText ラベルを translate('settings') から translate('select') に変更。

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • 自動アナウンス設定画面実装 #4741: StatePanel/ToggleButton パターンと翻訳キーを導入した関連 PR。本 PR では新しい「select」翻訳を追加し、ThemeSettings の offText でこれを参照するように更新しており、同じ UI ラベリング/StatePanel フローに触れています。

Poem

🐰✨
新しい言葉が追加されて
「Select」と「設定」で
UI は生まれ変わった
翻訳の魔法、完成だ!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed プルリクエストのタイトルは、変更の主要な内容を正確に説明しています。ThemeSettings画面のoffTextに専用の翻訳キーを追加することが、明確かつ簡潔に表現されており、実際の変更内容と一致しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/i18n

Comment @coderabbitai help to get the list of available commands and usage tips.

@TinyKitten TinyKitten merged commit 06126a6 into dev Feb 26, 2026
7 checks passed
@TinyKitten TinyKitten deleted the fix/i18n branch February 26, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant