Project

General

Profile

Actions

Bug #1895

closed

WCheckBox using localised WString do not change on locale switch

Added by Стойчо Стефанов Stoycho Stefanov over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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

Actions #1

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

Actions #2

Updated by Koen Deforche over 11 years ago

  • Status changed from Resolved to Closed
Actions #3

Updated by Стойчо Стефанов Stoycho Stefanov about 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"));
Actions #4

Updated by Стойчо Стефанов Stoycho Stefanov about 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

Also available in: Atom PDF