Ticket #4694: Localize Hour.patch

File Localize Hour.patch, 727 bytes (added by colin, 13 years ago)
  • TimeFormatSettingsView.cpp

     
    161161    clockBox->SetLabel(TR("Clock"));
    162162
    163163    {
    164         f24HrRadioButton = new BRadioButton("", "24 Hour",
     164        BString localizedHour = new BString(TR("Hour"));
     165
     166        f24HrRadioButton = new BRadioButton("", "24 " + localizedHour,
    165167                new BMessage(kSettingsContentsModified));
    166168
    167         f12HrRadioButton = new BRadioButton("", "12 Hour",
     169        f12HrRadioButton = new BRadioButton("", "12 " + localizedHour,
    168170                new BMessage(kSettingsContentsModified));
    169171
    170172        clockBox->AddChild(BGroupLayoutBuilder(B_VERTICAL, 3)