Actions
Bug #1895
closedWCheckBox using localised WString do not change on locale switch
Start date:
05/06/2013
Due date:
% Done:
0%
Estimated time:
Description
Hey,
localised WString used as a WCheckBox's text do not change when switching the locale. I instantiate the check box like this:
WCheckBox* check = new WCheckBox(WString::tr("hide_pass"),layout_->elementAt(0, 2));
The WRadioButton has the same problem:
WRadioButton *button = new WRadioButton(WString::tr("radio_1"),buttonGroup _);
WPushButton, WLabel and WMenuItem are ok, as far as I can see.
Regards,
Stoycho
s.: with wt-3.3.0
Updated by Koen Deforche over 11 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Hey Stoycho,
Good catch! A fix is on its way.
koen
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed
Updated by Стойчо Стефанов Stoycho Stefanov over 11 years ago
Hey Koen,
it seems the same bug to be in the WAnchor. I do not know if this fix considers the WAnchor as well. I cannot verify it now.
toUpperLink_ = new WAnchor(this);
toUpperLink_->setText(WString::tr("to_upper"));
Updated by Стойчо Стефанов Stoycho Stefanov over 11 years ago
Hey Koen,
there was a bug in my code. The localised string in WAnchor is fine. I hope you didn't waste time to check this out.
Regards,
Stoycho
Actions