Skip to content

Missing translation for "Do you want to save the changes you made to the sketch ..." at Windows #1

@verylowfreq

Description

@verylowfreq

My custom build "custombuild-202206132140"

System information

  • SolveSpace version: 3.1~28034dc2
  • Operating system: Windows 10 Pro 21H2 (ja-JP locale)

Expected behavior

About the messages in the dialog that will be shown in editing the existing file and closing the SolveSpace without saving it.

Expected behaviour is that the translated message appears in the dialog.
For example, in ja-JP locale:
"スケッチ "%s" への変更を保存しますか?" at first line, and
"保存しなければ変更は失われます。" at second line.

The original text is (appears in src/solvespace.cpp:611-612):
"Do you want to save the changes you made to the sketch “%s”?"
"Your changes will be lost if you don't save them."

Actual behavior

The dialog says:
"Do you want to save the changes you made to the sketch Es E" at first line (NOT translated; raw text in sourcecode), and
"保存しなければ変更は失われます。" at second line (as expected).

Additional information

Not reproduced in macOS 12.4.

The text "Do you want to save the changes you made to the sketch “%s”?" is in src/solvespace.cpp:611 .
I noticed that the double quote char is not ASCII char but Unicode BMP char. This char looks not drawn correctly in the dialog and breaks the "%s" format specifier. I don't know why that behaviour happens.
ref) "Left Double Quotation Mark" https://www.compart.com/en/unicode/U+201C

en-US locale:
solvespace-translation-enus

ja-JP locale:
solvespace-translation-jajp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions