Ticket #5169: case-tracker.diff
File case-tracker.diff, 58.2 KB (added by , 14 years ago) |
---|
-
src/kits/tracker/VolumeWindow.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright (c) 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 93 94 menu->AddSeparatorItem(); 94 95 95 96 menu->AddItem(new BMenuItem("Open", new BMessage(kOpenSelection), 'O')); 96 menu->AddItem(new BMenuItem("Get Info", new BMessage(kGetInfo), 'I'));97 menu->AddItem(new BMenuItem("Edit Name", new BMessage(kEditItem), 'E'));97 menu->AddItem(new BMenuItem("Get info", new BMessage(kGetInfo), 'I')); 98 menu->AddItem(new BMenuItem("Edit name", new BMessage(kEditItem), 'E')); 98 99 99 100 BMenuItem *item = new BMenuItem("Unmount", new BMessage(kUnmountVolume), 'U'); 100 101 item->SetEnabled(false); 101 102 menu->AddItem(item); 102 103 103 menu->AddItem(new BMenuItem("Mount Settings" B_UTF8_ELLIPSIS,104 menu->AddItem(new BMenuItem("Mount settings" B_UTF8_ELLIPSIS, 104 105 new BMessage(kRunAutomounterSettings))); 105 106 106 107 menu->AddSeparatorItem(); … … 118 119 return; 119 120 } 120 121 121 menu->AddItem(new BMenuItem("Icon View", new BMessage(kIconMode)));122 menu->AddItem(new BMenuItem("Mini Icon View", new BMessage(kMiniIconMode)));123 menu->AddItem(new BMenuItem("List View", new BMessage(kListMode)));122 menu->AddItem(new BMenuItem("Icon view", new BMessage(kIconMode))); 123 menu->AddItem(new BMenuItem("Mini icon view", new BMessage(kMiniIconMode))); 124 menu->AddItem(new BMenuItem("List view", new BMessage(kListMode))); 124 125 menu->AddSeparatorItem(); 125 126 126 BMenuItem *resizeItem = new BMenuItem("Resize to Fit",new BMessage(kResizeToFit), 'Y');127 BMenuItem *resizeItem = new BMenuItem("Resize to fit",new BMessage(kResizeToFit), 'Y'); 127 128 menu->AddItem(resizeItem); 128 menu->AddItem(new BMenuItem("Clean Up", new BMessage(kCleanup), 'K'));129 menu->AddItem(new BMenuItem("Clean up", new BMessage(kCleanup), 'K')); 129 130 menu->AddItem(new BMenuItem("Select"B_UTF8_ELLIPSIS, new BMessage(kShowSelectionWindow), 'A', B_SHIFT_KEY)); 130 menu->AddItem(new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A'));131 menu->AddItem(new BMenuItem("Invert Selection", new BMessage(kInvertSelection), 'S'));131 menu->AddItem(new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A')); 132 menu->AddItem(new BMenuItem("Invert selection", new BMessage(kInvertSelection), 'S')); 132 133 133 134 BMenuItem *closeItem = new BMenuItem("Close",new BMessage(B_QUIT_REQUESTED), 'W'); 134 135 menu->AddItem(closeItem); -
src/kits/tracker/SettingsViews.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 7 Copyright 2009, Haiku, Inc. All rights reserved. 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in 10 11 the Software without restriction, including without limitation the rights to … … 164 165 : SettingsView(rect, "DesktopSettingsView") 165 166 { 166 167 rect.OffsetTo(B_ORIGIN); 167 fShowDisksIconRadioButton = new BRadioButton(rect, "", "Show Disks Icon",168 fShowDisksIconRadioButton = new BRadioButton(rect, "", "Show Disks icon", 168 169 new BMessage(kShowDisksIconChanged)); 169 170 fShowDisksIconRadioButton->ResizeToPreferred(); 170 171 AddChild(fShowDisksIconRadioButton); … … 173 174 rect.OffsetBy(0, itemSpacing); 174 175 175 176 fMountVolumesOntoDesktopRadioButton = new BRadioButton(rect, "", 176 "Show Volumes on Desktop", new BMessage(kVolumesOnDesktopChanged));177 "Show volumes on Desktop", new BMessage(kVolumesOnDesktopChanged)); 177 178 AddChild(fMountVolumesOntoDesktopRadioButton); 178 179 fMountVolumesOntoDesktopRadioButton->ResizeToPreferred(); 179 180 180 181 rect.OffsetBy(20, itemSpacing); 181 182 182 183 fMountSharedVolumesOntoDesktopCheckBox = new BCheckBox(rect, "", 183 "Show Shared Volumes On Desktop", new BMessage(kVolumesOnDesktopChanged));184 "Show shared volumes on Desktop", new BMessage(kVolumesOnDesktopChanged)); 184 185 AddChild(fMountSharedVolumesOntoDesktopCheckBox); 185 186 fMountSharedVolumesOntoDesktopCheckBox->ResizeToPreferred(); 186 187 … … 188 189 189 190 rect = Bounds(); 190 191 rect.top = rect.bottom; 191 fMountButton = new BButton(rect, "", "Mount Settings" B_UTF8_ELLIPSIS,192 fMountButton = new BButton(rect, "", "Mount settings" B_UTF8_ELLIPSIS, 192 193 new BMessage(kRunAutomounterSettings), B_FOLLOW_LEFT | B_FOLLOW_BOTTOM); 193 194 fMountButton->ResizeToPreferred(); 194 195 fMountButton->MoveBy(0, -fMountButton->Bounds().Height()); … … 413 414 : SettingsView(rect, "WindowsSettingsView") 414 415 { 415 416 rect.OffsetTo(B_ORIGIN); 416 fShowFullPathInTitleBarCheckBox = new BCheckBox(rect, "", "Show Folder Location in Title Bar",417 fShowFullPathInTitleBarCheckBox = new BCheckBox(rect, "", "Show folder location in title tab", 417 418 new BMessage(kWindowsShowFullPathChanged)); 418 419 fShowFullPathInTitleBarCheckBox->ResizeToPreferred(); 419 420 AddChild(fShowFullPathInTitleBarCheckBox); … … 421 422 const float itemSpacing = fShowFullPathInTitleBarCheckBox->Bounds().Height() + kItemExtraSpacing; 422 423 rect.OffsetBy(0, itemSpacing); 423 424 424 fSingleWindowBrowseCheckBox = new BCheckBox(rect, "", "Single Window Navigation",425 fSingleWindowBrowseCheckBox = new BCheckBox(rect, "", "Single window navigation", 425 426 new BMessage(kSingleWindowBrowseChanged)); 426 427 fSingleWindowBrowseCheckBox->ResizeToPreferred(); 427 428 AddChild(fSingleWindowBrowseCheckBox); 428 429 429 430 rect.OffsetBy(20, itemSpacing); 430 431 431 fShowNavigatorCheckBox = new BCheckBox(rect, "", "Show Navigator",432 fShowNavigatorCheckBox = new BCheckBox(rect, "", "Show navigator", 432 433 new BMessage(kShowNavigatorChanged)); 433 434 fShowNavigatorCheckBox->ResizeToPreferred(); 434 435 AddChild(fShowNavigatorCheckBox); 435 436 436 437 rect.OffsetBy(-20, itemSpacing); 437 438 438 fOutlineSelectionCheckBox = new BCheckBox(rect, "", "Outline Selection Rectangle Only",439 fOutlineSelectionCheckBox = new BCheckBox(rect, "", "Outline selection rectangle only", 439 440 new BMessage(kTransparentSelectionChanged)); 440 441 fOutlineSelectionCheckBox->ResizeToPreferred(); 441 442 AddChild(fOutlineSelectionCheckBox); 442 443 443 444 rect.OffsetBy(0, itemSpacing); 444 445 445 fSortFolderNamesFirstCheckBox = new BCheckBox(rect, "", "List Folders First",446 fSortFolderNamesFirstCheckBox = new BCheckBox(rect, "", "List folders first", 446 447 new BMessage(kSortFolderNamesFirstChanged)); 447 448 fSortFolderNamesFirstCheckBox->ResizeToPreferred(); 448 449 AddChild(fSortFolderNamesFirstCheckBox); … … 690 691 691 692 rect.left = 8; 692 693 rect.top = rect.bottom - 8; 693 f24HrRadioButton = new BRadioButton(rect, "", "24 Hour",694 f24HrRadioButton = new BRadioButton(rect, "", "24 hour", 694 695 new BMessage(kSettingsContentsModified)); 695 696 f24HrRadioButton->ResizeToPreferred(); 696 697 clockBox->AddChild(f24HrRadioButton); … … 698 699 const float itemSpacing = f24HrRadioButton->Bounds().Height() + kItemExtraSpacing; 699 700 rect.OffsetBy(0, itemSpacing); 700 701 701 f12HrRadioButton = new BRadioButton(rect, "", "12 Hour",702 f12HrRadioButton = new BRadioButton(rect, "", "12 hour", 702 703 new BMessage(kSettingsContentsModified)); 703 704 f12HrRadioButton->ResizeToPreferred(); 704 705 clockBox->AddChild(f12HrRadioButton); … … 709 710 710 711 rect = clockBox->Frame(); 711 712 rect.OffsetBy(rect.Width() + 8, 0); 712 BBox *dateFormatBox = new BBox(rect, "Date Order");713 dateFormatBox->SetLabel("Date Order");713 BBox *dateFormatBox = new BBox(rect, "Date order"); 714 dateFormatBox->SetLabel("Date order"); 714 715 AddChild(dateFormatBox); 715 716 716 717 rect = f24HrRadioButton->Frame(); 717 fYMDRadioButton = new BRadioButton(rect, "", "Year- Month-Day",718 fYMDRadioButton = new BRadioButton(rect, "", "Year-month-day", 718 719 new BMessage(kSettingsContentsModified)); 719 720 fYMDRadioButton->ResizeToPreferred(); 720 721 dateFormatBox->AddChild(fYMDRadioButton); 721 722 722 723 rect.OffsetBy(0, itemSpacing); 723 724 724 fDMYRadioButton = new BRadioButton(rect, "", "Day- Month-Year",725 fDMYRadioButton = new BRadioButton(rect, "", "Day-month-year", 725 726 new BMessage(kSettingsContentsModified)); 726 727 fDMYRadioButton->ResizeToPreferred(); 727 728 dateFormatBox->AddChild(fDMYRadioButton); 728 729 729 730 rect.OffsetBy(0, itemSpacing); 730 731 731 fMDYRadioButton = new BRadioButton(rect, "", "Month- Day-Year",732 fMDYRadioButton = new BRadioButton(rect, "", "Month-day-year", 732 733 new BMessage(kSettingsContentsModified)); 733 734 fMDYRadioButton->ResizeToPreferred(); 734 735 dateFormatBox->AddChild(fMDYRadioButton); … … 1023 1024 : SettingsView(rect, "SpaceBarSettingsView") 1024 1025 { 1025 1026 rect.OffsetTo(B_ORIGIN); 1026 fSpaceBarShowCheckBox = new BCheckBox(rect, "", "Show Space Bars on Volumes",1027 fSpaceBarShowCheckBox = new BCheckBox(rect, "", "Show space bars on volumes", 1027 1028 new BMessage(kUpdateVolumeSpaceBar)); 1028 1029 fSpaceBarShowCheckBox->ResizeToPreferred(); 1029 1030 AddChild(fSpaceBarShowCheckBox); … … 1035 1036 menu->SetFont(be_plain_font); 1036 1037 1037 1038 BMenuItem *item; 1038 menu->AddItem(item = new BMenuItem("Used Space Color", new BMessage(kSpaceBarSwitchColor)));1039 menu->AddItem(item = new BMenuItem("Used space color", new BMessage(kSpaceBarSwitchColor))); 1039 1040 item->SetMarked(true); 1040 1041 fCurrentColor = 0; 1041 menu->AddItem(new BMenuItem("Free Space Color", new BMessage(kSpaceBarSwitchColor)));1042 menu->AddItem(new BMenuItem("Warning Space Color", new BMessage(kSpaceBarSwitchColor)));1042 menu->AddItem(new BMenuItem("Free space color", new BMessage(kSpaceBarSwitchColor))); 1043 menu->AddItem(new BMenuItem("Warning space color", new BMessage(kSpaceBarSwitchColor))); 1043 1044 1044 1045 BBox *box = new BBox(rect); 1045 1046 box->SetLabel(fColorPicker = new BMenuField(rect, NULL, NULL, menu)); … … 1273 1274 : SettingsView(rect, "TrashSettingsView") 1274 1275 { 1275 1276 rect.OffsetTo(B_ORIGIN); 1276 fDontMoveFilesToTrashCheckBox = new BCheckBox(rect, "", "Don't Move Files to Trash",1277 fDontMoveFilesToTrashCheckBox = new BCheckBox(rect, "", "Don't move files to Trash", 1277 1278 new BMessage(kDontMoveFilesToTrashChanged)); 1278 1279 fDontMoveFilesToTrashCheckBox->ResizeToPreferred(); 1279 1280 AddChild(fDontMoveFilesToTrashCheckBox); … … 1281 1282 rect = fDontMoveFilesToTrashCheckBox->Frame(); 1282 1283 rect.OffsetBy(0, fDontMoveFilesToTrashCheckBox->Bounds().Height() + kItemExtraSpacing); 1283 1284 1284 fAskBeforeDeleteFileCheckBox = new BCheckBox(rect, "", "Ask Before Delete",1285 fAskBeforeDeleteFileCheckBox = new BCheckBox(rect, "", "Ask before delete", 1285 1286 new BMessage(kAskBeforeDeleteFileChanged)); 1286 1287 fAskBeforeDeleteFileCheckBox->ResizeToPreferred(); 1287 1288 AddChild(fAskBeforeDeleteFileCheckBox); -
src/kits/tracker/InfoWindow.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 908 909 909 910 // Add the default menu item and set it to marked 910 911 BMenuItem *result; 911 result = new BMenuItem("Default Application", new BMessage(kSetPreferredApp));912 result = new BMenuItem("Default application", new BMessage(kSetPreferredApp)); 912 913 result->SetTarget(this); 913 914 fPreferredAppMenu->Menu()->AddItem(result); 914 915 result->SetMarked(true); … … 1767 1768 1768 1769 // Link to/version 1769 1770 if (fModel->IsSymLink()) { 1770 MovePenTo(BPoint(fDivider - (StringWidth("Link To:")), lineBase));1771 MovePenTo(BPoint(fDivider - (StringWidth("Link to:")), lineBase)); 1771 1772 SetHighColor(kAttrTitleColor); 1772 1773 DrawString("Link To:"); 1773 1774 MovePenTo(BPoint(fDivider + kDrawMargin, lineBase)); … … 2020 2021 parent->AddItem(new BMenuItem("Open", new BMessage(kOpenSelection), 'O')); 2021 2022 2022 2023 if (!FSIsTrashDir(&entry)) { 2023 parent->AddItem(new BMenuItem("Edit Name", new BMessage(kEditItem), 'E'));2024 parent->AddItem(new BMenuItem("Edit name", new BMessage(kEditItem), 'E')); 2024 2025 parent->AddSeparatorItem(); 2025 2026 if (fModel->IsVolume()) { 2026 2027 BMenuItem *item; … … 2039 2040 2040 2041 BMenuItem *sizeItem = NULL; 2041 2042 if (model.IsDirectory() && !model.IsVolume() && !model.IsRoot()) { 2042 parent->AddItem(sizeItem = new BMenuItem("Recalculate Folder Size",2043 parent->AddItem(sizeItem = new BMenuItem("Recalculate folder size", 2043 2044 new BMessage(kRecalculateSize))); 2044 2045 } 2045 2046 -
src/kits/tracker/FilePanelPriv.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 600 601 FavoritesMenu *favorites = new FavoritesMenu("Favorites", 601 602 new BMessage(kSwitchDirectory), new BMessage(B_REFS_RECEIVED), 602 603 BMessenger(this), IsSavePanel(), fPoseView->RefFilter()); 603 favorites->AddItem(new BMenuItem("Add Current Folder",604 favorites->AddItem(new BMenuItem("Add current folder", 604 605 new BMessage(kAddCurrentDir))); 605 favorites->AddItem(new BMenuItem("Edit Favorites"B_UTF8_ELLIPSIS,606 favorites->AddItem(new BMenuItem("Edit favorites"B_UTF8_ELLIPSIS, 606 607 new BMessage(kEditFavorites))); 607 608 608 609 fMenuBar->AddItem(favorites); … … 847 848 void 848 849 TFilePanel::AddFileContextMenus(BMenu *menu) 849 850 { 850 menu->AddItem(new BMenuItem("Get Info", new BMessage(kGetInfo), 'I'));851 menu->AddItem(new BMenuItem("Edit Name", new BMessage(kEditItem), 'E'));851 menu->AddItem(new BMenuItem("Get info", new BMessage(kGetInfo), 'I')); 852 menu->AddItem(new BMenuItem("Edit name", new BMessage(kEditItem), 'E')); 852 853 menu->AddItem(new BMenuItem(TrackerSettings().DontMoveFilesToTrash() ? 853 854 "Delete" : "Move to Trash", 854 855 new BMessage(kMoveToTrash), 'T')); … … 865 866 TFilePanel::AddVolumeContextMenus(BMenu *menu) 866 867 { 867 868 menu->AddItem(new BMenuItem("Open", new BMessage(kOpenSelection), 'O')); 868 menu->AddItem(new BMenuItem("Get Info", new BMessage(kGetInfo), 'I'));869 menu->AddItem(new BMenuItem("Edit Name", new BMessage(kEditItem), 'E'));869 menu->AddItem(new BMenuItem("Get info", new BMessage(kGetInfo), 'I')); 870 menu->AddItem(new BMenuItem("Edit name", new BMessage(kEditItem), 'E')); 870 871 menu->AddSeparatorItem(); 871 872 menu->AddItem(new BMenuItem("Cut", new BMessage(B_CUT), 'X')); 872 873 menu->AddItem(new BMenuItem("Copy", new BMessage(B_COPY), 'C')); … … 879 880 void 880 881 TFilePanel::AddWindowContextMenus(BMenu *menu) 881 882 { 882 BMenuItem *item = new BMenuItem("New Folder", new BMessage(kNewFolder), 'N');883 BMenuItem *item = new BMenuItem("New folder", new BMessage(kNewFolder), 'N'); 883 884 item->SetTarget(PoseView()); 884 885 menu->AddItem(item); 885 886 menu->AddSeparatorItem(); … … 894 895 item->SetTarget(PoseView()); 895 896 menu->AddItem(item); 896 897 897 item = new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A');898 item = new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A'); 898 899 item->SetTarget(PoseView()); 899 900 menu->AddItem(item); 900 901 901 item = new BMenuItem("Invert Selection", new BMessage(kInvertSelection), 'S');902 item = new BMenuItem("Invert selection", new BMessage(kInvertSelection), 'S'); 902 903 item->SetTarget(PoseView()); 903 904 menu->AddItem(item); 904 905 905 item = new BMenuItem("Go To Parent", new BMessage(kOpenParentDir), B_UP_ARROW);906 item = new BMenuItem("Go to parent", new BMessage(kOpenParentDir), B_UP_ARROW); 906 907 item->SetTarget(this); 907 908 menu->AddItem(item); 908 909 } … … 1051 1052 1052 1053 // Don't allow saves of multiple files 1053 1054 if (count > 1) { 1054 ShowCenteredAlert("Sorry, saving ofmore than one item is not allowed.",1055 ShowCenteredAlert("Sorry, saving more than one item is not allowed.", 1055 1056 "Cancel"); 1056 1057 } else { 1057 1058 // if we are a savepanel, set up the filepanel correctly … … 1353 1354 // check for some illegal file names 1354 1355 if (strcmp(fTextControl->Text(), ".") == 0 1355 1356 || strcmp(fTextControl->Text(), "..") == 0) { 1356 ShowCenteredAlert("The name you have specified is illegal. Please type "1357 ShowCenteredAlert("The specified name is illegal. Please choose " 1357 1358 "another name.", "Cancel"); 1358 1359 fTextControl->TextView()->SelectAll(); 1359 1360 return; … … 1367 1368 1368 1369 if (dir.Contains(fTextControl->Text())) { 1369 1370 if (dir.Contains(fTextControl->Text(), B_DIRECTORY_NODE)) { 1370 ShowCenteredAlert("The name you have specified is alreadythe name "1371 "of a folder. Please type another name.", "Cancel");1371 ShowCenteredAlert("The specified name is already used as the name " 1372 "of a folder. Please choose another name.", "Cancel"); 1372 1373 fTextControl->TextView()->SelectAll(); 1373 1374 return; 1374 1375 } else { -
src/kits/tracker/TrackerSettingsWindow.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 64 65 65 66 66 67 TrackerSettingsWindow::TrackerSettingsWindow() 67 : BWindow(BRect(80, 80, 450, 350), "Tracker Preferences", B_TITLED_WINDOW,68 : BWindow(BRect(80, 80, 450, 350), "Tracker preferences", B_TITLED_WINDOW, 68 69 B_NOT_MINIMIZABLE | B_NOT_RESIZABLE | B_NO_WORKSPACE_ACTIVATION 69 70 | B_NOT_ANCHORED_ON_ACTIVATE | B_ASYNCHRONOUS_CONTROLS | B_NOT_ZOOMABLE) 70 71 { … … 113 114 new DesktopSettingsView(rect))); 114 115 fSettingsTypeListView->AddItem(new SettingsItem("Windows", 115 116 new WindowsSettingsView(rect))); 116 fSettingsTypeListView->AddItem(new SettingsItem("Date andTime",117 fSettingsTypeListView->AddItem(new SettingsItem("Date & Time", 117 118 new TimeFormatSettingsView(rect))); 118 119 fSettingsTypeListView->AddItem(new SettingsItem("Trash", 119 120 new TrashSettingsView(rect))); 120 fSettingsTypeListView->AddItem(new SettingsItem("Volume Icons",121 fSettingsTypeListView->AddItem(new SettingsItem("Volume icons", 121 122 new SpaceBarSettingsView(rect))); 122 123 123 124 // compute preferred view size -
src/kits/tracker/NavMenu.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 716 717 fItemList->MakeEmpty(); 717 718 718 719 if (!count) { 719 BMenuItem *item = new BMenuItem("Empty Folder", 0);720 BMenuItem *item = new BMenuItem("Empty folder", 0); 720 721 item->SetEnabled(false); 721 722 AddItem(item); 722 723 } -
src/kits/tracker/TemplatesMenu.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 55 56 const char *kTemplatesDirectory = "Tracker/Tracker New Templates"; 56 57 const char *kTemplatesMenuName = "New"; 57 58 58 static const char *kOpenTemplatesMenuName = "Edit Templates"B_UTF8_ELLIPSIS;59 static const char *kOpenTemplatesMenuName = "Edit templates"B_UTF8_ELLIPSIS; 59 60 60 61 } 61 62 … … 112 113 delete RemoveItem(0L); 113 114 114 115 // Add the Folder 115 IconMenuItem *menuItem = new IconMenuItem("New Folder", new BMessage(kNewFolder),116 IconMenuItem *menuItem = new IconMenuItem("New folder", new BMessage(kNewFolder), 116 117 B_DIR_MIMETYPE,B_MINI_ICON); 117 118 AddItem(menuItem); 118 119 menuItem->SetShortcut('N', 0); -
src/kits/tracker/OpenWithWindow.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 102 103 103 104 BRect buttonRect = fLaunchButton->Frame(); 104 105 fLaunchAndMakeDefaultButton = new BButton(buttonRect, "make default", 105 "Open and Make Preferred", new BMessage(kOpenAndMakeDefault),106 "Open and make preferred", new BMessage(kOpenAndMakeDefault), 106 107 B_FOLLOW_RIGHT | B_FOLLOW_BOTTOM); 107 108 // wide button, have to resize to fit text 108 109 fLaunchAndMakeDefaultButton->ResizeToPreferred(); … … 143 144 entry_ref ref; 144 145 fEntriesToOpen->FindRef("refs", &ref); 145 146 BString buffer; 146 buffer << "Open " << ref.name << " With:";147 buffer << "Open " << ref.name << " with:"; 147 148 SetTitle(buffer.String()); 148 149 } else 149 150 // use generic title 150 SetTitle("Open Selection With:");151 SetTitle("Open selection with:"); 151 152 152 153 AddCommonFilter(new BMessageFilter(B_KEY_DOWN, &OpenWithContainerWindow::KeyDownFilter)); 153 154 } -
src/kits/tracker/FSUtils.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 1755 1756 sprintf(replaceMsg, kReplaceManyStr, verb, verb); 1756 1757 1757 1758 BAlert *alert = new BAlert("", replaceMsg, 1758 "Cancel", "Prompt", "Replace All");1759 "Cancel", "Prompt", "Replace all"); 1759 1760 alert->SetShortcut(0, B_ESCAPE); 1760 1761 switch (alert->Go()) { 1761 1762 case 0: … … 1891 1892 // special case single collision (don't need Replace All shortcut) 1892 1893 BAlert *alert; 1893 1894 if (multipleCollisions || sourceIsDirectory) { 1894 alert = new BAlert("", replaceMsg, "Skip", "Replace All");1895 alert = new BAlert("", replaceMsg, "Skip", "Replace all"); 1895 1896 } else { 1896 1897 alert = new BAlert("", replaceMsg, "Cancel", "Replace"); 1897 1898 alert->SetShortcut(0, B_ESCAPE); … … 2611 2612 } 2612 2613 2613 2614 if (err != kTrashCanceled && err != kUserCanceled && err != B_OK) 2614 (new BAlert("", "Error Deleting items", "OK", NULL, NULL,2615 (new BAlert("", "Error deleting items", "OK", NULL, NULL, 2615 2616 B_WIDTH_AS_USUAL, B_WARNING_ALERT))->Go(); 2616 2617 } 2617 2618 if (gStatusWindow) … … 2800 2801 status_t result = dir.InitCheck(); 2801 2802 if (result == B_OK) { 2802 2803 char name[B_FILE_NAME_LENGTH]; 2803 strcpy(name, "New Folder");2804 strcpy(name, "New folder"); 2804 2805 2805 2806 int32 fnum = 1; 2806 2807 while (dir.Contains(name)) { … … 2808 2809 // ToDo: 2809 2810 // move this logic ot FSMakeOriginalName 2810 2811 if (++fnum > 9) 2811 sprintf(name, "New Folder%ld", fnum);2812 sprintf(name, "New folder%ld", fnum); 2812 2813 else 2813 sprintf(name, "New Folder %ld", fnum);2814 sprintf(name, "New folder %ld", fnum); 2814 2815 } 2815 2816 2816 2817 BDirectory newDir; … … 3210 3211 alternative = kFindApplicationStr; 3211 3212 } else if (error == B_LAUNCH_FAILED_APP_IN_TRASH) { 3212 3213 alertString << "Could not open \"" << documentRef.name 3213 << "\" because application \"" << app.name << "\" is in the trash. ";3214 << "\" because application \"" << app.name << "\" is in the Trash. "; 3214 3215 alternative = kFindAlternativeStr; 3215 3216 } else if (error == B_LAUNCH_FAILED_APP_NOT_FOUND) { 3216 3217 alertString << "Could not open \"" << documentRef.name << "\" " -
src/kits/tracker/StatusWindow.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 146 147 147 148 BStatusWindow::BStatusWindow() 148 149 : 149 BWindow(kStatusRect, "Tracker Status", B_TITLED_WINDOW,150 BWindow(kStatusRect, "Tracker status", B_TITLED_WINDOW, 150 151 B_NOT_CLOSABLE | B_NOT_RESIZABLE | B_NOT_ZOOMABLE, 151 152 B_ALL_WORKSPACES), 152 153 fRetainDesktopFocus(false) … … 529 530 break; 530 531 531 532 case kCreateLinkState: 532 fStatusBar->Reset("Creating Links: ", buffer.String());533 fStatusBar->Reset("Creating links: ", buffer.String()); 533 534 break; 534 535 535 536 case kMoveState: -
src/kits/tracker/SlowContextPopup.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 508 509 fItemList->MakeEmpty(); 509 510 510 511 if (!count) { 511 BMenuItem *item = new BMenuItem("Empty Folder", 0);512 BMenuItem *item = new BMenuItem("Empty folder", 0); 512 513 item->SetEnabled(false); 513 514 AddItem(item); 514 515 } -
src/kits/tracker/DeskWindow.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 277 278 278 279 menu->AddSeparatorItem(); 279 280 280 BMenu* iconSizeMenu = new BMenu("Icon View");281 BMenu* iconSizeMenu = new BMenu("Icon view"); 281 282 282 283 BMessage* message = new BMessage(kIconMode); 283 284 message->AddInt32("size", 32); … … 311 312 312 313 message = new BMessage(kIconMode); 313 314 message->AddInt32("scale", 0); 314 item = new BMenuItem("Decrease Size", message, '-');315 item = new BMenuItem("Decrease size", message, '-'); 315 316 item->SetTarget(PoseView()); 316 317 iconSizeMenu->AddItem(item); 317 318 318 319 message = new BMessage(kIconMode); 319 320 message->AddInt32("scale", 1); 320 item = new BMenuItem("Increase Size", message, '+');321 item = new BMenuItem("Increase size", message, '+'); 321 322 item->SetTarget(PoseView()); 322 323 iconSizeMenu->AddItem(item); 323 324 … … 328 329 iconSizeMenu->Superitem()->SetTarget(PoseView()); 329 330 iconSizeMenu->Superitem()->SetMarked(PoseView()->ViewMode() == kIconMode); 330 331 331 item = new BMenuItem("Mini Icon View", new BMessage(kMiniIconMode), '2');332 item = new BMenuItem("Mini icon view", new BMessage(kMiniIconMode), '2'); 332 333 item->SetMarked(PoseView()->ViewMode() == kMiniIconMode); 333 334 menu->AddItem(item); 334 335 … … 339 340 menu->AddItem(pasteItem = new BMenuItem("Paste", new BMessage(B_PASTE), 'V')); 340 341 menu->AddSeparatorItem(); 341 342 #endif 342 menu->AddItem(new BMenuItem("Clean Up", new BMessage(kCleanup), 'K'));343 menu->AddItem(new BMenuItem("Clean up", new BMessage(kCleanup), 'K')); 343 344 menu->AddItem(new BMenuItem("Select"B_UTF8_ELLIPSIS, 344 345 new BMessage(kShowSelectionWindow), 'A', B_SHIFT_KEY)); 345 menu->AddItem(new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A'));346 menu->AddItem(new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A')); 346 347 347 348 menu->AddSeparatorItem(); 348 349 menu->AddItem(new MountMenu("Mount")); … … 368 369 new BMessage(kEmptyTrash))); 369 370 fTrashContextMenu->AddItem(new BMenuItem("Open", 370 371 new BMessage(kOpenSelection), 'O')); 371 fTrashContextMenu->AddItem(new BMenuItem("Get Info",372 fTrashContextMenu->AddItem(new BMenuItem("Get info", 372 373 new BMessage(kGetInfo), 'I')); 373 374 fTrashContextMenu->SetTargetForItems(PoseView()); 374 375 } -
src/kits/tracker/PoseView.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 2436 2437 if (CountColumns() == 1) { 2437 2438 if (runAlert) { 2438 2439 BAlert *alert = new BAlert("", 2439 "You must have at least one Attribute showing.",2440 "You must have at least one attribute showing.", 2440 2441 "Cancel", 0, 0, B_WIDTH_AS_USUAL, B_WARNING_ALERT); 2441 2442 alert->SetShortcut(0, B_ESCAPE); 2442 2443 alert->Go(); -
src/kits/tracker/AutoMounterSettings.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 103 104 104 105 BBox* autoMountBox = new BBox("autoMountBox", B_WILL_DRAW | B_FRAME_EVENTS 105 106 | B_PULSE_NEEDED | B_NAVIGABLE_JUMP); 106 autoMountBox->SetLabel("Automatic Disk Mounting");107 autoMountBox->SetLabel("Automatic disk mounting"); 107 108 BGroupLayout* autoMountLayout = new BGroupLayout(B_VERTICAL, spacing); 108 109 autoMountBox->SetLayout(autoMountLayout); 109 110 autoMountLayout->SetInsets(spacing, 110 111 autoMountBox->InnerFrame().top + spacing, spacing, spacing); 111 112 112 fScanningDisabledCheck = new BRadioButton("scanningOff", "Don't Automount",113 fScanningDisabledCheck = new BRadioButton("scanningOff", "Don't automount", 113 114 new BMessage(kAutomountSettingsChanged)); 114 115 115 fAutoMountAllBFSCheck = new BRadioButton("autoBFS", "All BeOS Disks",116 fAutoMountAllBFSCheck = new BRadioButton("autoBFS", "All BeOS disks", 116 117 new BMessage(kAutomountSettingsChanged)); 117 118 118 fAutoMountAllCheck = new BRadioButton("autoAll", "All Disks",119 fAutoMountAllCheck = new BRadioButton("autoAll", "All disks", 119 120 new BMessage(kAutomountSettingsChanged)); 120 121 121 122 // "Disk Mounting During Boot" group 122 123 123 124 BBox* bootMountBox = new BBox("", B_WILL_DRAW | B_FRAME_EVENTS 124 125 | B_PULSE_NEEDED | B_NAVIGABLE_JUMP); 125 bootMountBox->SetLabel("Disk Mounting During Boot");126 bootMountBox->SetLabel("Disk mounting during boot"); 126 127 BGroupLayout* bootMountLayout = new BGroupLayout(B_VERTICAL, spacing); 127 128 bootMountBox->SetLayout(bootMountLayout); 128 129 bootMountLayout->SetInsets(spacing, 129 130 bootMountBox->InnerFrame().top + spacing, spacing, spacing); 130 131 131 132 fInitialDontMountCheck = new BRadioButton("initialNone", 132 "Only The Boot Disk", new BMessage(kBootMountSettingsChanged));133 "Only the boot disk", new BMessage(kBootMountSettingsChanged)); 133 134 134 135 fInitialMountRestoreCheck = new BRadioButton("initialRestore", 135 "Previously Mounted Disks", new BMessage(kBootMountSettingsChanged));136 "Previously mounted disks", new BMessage(kBootMountSettingsChanged)); 136 137 137 138 fInitialMountAllBFSCheck = new BRadioButton("initialBFS", 138 "All BeOS Disks", new BMessage(kBootMountSettingsChanged));139 "All BeOS disks", new BMessage(kBootMountSettingsChanged)); 139 140 140 141 fInitialMountAllCheck = new BRadioButton("initialAll", 141 "All Disks", new BMessage(kBootMountSettingsChanged));142 "All disks", new BMessage(kBootMountSettingsChanged)); 142 143 143 144 fEjectWhenUnmountingCheckBox = new BCheckBox("ejectWhenUnmounting", 144 "Eject When Unmounting", new BMessage(kEjectWhenUnmountingChanged));145 "Eject when unmounting", new BMessage(kEjectWhenUnmountingChanged)); 145 146 146 147 // Buttons 147 148 … … 292 293 AutomountSettingsDialog::AutomountSettingsDialog(BMessage* settings, 293 294 const BMessenger& target) 294 295 : 295 BWindow(BRect(100, 100, 320, 370), "Disk Mount Settings",296 BWindow(BRect(100, 100, 320, 370), "Disk mount settings", 296 297 B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE 297 298 | B_AUTO_UPDATE_SIZE_LIMITS) 298 299 { … … 325 326 BMessage reply; 326 327 status_t ret = target.SendMessage(&message, &reply, 2500000); 327 328 if (ret != B_OK) { 328 (new BAlert("Mount Server Error", "The mount server could not be "329 "contacted.", "O k", NULL, NULL, B_WIDTH_AS_USUAL,329 (new BAlert("Mount server error", "The mount server could not be " 330 "contacted.", "OK", NULL, NULL, B_WIDTH_AS_USUAL, 330 331 B_STOP_ALERT))->Go(); 331 332 return; 332 333 } -
src/kits/tracker/ContainerWindow.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 103 104 104 105 namespace BPrivate { 105 106 106 const char *kAddOnsMenuName = "Add- Ons";107 const char *kAddOnsMenuName = "Add-ons"; 107 108 108 109 class DraggableContainerIcon : public BView { 109 110 public: … … 895 896 896 897 fMoveToItem = new BMenuItem(new BNavMenu("Move to", kMoveSelectionTo, this)); 897 898 fCopyToItem = new BMenuItem(new BNavMenu("Copy to", kCopySelectionTo, this)); 898 fCreateLinkItem = new BMenuItem(new BNavMenu("Create Link", kCreateLink, this),899 fCreateLinkItem = new BMenuItem(new BNavMenu("Create link", kCreateLink, this), 899 900 new BMessage(kCreateLink)); 900 901 901 902 TrackerSettings settings; … … 1641 1642 1642 1643 BMenuItem *item = fFileContextMenu->FindItem(kMoveToTrash); 1643 1644 if (item) 1644 item->SetLabel(dontMoveToTrash ? "Delete" : "Move To Trash");1645 item->SetLabel(dontMoveToTrash ? "Delete" : "Move to Trash"); 1645 1646 1646 1647 // Deskbar doesn't have a menu bar, so check if there is fMenuBar 1647 1648 if (fMenuBar && fFileMenu) { 1648 1649 item = fFileMenu->FindItem(kMoveToTrash); 1649 1650 if (item) 1650 item->SetLabel(dontMoveToTrash ? "Delete" : "Move To Trash");1651 item->SetLabel(dontMoveToTrash ? "Delete" : "Move to Trash"); 1651 1652 } 1652 1653 UpdateIfNeeded(); 1653 1654 } … … 1759 1760 && (PoseView()->ViewMode() != kListMode)); 1760 1761 1761 1762 if (modifiers() & B_SHIFT_KEY) { 1762 item->SetLabel("Clean Up All");1763 item->SetLabel("Clean up all"); 1763 1764 item->SetShortcut('K', B_COMMAND_KEY | B_SHIFT_KEY); 1764 1765 item->SetMessage(new BMessage(kCleanupAll)); 1765 1766 } else { 1766 item->SetLabel("Clean Up");1767 item->SetLabel("Clean up"); 1767 1768 item->SetShortcut('K', B_COMMAND_KEY); 1768 1769 item->SetMessage(new BMessage(kCleanup)); 1769 1770 } … … 1779 1780 return; 1780 1781 1781 1782 if (modifiers() & B_SHIFT_KEY) { 1782 item->SetLabel("Close All");1783 item->SetLabel("Close all"); 1783 1784 item->SetShortcut('W', B_COMMAND_KEY | B_SHIFT_KEY); 1784 1785 item->SetTarget(be_app); 1785 1786 item->SetMessage(new BMessage(kCloseAllWindows)); … … 1834 1835 menu->AddItem(templateMenu); 1835 1836 templateMenu->SetTargetForItems(PoseView()); 1836 1837 } else 1837 menu->AddItem(new BMenuItem("New Folder", new BMessage(kNewFolder), 'N'));1838 menu->AddItem(new BMenuItem("New folder", new BMessage(kNewFolder), 'N')); 1838 1839 } 1839 1840 menu->AddSeparatorItem(); 1840 1841 1841 1842 menu->AddItem(new BMenuItem("Open", new BMessage(kOpenSelection), 'O')); 1842 menu->AddItem(new BMenuItem("Get Info", new BMessage(kGetInfo), 'I'));1843 menu->AddItem(new BMenuItem("Edit Name", new BMessage(kEditItem), 'E'));1843 menu->AddItem(new BMenuItem("Get info", new BMessage(kGetInfo), 'I')); 1844 menu->AddItem(new BMenuItem("Edit name", new BMessage(kEditItem), 'E')); 1844 1845 1845 1846 if (IsTrash() || InTrash()) { 1846 1847 menu->AddItem(new BMenuItem("Restore", new BMessage(kRestoreFromTrash))); … … 1850 1851 menu->AddItem(new BSeparatorItem(), 1); 1851 1852 } 1852 1853 } else if (IsPrintersDir()) { 1853 menu->AddItem(new BMenuItem("Add Printer"B_UTF8_ELLIPSIS,1854 menu->AddItem(new BMenuItem("Add printer"B_UTF8_ELLIPSIS, 1854 1855 new BMessage(kAddPrinter), 'N'), 0); 1855 1856 menu->AddItem(new BSeparatorItem(), 1); 1856 menu->AddItem(new BMenuItem("Make Active Printer",1857 menu->AddItem(new BMenuItem("Make active printer", 1857 1858 new BMessage(kMakeActivePrinter))); 1858 1859 } else { 1859 1860 menu->AddItem(new BMenuItem("Duplicate",new BMessage(kDuplicateSelection), 'D')); … … 1900 1901 { 1901 1902 BMenuItem *item; 1902 1903 1903 BMenu* iconSizeMenu = new BMenu("Icon View");1904 BMenu* iconSizeMenu = new BMenu("Icon view"); 1904 1905 1905 1906 BMessage* message = new BMessage(kIconMode); 1906 1907 message->AddInt32("size", 32); … … 1930 1931 1931 1932 message = new BMessage(kIconMode); 1932 1933 message->AddInt32("scale", 0); 1933 item = new BMenuItem("Decrease Size", message, '-');1934 item = new BMenuItem("Decrease size", message, '-'); 1934 1935 item->SetTarget(PoseView()); 1935 1936 iconSizeMenu->AddItem(item); 1936 1937 1937 1938 message = new BMessage(kIconMode); 1938 1939 message->AddInt32("scale", 1); 1939 item = new BMenuItem("Increase Size", message, '+');1940 item = new BMenuItem("Increase size", message, '+'); 1940 1941 item->SetTarget(PoseView()); 1941 1942 iconSizeMenu->AddItem(item); 1942 1943 … … 1946 1947 iconSizeMenu->Superitem()->SetMessage(new BMessage(kIconMode)); 1947 1948 iconSizeMenu->Superitem()->SetTarget(PoseView()); 1948 1949 1949 item = new BMenuItem("Mini Icon View", new BMessage(kMiniIconMode), '2');1950 item = new BMenuItem("Mini icon view", new BMessage(kMiniIconMode), '2'); 1950 1951 item->SetTarget(PoseView()); 1951 1952 menu->AddItem(item); 1952 1953 1953 item = new BMenuItem("List View", new BMessage(kListMode), '3');1954 item = new BMenuItem("List view", new BMessage(kListMode), '3'); 1954 1955 item->SetTarget(PoseView()); 1955 1956 menu->AddItem(item); 1956 1957 1957 1958 menu->AddSeparatorItem(); 1958 1959 1959 item = new BMenuItem("Resize to Fit", new BMessage(kResizeToFit), 'Y');1960 item = new BMenuItem("Resize to fit", new BMessage(kResizeToFit), 'Y'); 1960 1961 item->SetTarget(this); 1961 1962 menu->AddItem(item); 1962 1963 1963 item = new BMenuItem("Clean Up", new BMessage(kCleanup), 'K');1964 item = new BMenuItem("Clean up", new BMessage(kCleanup), 'K'); 1964 1965 item->SetTarget(PoseView()); 1965 1966 menu->AddItem(item); 1966 1967 … … 1969 1970 item->SetTarget(PoseView()); 1970 1971 menu->AddItem(item); 1971 1972 1972 item = new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A');1973 item = new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A'); 1973 1974 item->SetTarget(PoseView()); 1974 1975 menu->AddItem(item); 1975 1976 1976 item = new BMenuItem("Invert Selection", new BMessage(kInvertSelection),1977 item = new BMenuItem("Invert selection", new BMessage(kInvertSelection), 1977 1978 'S'); 1978 1979 item->SetTarget(PoseView()); 1979 1980 menu->AddItem(item); 1980 1981 1981 1982 if (!IsTrash()) { 1982 item = new BMenuItem("Open Parent", new BMessage(kOpenParentDir),1983 item = new BMenuItem("Open parent", new BMessage(kOpenParentDir), 1983 1984 B_UP_ARROW); 1984 1985 item->SetTarget(PoseView()); 1985 1986 menu->AddItem(item); … … 1989 1990 item->SetTarget(this); 1990 1991 menu->AddItem(item); 1991 1992 1992 item = new BMenuItem("Close All in Workspace",1993 item = new BMenuItem("Close all in workspace", 1993 1994 new BMessage(kCloseAllInWorkspace), 'Q'); 1994 1995 item->SetTarget(be_app); 1995 1996 menu->AddItem(item); … … 2057 2058 AddMimeTypesToMenu(fAttrMenu); 2058 2059 2059 2060 if (IsPrintersDir()) 2060 EnableNamedMenuItem(fFileMenu, "Make Active Printer", selectCount == 1);2061 EnableNamedMenuItem(fFileMenu, "Make active printer", selectCount == 1); 2061 2062 } 2062 2063 2063 2064 … … 2169 2170 bool poseViewIsQuery = TargetModel()->IsQuery(); 2170 2171 // if the view is a query pose view, add edit query menu item 2171 2172 2172 BMenuItem *item = menu->FindItem("Edit Query");2173 BMenuItem *item = menu->FindItem("Edit query"); 2173 2174 if (!poseViewIsQuery && !queryInSelection && item) 2174 2175 item->Menu()->RemoveItem(item); 2175 2176 … … 2179 2180 item = menu->FindItem(kOpenSelection); 2180 2181 if (item) { 2181 2182 int32 itemIndex = item->Menu()->IndexOf(item); 2182 BMenuItem *query = new BMenuItem("Edit Query", new BMessage(kEditQuery), 'G');2183 BMenuItem *query = new BMenuItem("Edit query", new BMessage(kEditQuery), 'G'); 2183 2184 item->Menu()->AddItem(query, itemIndex + 1); 2184 2185 query->SetTarget(PoseView()); 2185 2186 } … … 2231 2232 2232 2233 int32 index = item->Menu()->IndexOf(item); 2233 2234 fOpenWithItem = new BMenuItem( 2234 new OpenWithMenu("Open With"B_UTF8_ELLIPSIS, &message, this, be_app),2235 new OpenWithMenu("Open with"B_UTF8_ELLIPSIS, &message, this, be_app), 2235 2236 new BMessage(kOpenSelectionWith)); 2236 2237 fOpenWithItem->SetTarget(PoseView()); 2237 2238 fOpenWithItem->SetShortcut('O', B_COMMAND_KEY | B_CONTROL_KEY); … … 2266 2267 if (entry.SetTo(ref) == B_OK 2267 2268 && entry.GetParent(&entry) == B_OK 2268 2269 && model.SetTo(&entry) == B_OK) { 2269 BNavMenu *menu = new BNavMenu("Current Folder",what,this);2270 BNavMenu *menu = new BNavMenu("Current folder",what,this); 2270 2271 menu->SetNavDir(model.EntryRef()); 2271 2272 menu->SetShowParent(true); 2272 2273 … … 2282 2283 path.Append("Tracker"); 2283 2284 if (entry.SetTo(path.Path()) == B_OK 2284 2285 && model.SetTo(&entry) == B_OK) { 2285 BMenu *menu = new RecentsMenu("Recent Folders",kRecentFolders,what,this);2286 BMenu *menu = new RecentsMenu("Recent folders",kRecentFolders,what,this); 2286 2287 2287 2288 BMenuItem *item = new SpecialModelMenuItem(&model,menu); 2288 2289 item->SetMessage(new BMessage((uint32)what)); … … 2381 2382 // Set the "Create Link" item label here so it 2382 2383 // appears correctly when menus are disabled, too. 2383 2384 if (modifierKeys & B_SHIFT_KEY) 2384 fCreateLinkItem->SetLabel("Create Relative Link");2385 fCreateLinkItem->SetLabel("Create relative link"); 2385 2386 else 2386 fCreateLinkItem->SetLabel("Create Link");2387 fCreateLinkItem->SetLabel("Create link"); 2387 2388 2388 2389 // only enable once the menus are built 2389 2390 fMoveToItem->SetEnabled(false); … … 2431 2432 BMenuItem *identifyItem = parent->FindItem(kIdentifyEntry); 2432 2433 if (identifyItem != NULL) { 2433 2434 if (modifierKeys & B_SHIFT_KEY) 2434 identifyItem->SetLabel("Force Identify");2435 identifyItem->SetLabel("Force identify"); 2435 2436 else 2436 2437 identifyItem->SetLabel("Identify"); 2437 2438 } … … 2454 2455 if (item == NULL) 2455 2456 item = fDropContextMenu->FindItem(kCreateRelativeLink); 2456 2457 if (item && (modifiers() & B_SHIFT_KEY)) { 2457 item->SetLabel("Create Relative Link Here");2458 item->SetLabel("Create relative link here"); 2458 2459 item->SetMessage(new BMessage(kCreateRelativeLink)); 2459 2460 } else if (item) { 2460 item->SetLabel("Create Link Here");2461 item->SetLabel("Create link here"); 2461 2462 item->SetMessage(new BMessage(kCreateLink)); 2462 2463 } 2463 2464 … … 2599 2600 BContainerWindow::AddFileContextMenus(BMenu *menu) 2600 2601 { 2601 2602 menu->AddItem(new BMenuItem("Open", new BMessage(kOpenSelection), 'O')); 2602 menu->AddItem(new BMenuItem("Get Info", new BMessage(kGetInfo), 'I'));2603 menu->AddItem(new BMenuItem("Edit Name", new BMessage(kEditItem), 'E'));2603 menu->AddItem(new BMenuItem("Get info", new BMessage(kGetInfo), 'I')); 2604 menu->AddItem(new BMenuItem("Edit name", new BMessage(kEditItem), 'E')); 2604 2605 2605 2606 if (!IsTrash() && !InTrash() && !IsPrintersDir()) 2606 2607 menu->AddItem(new BMenuItem("Duplicate", … … 2644 2645 BContainerWindow::AddVolumeContextMenus(BMenu *menu) 2645 2646 { 2646 2647 menu->AddItem(new BMenuItem("Open", new BMessage(kOpenSelection), 'O')); 2647 menu->AddItem(new BMenuItem("Get Info", new BMessage(kGetInfo), 'I'));2648 menu->AddItem(new BMenuItem("Edit Name", new BMessage(kEditItem), 'E'));2648 menu->AddItem(new BMenuItem("Get info", new BMessage(kGetInfo), 'I')); 2649 menu->AddItem(new BMenuItem("Edit name", new BMessage(kEditItem), 'E')); 2649 2650 2650 2651 menu->AddSeparatorItem(); 2651 2652 menu->AddItem(new MountMenu("Mount")); … … 2672 2673 if (IsTrash()) 2673 2674 menu->AddItem(new BMenuItem("Empty Trash", new BMessage(kEmptyTrash))); 2674 2675 else if (IsPrintersDir()) 2675 menu->AddItem(new BMenuItem("Add Printer"B_UTF8_ELLIPSIS, new BMessage(kAddPrinter), 'N'));2676 menu->AddItem(new BMenuItem("Add printer"B_UTF8_ELLIPSIS, new BMessage(kAddPrinter), 'N')); 2676 2677 else if (InTrash()) 2677 2678 needSeparator = false; 2678 2679 else { … … 2690 2691 menu->AddItem(pasteItem); 2691 2692 menu->AddSeparatorItem(); 2692 2693 #endif 2693 menu->AddItem(new BMenuItem("Clean Up", new BMessage(kCleanup), 'K'));2694 menu->AddItem(new BMenuItem("Clean up", new BMessage(kCleanup), 'K')); 2694 2695 menu->AddItem(new BMenuItem("Select"B_UTF8_ELLIPSIS, 2695 2696 new BMessage(kShowSelectionWindow), 'A', B_SHIFT_KEY)); 2696 menu->AddItem(new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A'));2697 menu->AddItem(new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A')); 2697 2698 if (!IsTrash()) 2698 menu->AddItem(new BMenuItem("Open Parent", new BMessage(kOpenParentDir),2699 menu->AddItem(new BMenuItem("Open parent", new BMessage(kOpenParentDir), 2699 2700 B_UP_ARROW)); 2700 2701 2701 2702 menu->AddSeparatorItem(); … … 2705 2706 2706 2707 #if DEBUG 2707 2708 menu->AddSeparatorItem(); 2708 BMenuItem *testing = new BMenuItem("Test Icon Cache", new BMessage(kTestIconCache));2709 BMenuItem *testing = new BMenuItem("Test icon cache", new BMessage(kTestIconCache)); 2709 2710 menu->AddItem(testing); 2710 2711 #endif 2711 2712 … … 2720 2721 void 2721 2722 BContainerWindow::AddDropContextMenus(BMenu *menu) 2722 2723 { 2723 menu->AddItem(new BMenuItem("Create Link Here", new BMessage(kCreateLink)));2724 menu->AddItem(new BMenuItem("Move Here", new BMessage(kMoveSelectionTo)));2725 menu->AddItem(new BMenuItem("Copy Here", new BMessage(kCopySelectionTo)));2724 menu->AddItem(new BMenuItem("Create link here", new BMessage(kCreateLink))); 2725 menu->AddItem(new BMenuItem("Move here", new BMessage(kMoveSelectionTo))); 2726 menu->AddItem(new BMenuItem("Copy here", new BMessage(kCopySelectionTo))); 2726 2727 menu->AddSeparatorItem(); 2727 2728 menu->AddItem(new BMenuItem("Cancel", new BMessage(kCancelButton))); 2728 2729 } … … 2942 2943 2943 2944 if (context == kMenuBarContext || context == kWindowPopUpContext) { 2944 2945 BMenu* sizeMenu = NULL; 2945 if (BMenuItem* item = menu->FindItem("Icon View")) {2946 if (BMenuItem* item = menu->FindItem("Icon view")) { 2946 2947 sizeMenu = item->Submenu(); 2947 2948 } 2948 2949 … … 3000 3001 status_t result = message->FindRef("refs", &addonRef); 3001 3002 if (result != B_OK) { 3002 3003 char buffer[1024]; 3003 sprintf(buffer, "Error %s loading Add-On %s.", strerror(result), addonRef.name);3004 sprintf(buffer, "Error %s loading add-On %s.", strerror(result), addonRef.name); 3004 3005 BAlert* alert = new BAlert("", buffer, "Cancel", 0, 0, 3005 3006 B_WIDTH_AS_USUAL, B_WARNING_ALERT); 3006 3007 alert->SetShortcut(0, B_ESCAPE); … … 3063 3064 ASSERT(PoseView()); 3064 3065 3065 3066 BMenuItem *item; 3066 menu->AddItem(item = new BMenuItem("Copy Layout", new BMessage(kCopyAttributes)));3067 menu->AddItem(item = new BMenuItem("Copy layout", new BMessage(kCopyAttributes))); 3067 3068 item->SetTarget(PoseView()); 3068 menu->AddItem(item = new BMenuItem("Paste Layout", new BMessage(kPasteAttributes)));3069 menu->AddItem(item = new BMenuItem("Paste layout", new BMessage(kPasteAttributes))); 3069 3070 item->SetTarget(PoseView()); 3070 3071 menu->AddSeparatorItem(); 3071 3072 -
src/kits/tracker/WidgetAttributeText.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 1626 1627 sscanf(textView->Text(), "%c", &ch); 1627 1628 //Check if we read the start of a multi-byte glyph: 1628 1629 if (!isprint(ch)) { 1629 BAlert *alert = new BAlert("", "Sorry, The 'Character' "1630 BAlert *alert = new BAlert("", "Sorry, the 'Character' " 1630 1631 "attribute cannot store a multi-byte glyph.", 1631 1632 "Cancel", 0, 0, B_WIDTH_AS_USUAL, B_STOP_ALERT); 1632 1633 alert->SetShortcut(0, B_ESCAPE); -
src/kits/tracker/MountMenu.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 214 215 215 216 AddSeparatorItem(); 216 217 217 BMenuItem *mountAll = new BMenuItem("Mount All",218 BMenuItem *mountAll = new BMenuItem("Mount all", 218 219 new BMessage(kMountAllNow)); 219 220 AddItem(mountAll); 220 221 BMenuItem *mountSettings = new BMenuItem("Settings" B_UTF8_ELLIPSIS, -
src/kits/tracker/QueryContainerWindow.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 85 86 { 86 87 BMenuItem *item; 87 88 88 item = new BMenuItem("Resize to Fit", new BMessage(kResizeToFit), 'Y');89 item = new BMenuItem("Resize to fit", new BMessage(kResizeToFit), 'Y'); 89 90 item->SetTarget(this); 90 91 menu->AddItem(item); 91 92 … … 93 94 item->SetTarget(PoseView()); 94 95 menu->AddItem(item); 95 96 96 item = new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A');97 item = new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A'); 97 98 item->SetTarget(PoseView()); 98 99 menu->AddItem(item); 99 100 100 item = new BMenuItem("Invert Selection", new BMessage(kInvertSelection), 'S');101 item = new BMenuItem("Invert selection", new BMessage(kInvertSelection), 'S'); 101 102 item->SetTarget(PoseView()); 102 103 menu->AddItem(item); 103 104 … … 114 115 new BMessage(kResizeToFit), 'Y'); 115 116 menu->AddItem(resizeItem); 116 117 menu->AddItem(new BMenuItem("Select"B_UTF8_ELLIPSIS, new BMessage(kShowSelectionWindow), 'A', B_SHIFT_KEY)); 117 menu->AddItem(new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A'));118 menu->AddItem(new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A')); 118 119 BMenuItem *closeItem = new BMenuItem("Close", 119 120 new BMessage(B_QUIT_REQUESTED), 'W'); 120 121 menu->AddItem(closeItem); -
src/kits/tracker/TrackerInitialState.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 403 404 InstallMimeIfNeeded(B_DIR_MIMETYPE, kResFolderIcon, "Folder", 404 405 "Folder container for file system items.", kTrackerSignature); 405 406 406 InstallMimeIfNeeded(B_APP_MIME_TYPE, kResAppIcon, "Be Application",407 "Generic Be Application executable.", kTrackerSignature);407 InstallMimeIfNeeded(B_APP_MIME_TYPE, kResAppIcon, "Be application", 408 "Generic Be application executable.", kTrackerSignature); 408 409 409 410 InstallMimeIfNeeded(B_FILE_MIMETYPE, kResFileIcon, 410 411 "Generic file", "Generic document file.", kTrackerSignature); 411 412 412 413 InstallMimeIfNeeded(B_VOLUME_MIMETYPE, kResHardDiskIcon, 413 "Be Volume", "Disk volume.", kTrackerSignature);414 "Be volume", "Disk volume.", kTrackerSignature); 414 415 415 416 InstallMimeIfNeeded(B_QUERY_MIMETYPE, kResQueryIcon, 416 "Be Query", "Query to locate items on disks.", kTrackerSignature);417 "Be query", "Query to locate items on disks.", kTrackerSignature); 417 418 418 419 InstallMimeIfNeeded(B_QUERY_TEMPLATE_MIMETYPE, kResQueryTemplateIcon, 419 "Be Query Template", "", kTrackerSignature);420 "Be query template", "", kTrackerSignature); 420 421 421 InstallMimeIfNeeded(B_LINK_MIMETYPE, kResBrokenLinkIcon, "Symbolic Link",422 InstallMimeIfNeeded(B_LINK_MIMETYPE, kResBrokenLinkIcon, "Symbolic link", 422 423 "Link to another item in the file system.", kTrackerSignature); 423 424 424 425 InstallMimeIfNeeded(B_ROOT_MIMETYPE, kResRootIcon, 425 "Be Root", "File system root.", kTrackerSignature);426 "Be root", "File system root.", kTrackerSignature); 426 427 427 428 InstallMimeIfNeeded(B_BOOKMARK_MIMETYPE, kResBookmarkIcon, 428 429 "Bookmark", "Bookmark for a web page.", kNetPositiveSignature); … … 444 445 445 446 { 446 447 ExtraAttributeLazyInstaller installer(B_PERSON_MIMETYPE); 447 installer.AddExtraAttribute("Contact Name", kAttrName, B_STRING_TYPE, true, true,448 installer.AddExtraAttribute("Contact name", kAttrName, B_STRING_TYPE, true, true, 448 449 120, B_ALIGN_LEFT, false); 449 450 installer.AddExtraAttribute("Company", kAttrCompany, B_STRING_TYPE, true, true, 450 451 120, B_ALIGN_LEFT, false); … … 460 461 120, B_ALIGN_LEFT, false); 461 462 installer.AddExtraAttribute("E-mail", kAttrEmail, B_STRING_TYPE, true, true, 462 463 120, B_ALIGN_LEFT, false); 463 installer.AddExtraAttribute("Home Phone", kAttrHomePhone, B_STRING_TYPE, true, true,464 installer.AddExtraAttribute("Home phone", kAttrHomePhone, B_STRING_TYPE, true, true, 464 465 90, B_ALIGN_LEFT, false); 465 installer.AddExtraAttribute("Work Phone", kAttrWorkPhone, B_STRING_TYPE, true, true,466 installer.AddExtraAttribute("Work phone", kAttrWorkPhone, B_STRING_TYPE, true, true, 466 467 90, B_ALIGN_LEFT, false); 467 468 installer.AddExtraAttribute("Fax", kAttrFax, B_STRING_TYPE, true, true, 468 469 90, B_ALIGN_LEFT, false); … … 482 483 ExtraAttributeLazyInstaller installer(B_PRINTER_SPOOL_MIMETYPE); 483 484 installer.AddExtraAttribute("Status", PSRV_SPOOL_ATTR_STATUS, B_STRING_TYPE, true, false, 484 485 60, B_ALIGN_LEFT, false); 485 installer.AddExtraAttribute("Page Count", PSRV_SPOOL_ATTR_PAGECOUNT, B_INT32_TYPE, true, false,486 installer.AddExtraAttribute("Page count", PSRV_SPOOL_ATTR_PAGECOUNT, B_INT32_TYPE, true, false, 486 487 40, B_ALIGN_RIGHT, false); 487 488 installer.AddExtraAttribute("Description", PSRV_SPOOL_ATTR_DESCRIPTION, B_STRING_TYPE, true, true, 488 489 100, B_ALIGN_LEFT, false); 489 installer.AddExtraAttribute("Printer Name", PSRV_SPOOL_ATTR_PRINTER, B_STRING_TYPE, true, false,490 installer.AddExtraAttribute("Printer name", PSRV_SPOOL_ATTR_PRINTER, B_STRING_TYPE, true, false, 490 491 80, B_ALIGN_LEFT, false); 491 492 installer.AddExtraAttribute("Job creator type", PSRV_SPOOL_ATTR_MIMETYPE, B_ASCII_TYPE, true, false, 492 493 60, B_ALIGN_LEFT, false); 493 494 #else 494 495 ExtraAttributeLazyInstaller installer(B_PRINTER_SPOOL_MIMETYPE); 495 installer.AddExtraAttribute("Page Count", "_spool/Page Count", B_INT32_TYPE, true, false,496 installer.AddExtraAttribute("Page count", "_spool/Page Count", B_INT32_TYPE, true, false, 496 497 40, B_ALIGN_RIGHT, false); 497 498 installer.AddExtraAttribute("Description", "_spool/Description", B_ASCII_TYPE, true, true, 498 499 100, B_ALIGN_LEFT, false); 499 installer.AddExtraAttribute("Printer Name", "_spool/Printer", B_ASCII_TYPE, true, false,500 installer.AddExtraAttribute("Printer name", "_spool/Printer", B_ASCII_TYPE, true, false, 500 501 80, B_ALIGN_LEFT, false); 501 502 installer.AddExtraAttribute("Job creator type", "_spool/MimeType", B_ASCII_TYPE, true, false, 502 503 60, B_ALIGN_LEFT, false); -
src/kits/tracker/FindPanel.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 86 87 const uint32 kRunSaveAsTemplatePanel = 'svtm'; 87 88 88 89 const char *kDragNDropTypes [] = { B_QUERY_MIMETYPE, B_QUERY_TEMPLATE_MIMETYPE }; 89 const char *kDragNDropActionSpecifiers [] = { "Create a Query", "Create a Query template" };90 const char *kDragNDropActionSpecifiers [] = { "Create a query", "Create a query template" }; 90 91 91 92 const uint32 kAttachFile = 'attf'; 92 93 … … 176 177 if (BNodeInfo(fFile).GetType(type) == B_OK 177 178 && strcasecmp(type, B_QUERY_TEMPLATE_MIMETYPE) == 0) { 178 179 fEditTemplateOnly = true; 179 SetTitle("Edit Query Template");180 SetTitle("Edit query template"); 180 181 } 181 182 } 182 183 } else { … … 626 627 BMessenger panel(BackgroundView()); 627 628 fSaveAsTemplatePanel = new BFilePanel(B_SAVE_PANEL, &panel); 628 629 fSaveAsTemplatePanel->SetSaveText("Query template"); 629 fSaveAsTemplatePanel->Window()->SetTitle("Save As Query Template:");630 fSaveAsTemplatePanel->Window()->SetTitle("Save as query template:"); 630 631 fSaveAsTemplatePanel->Show(); 631 632 } 632 633 break; … … 685 686 686 687 // add popup for search criteria 687 688 fSearchModeMenu = new BPopUpMenu("searchMode"); 688 fSearchModeMenu->AddItem(new BMenuItem("by Name", new BMessage(kByNameItem)));689 fSearchModeMenu->AddItem(new BMenuItem("by Attribute", new BMessage(kByAttributeItem)));690 fSearchModeMenu->AddItem(new BMenuItem("by Formula", new BMessage(kByFormulaItem)));689 fSearchModeMenu->AddItem(new BMenuItem("by name", new BMessage(kByNameItem))); 690 fSearchModeMenu->AddItem(new BMenuItem("by attribute", new BMessage(kByAttributeItem))); 691 fSearchModeMenu->AddItem(new BMenuItem("by formula", new BMessage(kByFormulaItem))); 691 692 692 693 fSearchModeMenu->ItemAt(initialMode == kByNameItem ? 0 : 693 694 (initialMode == kByAttributeItem ? 1 : 2))->SetMarked(true); -
src/kits/tracker/FavoritesMenu.cpp
4 4 Terms and Conditions 5 5 6 6 Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 7 Copyright 2009, Haiku, Inc. All rights reserved. 7 8 8 9 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 10 this software and associated documentation files (the "Software"), to deal in … … 211 212 if (item) { 212 213 if (!fAddedSeparatorForSection) { 213 214 fAddedSeparatorForSection = true; 214 AddItem(new TitledSeparatorItem("Recent Documents"));215 AddItem(new TitledSeparatorItem("Recent documents")); 215 216 } 216 217 AddItem(item); 217 218 fSectionItemCount++; … … 259 260 if (item) { 260 261 if (!fAddedSeparatorForSection) { 261 262 fAddedSeparatorForSection = true; 262 AddItem(new TitledSeparatorItem("Recent Folders"));263 AddItem(new TitledSeparatorItem("Recent folders")); 263 264 } 264 265 AddItem(item); 265 266 item->SetEnabled(true); … … 436 437 // 437 438 438 439 if (CountItems() <= 0) { 439 BMenuItem *item = new BMenuItem("<No Recent Items>", 0);440 BMenuItem *item = new BMenuItem("<No recent items>", 0); 440 441 item->SetEnabled(false); 441 442 AddItem(item); 442 443 } else