ui: 進捗状況線ダイアログが日本語表示で英語のまま

Open Beginner friendly
#1,721 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
83/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
java

Research direction

Start with menu_ja.properties and compare its ProgressLines.* entries with the English menu bundle; the issue names all nine keys and the tooltip to update. Then read MenuBundleJapaneseParityTest.java and its current key filter. Done means the Japanese entries are present and the test compares every key except .action, .icon, .type, and .activation.

Written by the indexing model from the issue text.

Description

area: ui priority: medium

概要

日本語表示で、ガントビューの「進捗状況線」ダイアログ(リボン RibbonToggleProgressLine)の項目が英語のまま表示される(「Show line for:」「Status date」「Recurring interval」「Days」など)。
原因は menu_ja.properties に ProgressLines.* の 9 キーがないこと。GraphicManager のダイアログはこれらを manager.getString("ProgressLines.…") で読むため、既定の menu.properties の英語になる。
MenuBundleJapaneseParityTest は .text / .tooltip で終わるキーしか比べていないため、この欠落を検出できなかった。

作業手順

  1. modules/microproject_ui/src/main/resources/com/microproject/ui/menu/menu_ja.properties に ProgressLines.showCurrent、statusDate、currentDate、showRecurring、interval、day、week、month、invalidInterval の日本語訳を追加する。RibbonToggleProgressLine.tooltip を英語版と同じ「設定する」意味に合わせる。
  2. modules/microproject_ui/src/test/java/com/microproject/ui/menu/MenuBundleJapaneseParityTest.java を、.action / .icon / .type / .activation 以外のすべてのキーを比べるように広げる。

検証

.\gradlew.bat :microproject_ui:test --tests "com.microproject.ui.menu.MenuBundleJapaneseParityTest"
git diff --check

完了条件

  • menu_ja.properties に ProgressLines.* の 9 キーがある
  • MenuBundleJapaneseParityTest が .action / .icon / .type / .activation 以外のキーを比べ、通る
  • PR の build と GUI acceptance が通る

範囲外

  • 他言語のメニュー翻訳の欠落。
Dominant language
Java
Stars
2
Forks
1
Avg merge
4h 52m
Merged PRs (30d)
349

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tetsuji16/microProject

All issues in tetsuji16/microProject

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.