More localization for Time preflet, with a patch by taos. Thanks! Fixes #7278.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40700 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fa90700d74
commit
9717d515fd
@ -16,6 +16,7 @@
|
||||
#include "TimeWindow.h"
|
||||
|
||||
#include <CalendarView.h>
|
||||
#include <Catalog.h>
|
||||
#include <CheckBox.h>
|
||||
#include <DateTime.h>
|
||||
#include <Entry.h>
|
||||
@ -32,6 +33,9 @@
|
||||
|
||||
#include <syscalls.h>
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "Time"
|
||||
|
||||
|
||||
using BPrivate::BCalendarView;
|
||||
using BPrivate::BDateTime;
|
||||
@ -243,20 +247,21 @@ DateTimeView::_InitView()
|
||||
|
||||
// clock radio buttons
|
||||
bounds.top = fClock->Frame().bottom + 10.0;
|
||||
BStringView* text = new BStringView(bounds, "clockSetTo", "Clock set to:");
|
||||
BStringView* text = new BStringView(bounds, "clockSetTo",
|
||||
B_TRANSLATE("Clock set to:"));
|
||||
AddChild(text);
|
||||
text->ResizeToPreferred();
|
||||
|
||||
bounds.left += 10.0f;
|
||||
bounds.top = text->Frame().bottom;
|
||||
fLocalTime = new BRadioButton(bounds, "localTime", "Local time",
|
||||
new BMessage(kRTCUpdate));
|
||||
fLocalTime = new BRadioButton(bounds, "localTime",
|
||||
B_TRANSLATE("Local time"), new BMessage(kRTCUpdate));
|
||||
AddChild(fLocalTime);
|
||||
fLocalTime->ResizeToPreferred();
|
||||
|
||||
bounds.left = fLocalTime->Frame().right + 10.0;
|
||||
fGmtTime = new BRadioButton(bounds, "greenwichMeanTime", "GMT",
|
||||
new BMessage(kRTCUpdate));
|
||||
fGmtTime = new BRadioButton(bounds, "greenwichMeanTime",
|
||||
B_TRANSLATE("GMT"), new BMessage(kRTCUpdate));
|
||||
AddChild(fGmtTime);
|
||||
fGmtTime->ResizeToPreferred();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user