Skip to content

Conversation

lacolaco
Copy link
Collaborator

@lacolaco lacolaco commented Sep 27, 2025

概要

ナビゲーションコンポーネントの翻訳をファイルベースからgitパッチシステムに移行しました。

ファイル全体に対して翻訳箇所が少ないため、パッチによる差分管理のほうが把握しやすくなります。

変更内容

  • adev-ja/src/app/core/layout/navigation/navigation.component.html および .en.html ファイルを削除
  • tools/adev-patches/translate-navigation.patch を新規作成
  • tools/update-origin.ts からナビゲーションファイルをローカライズ対象から除外

テスト

  • pnpm test でパッチの適用が正常に動作することを確認済み

チェックリスト

  • パッチファイルが正しく作成されている
  • パッチの適用テストが通る
  • 削除されたファイルが適切に処理されている
  • update-origin.ts の設定が更新されている

- Remove adev-ja navigation.component.html and .en.html files
- Add translate-navigation.patch to tools/adev-patches/
- Update tools/update-origin.ts to exclude navigation from localized files
- Navigation translations now handled via patch system for better maintainability
@lacolaco lacolaco merged commit 4238333 into angular:main Sep 27, 2025
4 checks passed
@lacolaco lacolaco deleted the refactor/migrate-navigation-to-patch branch September 27, 2025 04:38
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.

1 participant