-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI didn't show message completely #261
Comments
You forgot to include basic information like WinSparkle or Windows version. Ideally reproduction instructions in the included example app too... |
have you solve this. I have meet the same issue. @SheenArtem |
I think the problem is in wxWidgets: // Find the last word to chop off.
const size_t lastSpace = line.rfind(' ', posEnd);
if ( lastSpace == wxString::npos )
{
// No spaces, so can't wrap.
DoOutputLine(line);
break;
} The message wrapping is implemented by looking for a space character, but there is no space character in the Chinese translation |
@hoozh The problem is not that the text is not wrapped — that should have resulted in a wide window (and could be tweaked to look nicer by adding a hard newline to the translation). The problem is that the non-wrapped text is cut-off.1 Footnotes
|
Reproduce: (while computer has no internet.)
win_sparkle_init(); win_sparkle_check_update_with_ui();
WinSparkle version is 0.8.0
Windows 11 22H2
DPI is 100%
Language = zh_TW
But it's normal while language is en_us, the message window is expended and larger.
The message is:
#: src/ui.cpp:801
msgid "An error occurred in retrieving update information; are you connected to the internet? Please try again later."
msgstr "擷取更新資訊時遭遇錯誤,您是否已連結到網際網路?請稍後重試。"
The text was updated successfully, but these errors were encountered: