Ticket #7327: namingfix.2.patch
File namingfix.2.patch, 1.5 KB (added by , 14 years ago) |
---|
-
src/preferences/screensaver/ScreenSaverWindow.cpp
634 634 // Create the controls inside the tabs 635 635 rect = fTabView->ContainerView()->Bounds(); 636 636 _SetupFadeTab(rect); 637 fModulesView = new ModulesView(rect, B_TRANSLATE(" Modules"), fSettings);637 fModulesView = new ModulesView(rect, B_TRANSLATE("Screensavers"), fSettings); 638 638 639 639 fTabView->AddTab(fFadeView); 640 640 fTabView->AddTab(fModulesView); … … 677 677 } 678 678 679 679 680 //! Create the controls for the fadetab680 //! Create the controls for the General tab 681 681 void 682 682 ScreenSaverWindow::_SetupFadeTab(BRect rect) 683 683 { 684 fFadeView = new FadeView(rect, B_TRANSLATE(" Fade"), fSettings);684 fFadeView = new FadeView(rect, B_TRANSLATE("General"), fSettings); 685 685 686 686 float labelWidth = be_plain_font->StringWidth(B_TRANSLATE("Turn off " 687 687 "screen")) + 20.0f; … … 913 913 void 914 914 ScreenSaverWindow::MessageReceived(BMessage *msg) 915 915 { 916 // " Fade" tab, slider updates916 // "Settings" tab, slider updates 917 917 918 918 switch (msg->what) { 919 919 case kMsgRunSliderChanged: … … 939 939 } 940 940 941 941 switch (msg->what) { 942 // " Fade" tab942 // "General" tab 943 943 944 944 case kMsgTurnOffCheckBox: 945 945 fTurnOffSlider->SetEnabled( … … 961 961 fPasswordWindow->Show(); 962 962 break; 963 963 964 // " Modules" tab964 // "Screensavers" tab 965 965 966 966 case kMsgUpdateList: 967 967 fModulesView->PopulateScreenSaverList();