Ticket #7278: DateTimeView.cpp.patch
File DateTimeView.cpp.patch, 1.4 KB (added by , 13 years ago) |
---|
-
time/DateTimeView.cpp
16 16 #include "TimeWindow.h" 17 17 18 18 #include <CalendarView.h> 19 #include <Catalog.h> 19 20 #include <CheckBox.h> 20 21 #include <DateTime.h> 21 22 #include <Entry.h> … … 32 33 33 34 #include <syscalls.h> 34 35 36 #undef B_TRANSLATE_CONTEXT 37 #define B_TRANSLATE_CONTEXT "Time" 35 38 39 36 40 using BPrivate::BCalendarView; 37 41 using BPrivate::BDateTime; 38 42 using BPrivate::B_LOCAL_TIME; … … 243 247 244 248 // clock radio buttons 245 249 bounds.top = fClock->Frame().bottom + 10.0; 246 BStringView* text = new BStringView(bounds, "clockSetTo", "Clock set to:");250 BStringView* text = new BStringView(bounds, "clockSetTo", B_TRANSLATE("Clock set to:")); 247 251 AddChild(text); 248 252 text->ResizeToPreferred(); 249 253 250 254 bounds.left += 10.0f; 251 255 bounds.top = text->Frame().bottom; 252 fLocalTime = new BRadioButton(bounds, "localTime", "Local time",256 fLocalTime = new BRadioButton(bounds, "localTime", B_TRANSLATE("Local time"), 253 257 new BMessage(kRTCUpdate)); 254 258 AddChild(fLocalTime); 255 259 fLocalTime->ResizeToPreferred(); 256 260 257 261 bounds.left = fLocalTime->Frame().right + 10.0; 258 fGmtTime = new BRadioButton(bounds, "greenwichMeanTime", "GMT",262 fGmtTime = new BRadioButton(bounds, "greenwichMeanTime", B_TRANSLATE("GMT"B_TRANSLATE), 259 263 new BMessage(kRTCUpdate)); 260 264 AddChild(fGmtTime); 261 265 fGmtTime->ResizeToPreferred();