Localized, part of a GCI task (thanks protonux)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39767 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-12-08 18:10:09 +00:00
parent cdd9fd4da1
commit 4840a72fa7
6 changed files with 78 additions and 41 deletions
+5 -1
View File
@@ -9,11 +9,15 @@
#include <stdio.h>
#include <stdlib.h>
#include <Catalog.h>
#include <GridLayoutBuilder.h>
#include <GroupLayoutBuilder.h>
#include <Slider.h>
#include <String.h>
#undef B_TRANSLATE_CONTEXT
#define B_TRANSLATE_CONTEXT "SettingsWindow"
static const uint32 kMsgUpdateTimeInterval = 'upti';
@@ -91,7 +95,7 @@ SettingsWindow::SettingsWindow(ActivityWindow* target)
{
SetLayout(new BGroupLayout(B_VERTICAL));
fIntervalSlider = new IntervalSlider("Update time interval:",
fIntervalSlider = new IntervalSlider(B_TRANSLATE("Update time interval:"),
new BMessage(kMsgUpdateTimeInterval), kNumUpdateIntervals);
fIntervalSlider->SetInterval(target->RefreshInterval());