Ticket #6609: media.diff

File media.diff, 2.0 KB (added by diver, 10 years ago)
  • MediaWindow.cpp

     
    325325    fVideoView->AddNodes(fVideoOutputs, false);
    326326    fVideoView->AddNodes(fVideoInputs, true);
    327327
    328     fListView->AddItem(audio = new MediaListItem("Audio settings", 0, false, &fIcons));
    329     fListView->AddItem(video = new MediaListItem("Video settings", 0, true, &fIcons));
     328    fListView->AddItem(audio = new MediaListItem(B_TRANSLATE("Audio settings"), 0, false, &fIcons));
     329    fListView->AddItem(video = new MediaListItem(B_TRANSLATE("Video settings"), 0, true, &fIcons));
    330330
    331     fListView->AddItem(mixer = new MediaListItem("Audio mixer", 1, false, &fIcons));
     331    fListView->AddItem(mixer = new MediaListItem(B_TRANSLATE("Audio mixer"), 1, false, &fIcons));
    332332    mixer->SetAudioMixer(true);
    333333
    334334    fListView->SortItems(&MediaListItem::Compare);
  • MediaViews.cpp

     
    8787
    8888    float divider = StringWidth(fIsVideo ? B_TRANSLATE("Video output:")
    8989        : B_TRANSLATE("Audio output:")) + 5;
    90     fMenu1 = new BPopUpMenu("<none>");
     90    fMenu1 = new BPopUpMenu(B_TRANSLATE("<none>"));
    9191    fMenu1->SetLabelFromMarked(true);
    9292    BMenuField *menuField1 = new BMenuField("menuField1",
    9393        fIsVideo ? B_TRANSLATE("Video input:")
    9494            : B_TRANSLATE("Audio input:"), fMenu1, NULL);
    9595    menuField1->SetDivider(divider);
    9696
    97     fMenu2 = new BPopUpMenu("<none>");
     97    fMenu2 = new BPopUpMenu(B_TRANSLATE("<none>"));
    9898    fMenu2->SetLabelFromMarked(true);
    9999    BMenuField *menuField2 = new BMenuField("menuField2",
    100100        fIsVideo ? B_TRANSLATE("Video output:")
     
    106106
    107107    BMenuField *menuField3 = NULL;
    108108    if (!fIsVideo) {
    109         fMenu3 = new BPopUpMenu("<none>");
     109        fMenu3 = new BPopUpMenu(B_TRANSLATE("<none>"));
    110110        fMenu3->SetLabelFromMarked(true);
    111111        menuField3 = new BMenuField("menuField3",
    112112            B_TRANSLATE("Channel:"), fMenu3, NULL);