better messages strings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5225 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0443cf316f
commit
7639fe5225
@ -137,9 +137,9 @@ VolumeSlider::VolumeSlider(BRect frame, bool dontBeep, int32 volumeWhich)
|
||||
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) {
|
||||
errString = "Mixer is unknown";
|
||||
errString = volumeWhich?"Soundcard control unknown":"Mixer control unknown";
|
||||
} else {
|
||||
|
||||
mixerParam = dynamic_cast<BContinuousParameter*>(p);
|
||||
@ -163,7 +163,7 @@ VolumeSlider::VolumeSlider(BRect frame, bool dontBeep, int32 volumeWhich)
|
||||
retrying = true;
|
||||
goto retry;
|
||||
}
|
||||
errString = "No Audio output";
|
||||
errString = volumeWhich?"No Audio output":"No Mixer";
|
||||
}
|
||||
} else {
|
||||
if (!retrying) {
|
||||
|
@ -218,7 +218,7 @@ MediaReplicant::MouseDown(BPoint point)
|
||||
menu->AddSeparatorItem();
|
||||
menu->AddItem(new BMenuItem("Open MediaPlayer", new BMessage(OPEN_MEDIA_PLAYER)));
|
||||
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);
|
||||
tmpItem->SetMarked(confDontBeep);
|
||||
BMenu *volMenu = new BMenu("Act On");
|
||||
|
Loading…
Reference in New Issue
Block a user