Ticket #5169: case-preferences.diff

File case-preferences.diff, 32.3 KB (added by humdinger, 10 years ago)

for all preferences

  • src/preferences/screen/ScreenApplication.cpp

     
    11/*
    2  * Copyright 2001-2006, Haiku.
     2 * Copyright 2001-2009, Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    3333ScreenApplication::AboutRequested()
    3434{
    3535    BAlert *aboutAlert = new BAlert("About", "Screen preferences by the Haiku team",
    36         "Ok", NULL, NULL, B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_INFO_ALERT);
     36        "OK", NULL, NULL, B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_INFO_ALERT);
    3737    aboutAlert->SetShortcut(0, B_OK);
    3838    aboutAlert->Go();
    3939}
  • src/preferences/virtualmemory/VirtualMemory.cpp

     
    11/*
    2  * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2005-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    3535{
    3636    BAlert *alert = new BAlert("about", "VirtualMemory\n"
    3737        "\twritten by Axel Dörfler\n"
    38         "\tCopyright 2005, Haiku.\n", "Ok");
     38        "\tCopyright 2005, Haiku.\n", "OK");
    3939    BTextView *view = alert->TextView();
    4040    BFont font;
    4141
  • src/preferences/mail/AutoConfigWindow.cpp

     
    1515
    1616
    1717AutoConfigWindow::AutoConfigWindow(BRect rect, BWindow *parent)
    18     :   BWindow(rect, "Create New Account", B_TITLED_WINDOW_LOOK,
     18    :   BWindow(rect, "Create new account", B_TITLED_WINDOW_LOOK,
    1919                B_MODAL_APP_WINDOW_FEEL,
    2020                B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_AVOID_FRONT,
    2121                B_ALL_WORKSPACES),
     
    4444   
    4545    buttonRect.left+= 5 + buttonWidth;
    4646    buttonRect.right = buttonRect.left + buttonWidth;
    47     fNextButton = new BButton(buttonRect, "ok", "Ok", new BMessage(kOkMsg));
     47    fNextButton = new BButton(buttonRect, "ok", "OK", new BMessage(kOkMsg));
    4848    fRootView->AddChild(fNextButton);
    4949   
    5050    fBoxRect = Bounds();
     
    5252    fBoxRect.bottom-= buttonHeight + 5;
    5353   
    5454    fMainView = new AutoConfigView(fBoxRect, fAutoConfig);
    55     fMainView->SetLabel("Account Settings");
     55    fMainView->SetLabel("Account settings");
    5656    fRootView->AddChild(fMainView);
    5757}
    5858
     
    7777                if (!fMainView->IsValidMailAddress(fAccountInfo.email)) {
    7878                    invalidMailAlert = new BAlert("invalidMailAlert",
    7979                                                    "Enter a valid e-mail address.",
    80                                                     "Ok");
     80                                                    "OK");
    8181                    invalidMailAlert->Go();
    8282                    return;
    8383                }
  • src/preferences/mail/AutoConfigView.cpp

     
    2525    // type view
    2626    BPopUpMenu *chainsPopUp = new BPopUpMenu(B_EMPTY_STRING);
    2727    const char *chainModes[] = {
    28         "Receive Mail Only",
    29         "Send Mail Only",
    30         "Send and Receive Mail"};
     28        "Receive mail only",
     29        "Send mail only",
     30        "Send and receive mail"};
    3131    BMenuItem *item;
    3232    for (int32 i = 0; i < 3; i++)
    3333        chainsPopUp->AddItem(item = new BMenuItem(chainModes[i], NULL));
     
    5555    topLeft.y += stepSize;
    5656    rightDown.y += stepSize;
    5757    fEmailView = new BTextControl(BRect(topLeft, rightDown),
    58                                     "email", "E-mail Address", "",
     58                                    "email", "E-mail address:", "",
    5959                                    new BMessage(kEMailChangedMsg));
    6060    fEmailView->SetDivider(divider);
    6161    AddChild(fEmailView);
     
    6464    topLeft.y += stepSize;
    6565    rightDown.y += stepSize;
    6666    fLoginNameView = new BTextControl(BRect(topLeft, rightDown),
    67                                     "login", "Login Name", "",
     67                                    "login", "Login name:", "",
    6868                                    NULL);
    6969    fLoginNameView->SetDivider(divider);
    7070    AddChild(fLoginNameView);
     
    7373    topLeft.y += stepSize;
    7474    rightDown.y += stepSize;
    7575    fPasswordView = new BTextControl(BRect(topLeft, rightDown),
    76                                     "password", "Password", "",
     76                                    "password", "Password:", "",
    7777                                    NULL);
    7878    fPasswordView->SetDivider(divider);
    7979    fPasswordView->TextView()->HideTyping(true);
     
    8383    topLeft.y += stepSize;
    8484    rightDown.y += stepSize;
    8585    fAccountNameView = new BTextControl(BRect(topLeft, rightDown),
    86                                     "account", "Account Name", "",
     86                                    "account", "Account name:", "",
    8787                                    NULL);
    8888    fAccountNameView->SetDivider(divider);
    8989    AddChild(fAccountNameView);
     
    9292    topLeft.y += stepSize;
    9393    rightDown.y += stepSize;
    9494    fNameView = new BTextControl(BRect(topLeft, rightDown),
    95                                     "name", "Real Name", "",
     95                                    "name", "Real name:", "",
    9696                                    NULL);
    9797    AddChild(fNameView);
    9898    fNameView->SetDivider(divider);
     
    327327        serverName = info.providerInfo.pop_server;
    328328
    329329    fInboundNameView = new BTextControl(BRect(10, 20, rect.Width() - 20, 35),
    330                                         "inbound", "Server Name",
     330                                        "inbound", "Server Name:",
    331331                                        serverName.String(),
    332332                                        new BMessage(kServerChangedMsg));
    333333    fInboundNameView->SetDivider(divider);
     
    383383
    384384    serverName = info.providerInfo.smtp_server;
    385385    fOutboundNameView = new BTextControl(BRect(10, 20, rect.Width() - 20, 30),
    386                                     "outbound", "Server Name",
     386                                    "outbound", "Server name:",
    387387                                    serverName.String(),
    388388                                    new BMessage(kServerChangedMsg));
    389389    fOutboundNameView->SetDivider(divider);
  • src/preferences/mail/Account.cpp

     
    11/* Account - provides an "account" view on the mail chains
    22**
    3 ** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
     3** Copyright 2001-2009 Dr. Zoidberg Enterprises. All rights reserved.
    44*/
    55
    66
     
    328328        (new BAlert(
    329329            MDR_DIALECT_CHOICE ("E-mail","メール"),
    330330            MDR_DIALECT_CHOICE ("Could not create outbound chain.","送信チェーンは作成できませんでした。"),
    331             MDR_DIALECT_CHOICE ("Ok","了解")))->Go();
     331            MDR_DIALECT_CHOICE ("OK","了解")))->Go();
    332332        return;
    333333    }
    334334    fOutbound->SetChainDirection(outbound);
  • src/preferences/mail/ConfigWindow.cpp

     
    11/*
    2  * Copyright 2007-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2007-2009, Haiku, Inc. All rights reserved.
    33 * Copyright 2001-2003 Dr. Zoidberg Enterprises. All rights reserved.
    44 *
    55 * Distributed under the terms of the MIT License.
     
    750750            "Error retrieving general settings:\n%s\n",
    751751            "\n一般設定を戻せませんでした。\n\n一般設定収得エラー:\n%s\n"),
    752752            strerror(status));
    753         (new BAlert("Error",text,"Ok",NULL,NULL,B_WIDTH_AS_USUAL,B_WARNING_ALERT))->Go();
     753        (new BAlert("Error",text,"OK",NULL,NULL,B_WIDTH_AS_USUAL,B_WARNING_ALERT))->Go();
    754754    }
    755755
    756756    // revert account data
  • src/preferences/joysticks/JoyWin.cpp

     
    436436    str << " port. Try another port, or ask the manufacturer of your joystick";
    437437    str << " for a driver designed for Haiku or BeOS.";
    438438
    439     BAlert *alert = new BAlert("test1", str.String(), "Ok");
     439    BAlert *alert = new BAlert("test1", str.String(), "OK");
    440440    alert->SetShortcut(0, B_ENTER);
    441441    alert->Go();
    442442}
  • src/preferences/keymap/KeymapWindow.cpp

     
    593593        label = TR("Switch shortcut keys to Windows/Linux mode");
    594594    } else if (fCurrentMap.KeyForModifier(B_LEFT_COMMAND_KEY) == 0x5c
    595595        && fCurrentMap.KeyForModifier(B_LEFT_CONTROL_KEY) == 0x5d) {
    596         label = TR("Switch Shortcut keys to Haiku mode");
     596        label = TR("Switch shortcut keys to Haiku mode");
    597597    }
    598598
    599599    fSwitchShortcutsButton->SetLabel(label);
  • src/preferences/fonts/main.cpp

     
    11/*
    2  * Copyright 2001-2005, Haiku.
     2 * Copyright 2001-2009, Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    4444FontsApp::AboutRequested()
    4545{
    4646    BAlert *alert = new BAlert("about", TR("Fonts\n"
    47         "\tCopyright 2004-2005, Haiku.\n\n"), TR("Ok"));
     47        "\tCopyright 2004-2005, Haiku.\n\n"), TR("OK"));
    4848    BTextView *view = alert->TextView();
    4949    BFont font;
    5050
  • src/preferences/network/EthernetSettingsView.cpp

     
    461461    BMessenger networkServer(kNetServerSignature);
    462462    if (!networkServer.IsValid()) {
    463463        (new BAlert("error", TR("The net_server needs to run for the auto "
    464             "configuration!"), TR("Ok")))->Go();
     464            "configuration!"), TR("OK")))->Go();
    465465        return B_ERROR;
    466466    }
    467467
     
    477477    if (status != B_OK) {
    478478        BString errorMessage(TR("Sending auto-config message failed: "));
    479479        errorMessage << strerror(status);
    480         (new BAlert("error", errorMessage.String(), TR("Ok")))->Go();
     480        (new BAlert("error", errorMessage.String(), TR("OK")))->Go();
    481481        return status;
    482482    } else if (reply.FindInt32("status", &status) == B_OK
    483483            && status != B_OK) {
    484484        BString errorMessage(TR("Auto-configuring failed: "));
    485485        errorMessage << strerror(status);
    486         (new BAlert("error", errorMessage.String(), "Ok"))->Go();
     486        (new BAlert("error", errorMessage.String(), "OK"))->Go();
    487487        return status;
    488488    }
    489489
  • src/preferences/shortcuts/ShortcutsApp.cpp

     
    4343{
    4444    BAlert* alert = new BAlert("About Shortcuts",
    4545        "Shortcuts\n\n"
    46         "Based on SpicyKeys for BeOS made by Jeremy Friesner.", "Ok");
     46        "Based on SpicyKeys for BeOS made by Jeremy Friesner.", "OK");
    4747    alert->Go();
    4848}
    4949
  • src/preferences/locale/LocaleWindow.cpp

     
    369369            BAlert* myAlert = new BAlert("Error",
    370370                TR("Unable to find the available languages! You can't use this "
    371371                    "preflet!"),
    372                 TR("Ok"), NULL, NULL,
     372                TR("OK"), NULL, NULL,
    373373                B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_STOP_ALERT);
    374374            myAlert->Go();
    375375        }
  • src/preferences/filetypes/TypeListWindow.cpp

     
    11/*
    2  * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2006-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    1818
    1919
    2020TypeListWindow::TypeListWindow(const char* currentType, uint32 what, BWindow* target)
    21     : BWindow(BRect(100, 100, 360, 440), "Choose Type", B_MODAL_WINDOW,
     21    : BWindow(BRect(100, 100, 360, 440), "Choose type", B_MODAL_WINDOW,
    2222        B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS),
    2323    fTarget(target),
    2424    fWhat(what)
  • src/preferences/filetypes/FileTypeWindow.cpp

     
    11/*
    2  * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2006-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    4040
    4141FileTypeWindow::FileTypeWindow(BPoint position, const BMessage& refs)
    4242    : BWindow(BRect(0.0f, 0.0f, 200.0f, 200.0f).OffsetBySelf(position),
    43         "File Type", B_TITLED_WINDOW,
     43        "File type", B_TITLED_WINDOW,
    4444        B_NOT_V_RESIZABLE | B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS)
    4545{
    4646    BRect rect = Bounds();
     
    5656
    5757    rect.InsetBy(8.0f, 8.0f);
    5858    BBox* box = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT);
    59     box->SetLabel("File Type");
     59    box->SetLabel("File type");
    6060    topView->AddChild(box);
    6161
    6262    rect = box->Bounds();
     
    8383    box->AddChild(fSelectTypeButton);
    8484
    8585    rect.OffsetBy(fSelectTypeButton->Bounds().Width() + 8.0f, 0.0f);
    86     fSameTypeAsButton = new BButton(rect, "same type as", "Same As" B_UTF8_ELLIPSIS,
     86    fSameTypeAsButton = new BButton(rect, "same type as", "Same as" B_UTF8_ELLIPSIS,
    8787        new BMessage(kMsgSameTypeAs), B_FOLLOW_LEFT | B_FOLLOW_TOP);
    8888    fSameTypeAsButton->ResizeToPreferred();
    8989    box->AddChild(fSameTypeAsButton);
     
    121121    rect.left = 8.0f;
    122122    rect.right = Bounds().Width() - 8.0f;
    123123    box = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT);
    124     box->SetLabel("Preferred Application");
     124    box->SetLabel("Preferred application");
    125125    topView->AddChild(box);
    126126
    127127    BMenu* menu = new BPopUpMenu("preferred");
    128128    BMenuItem* item;
    129     menu->AddItem(item = new BMenuItem("Default Application",
     129    menu->AddItem(item = new BMenuItem("Default application",
    130130        new BMessage(kMsgPreferredAppChosen)));
    131131    item->SetMarked(true);
    132132
     
    153153    box->AddChild(fSelectAppButton);
    154154
    155155    rect.OffsetBy(fSelectAppButton->Bounds().Width() + 8.0f, 0.0f);
    156     fSameAppAsButton = new BButton(rect, "same app as", "Same As" B_UTF8_ELLIPSIS,
     156    fSameAppAsButton = new BButton(rect, "same app as", "Same as" B_UTF8_ELLIPSIS,
    157157        new BMessage(kMsgSamePreferredAppAs), B_FOLLOW_LEFT | B_FOLLOW_TOP);
    158158    fSameAppAsButton->ResizeToPreferred();
    159159    box->AddChild(fSameAppAsButton);
     
    203203
    204204        char name[B_FILE_NAME_LENGTH];
    205205        if (same && parent.GetName(name) == B_OK) {
    206             title = "Multiple Files from \"";
     206            title = "Multiple files from \"";
    207207            title.Append(name);
    208208            title.Append("\"");
    209209        } else
    210             title = "[Multiple Files]";
     210            title = "[Multiple files]";
    211211    } else if (refs.FindRef("refs", 0, &ref) == B_OK)
    212212        title = ref.name;
    213213
    214     title.Append(" File Type");
     214    title.Append(" file type");
    215215    return title;
    216216}
    217217
     
    391391        case kMsgSameTypeAs:
    392392        {
    393393            BMessage panel(kMsgOpenFilePanel);
    394             panel.AddString("title", "Select Same Type As");
     394            panel.AddString("title", "Select same type as");
    395395            panel.AddInt32("message", kMsgSameTypeAsOpened);
    396396            panel.AddMessenger("target", this);
    397397
     
    419419        case kMsgSelectPreferredApp:
    420420        {
    421421            BMessage panel(kMsgOpenFilePanel);
    422             panel.AddString("title", "Select Preferred Application");
     422            panel.AddString("title", "Select preferred application");
    423423            panel.AddInt32("message", kMsgPreferredAppOpened);
    424424            panel.AddMessenger("target", this);
    425425
     
    433433        case kMsgSamePreferredAppAs:
    434434        {
    435435            BMessage panel(kMsgOpenFilePanel);
    436             panel.AddString("title", "Select Same Preferred Application As");
     436            panel.AddString("title", "Select same preferred application as");
    437437            panel.AddInt32("message", kMsgSamePreferredAppAsOpened);
    438438            panel.AddMessenger("target", this);
    439439
  • src/preferences/filetypes/NewFileTypeWindow.cpp

     
    11/*
    2  * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2006-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    2828
    2929
    3030NewFileTypeWindow::NewFileTypeWindow(FileTypesWindow* target, const char* currentType)
    31     : BWindow(BRect(100, 100, 350, 200), "New File Type", B_TITLED_WINDOW,
     31    : BWindow(BRect(100, 100, 350, 200), "New file type", B_TITLED_WINDOW,
    3232        B_NOT_ZOOMABLE | B_NOT_V_RESIZABLE | B_ASYNCHRONOUS_CONTROLS),
    3333    fTarget(target)
    3434{
     
    3737    topView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
    3838    AddChild(topView);
    3939
    40     float labelWidth = be_plain_font->StringWidth("Internal Name:") + 2.0f;
     40    float labelWidth = be_plain_font->StringWidth("Internal name:") + 2.0f;
    4141
    4242    rect.InsetBy(8.0f, 6.0f);
    4343    fSupertypesMenu = new BPopUpMenu("supertypes");
     
    6161        if (i > 1)
    6262            fSupertypesMenu->AddSeparatorItem();
    6363    }
    64     fSupertypesMenu->AddItem(new BMenuItem("Add New Group",
     64    fSupertypesMenu->AddItem(new BMenuItem("Add new group",
    6565        new BMessage(kMsgNewSupertypeChosen)));
    6666
    6767    BMenuField* menuField = new BMenuField(rect, "supertypes",
     
    7373    menuField->ResizeTo(rect.Width(), height);
    7474    topView->AddChild(menuField);
    7575
    76     fNameControl = new BTextControl(rect, "internal", "Internal Name:", "",
     76    fNameControl = new BTextControl(rect, "internal", "Internal name:", "",
    7777        NULL, B_FOLLOW_LEFT_RIGHT);
    7878    fNameControl->SetModificationMessage(new BMessage(kMsgNameUpdated));
    7979    fNameControl->SetDivider(labelWidth);
     
    9191    fNameControl->MoveTo(8.0f, 12.0f + menuField->Bounds().Height());
    9292    topView->AddChild(fNameControl);
    9393
    94     fAddButton = new BButton(rect, "add", "Add Type", new BMessage(kMsgAddType),
     94    fAddButton = new BButton(rect, "add", "Add type", new BMessage(kMsgAddType),
    9595        B_FOLLOW_RIGHT | B_FOLLOW_BOTTOM);
    9696    fAddButton->ResizeToPreferred();
    9797    fAddButton->MoveTo(Bounds().Width() - 8.0f - fAddButton->Bounds().Width(),
     
    128128{
    129129    switch (message->what) {
    130130        case kMsgSupertypeChosen:
    131             fAddButton->SetLabel("Add Type");
    132             fNameControl->SetLabel("Internal Name:");
     131            fAddButton->SetLabel("Add type");
     132            fNameControl->SetLabel("Internal name:");
    133133            fNameControl->MakeFocus(true);
    134134            break;
    135135
    136136        case kMsgNewSupertypeChosen:
    137             fAddButton->SetLabel("Add Group");
    138             fNameControl->SetLabel("Group Name:");
     137            fAddButton->SetLabel("Add group");
     138            fNameControl->SetLabel("Group name:");
    139139            fNameControl->MakeFocus(true);
    140140            break;
    141141
  • src/preferences/filetypes/ApplicationTypesWindow.cpp

     
    11/*
    2  * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2006-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    7676        case B_GAMMA_VERSION:
    7777            return "Gamma";
    7878        case B_GOLDEN_MASTER_VERSION:
    79             return "Golden Master";
     79            return "Golden master";
    8080        case B_FINAL_VERSION:
    8181            return "Final";
    8282    }
  • src/preferences/filetypes/IconView.cpp

     
    11/*
    2  * Copyright 2006-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2006-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    817817
    818818        bool hasIcon = fHasType ? fSource == kOwnIcon : fIcon != NULL;
    819819        if (hasIcon)
    820             menu->AddItem(new BMenuItem("Edit Icon" B_UTF8_ELLIPSIS, new BMessage(kMsgEditIcon)));
     820            menu->AddItem(new BMenuItem("Edit icon" B_UTF8_ELLIPSIS, new BMessage(kMsgEditIcon)));
    821821        else
    822             menu->AddItem(new BMenuItem("Add Icon" B_UTF8_ELLIPSIS, new BMessage(kMsgAddIcon)));
     822            menu->AddItem(new BMenuItem("Add icon" B_UTF8_ELLIPSIS, new BMessage(kMsgAddIcon)));
    823823
    824         BMenuItem* item = new BMenuItem("Remove Icon", new BMessage(kMsgRemoveIcon));
     824        BMenuItem* item = new BMenuItem("Remove icon", new BMessage(kMsgRemoveIcon));
    825825        if (!hasIcon)
    826826            item->SetEnabled(false);
    827827
  • src/preferences/filetypes/ApplicationTypeWindow.cpp

     
    11/*
    2  * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2006-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    243243    fSaveMenuItem->SetEnabled(false);
    244244    menu->AddItem(fSaveMenuItem);
    245245    BMenuItem* item;
    246     menu->AddItem(item = new BMenuItem("Save Into Resource File" B_UTF8_ELLIPSIS,
     246    menu->AddItem(item = new BMenuItem("Save into resource file" B_UTF8_ELLIPSIS,
    247247        NULL));
    248248    item->SetEnabled(false);
    249249
     
    296296    BBox* box = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT);
    297297    topView->AddChild(box);
    298298
    299     fFlagsCheckBox = new BCheckBox(rect, "flags", "Application Flags",
     299    fFlagsCheckBox = new BCheckBox(rect, "flags", "Application flags",
    300300        new BMessage(kMsgToggleAppFlags));
    301301    fFlagsCheckBox->SetValue(B_CONTROL_ON);
    302302    fFlagsCheckBox->ResizeToPreferred();
    303303    box->SetLabel(fFlagsCheckBox);
    304304
    305305    rect.top = fFlagsCheckBox->Bounds().Height() + 4.0f;
    306     fSingleLaunchButton = new BRadioButton(rect, "single", "Single Launch",
     306    fSingleLaunchButton = new BRadioButton(rect, "single", "Single launch",
    307307        new BMessage(kMsgAppFlagsChanged));
    308308    fSingleLaunchButton->ResizeToPreferred();
    309309    box->AddChild(fSingleLaunchButton);
    310310
    311311    rect.OffsetBy(0.0f, fSingleLaunchButton->Bounds().Height() + 0.0f);
    312312    fMultipleLaunchButton = new BRadioButton(rect, "multiple",
    313         "Multiple Launch", new BMessage(kMsgAppFlagsChanged));
     313        "Multiple launch", new BMessage(kMsgAppFlagsChanged));
    314314    fMultipleLaunchButton->ResizeToPreferred();
    315315    box->AddChild(fMultipleLaunchButton);
    316316
    317317    rect.OffsetBy(0.0f, fSingleLaunchButton->Bounds().Height() + 0.0f);
    318318    fExclusiveLaunchButton = new BRadioButton(rect, "exclusive",
    319         "Exclusive Launch", new BMessage(kMsgAppFlagsChanged));
     319        "Exclusive launch", new BMessage(kMsgAppFlagsChanged));
    320320    fExclusiveLaunchButton->ResizeToPreferred();
    321321    box->AddChild(fExclusiveLaunchButton);
    322322
    323323    rect.top = fSingleLaunchButton->Frame().top;
    324324    rect.left = fExclusiveLaunchButton->Frame().right + 4.0f;
    325     fArgsOnlyCheckBox = new BCheckBox(rect, "args only", "Args Only",
     325    fArgsOnlyCheckBox = new BCheckBox(rect, "args only", "Args only",
    326326        new BMessage(kMsgAppFlagsChanged));
    327327    fArgsOnlyCheckBox->ResizeToPreferred();
    328328    box->AddChild(fArgsOnlyCheckBox);
    329329
    330330    rect.top += fArgsOnlyCheckBox->Bounds().Height();
    331331    fBackgroundAppCheckBox = new BCheckBox(rect, "background",
    332         "Background App", new BMessage(kMsgAppFlagsChanged));
     332        "Background app", new BMessage(kMsgAppFlagsChanged));
    333333    fBackgroundAppCheckBox->ResizeToPreferred();
    334334    box->AddChild(fBackgroundAppCheckBox);
    335335
     
    373373    rect.left = 8.0f;
    374374    rect.right = Bounds().Width() - 8.0f;
    375375    BBox* typeBox = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT);
    376     typeBox->SetLabel("Supported Types");
     376    typeBox->SetLabel("Supported types");
    377377    topView->AddChild(typeBox);
    378378
    379379    rect = typeBox->Bounds().InsetByCopy(8.0f, 6.0f);
     
    426426    rect.right = Bounds().Width() - 8.0f;
    427427    box = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT);
    428428        // the resizing mode will later also be set to B_FOLLOW_BOTTOM
    429     box->SetLabel("Version Info");
     429    box->SetLabel("Version info");
    430430    topView->AddChild(box);
    431431
    432432    BMenuField* menuField;
     
    479479    fVarietyMenu->AddItem(new BMenuItem("Alpha", NULL));
    480480    fVarietyMenu->AddItem(new BMenuItem("Beta", NULL));
    481481    fVarietyMenu->AddItem(new BMenuItem("Gamma", NULL));
    482     fVarietyMenu->AddItem(item = new BMenuItem("Golden Master", NULL));
     482    fVarietyMenu->AddItem(item = new BMenuItem("Golden master", NULL));
    483483    item->SetMarked(true);
    484484    fVarietyMenu->AddItem(new BMenuItem("Final", NULL));
    485485
     
    503503
    504504    rect = box->Bounds().InsetByCopy(8.0f, 0.0f);
    505505    rect.top = fInternalVersionControl->Frame().bottom + 8.0f;
    506     fShortDescriptionControl = new BTextControl(rect, "short desc", "Short Description:",
     506    fShortDescriptionControl = new BTextControl(rect, "short desc", "Short description:",
    507507        NULL, NULL, B_FOLLOW_LEFT_RIGHT | B_FOLLOW_TOP);
    508508    float labelWidth = fShortDescriptionControl->StringWidth(
    509509        fShortDescriptionControl->Label()) + 4.0f;
     
    518518
    519519    rect.OffsetBy(0.0f, fShortDescriptionControl->Bounds().Height() + 5.0f);
    520520    rect.right = rect.left + labelWidth;
    521     StringView* label = new StringView(rect, NULL, "Long Description:", NULL);
     521    StringView* label = new StringView(rect, NULL, "Long description:", NULL);
    522522    label->SetDivider(labelWidth);
    523523    box->AddChild(label);
    524524
     
    570570        strcpy(name, "\"-\"");
    571571
    572572    BString title(name);
    573     title.Append(" Application Type");
     573    title.Append(" application type");
    574574    return title;
    575575}
    576576
     
    10881088ApplicationTypeWindow::QuitRequested()
    10891089{
    10901090    if (_NeedsSaving(CHECK_ALL) != 0) {
    1091         BAlert* alert = new BAlert("Save Request", "Do you want to save "
    1092             "the changes?", "Quit, Don't save", "Cancel", "Save",
     1091        BAlert* alert = new BAlert("Save request", "Do you want to save "
     1092            "the changes?", "Quit, don't save", "Cancel", "Save",
    10931093            B_WIDTH_AS_USUAL, B_WARNING_ALERT);
    10941094        int32 choice = alert->Go();
    10951095        switch (choice) {
  • src/preferences/bluetooth/BluetoothMain.cpp

     
    2929BluetoothApplication::AboutRequested()
    3030{
    3131   
    32     (new BAlert("about", TR("Haiku bluetooth system, (ARCE)\n\n"
     32    (new BAlert("about", TR("Haiku Bluetooth system, (ARCE)\n\n"
    3333                             "Created by Oliver Ruiz Dorantes\n\n"
    3434                             "With support of:\n"
    3535                             "  - Mika Lindqvist\n"
    3636                             "  - Maksym Yevmenkin\n\n"
    3737                             "Thanks to the individuals who helped...\n\n"
    3838                             "Shipping/donating hardware:\n"
    39                              "  - Henry Jair Abril Florez(el Colombian)\n"
     39                             "  - Henry Jair Abril Florez (el Colombian)\n"
    4040                             "       & Stefanie Bartolich\n"
    4141                             "  - Edwin Erik Amsler\n"
    4242                             "  - Dennis d'Entremont\n"
     
    5858                             "  - Petter H. Juliussen\n"
    5959                             "  - Adrien Destugues\n\n"
    6060                             "Who gave me all the knowledge:\n"
    61                              "  - the yellowTAB team"), TR("Ok")))->Go();
     61                             "  - the yellowTAB team"), TR("OK")))->Go();
    6262   
    6363}
    6464
  • src/preferences/bluetooth/InquiryPanel.cpp

     
    11/*
    2  * Copyright 2008-09, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes_at_gmail.com>
     2 * Copyright 2008-2009, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes_at_gmail.com>
    33 * All rights reserved. Distributed under the terms of the MIT License.
    44 */
    55
     
    124124    fScrollView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
    125125
    126126    if (fLocalDevice != NULL) {
    127         fMessage->SetText(TR("Check that the bluetooth capabilities of your remote device"
    128                             " are activated. Press Inquiry to start scanning. The needed time"
     127        fMessage->SetText(TR("Check that the Bluetooth capabilities of your remote device"
     128                            " are activated. Press 'Inquiry' to start scanning. The needed time"
    129129                            " for the retrieval of the names is unknown, although should not"
    130130                            " take more than 3 seconds per device. Afterwards you will be able"
    131                             " to add them to your main list, where you will be able to pair with them"));
     131                            " to add them to your main list, where you will be able to pair with them."));
    132132        fInquiryButton->SetEnabled(true);
    133133        fDiscoveryAgent = fLocalDevice->GetDiscoveryAgent();
    134134        fDiscoveryListener = new PanelDiscoveryListener(this);
     
    138138       
    139139       
    140140    } else {
    141         fMessage->SetText(TR("There has not been found any bluetooth LocalDevice device registered"
    142                             " on the system"));
     141        fMessage->SetText(TR("There isn't any Bluetooth LocalDevice registered"
     142                            " on the system."));
    143143        fInquiryButton->SetEnabled(false);
    144144    }
    145145
  • src/preferences/bluetooth/BluetoothWindow.cpp

     
    6363    fMenubar->AddItem(menu);
    6464   
    6565    menu = new BMenu(TR("Help"));
    66     menu->AddItem(new BMenuItem(TR("About" B_UTF8_ELLIPSIS), new BMessage(B_ABOUT_REQUESTED), 0));
     66    menu->AddItem(new BMenuItem(TR("About Bluetooth" B_UTF8_ELLIPSIS), new BMessage(B_ABOUT_REQUESTED), 0));
    6767    fMenubar->AddItem(menu);
    6868
    6969    BTabView* tabView = new BTabView("tabview", B_WIDTH_FROM_LABEL);
  • src/preferences/touchpad/TouchpadPrefView.cpp

     
    9696    if (GetRightScrollRatio() > 0.7 || GetBottomScrollRatio() > 0.7) {
    9797        BAlert* alert = new BAlert("ReallyChangeScrollArea",
    9898            "The new scroll area is very small. Do you really want to change "
    99                 "the scroll area?", "Ok", "Cancel", NULL, B_WIDTH_AS_USUAL,
     99                "it?", "OK", "Cancel", NULL, B_WIDTH_AS_USUAL,
    100100            B_WARNING_ALERT);
    101101        result = alert->Go();
    102102    }
  • src/preferences/cpufrequency/StatusView.cpp

     
    407407void
    408408StatusView::_AboutRequested()
    409409{
    410     BAlert *alert = new BAlert("about", TR("CPU Frequency\n"
     410    BAlert *alert = new BAlert("about", TR("CPUFrequency\n"
    411411            "\twritten by Clemens Zeidler\n"
    412412            "\tCopyright 2009, Haiku, Inc.\n"),
    413413        TR("Ok"));
  • src/preferences/cpufrequency/CPUFrequencyView.cpp

     
    9191    fStatusView->ShowPopUpMenu(false);
    9292       
    9393    fInstallButton = new BButton("installButton",
    94                                     TR("Install Replicant into Deskbar"),
     94                                    TR("Install replicant into Deskbar"),
    9595                                    new BMessage(kInstallIntoDeskbar));
    9696   
    9797    statusLayout->AddView(fStatusView);
  • src/preferences/datatranslations/DataTranslations.cpp

     
    11/*
    2  * Copyright 2002-2006, Haiku, Inc.
     2 * Copyright 2002-2009 Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT license.
    44 *
    55 * Authors:
     
    5454{
    5555    BAlert *alert = new BAlert("about", "DataTranslations\n"
    5656        "\twritten by Oliver Siebenmarck and others\n"
    57         "\tCopyright 2002-2006, Haiku.\n", "Ok");
     57        "\tCopyright 2002-2006, Haiku.\n", "OK");
    5858    BTextView *view = alert->TextView();
    5959    BFont font;
    6060
  • src/preferences/sounds/HEventList.cpp

     
    11/*
    2  * Copyright 2003-2008 Haiku Inc. All rights reserved.
     2 * Copyright 2003-2009 Haiku Inc. All rights reserved.
    33 * Distributed under the terms of the MIT license.
    44 *
    55 * Authors:
     
    112112        } else {
    113113            printf("name %s\n", ref.name);
    114114            BMediaFiles().RemoveRefFor(fType, row->Name(), ref);
    115             (new BAlert("alert", "No such file or directory", "Ok"))->Go();
     115            (new BAlert("alert", "No such file or directory", "OK"))->Go();
    116116            return;
    117117        }
    118118        BMessage msg(M_EVENT_CHANGED);