Patch by diver, translating some yet untranslated strings.
Closes ticket #6609. Thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38676 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
108f794c97
commit
91debc877a
@ -87,14 +87,14 @@ SettingsView::SettingsView (bool isVideo)
|
|||||||
|
|
||||||
float divider = StringWidth(fIsVideo ? B_TRANSLATE("Video output:")
|
float divider = StringWidth(fIsVideo ? B_TRANSLATE("Video output:")
|
||||||
: B_TRANSLATE("Audio output:")) + 5;
|
: B_TRANSLATE("Audio output:")) + 5;
|
||||||
fMenu1 = new BPopUpMenu("<none>");
|
fMenu1 = new BPopUpMenu(B_TRANSLATE("<none>"));
|
||||||
fMenu1->SetLabelFromMarked(true);
|
fMenu1->SetLabelFromMarked(true);
|
||||||
BMenuField *menuField1 = new BMenuField("menuField1",
|
BMenuField *menuField1 = new BMenuField("menuField1",
|
||||||
fIsVideo ? B_TRANSLATE("Video input:")
|
fIsVideo ? B_TRANSLATE("Video input:")
|
||||||
: B_TRANSLATE("Audio input:"), fMenu1, NULL);
|
: B_TRANSLATE("Audio input:"), fMenu1, NULL);
|
||||||
menuField1->SetDivider(divider);
|
menuField1->SetDivider(divider);
|
||||||
|
|
||||||
fMenu2 = new BPopUpMenu("<none>");
|
fMenu2 = new BPopUpMenu(B_TRANSLATE("<none>"));
|
||||||
fMenu2->SetLabelFromMarked(true);
|
fMenu2->SetLabelFromMarked(true);
|
||||||
BMenuField *menuField2 = new BMenuField("menuField2",
|
BMenuField *menuField2 = new BMenuField("menuField2",
|
||||||
fIsVideo ? B_TRANSLATE("Video output:")
|
fIsVideo ? B_TRANSLATE("Video output:")
|
||||||
@ -106,7 +106,7 @@ SettingsView::SettingsView (bool isVideo)
|
|||||||
|
|
||||||
BMenuField *menuField3 = NULL;
|
BMenuField *menuField3 = NULL;
|
||||||
if (!fIsVideo) {
|
if (!fIsVideo) {
|
||||||
fMenu3 = new BPopUpMenu("<none>");
|
fMenu3 = new BPopUpMenu(B_TRANSLATE("<none>"));
|
||||||
fMenu3->SetLabelFromMarked(true);
|
fMenu3->SetLabelFromMarked(true);
|
||||||
menuField3 = new BMenuField("menuField3",
|
menuField3 = new BMenuField("menuField3",
|
||||||
B_TRANSLATE("Channel:"), fMenu3, NULL);
|
B_TRANSLATE("Channel:"), fMenu3, NULL);
|
||||||
|
@ -325,10 +325,10 @@ MediaWindow::InitMedia(bool first)
|
|||||||
fVideoView->AddNodes(fVideoOutputs, false);
|
fVideoView->AddNodes(fVideoOutputs, false);
|
||||||
fVideoView->AddNodes(fVideoInputs, true);
|
fVideoView->AddNodes(fVideoInputs, true);
|
||||||
|
|
||||||
fListView->AddItem(audio = new MediaListItem("Audio settings", 0, false, &fIcons));
|
fListView->AddItem(audio = new MediaListItem(B_TRANSLATE("Audio settings"), 0, false, &fIcons));
|
||||||
fListView->AddItem(video = new MediaListItem("Video settings", 0, true, &fIcons));
|
fListView->AddItem(video = new MediaListItem(B_TRANSLATE("Video settings"), 0, true, &fIcons));
|
||||||
|
|
||||||
fListView->AddItem(mixer = new MediaListItem("Audio mixer", 1, false, &fIcons));
|
fListView->AddItem(mixer = new MediaListItem(B_TRANSLATE("Audio mixer"), 1, false, &fIcons));
|
||||||
mixer->SetAudioMixer(true);
|
mixer->SetAudioMixer(true);
|
||||||
|
|
||||||
fListView->SortItems(&MediaListItem::Compare);
|
fListView->SortItems(&MediaListItem::Compare);
|
||||||
|
Loading…
Reference in New Issue
Block a user