Skip to content

[UI Bug] Chinese localization error: "Yes/No" dialog buttons both display as "否" #3068

Open

Description

@ShuaiziLi

Environment

  • OS: [Windows 11]
  • Python Version: [3.8.0]
  • RIDE Version: [v2.2.2]
  • wxPython Version: [4.2.2]

Issue Description

When a workspace modification is detected and the reload confirmation dialog appears, both the "Yes" and "No" buttons incorrectly display as "否" in the Chinese locale. This causes confusion for users.

Steps to Reproduce

  1. Open RIDE and load a project.
  2. Modify a test file externally (e.g., using Notepad or PyCharm).
  3. Switch back to RIDE. The reload confirmation dialog pops up.
  4. Observe the button labels: both show "否".

Expected Behavior

The left button should display "是" (Yes), and the right button should display "否" (No).

Actual Behavior

Both buttons display "否".

Fix Applied Locally

I manually corrected the translation mapping in the Chinese locale file (zh_CN.po / zh_CN.mo) to ensure msgid "Yes" correctly maps to msgstr "是". After recompiling the .mo file, the dialog displays correctly.

Screenshots

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions