Ticket #5169: case-tracker.diff

File case-tracker.diff, 58.2 KB (added by humdinger, 10 years ago)

for Tracker

  • src/kits/tracker/VolumeWindow.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright (c) 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    9394    menu->AddSeparatorItem();
    9495
    9596    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'));
    9899
    99100    BMenuItem *item = new BMenuItem("Unmount", new BMessage(kUnmountVolume), 'U');
    100101    item->SetEnabled(false);
    101102    menu->AddItem(item);
    102103
    103     menu->AddItem(new BMenuItem("Mount Settings" B_UTF8_ELLIPSIS,
     104    menu->AddItem(new BMenuItem("Mount settings" B_UTF8_ELLIPSIS,
    104105        new BMessage(kRunAutomounterSettings)));
    105106
    106107    menu->AddSeparatorItem();
     
    118119        return;
    119120    }
    120121
    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)));
    124125    menu->AddSeparatorItem();
    125126
    126     BMenuItem *resizeItem = new BMenuItem("Resize to Fit",new BMessage(kResizeToFit), 'Y');
     127    BMenuItem *resizeItem = new BMenuItem("Resize to fit",new BMessage(kResizeToFit), 'Y');
    127128    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'));
    129130    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'));
    132133
    133134    BMenuItem *closeItem = new BMenuItem("Close",new BMessage(B_QUIT_REQUESTED), 'W');
    134135    menu->AddItem(closeItem);
  • src/kits/tracker/SettingsViews.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
    7 
     7Copyright 2009, Haiku, Inc. All rights reserved.
     8 
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
    1011the Software without restriction, including without limitation the rights to
     
    164165    : SettingsView(rect, "DesktopSettingsView")
    165166{
    166167    rect.OffsetTo(B_ORIGIN);
    167     fShowDisksIconRadioButton = new BRadioButton(rect, "", "Show Disks Icon",
     168    fShowDisksIconRadioButton = new BRadioButton(rect, "", "Show Disks icon",
    168169        new BMessage(kShowDisksIconChanged));
    169170    fShowDisksIconRadioButton->ResizeToPreferred();
    170171    AddChild(fShowDisksIconRadioButton);
     
    173174    rect.OffsetBy(0, itemSpacing);
    174175
    175176    fMountVolumesOntoDesktopRadioButton = new BRadioButton(rect, "",
    176         "Show Volumes on Desktop", new BMessage(kVolumesOnDesktopChanged));
     177        "Show volumes on Desktop", new BMessage(kVolumesOnDesktopChanged));
    177178    AddChild(fMountVolumesOntoDesktopRadioButton);
    178179    fMountVolumesOntoDesktopRadioButton->ResizeToPreferred();
    179180
    180181    rect.OffsetBy(20, itemSpacing);
    181182
    182183    fMountSharedVolumesOntoDesktopCheckBox = new BCheckBox(rect, "",
    183         "Show Shared Volumes On Desktop", new BMessage(kVolumesOnDesktopChanged));
     184        "Show shared volumes on Desktop", new BMessage(kVolumesOnDesktopChanged));
    184185    AddChild(fMountSharedVolumesOntoDesktopCheckBox);
    185186    fMountSharedVolumesOntoDesktopCheckBox->ResizeToPreferred();
    186187
     
    188189
    189190    rect = Bounds();
    190191    rect.top = rect.bottom;
    191     fMountButton = new BButton(rect, "", "Mount Settings" B_UTF8_ELLIPSIS,
     192    fMountButton = new BButton(rect, "", "Mount settings" B_UTF8_ELLIPSIS,
    192193        new BMessage(kRunAutomounterSettings), B_FOLLOW_LEFT | B_FOLLOW_BOTTOM);
    193194    fMountButton->ResizeToPreferred();
    194195    fMountButton->MoveBy(0, -fMountButton->Bounds().Height());
     
    413414    : SettingsView(rect, "WindowsSettingsView")
    414415{
    415416    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",
    417418        new BMessage(kWindowsShowFullPathChanged));
    418419    fShowFullPathInTitleBarCheckBox->ResizeToPreferred();
    419420    AddChild(fShowFullPathInTitleBarCheckBox);
     
    421422    const float itemSpacing = fShowFullPathInTitleBarCheckBox->Bounds().Height() + kItemExtraSpacing;
    422423    rect.OffsetBy(0, itemSpacing);
    423424
    424     fSingleWindowBrowseCheckBox = new BCheckBox(rect, "", "Single Window Navigation",
     425    fSingleWindowBrowseCheckBox = new BCheckBox(rect, "", "Single window navigation",
    425426        new BMessage(kSingleWindowBrowseChanged));
    426427    fSingleWindowBrowseCheckBox->ResizeToPreferred();
    427428    AddChild(fSingleWindowBrowseCheckBox);
    428429
    429430    rect.OffsetBy(20, itemSpacing);
    430431
    431     fShowNavigatorCheckBox = new BCheckBox(rect, "", "Show Navigator",
     432    fShowNavigatorCheckBox = new BCheckBox(rect, "", "Show navigator",
    432433        new BMessage(kShowNavigatorChanged));
    433434    fShowNavigatorCheckBox->ResizeToPreferred();
    434435    AddChild(fShowNavigatorCheckBox);
    435436
    436437    rect.OffsetBy(-20, itemSpacing);
    437438
    438     fOutlineSelectionCheckBox = new BCheckBox(rect, "", "Outline Selection Rectangle Only",
     439    fOutlineSelectionCheckBox = new BCheckBox(rect, "", "Outline selection rectangle only",
    439440        new BMessage(kTransparentSelectionChanged));
    440441    fOutlineSelectionCheckBox->ResizeToPreferred();
    441442    AddChild(fOutlineSelectionCheckBox);
    442443
    443444    rect.OffsetBy(0, itemSpacing);
    444445
    445     fSortFolderNamesFirstCheckBox = new BCheckBox(rect, "", "List Folders First",
     446    fSortFolderNamesFirstCheckBox = new BCheckBox(rect, "", "List folders first",
    446447        new BMessage(kSortFolderNamesFirstChanged));
    447448    fSortFolderNamesFirstCheckBox->ResizeToPreferred();
    448449    AddChild(fSortFolderNamesFirstCheckBox);
     
    690691
    691692    rect.left = 8;
    692693    rect.top = rect.bottom - 8;
    693     f24HrRadioButton = new BRadioButton(rect, "", "24 Hour",
     694    f24HrRadioButton = new BRadioButton(rect, "", "24 hour",
    694695        new BMessage(kSettingsContentsModified));
    695696    f24HrRadioButton->ResizeToPreferred();
    696697    clockBox->AddChild(f24HrRadioButton);
     
    698699    const float itemSpacing = f24HrRadioButton->Bounds().Height() + kItemExtraSpacing;
    699700    rect.OffsetBy(0, itemSpacing);
    700701
    701     f12HrRadioButton = new BRadioButton(rect, "", "12 Hour",
     702    f12HrRadioButton = new BRadioButton(rect, "", "12 hour",
    702703        new BMessage(kSettingsContentsModified));
    703704    f12HrRadioButton->ResizeToPreferred();
    704705    clockBox->AddChild(f12HrRadioButton);
     
    709710
    710711    rect = clockBox->Frame();
    711712    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");
    714715    AddChild(dateFormatBox);
    715716
    716717    rect = f24HrRadioButton->Frame();
    717     fYMDRadioButton = new BRadioButton(rect, "", "Year-Month-Day",
     718    fYMDRadioButton = new BRadioButton(rect, "", "Year-month-day",
    718719        new BMessage(kSettingsContentsModified));
    719720    fYMDRadioButton->ResizeToPreferred();
    720721    dateFormatBox->AddChild(fYMDRadioButton);
    721722
    722723    rect.OffsetBy(0, itemSpacing);
    723724
    724     fDMYRadioButton = new BRadioButton(rect, "", "Day-Month-Year",
     725    fDMYRadioButton = new BRadioButton(rect, "", "Day-month-year",
    725726        new BMessage(kSettingsContentsModified));
    726727    fDMYRadioButton->ResizeToPreferred();
    727728    dateFormatBox->AddChild(fDMYRadioButton);
    728729
    729730    rect.OffsetBy(0, itemSpacing);
    730731
    731     fMDYRadioButton = new BRadioButton(rect, "", "Month-Day-Year",
     732    fMDYRadioButton = new BRadioButton(rect, "", "Month-day-year",
    732733        new BMessage(kSettingsContentsModified));
    733734    fMDYRadioButton->ResizeToPreferred();
    734735    dateFormatBox->AddChild(fMDYRadioButton);
     
    10231024    : SettingsView(rect, "SpaceBarSettingsView")
    10241025{
    10251026    rect.OffsetTo(B_ORIGIN);
    1026     fSpaceBarShowCheckBox = new BCheckBox(rect, "", "Show Space Bars on Volumes",
     1027    fSpaceBarShowCheckBox = new BCheckBox(rect, "", "Show space bars on volumes",
    10271028        new BMessage(kUpdateVolumeSpaceBar));
    10281029    fSpaceBarShowCheckBox->ResizeToPreferred();
    10291030    AddChild(fSpaceBarShowCheckBox);
     
    10351036    menu->SetFont(be_plain_font);
    10361037
    10371038    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)));
    10391040    item->SetMarked(true);
    10401041    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)));
    10431044
    10441045    BBox *box = new BBox(rect);
    10451046    box->SetLabel(fColorPicker = new BMenuField(rect, NULL, NULL, menu));
     
    12731274    : SettingsView(rect, "TrashSettingsView")
    12741275{
    12751276    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",
    12771278            new BMessage(kDontMoveFilesToTrashChanged));
    12781279    fDontMoveFilesToTrashCheckBox->ResizeToPreferred();
    12791280    AddChild(fDontMoveFilesToTrashCheckBox);
     
    12811282    rect = fDontMoveFilesToTrashCheckBox->Frame();
    12821283    rect.OffsetBy(0, fDontMoveFilesToTrashCheckBox->Bounds().Height() + kItemExtraSpacing);
    12831284
    1284     fAskBeforeDeleteFileCheckBox = new BCheckBox(rect, "", "Ask Before Delete",
     1285    fAskBeforeDeleteFileCheckBox = new BCheckBox(rect, "", "Ask before delete",
    12851286            new BMessage(kAskBeforeDeleteFileChanged));
    12861287    fAskBeforeDeleteFileCheckBox->ResizeToPreferred();
    12871288    AddChild(fAskBeforeDeleteFileCheckBox);
  • src/kits/tracker/InfoWindow.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    908909
    909910            // Add the default menu item and set it to marked
    910911            BMenuItem *result;
    911             result = new BMenuItem("Default Application", new BMessage(kSetPreferredApp));
     912            result = new BMenuItem("Default application", new BMessage(kSetPreferredApp));
    912913            result->SetTarget(this);
    913914            fPreferredAppMenu->Menu()->AddItem(result);
    914915            result->SetMarked(true);
     
    17671768
    17681769    // Link to/version
    17691770    if (fModel->IsSymLink()) {
    1770         MovePenTo(BPoint(fDivider - (StringWidth("Link To:")), lineBase));
     1771        MovePenTo(BPoint(fDivider - (StringWidth("Link to:")), lineBase));
    17711772        SetHighColor(kAttrTitleColor);
    17721773        DrawString("Link To:");
    17731774        MovePenTo(BPoint(fDivider + kDrawMargin, lineBase));
     
    20202021    parent->AddItem(new BMenuItem("Open", new BMessage(kOpenSelection), 'O'));
    20212022
    20222023    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'));
    20242025        parent->AddSeparatorItem();
    20252026        if (fModel->IsVolume()) {
    20262027            BMenuItem *item;
     
    20392040
    20402041    BMenuItem *sizeItem = NULL;
    20412042    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",
    20432044            new BMessage(kRecalculateSize)));
    20442045    }
    20452046
  • src/kits/tracker/FilePanelPriv.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    600601    FavoritesMenu *favorites = new FavoritesMenu("Favorites",
    601602        new BMessage(kSwitchDirectory), new BMessage(B_REFS_RECEIVED),
    602603        BMessenger(this), IsSavePanel(), fPoseView->RefFilter());
    603     favorites->AddItem(new BMenuItem("Add Current Folder",
     604    favorites->AddItem(new BMenuItem("Add current folder",
    604605        new BMessage(kAddCurrentDir)));
    605     favorites->AddItem(new BMenuItem("Edit Favorites"B_UTF8_ELLIPSIS,
     606    favorites->AddItem(new BMenuItem("Edit favorites"B_UTF8_ELLIPSIS,
    606607        new BMessage(kEditFavorites)));
    607608
    608609    fMenuBar->AddItem(favorites);
     
    847848void
    848849TFilePanel::AddFileContextMenus(BMenu *menu)
    849850{
    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'));
    852853    menu->AddItem(new BMenuItem(TrackerSettings().DontMoveFilesToTrash() ?
    853854            "Delete" : "Move to Trash",
    854855            new BMessage(kMoveToTrash), 'T'));
     
    865866TFilePanel::AddVolumeContextMenus(BMenu *menu)
    866867{
    867868    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'));
    870871    menu->AddSeparatorItem();
    871872    menu->AddItem(new BMenuItem("Cut", new BMessage(B_CUT), 'X'));
    872873    menu->AddItem(new BMenuItem("Copy", new BMessage(B_COPY), 'C'));
     
    879880void
    880881TFilePanel::AddWindowContextMenus(BMenu *menu)
    881882{
    882     BMenuItem *item = new BMenuItem("New Folder", new BMessage(kNewFolder), 'N');
     883    BMenuItem *item = new BMenuItem("New folder", new BMessage(kNewFolder), 'N');
    883884    item->SetTarget(PoseView());
    884885    menu->AddItem(item);
    885886    menu->AddSeparatorItem();
     
    894895    item->SetTarget(PoseView());
    895896    menu->AddItem(item);
    896897
    897     item = new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A');
     898    item = new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A');
    898899    item->SetTarget(PoseView());
    899900    menu->AddItem(item);
    900901
    901     item = new BMenuItem("Invert Selection", new BMessage(kInvertSelection), 'S');
     902    item = new BMenuItem("Invert selection", new BMessage(kInvertSelection), 'S');
    902903    item->SetTarget(PoseView());
    903904    menu->AddItem(item);
    904905
    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);
    906907    item->SetTarget(this);
    907908    menu->AddItem(item);
    908909}
     
    10511052
    10521053                            // Don't allow saves of multiple files
    10531054                            if (count > 1) {
    1054                                 ShowCenteredAlert("Sorry, saving of more than one item is not allowed.",
     1055                                ShowCenteredAlert("Sorry, saving more than one item is not allowed.",
    10551056                                    "Cancel");
    10561057                            } else {
    10571058                                // if we are a savepanel, set up the filepanel correctly
     
    13531354    // check for some illegal file names
    13541355    if (strcmp(fTextControl->Text(), ".") == 0
    13551356        || strcmp(fTextControl->Text(), "..") == 0) {
    1356         ShowCenteredAlert("The name you have specified is illegal. Please type "
     1357        ShowCenteredAlert("The specified name is illegal. Please choose "
    13571358            "another name.", "Cancel");
    13581359        fTextControl->TextView()->SelectAll();
    13591360        return;
     
    13671368
    13681369    if (dir.Contains(fTextControl->Text())) {
    13691370        if (dir.Contains(fTextControl->Text(), B_DIRECTORY_NODE)) {
    1370             ShowCenteredAlert("The name you have specified is already the 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");
    13721373            fTextControl->TextView()->SelectAll();
    13731374            return;
    13741375        } else {
  • src/kits/tracker/TrackerSettingsWindow.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    6465
    6566
    6667TrackerSettingsWindow::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,
    6869        B_NOT_MINIMIZABLE | B_NOT_RESIZABLE | B_NO_WORKSPACE_ACTIVATION
    6970        | B_NOT_ANCHORED_ON_ACTIVATE | B_ASYNCHRONOUS_CONTROLS | B_NOT_ZOOMABLE)
    7071{
     
    113114        new DesktopSettingsView(rect)));
    114115    fSettingsTypeListView->AddItem(new SettingsItem("Windows",
    115116        new WindowsSettingsView(rect)));
    116     fSettingsTypeListView->AddItem(new SettingsItem("Date and Time",
     117    fSettingsTypeListView->AddItem(new SettingsItem("Date & Time",
    117118        new TimeFormatSettingsView(rect)));
    118119    fSettingsTypeListView->AddItem(new SettingsItem("Trash",
    119120        new TrashSettingsView(rect)));
    120     fSettingsTypeListView->AddItem(new SettingsItem("Volume Icons",
     121    fSettingsTypeListView->AddItem(new SettingsItem("Volume icons",
    121122        new SpaceBarSettingsView(rect)));
    122123
    123124    // compute preferred view size
  • src/kits/tracker/NavMenu.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    716717    fItemList->MakeEmpty();
    717718
    718719    if (!count) {
    719         BMenuItem *item = new BMenuItem("Empty Folder", 0);
     720        BMenuItem *item = new BMenuItem("Empty folder", 0);
    720721        item->SetEnabled(false);
    721722        AddItem(item);
    722723    }
  • src/kits/tracker/TemplatesMenu.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    5556const char *kTemplatesDirectory = "Tracker/Tracker New Templates";
    5657const char *kTemplatesMenuName = "New";
    5758
    58 static const char *kOpenTemplatesMenuName = "Edit Templates"B_UTF8_ELLIPSIS;
     59static const char *kOpenTemplatesMenuName = "Edit templates"B_UTF8_ELLIPSIS;
    5960
    6061}
    6162
     
    112113        delete RemoveItem(0L);
    113114
    114115    // Add the Folder
    115     IconMenuItem *menuItem = new IconMenuItem("New Folder", new BMessage(kNewFolder),
     116    IconMenuItem *menuItem = new IconMenuItem("New folder", new BMessage(kNewFolder),
    116117        B_DIR_MIMETYPE,B_MINI_ICON);
    117118    AddItem(menuItem);
    118119    menuItem->SetShortcut('N', 0);
  • src/kits/tracker/OpenWithWindow.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    102103
    103104    BRect buttonRect = fLaunchButton->Frame();
    104105    fLaunchAndMakeDefaultButton = new BButton(buttonRect, "make default",
    105         "Open and Make Preferred", new BMessage(kOpenAndMakeDefault),
     106        "Open and make preferred", new BMessage(kOpenAndMakeDefault),
    106107        B_FOLLOW_RIGHT | B_FOLLOW_BOTTOM);
    107108    // wide button, have to resize to fit text
    108109    fLaunchAndMakeDefaultButton->ResizeToPreferred();
     
    143144        entry_ref ref;
    144145        fEntriesToOpen->FindRef("refs", &ref);
    145146        BString buffer;
    146         buffer << "Open " << ref.name << " With:";
     147        buffer << "Open " << ref.name << " with:";
    147148        SetTitle(buffer.String());
    148149    } else
    149150        // use generic title
    150         SetTitle("Open Selection With:");
     151        SetTitle("Open selection with:");
    151152
    152153    AddCommonFilter(new BMessageFilter(B_KEY_DOWN, &OpenWithContainerWindow::KeyDownFilter));
    153154}
  • src/kits/tracker/FSUtils.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    17551756        sprintf(replaceMsg, kReplaceManyStr, verb, verb);
    17561757
    17571758        BAlert *alert = new BAlert("", replaceMsg,
    1758             "Cancel", "Prompt", "Replace All");
     1759            "Cancel", "Prompt", "Replace all");
    17591760        alert->SetShortcut(0, B_ESCAPE);
    17601761        switch (alert->Go()) {
    17611762            case 0:
     
    18911892        // special case single collision (don't need Replace All shortcut)
    18921893        BAlert *alert;
    18931894        if (multipleCollisions || sourceIsDirectory) {
    1894             alert = new BAlert("", replaceMsg, "Skip", "Replace All");
     1895            alert = new BAlert("", replaceMsg, "Skip", "Replace all");
    18951896        } else {
    18961897            alert = new BAlert("", replaceMsg, "Cancel", "Replace");
    18971898            alert->SetShortcut(0, B_ESCAPE);
     
    26112612        }
    26122613
    26132614        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,
    26152616                B_WIDTH_AS_USUAL, B_WARNING_ALERT))->Go();
    26162617    }
    26172618    if (gStatusWindow)
     
    28002801    status_t result = dir.InitCheck();
    28012802    if (result == B_OK) {
    28022803        char name[B_FILE_NAME_LENGTH];
    2803         strcpy(name, "New Folder");
     2804        strcpy(name, "New folder");
    28042805
    28052806        int32 fnum = 1;
    28062807        while (dir.Contains(name)) {
     
    28082809            // ToDo:
    28092810            // move this logic ot FSMakeOriginalName
    28102811            if (++fnum > 9)
    2811                 sprintf(name, "New Folder%ld", fnum);
     2812                sprintf(name, "New folder%ld", fnum);
    28122813            else
    2813                 sprintf(name, "New Folder %ld", fnum);
     2814                sprintf(name, "New folder %ld", fnum);
    28142815        }
    28152816
    28162817        BDirectory newDir;
     
    32103211            alternative = kFindApplicationStr;
    32113212        } else if (error == B_LAUNCH_FAILED_APP_IN_TRASH) {
    32123213            alertString << "Could not open \"" << documentRef.name
    3213                 << "\" because application \"" << app.name << "\" is in the trash. ";
     3214                << "\" because application \"" << app.name << "\" is in the Trash. ";
    32143215            alternative = kFindAlternativeStr;
    32153216        } else if (error == B_LAUNCH_FAILED_APP_NOT_FOUND) {
    32163217            alertString << "Could not open \"" << documentRef.name << "\" "
  • src/kits/tracker/StatusWindow.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    146147
    147148BStatusWindow::BStatusWindow()
    148149    :
    149     BWindow(kStatusRect, "Tracker Status", B_TITLED_WINDOW,
     150    BWindow(kStatusRect, "Tracker status", B_TITLED_WINDOW,
    150151        B_NOT_CLOSABLE | B_NOT_RESIZABLE | B_NOT_ZOOMABLE,
    151152        B_ALL_WORKSPACES),
    152153    fRetainDesktopFocus(false)
     
    529530            break;
    530531
    531532        case kCreateLinkState:
    532             fStatusBar->Reset("Creating Links: ", buffer.String());
     533            fStatusBar->Reset("Creating links: ", buffer.String());
    533534            break;
    534535
    535536        case kMoveState:
  • src/kits/tracker/SlowContextPopup.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    508509    fItemList->MakeEmpty();
    509510
    510511    if (!count) {
    511         BMenuItem *item = new BMenuItem("Empty Folder", 0);
     512        BMenuItem *item = new BMenuItem("Empty folder", 0);
    512513        item->SetEnabled(false);
    513514        AddItem(item);
    514515    }
  • src/kits/tracker/DeskWindow.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    277278
    278279    menu->AddSeparatorItem();
    279280
    280     BMenu* iconSizeMenu = new BMenu("Icon View");
     281    BMenu* iconSizeMenu = new BMenu("Icon view");
    281282
    282283    BMessage* message = new BMessage(kIconMode);
    283284    message->AddInt32("size", 32);
     
    311312
    312313    message = new BMessage(kIconMode);
    313314    message->AddInt32("scale", 0);
    314     item = new BMenuItem("Decrease Size", message, '-');
     315    item = new BMenuItem("Decrease size", message, '-');
    315316    item->SetTarget(PoseView());
    316317    iconSizeMenu->AddItem(item);
    317318
    318319    message = new BMessage(kIconMode);
    319320    message->AddInt32("scale", 1);
    320     item = new BMenuItem("Increase Size", message, '+');
     321    item = new BMenuItem("Increase size", message, '+');
    321322    item->SetTarget(PoseView());
    322323    iconSizeMenu->AddItem(item);
    323324
     
    328329    iconSizeMenu->Superitem()->SetTarget(PoseView());
    329330    iconSizeMenu->Superitem()->SetMarked(PoseView()->ViewMode() == kIconMode);
    330331
    331     item = new BMenuItem("Mini Icon View", new BMessage(kMiniIconMode), '2');
     332    item = new BMenuItem("Mini icon view", new BMessage(kMiniIconMode), '2');
    332333    item->SetMarked(PoseView()->ViewMode() == kMiniIconMode);
    333334    menu->AddItem(item);
    334335
     
    339340    menu->AddItem(pasteItem = new BMenuItem("Paste", new BMessage(B_PASTE), 'V'));
    340341    menu->AddSeparatorItem();
    341342#endif
    342     menu->AddItem(new BMenuItem("Clean Up", new BMessage(kCleanup), 'K'));
     343    menu->AddItem(new BMenuItem("Clean up", new BMessage(kCleanup), 'K'));
    343344    menu->AddItem(new BMenuItem("Select"B_UTF8_ELLIPSIS,
    344345        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'));
    346347   
    347348    menu->AddSeparatorItem();
    348349    menu->AddItem(new MountMenu("Mount"));
     
    368369        new BMessage(kEmptyTrash)));
    369370    fTrashContextMenu->AddItem(new BMenuItem("Open",
    370371        new BMessage(kOpenSelection), 'O'));
    371     fTrashContextMenu->AddItem(new BMenuItem("Get Info",
     372    fTrashContextMenu->AddItem(new BMenuItem("Get info",
    372373        new BMessage(kGetInfo), 'I'));
    373374    fTrashContextMenu->SetTargetForItems(PoseView());
    374375}
  • src/kits/tracker/PoseView.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    24362437    if (CountColumns() == 1) {
    24372438        if (runAlert) {
    24382439            BAlert *alert = new BAlert("",
    2439                 "You must have at least one Attribute showing.",
     2440                "You must have at least one attribute showing.",
    24402441                "Cancel", 0, 0, B_WIDTH_AS_USUAL, B_WARNING_ALERT);
    24412442            alert->SetShortcut(0, B_ESCAPE);
    24422443            alert->Go();
  • src/kits/tracker/AutoMounterSettings.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    103104
    104105    BBox* autoMountBox = new BBox("autoMountBox", B_WILL_DRAW | B_FRAME_EVENTS
    105106        | B_PULSE_NEEDED | B_NAVIGABLE_JUMP);
    106     autoMountBox->SetLabel("Automatic Disk Mounting");
     107    autoMountBox->SetLabel("Automatic disk mounting");
    107108    BGroupLayout* autoMountLayout = new BGroupLayout(B_VERTICAL, spacing);
    108109    autoMountBox->SetLayout(autoMountLayout);
    109110    autoMountLayout->SetInsets(spacing,
    110111        autoMountBox->InnerFrame().top + spacing, spacing, spacing);
    111112
    112     fScanningDisabledCheck = new BRadioButton("scanningOff", "Don't Automount",
     113    fScanningDisabledCheck = new BRadioButton("scanningOff", "Don't automount",
    113114        new BMessage(kAutomountSettingsChanged));
    114115
    115     fAutoMountAllBFSCheck = new BRadioButton("autoBFS", "All BeOS Disks",
     116    fAutoMountAllBFSCheck = new BRadioButton("autoBFS", "All BeOS disks",
    116117        new BMessage(kAutomountSettingsChanged));
    117118
    118     fAutoMountAllCheck = new BRadioButton("autoAll", "All Disks",
     119    fAutoMountAllCheck = new BRadioButton("autoAll", "All disks",
    119120        new BMessage(kAutomountSettingsChanged));
    120121
    121122    // "Disk Mounting During Boot" group
    122123
    123124    BBox* bootMountBox = new BBox("", B_WILL_DRAW | B_FRAME_EVENTS
    124125        | B_PULSE_NEEDED | B_NAVIGABLE_JUMP);
    125     bootMountBox->SetLabel("Disk Mounting During Boot");
     126    bootMountBox->SetLabel("Disk mounting during boot");
    126127    BGroupLayout* bootMountLayout = new BGroupLayout(B_VERTICAL, spacing);
    127128    bootMountBox->SetLayout(bootMountLayout);
    128129    bootMountLayout->SetInsets(spacing,
    129130        bootMountBox->InnerFrame().top + spacing, spacing, spacing);
    130131
    131132    fInitialDontMountCheck = new BRadioButton("initialNone",
    132         "Only The Boot Disk", new BMessage(kBootMountSettingsChanged));
     133        "Only the boot disk", new BMessage(kBootMountSettingsChanged));
    133134
    134135    fInitialMountRestoreCheck = new BRadioButton("initialRestore",
    135         "Previously Mounted Disks", new BMessage(kBootMountSettingsChanged));
     136        "Previously mounted disks", new BMessage(kBootMountSettingsChanged));
    136137
    137138    fInitialMountAllBFSCheck = new BRadioButton("initialBFS",
    138         "All BeOS Disks", new BMessage(kBootMountSettingsChanged));
     139        "All BeOS disks", new BMessage(kBootMountSettingsChanged));
    139140
    140141    fInitialMountAllCheck = new BRadioButton("initialAll",
    141         "All Disks", new BMessage(kBootMountSettingsChanged));
     142        "All disks", new BMessage(kBootMountSettingsChanged));
    142143
    143144    fEjectWhenUnmountingCheckBox = new BCheckBox("ejectWhenUnmounting",
    144         "Eject When Unmounting", new BMessage(kEjectWhenUnmountingChanged));
     145        "Eject when unmounting", new BMessage(kEjectWhenUnmountingChanged));
    145146
    146147    // Buttons
    147148
     
    292293AutomountSettingsDialog::AutomountSettingsDialog(BMessage* settings,
    293294        const BMessenger& target)
    294295    :
    295     BWindow(BRect(100, 100, 320, 370), "Disk Mount Settings",
     296    BWindow(BRect(100, 100, 320, 370), "Disk mount settings",
    296297        B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE
    297298            | B_AUTO_UPDATE_SIZE_LIMITS)
    298299{
     
    325326    BMessage reply;
    326327    status_t ret = target.SendMessage(&message, &reply, 2500000);
    327328    if (ret != B_OK) {
    328         (new BAlert("Mount Server Error", "The mount server could not be "
    329             "contacted.", "Ok", 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,
    330331            B_STOP_ALERT))->Go();
    331332        return;
    332333    }
  • src/kits/tracker/ContainerWindow.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    103104
    104105namespace BPrivate {
    105106
    106 const char *kAddOnsMenuName = "Add-Ons";
     107const char *kAddOnsMenuName = "Add-ons";
    107108
    108109class DraggableContainerIcon : public BView {
    109110    public:
     
    895896
    896897    fMoveToItem = new BMenuItem(new BNavMenu("Move to", kMoveSelectionTo, this));
    897898    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),
    899900        new BMessage(kCreateLink));
    900901
    901902    TrackerSettings settings;
     
    16411642
    16421643                            BMenuItem *item = fFileContextMenu->FindItem(kMoveToTrash);
    16431644                            if (item)
    1644                                 item->SetLabel(dontMoveToTrash ? "Delete" : "Move To Trash");
     1645                                item->SetLabel(dontMoveToTrash ? "Delete" : "Move to Trash");
    16451646
    16461647                            // Deskbar doesn't have a menu bar, so check if there is fMenuBar
    16471648                            if (fMenuBar && fFileMenu) {
    16481649                                item = fFileMenu->FindItem(kMoveToTrash);
    16491650                                if (item)
    1650                                     item->SetLabel(dontMoveToTrash ? "Delete" : "Move To Trash");
     1651                                    item->SetLabel(dontMoveToTrash ? "Delete" : "Move to Trash");
    16511652                            }
    16521653                            UpdateIfNeeded();
    16531654                        }
     
    17591760        && (PoseView()->ViewMode() != kListMode));
    17601761
    17611762    if (modifiers() & B_SHIFT_KEY) {
    1762         item->SetLabel("Clean Up All");
     1763        item->SetLabel("Clean up all");
    17631764        item->SetShortcut('K', B_COMMAND_KEY | B_SHIFT_KEY);
    17641765        item->SetMessage(new BMessage(kCleanupAll));
    17651766    } else {
    1766         item->SetLabel("Clean Up");
     1767        item->SetLabel("Clean up");
    17671768        item->SetShortcut('K', B_COMMAND_KEY);
    17681769        item->SetMessage(new BMessage(kCleanup));
    17691770    }
     
    17791780        return;
    17801781
    17811782    if (modifiers() & B_SHIFT_KEY) {
    1782         item->SetLabel("Close All");
     1783        item->SetLabel("Close all");
    17831784        item->SetShortcut('W', B_COMMAND_KEY | B_SHIFT_KEY);
    17841785        item->SetTarget(be_app);
    17851786        item->SetMessage(new BMessage(kCloseAllWindows));
     
    18341835            menu->AddItem(templateMenu);
    18351836            templateMenu->SetTargetForItems(PoseView());
    18361837        } else
    1837             menu->AddItem(new BMenuItem("New Folder", new BMessage(kNewFolder), 'N'));
     1838            menu->AddItem(new BMenuItem("New folder", new BMessage(kNewFolder), 'N'));
    18381839    }
    18391840    menu->AddSeparatorItem();
    18401841
    18411842    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'));
    18441845
    18451846    if (IsTrash() || InTrash()) {
    18461847        menu->AddItem(new BMenuItem("Restore", new BMessage(kRestoreFromTrash)));
     
    18501851            menu->AddItem(new BSeparatorItem(), 1);
    18511852        }
    18521853    } else if (IsPrintersDir()) {
    1853         menu->AddItem(new BMenuItem("Add Printer"B_UTF8_ELLIPSIS,
     1854        menu->AddItem(new BMenuItem("Add printer"B_UTF8_ELLIPSIS,
    18541855            new BMessage(kAddPrinter), 'N'), 0);
    18551856        menu->AddItem(new BSeparatorItem(), 1);
    1856         menu->AddItem(new BMenuItem("Make Active Printer",
     1857        menu->AddItem(new BMenuItem("Make active printer",
    18571858            new BMessage(kMakeActivePrinter)));
    18581859    } else {
    18591860        menu->AddItem(new BMenuItem("Duplicate",new BMessage(kDuplicateSelection), 'D'));
     
    19001901{
    19011902    BMenuItem *item;
    19021903
    1903     BMenu* iconSizeMenu = new BMenu("Icon View");
     1904    BMenu* iconSizeMenu = new BMenu("Icon view");
    19041905
    19051906    BMessage* message = new BMessage(kIconMode);
    19061907    message->AddInt32("size", 32);
     
    19301931
    19311932    message = new BMessage(kIconMode);
    19321933    message->AddInt32("scale", 0);
    1933     item = new BMenuItem("Decrease Size", message, '-');
     1934    item = new BMenuItem("Decrease size", message, '-');
    19341935    item->SetTarget(PoseView());
    19351936    iconSizeMenu->AddItem(item);
    19361937
    19371938    message = new BMessage(kIconMode);
    19381939    message->AddInt32("scale", 1);
    1939     item = new BMenuItem("Increase Size", message, '+');
     1940    item = new BMenuItem("Increase size", message, '+');
    19401941    item->SetTarget(PoseView());
    19411942    iconSizeMenu->AddItem(item);
    19421943
     
    19461947    iconSizeMenu->Superitem()->SetMessage(new BMessage(kIconMode));
    19471948    iconSizeMenu->Superitem()->SetTarget(PoseView());
    19481949
    1949     item = new BMenuItem("Mini Icon View", new BMessage(kMiniIconMode), '2');
     1950    item = new BMenuItem("Mini icon view", new BMessage(kMiniIconMode), '2');
    19501951    item->SetTarget(PoseView());
    19511952    menu->AddItem(item);
    19521953
    1953     item = new BMenuItem("List View", new BMessage(kListMode), '3');
     1954    item = new BMenuItem("List view", new BMessage(kListMode), '3');
    19541955    item->SetTarget(PoseView());
    19551956    menu->AddItem(item);
    19561957
    19571958    menu->AddSeparatorItem();
    19581959
    1959     item = new BMenuItem("Resize to Fit", new BMessage(kResizeToFit), 'Y');
     1960    item = new BMenuItem("Resize to fit", new BMessage(kResizeToFit), 'Y');
    19601961    item->SetTarget(this);
    19611962    menu->AddItem(item);
    19621963
    1963     item = new BMenuItem("Clean Up", new BMessage(kCleanup), 'K');
     1964    item = new BMenuItem("Clean up", new BMessage(kCleanup), 'K');
    19641965    item->SetTarget(PoseView());
    19651966    menu->AddItem(item);
    19661967
     
    19691970    item->SetTarget(PoseView());
    19701971    menu->AddItem(item);
    19711972
    1972     item = new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A');
     1973    item = new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A');
    19731974    item->SetTarget(PoseView());
    19741975    menu->AddItem(item);
    19751976
    1976     item = new BMenuItem("Invert Selection", new BMessage(kInvertSelection),
     1977    item = new BMenuItem("Invert selection", new BMessage(kInvertSelection),
    19771978        'S');
    19781979    item->SetTarget(PoseView());
    19791980    menu->AddItem(item);
    19801981
    19811982    if (!IsTrash()) {
    1982         item = new BMenuItem("Open Parent", new BMessage(kOpenParentDir),
     1983        item = new BMenuItem("Open parent", new BMessage(kOpenParentDir),
    19831984            B_UP_ARROW);
    19841985        item->SetTarget(PoseView());
    19851986        menu->AddItem(item);
     
    19891990    item->SetTarget(this);
    19901991    menu->AddItem(item);
    19911992
    1992     item = new BMenuItem("Close All in Workspace",
     1993    item = new BMenuItem("Close all in workspace",
    19931994        new BMessage(kCloseAllInWorkspace), 'Q');
    19941995    item->SetTarget(be_app);
    19951996    menu->AddItem(item);
     
    20572058    AddMimeTypesToMenu(fAttrMenu);
    20582059
    20592060    if (IsPrintersDir())
    2060         EnableNamedMenuItem(fFileMenu, "Make Active Printer", selectCount == 1);
     2061        EnableNamedMenuItem(fFileMenu, "Make active printer", selectCount == 1);
    20612062}
    20622063
    20632064
     
    21692170    bool poseViewIsQuery = TargetModel()->IsQuery();
    21702171        // if the view is a query pose view, add edit query menu item
    21712172
    2172     BMenuItem *item = menu->FindItem("Edit Query");
     2173    BMenuItem *item = menu->FindItem("Edit query");
    21732174    if (!poseViewIsQuery && !queryInSelection && item)
    21742175        item->Menu()->RemoveItem(item);
    21752176
     
    21792180        item = menu->FindItem(kOpenSelection);
    21802181        if (item) {
    21812182            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');
    21832184            item->Menu()->AddItem(query, itemIndex + 1);
    21842185            query->SetTarget(PoseView());
    21852186        }
     
    22312232
    22322233    int32 index = item->Menu()->IndexOf(item);
    22332234    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),
    22352236        new BMessage(kOpenSelectionWith));
    22362237    fOpenWithItem->SetTarget(PoseView());
    22372238    fOpenWithItem->SetShortcut('O', B_COMMAND_KEY | B_CONTROL_KEY);
     
    22662267    if (entry.SetTo(ref) == B_OK
    22672268        && entry.GetParent(&entry) == B_OK
    22682269        && model.SetTo(&entry) == B_OK) {
    2269         BNavMenu *menu = new BNavMenu("Current Folder",what,this);
     2270        BNavMenu *menu = new BNavMenu("Current folder",what,this);
    22702271        menu->SetNavDir(model.EntryRef());
    22712272        menu->SetShowParent(true);
    22722273
     
    22822283        path.Append("Tracker");
    22832284        if (entry.SetTo(path.Path()) == B_OK
    22842285            && 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);
    22862287
    22872288            BMenuItem *item = new SpecialModelMenuItem(&model,menu);
    22882289            item->SetMessage(new BMessage((uint32)what));
     
    23812382    // Set the "Create Link" item label here so it
    23822383    // appears correctly when menus are disabled, too.
    23832384    if (modifierKeys & B_SHIFT_KEY)
    2384         fCreateLinkItem->SetLabel("Create Relative Link");
     2385        fCreateLinkItem->SetLabel("Create relative link");
    23852386    else
    2386         fCreateLinkItem->SetLabel("Create Link");
     2387        fCreateLinkItem->SetLabel("Create link");
    23872388
    23882389    // only enable once the menus are built
    23892390    fMoveToItem->SetEnabled(false);
     
    24312432    BMenuItem *identifyItem = parent->FindItem(kIdentifyEntry);
    24322433    if (identifyItem != NULL) {
    24332434        if (modifierKeys & B_SHIFT_KEY)
    2434             identifyItem->SetLabel("Force Identify");
     2435            identifyItem->SetLabel("Force identify");
    24352436        else
    24362437            identifyItem->SetLabel("Identify");
    24372438    }
     
    24542455    if (item == NULL)
    24552456        item = fDropContextMenu->FindItem(kCreateRelativeLink);
    24562457    if (item && (modifiers() & B_SHIFT_KEY)) {
    2457         item->SetLabel("Create Relative Link Here");
     2458        item->SetLabel("Create relative link here");
    24582459        item->SetMessage(new BMessage(kCreateRelativeLink));
    24592460    } else if (item) {
    2460         item->SetLabel("Create Link Here");
     2461        item->SetLabel("Create link here");
    24612462        item->SetMessage(new BMessage(kCreateLink));
    24622463    }
    24632464
     
    25992600BContainerWindow::AddFileContextMenus(BMenu *menu)
    26002601{
    26012602    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'));
    26042605
    26052606    if (!IsTrash() && !InTrash() && !IsPrintersDir())
    26062607        menu->AddItem(new BMenuItem("Duplicate",
     
    26442645BContainerWindow::AddVolumeContextMenus(BMenu *menu)
    26452646{
    26462647    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'));
    26492650
    26502651    menu->AddSeparatorItem();
    26512652    menu->AddItem(new MountMenu("Mount"));
     
    26722673    if (IsTrash())
    26732674        menu->AddItem(new BMenuItem("Empty Trash", new BMessage(kEmptyTrash)));
    26742675    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'));
    26762677    else if (InTrash())
    26772678        needSeparator = false;
    26782679    else {
     
    26902691    menu->AddItem(pasteItem);
    26912692    menu->AddSeparatorItem();
    26922693#endif
    2693     menu->AddItem(new BMenuItem("Clean Up", new BMessage(kCleanup), 'K'));
     2694    menu->AddItem(new BMenuItem("Clean up", new BMessage(kCleanup), 'K'));
    26942695    menu->AddItem(new BMenuItem("Select"B_UTF8_ELLIPSIS,
    26952696        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'));
    26972698    if (!IsTrash())
    2698         menu->AddItem(new BMenuItem("Open Parent", new BMessage(kOpenParentDir),
     2699        menu->AddItem(new BMenuItem("Open parent", new BMessage(kOpenParentDir),
    26992700            B_UP_ARROW));
    27002701
    27012702    menu->AddSeparatorItem();
     
    27052706
    27062707#if DEBUG
    27072708    menu->AddSeparatorItem();
    2708     BMenuItem *testing = new BMenuItem("Test Icon Cache", new BMessage(kTestIconCache));
     2709    BMenuItem *testing = new BMenuItem("Test icon cache", new BMessage(kTestIconCache));
    27092710    menu->AddItem(testing);
    27102711#endif
    27112712
     
    27202721void
    27212722BContainerWindow::AddDropContextMenus(BMenu *menu)
    27222723{
    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)));
    27262727    menu->AddSeparatorItem();
    27272728    menu->AddItem(new BMenuItem("Cancel", new BMessage(kCancelButton)));
    27282729}
     
    29422943
    29432944    if (context == kMenuBarContext || context == kWindowPopUpContext) {
    29442945        BMenu* sizeMenu = NULL;
    2945         if (BMenuItem* item = menu->FindItem("Icon View")) {
     2946        if (BMenuItem* item = menu->FindItem("Icon view")) {
    29462947            sizeMenu = item->Submenu();
    29472948        }
    29482949
     
    30003001    status_t result = message->FindRef("refs", &addonRef);
    30013002    if (result != B_OK) {
    30023003        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);
    30043005        BAlert* alert = new BAlert("", buffer, "Cancel", 0, 0,
    30053006            B_WIDTH_AS_USUAL, B_WARNING_ALERT);
    30063007        alert->SetShortcut(0, B_ESCAPE);
     
    30633064    ASSERT(PoseView());
    30643065
    30653066    BMenuItem *item;
    3066     menu->AddItem(item = new BMenuItem("Copy Layout", new BMessage(kCopyAttributes)));
     3067    menu->AddItem(item = new BMenuItem("Copy layout", new BMessage(kCopyAttributes)));
    30673068    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)));
    30693070    item->SetTarget(PoseView());
    30703071    menu->AddSeparatorItem();
    30713072
  • src/kits/tracker/WidgetAttributeText.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    16261627                sscanf(textView->Text(), "%c", &ch);
    16271628                //Check if we read the start of a multi-byte glyph:
    16281629                if (!isprint(ch)) {
    1629                     BAlert *alert = new BAlert("", "Sorry, The 'Character' "
     1630                    BAlert *alert = new BAlert("", "Sorry, the 'Character' "
    16301631                        "attribute cannot store a multi-byte glyph.",
    16311632                        "Cancel", 0, 0, B_WIDTH_AS_USUAL, B_STOP_ALERT);
    16321633                    alert->SetShortcut(0, B_ESCAPE);
  • src/kits/tracker/MountMenu.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    214215
    215216    AddSeparatorItem();
    216217
    217     BMenuItem *mountAll = new BMenuItem("Mount All",
     218    BMenuItem *mountAll = new BMenuItem("Mount all",
    218219        new BMessage(kMountAllNow));
    219220    AddItem(mountAll);
    220221    BMenuItem *mountSettings = new BMenuItem("Settings" B_UTF8_ELLIPSIS,
  • src/kits/tracker/QueryContainerWindow.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    8586{
    8687    BMenuItem *item;
    8788
    88     item = new BMenuItem("Resize to Fit", new BMessage(kResizeToFit), 'Y');
     89    item = new BMenuItem("Resize to fit", new BMessage(kResizeToFit), 'Y');
    8990    item->SetTarget(this);
    9091    menu->AddItem(item);
    9192
     
    9394    item->SetTarget(PoseView());
    9495    menu->AddItem(item);
    9596
    96     item = new BMenuItem("Select All", new BMessage(B_SELECT_ALL), 'A');
     97    item = new BMenuItem("Select all", new BMessage(B_SELECT_ALL), 'A');
    9798    item->SetTarget(PoseView());
    9899    menu->AddItem(item);
    99100
    100     item = new BMenuItem("Invert Selection", new BMessage(kInvertSelection), 'S');
     101    item = new BMenuItem("Invert selection", new BMessage(kInvertSelection), 'S');
    101102    item->SetTarget(PoseView());
    102103    menu->AddItem(item);
    103104
     
    114115        new BMessage(kResizeToFit), 'Y');
    115116    menu->AddItem(resizeItem);
    116117    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'));
    118119    BMenuItem *closeItem = new BMenuItem("Close",
    119120        new BMessage(B_QUIT_REQUESTED), 'W');
    120121    menu->AddItem(closeItem);
  • src/kits/tracker/TrackerInitialState.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    403404    InstallMimeIfNeeded(B_DIR_MIMETYPE, kResFolderIcon, "Folder",
    404405        "Folder container for file system items.", kTrackerSignature);
    405406
    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);
    408409
    409410    InstallMimeIfNeeded(B_FILE_MIMETYPE, kResFileIcon,
    410411        "Generic file", "Generic document file.", kTrackerSignature);
    411412
    412413    InstallMimeIfNeeded(B_VOLUME_MIMETYPE, kResHardDiskIcon,
    413         "Be Volume", "Disk volume.", kTrackerSignature);
     414        "Be volume", "Disk volume.", kTrackerSignature);
    414415
    415416    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);
    417418
    418419    InstallMimeIfNeeded(B_QUERY_TEMPLATE_MIMETYPE, kResQueryTemplateIcon,
    419         "Be Query Template", "", kTrackerSignature);
     420        "Be query template", "", kTrackerSignature);
    420421
    421     InstallMimeIfNeeded(B_LINK_MIMETYPE, kResBrokenLinkIcon, "Symbolic Link",
     422    InstallMimeIfNeeded(B_LINK_MIMETYPE, kResBrokenLinkIcon, "Symbolic link",
    422423        "Link to another item in the file system.", kTrackerSignature);
    423424
    424425    InstallMimeIfNeeded(B_ROOT_MIMETYPE, kResRootIcon,
    425         "Be Root", "File system root.", kTrackerSignature);
     426        "Be root", "File system root.", kTrackerSignature);
    426427
    427428    InstallMimeIfNeeded(B_BOOKMARK_MIMETYPE, kResBookmarkIcon,
    428429        "Bookmark", "Bookmark for a web page.", kNetPositiveSignature);
     
    444445
    445446    {
    446447        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,
    448449            120, B_ALIGN_LEFT, false);
    449450        installer.AddExtraAttribute("Company", kAttrCompany, B_STRING_TYPE, true, true,
    450451            120, B_ALIGN_LEFT, false);
     
    460461            120, B_ALIGN_LEFT, false);
    461462        installer.AddExtraAttribute("E-mail", kAttrEmail, B_STRING_TYPE, true, true,
    462463            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,
    464465            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,
    466467            90, B_ALIGN_LEFT, false);
    467468        installer.AddExtraAttribute("Fax", kAttrFax, B_STRING_TYPE, true, true,
    468469            90, B_ALIGN_LEFT, false);
     
    482483        ExtraAttributeLazyInstaller installer(B_PRINTER_SPOOL_MIMETYPE);
    483484        installer.AddExtraAttribute("Status", PSRV_SPOOL_ATTR_STATUS, B_STRING_TYPE, true, false,
    484485            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,
    486487            40, B_ALIGN_RIGHT, false);
    487488        installer.AddExtraAttribute("Description", PSRV_SPOOL_ATTR_DESCRIPTION, B_STRING_TYPE, true, true,
    488489            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,
    490491            80, B_ALIGN_LEFT, false);
    491492        installer.AddExtraAttribute("Job creator type", PSRV_SPOOL_ATTR_MIMETYPE, B_ASCII_TYPE, true, false,
    492493            60, B_ALIGN_LEFT, false);
    493494#else
    494495        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,
    496497            40, B_ALIGN_RIGHT, false);
    497498        installer.AddExtraAttribute("Description", "_spool/Description", B_ASCII_TYPE, true, true,
    498499            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,
    500501            80, B_ALIGN_LEFT, false);
    501502        installer.AddExtraAttribute("Job creator type", "_spool/MimeType", B_ASCII_TYPE, true, false,
    502503            60, B_ALIGN_LEFT, false);
  • src/kits/tracker/FindPanel.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    8687const uint32 kRunSaveAsTemplatePanel = 'svtm';
    8788
    8889const char *kDragNDropTypes [] = { B_QUERY_MIMETYPE, B_QUERY_TEMPLATE_MIMETYPE };
    89 const char *kDragNDropActionSpecifiers [] = { "Create a Query", "Create a Query template" };
     90const char *kDragNDropActionSpecifiers [] = { "Create a query", "Create a query template" };
    9091
    9192const uint32 kAttachFile = 'attf';
    9293
     
    176177            if (BNodeInfo(fFile).GetType(type) == B_OK
    177178                && strcasecmp(type, B_QUERY_TEMPLATE_MIMETYPE) == 0) {
    178179                fEditTemplateOnly = true;
    179                 SetTitle("Edit Query Template");
     180                SetTitle("Edit query template");
    180181            }
    181182        }
    182183    } else {
     
    626627                BMessenger panel(BackgroundView());
    627628                fSaveAsTemplatePanel = new BFilePanel(B_SAVE_PANEL, &panel);
    628629                fSaveAsTemplatePanel->SetSaveText("Query template");
    629                 fSaveAsTemplatePanel->Window()->SetTitle("Save As Query Template:");
     630                fSaveAsTemplatePanel->Window()->SetTitle("Save as query template:");
    630631                fSaveAsTemplatePanel->Show();
    631632            }
    632633            break;
     
    685686
    686687    // add popup for search criteria
    687688    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)));
    691692
    692693    fSearchModeMenu->ItemAt(initialMode == kByNameItem ? 0 :
    693694        (initialMode == kByAttributeItem ? 1 : 2))->SetMarked(true);
  • src/kits/tracker/FavoritesMenu.cpp

     
    44Terms and Conditions
    55
    66Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
     7Copyright 2009, Haiku, Inc. All rights reserved.
    78
    89Permission is hereby granted, free of charge, to any person obtaining a copy of
    910this software and associated documentation files (the "Software"), to deal in
     
    211212                if (item) {
    212213                    if (!fAddedSeparatorForSection) {
    213214                        fAddedSeparatorForSection = true;
    214                         AddItem(new TitledSeparatorItem("Recent Documents"));
     215                        AddItem(new TitledSeparatorItem("Recent documents"));
    215216                    }
    216217                    AddItem(item);
    217218                    fSectionItemCount++;
     
    259260            if (item) {
    260261                if (!fAddedSeparatorForSection) {
    261262                    fAddedSeparatorForSection = true;
    262                     AddItem(new TitledSeparatorItem("Recent Folders"));
     263                    AddItem(new TitledSeparatorItem("Recent folders"));
    263264                }
    264265                AddItem(item);
    265266                item->SetEnabled(true);
     
    436437    //
    437438
    438439    if (CountItems() <= 0) {
    439         BMenuItem *item = new BMenuItem("<No Recent Items>", 0);
     440        BMenuItem *item = new BMenuItem("<No recent items>", 0);
    440441        item->SetEnabled(false);
    441442        AddItem(item);
    442443    } else