better messages strings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5225 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -137,9 +137,9 @@ VolumeSlider::VolumeSlider(BRect frame, bool dontBeep, int32 volumeWhich)
|
|||||||
p = NULL;
|
p = NULL;
|
||||||
}
|
}
|
||||||
if (p==NULL) {
|
if (p==NULL) {
|
||||||
errString = "Could not find the mixer";
|
errString = volumeWhich?"Could not find the soundcard":"Could not find the mixer";
|
||||||
} else if(p->Type()!=BParameter::B_CONTINUOUS_PARAMETER) {
|
} else if(p->Type()!=BParameter::B_CONTINUOUS_PARAMETER) {
|
||||||
errString = "Mixer is unknown";
|
errString = volumeWhich?"Soundcard control unknown":"Mixer control unknown";
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
mixerParam = dynamic_cast<BContinuousParameter*>(p);
|
mixerParam = dynamic_cast<BContinuousParameter*>(p);
|
||||||
@@ -163,7 +163,7 @@ VolumeSlider::VolumeSlider(BRect frame, bool dontBeep, int32 volumeWhich)
|
|||||||
retrying = true;
|
retrying = true;
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
errString = "No Audio output";
|
errString = volumeWhich?"No Audio output":"No Mixer";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!retrying) {
|
if (!retrying) {
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ MediaReplicant::MouseDown(BPoint point)
|
|||||||
menu->AddSeparatorItem();
|
menu->AddSeparatorItem();
|
||||||
menu->AddItem(new BMenuItem("Open MediaPlayer", new BMessage(OPEN_MEDIA_PLAYER)));
|
menu->AddItem(new BMenuItem("Open MediaPlayer", new BMessage(OPEN_MEDIA_PLAYER)));
|
||||||
menu->AddSeparatorItem();
|
menu->AddSeparatorItem();
|
||||||
BMenuItem *tmpItem = new BMenuItem("Dont beep", new BMessage(TOGGLE_DONT_BEEP));
|
BMenuItem *tmpItem = new BMenuItem("Don't beep", new BMessage(TOGGLE_DONT_BEEP));
|
||||||
menu->AddItem(tmpItem);
|
menu->AddItem(tmpItem);
|
||||||
tmpItem->SetMarked(confDontBeep);
|
tmpItem->SetMarked(confDontBeep);
|
||||||
BMenu *volMenu = new BMenu("Act On");
|
BMenu *volMenu = new BMenu("Act On");
|
||||||
|
|||||||
Reference in New Issue
Block a user