Skip to content

Conversation

@lacolaco
Copy link
Collaborator

概要

翻訳ツールの完了サマリー出力を改善しました。

変更内容

  • consola.box() を標準のログメソッドに置き換え、全角・半角混在文字によるレイアウト崩れを解消
  • 翻訳結果に応じて成功/警告ステータスを表示
  • 失敗したファイルをコピーペースト可能なプレーンテキストで列挙

修正前の問題

consola.box() による出力でボックスの右側罫線が崩れていました(全角・半角混在による文字幅計算の問題)。

修正後

  • 成功時: ✔ 翻訳完了
  • 失敗時: ⚠ 翻訳完了(一部失敗)
  • 失敗ファイルリスト: 装飾なしのプレーンテキストで表示(コピーペースト可能)

- Replace consola.box() with standard log methods to avoid layout issues with mixed-width characters
- Show success/warning status based on translation results
- Display failed files as plain text for easy copy-paste
@lacolaco lacolaco merged commit b49a2d9 into angular:main Nov 21, 2025
4 checks passed
@lacolaco lacolaco deleted the fix/translator-summary-output branch November 21, 2025 07:04
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