Ticket #5169: case-add-ons.diff

File case-add-ons.diff, 58.8 KB (added by humdinger, 14 years ago)

for add-ons

  • src/add-ons/input_server/methods/pen/RestartInputServer.sh

     
    66tmout=$((30))
    77
    88touch $tagfile
    9 (alert "All is fine" "Ok"; rm $tagfile) &
     9(alert "All is fine." "OK"; rm $tagfile) &
    1010
    1111sleep $tmout
    1212
  • src/add-ons/input_server/methods/pen/PenInputServerMethod.cpp

     
    11/*
    2     Copyright 2007, Francois Revol.   All Rights Reserved.
     2    Copyright 2007-2009, Francois Revol.   All Rights Reserved.
    33    This file may be used under the terms of the Be Sample Code License.
    44*/
    55
     
    5151    PRINT(("%s\n", __FUNCTION__));
    5252#if DEBUG
    5353    //fDebugFile.SetTo("/tmp/PenInputMethodMessages.txt", B_READ_WRITE|B_CREATE_FILE);
    54     fDebugAlert = new BAlert("PenInput Debug", "Plip                                   \n\n\n\n\n\n\n\n\n\n\n\n\n", "Ok");
     54    fDebugAlert = new BAlert("PenInput Debug", "Plip                                   \n\n\n\n\n\n\n\n\n\n\n\n\n", "OK");
    5555    fDebugAlert->SetLook(B_TITLED_WINDOW_LOOK);
    5656    fDebugAlert->TextView()->MakeSelectable();
    5757    fDebugAlert->TextView()->SelectAll();
  • src/add-ons/input_server/methods/t9/T9InputServerMethod.cpp

     
    11/*
    2     Copyright 2005, Francois Revol.   All Rights Reserved.
     2    Copyright 2005-2009, Francois Revol.   All Rights Reserved.
    33    This file may be used under the terms of the Be Sample Code License.
    44*/
    55
     
    9494    BMessage *msg = new BMessage('SetM');
    9595    msg->AddInt32("t9mode", WordMode);
    9696    BMenuItem *item;
    97     item = new BMenuItem(_T("Word Mode"), msg);
     97    item = new BMenuItem(_T("Word mode"), msg);
    9898    item->SetMarked(true);
    9999    fDeskbarMenu->AddItem(item);
    100100    msg = new BMessage('SetM');
    101101    msg->AddInt32("t9mode", CharMode);
    102     item = new BMenuItem(_T("Character Mode"), msg);
     102    item = new BMenuItem(_T("Character mode"), msg);
    103103    fDeskbarMenu->AddItem(item);
    104104    msg = new BMessage('SetM');
    105105    msg->AddInt32("t9mode", NumMode);
    106     item = new BMenuItem(_T("Numeric Mode"), msg);
     106    item = new BMenuItem(_T("Numeric mode"), msg);
    107107    fDeskbarMenu->AddItem(item);
    108108    fDeskbarMenu->SetFont(be_plain_font);
    109109    // doesn't seem to work here
     
    177177      s << (long) fDeskbarMenu->FindMarked();
    178178      s << " - ";
    179179      s << (long) fDeskbarMenu->ItemAt(v);
    180       BAlert *a = new BAlert("Plop", s.String(), "Ok");
     180      BAlert *a = new BAlert("Plop", s.String(), "OK");
    181181      a->Go(NULL);
    182182      }*/
    183183    break;
  • src/add-ons/input_server/methods/t9/DictionaryInputServerMethod.cpp

     
    11/*
    2     Copyright 2005, Francois Revol.   All Rights Reserved.
     2    Copyright 2005-2009, Francois Revol.   All Rights Reserved.
    33    This file may be used under the terms of the Be Sample Code License.
    44*/
    55
     
    9494    BMessage *msg = new BMessage('SetM');
    9595    msg->AddInt32("t9mode", WordMode);
    9696    BMenuItem *item;
    97     item = new BMenuItem(_T("Word Mode"), msg);
     97    item = new BMenuItem(_T("Word mode"), msg);
    9898    item->SetMarked(true);
    9999    fDeskbarMenu->AddItem(item);
    100100    msg = new BMessage('SetM');
    101101    msg->AddInt32("t9mode", CharMode);
    102     item = new BMenuItem(_T("Character Mode"), msg);
     102    item = new BMenuItem(_T("Character mode"), msg);
    103103    fDeskbarMenu->AddItem(item);
    104104    msg = new BMessage('SetM');
    105105    msg->AddInt32("t9mode", NumMode);
    106     item = new BMenuItem(_T("Numeric Mode"), msg);
     106    item = new BMenuItem(_T("Numeric mode"), msg);
    107107    fDeskbarMenu->AddItem(item);
    108108    fDeskbarMenu->SetFont(be_plain_font);
    109109    // doesn't seem to work here
     
    177177      s << (long) fDeskbarMenu->FindMarked();
    178178      s << " - ";
    179179      s << (long) fDeskbarMenu->ItemAt(v);
    180       BAlert *a = new BAlert("Plop", s.String(), "Ok");
     180      BAlert *a = new BAlert("Plop", s.String(), "OK");
    181181      a->Go(NULL);
    182182      }*/
    183183    break;
  • src/add-ons/input_server/filters/shortcut_catcher/CommandActuators.cpp

     
    186186    if (be_roster) {
    187187        status_t err = B_OK;
    188188        BString str;       
    189         BString str1("Shortcuts Launcher Error");
     189        BString str1("Shortcuts launcher error");
    190190        if (fArgc < 1)
    191191            str << "You didn't specify a command for this hotkey.";
    192192        else if ((err = LaunchCommand(fArgv, fArgc)) != B_NO_ERROR) {
     
    196196        }
    197197
    198198        if (fArgc < 1 || err != B_NO_ERROR)
    199             (new BAlert(str1.String(), str.String(), "Ok"))->Go(NULL); 
     199            (new BAlert(str1.String(), str.String(), "OK"))->Go(NULL); 
    200200    }
    201201}
    202202
     
    10071007{
    10081008    if (be_roster) {
    10091009        BString str;
    1010         BString str1("Shortcuts MIME Launcher Error");
     1010        BString str1("Shortcuts MIME launcher error");
    10111011        status_t ret = be_roster->Launch(fMimeType.String());
    10121012        if ((ret != B_NO_ERROR) && (ret != B_ALREADY_RUNNING)) {
    10131013            str << "Can't launch handler for ";
    1014             str << ", no such MIME type exists.Please check your Shortcuts";
    1015             str << " settings. Please check your Shortcuts settings.";
    1016             (new BAlert(str1.String(), str.String(), "Ok"))->Go(NULL);         
     1014            str << ", no such MIME type exists. Please check your Shortcuts";
     1015            str << " settings.";
     1016            (new BAlert(str1.String(), str.String(), "OK"))->Go(NULL);         
    10171017        }
    10181018    }
    10191019}
     
    16881688{
    16891689    if (be_roster) {
    16901690        BString str;
    1691         BString str1("Shortcuts SendMessage Error");
     1691        BString str1("Shortcuts SendMessage error");
    16921692        if (fSignature.Length() == 0) {
    1693             str << "SendMessage: Target App Signature not specified";
    1694             (new BAlert(str1.String(), str.String(), "Ok"))->Go(NULL);
     1693            str << "SendMessage: Target application signature not specified";
     1694            (new BAlert(str1.String(), str.String(), "OK"))->Go(NULL);
    16951695        } else {
    16961696            status_t error = B_OK;
    16971697            BMessenger msngr(fSignature.String(), -1, &error);
  • src/add-ons/tracker/opentargetfolder/opentargetfolder.cpp

     
    11/*
    2  * Copyright 2003-2008, Axel Dörfler, axeld@pinc-software.de.
     2 * Copyright 2003-2009, Axel Dörfler, axeld@pinc-software.de.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    4040            || targetEntry.GetParent(&targetEntry) != B_OK) {
    4141            (new BAlert("Open Target Folder",
    4242                "Cannot open target folder. Maybe this link is broken?",
    43                 "Ok", NULL, NULL, B_WIDTH_AS_USUAL, B_WARNING_ALERT))->Go(NULL);
     43                "OK", NULL, NULL, B_WIDTH_AS_USUAL, B_WARNING_ALERT))->Go(NULL);
    4444            continue;
    4545        }
    4646
     
    6262        (new BAlert("Open Target Folder",
    6363            "This add-on can only be used on symbolic links.\n"
    6464            "It opens the folder of the link target in Tracker.",
    65             "Ok"))->Go(NULL);
     65            "OK"))->Go(NULL);
    6666    }
    6767}
    6868
  • src/add-ons/tracker/iconvader/IconVader.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
     
    1717    if (view && unlock)
    1818        view->UnlockLooper();
    1919    BString s(strerror(status));
    20     alert = new BAlert("Error", s.String(), "Ok");
     20    alert = new BAlert("Error", s.String(), "OK");
    2121    alert->Go();
    2222}
    2323
     
    8080
    8181
    8282
    83     alert = new BAlert("Error", "IconVader:\nClick on the icons to get points.\nAvoid symlinks!", "Ok");
     83    alert = new BAlert("Error", "IconVader:\nClick on the icons to get points.\nAvoid symlinks!", "OK");
    8484    alert->Go();
    8585
    8686
  • src/add-ons/screen_savers/ifs/IFSSaver.cpp

     
    7676
    7777    // the additive check box
    7878    fSpeedS = new BSlider(frame, "speed setting",
    79                           "Morphing Speed:",
     79                          "Morphing speed:",
    8080                          new BMessage(MSG_SET_SPEED),
    8181                          1, 12, B_BLOCK_THUMB,
    8282                          B_FOLLOW_LEFT_RIGHT | B_FOLLOW_BOTTOM);
  • src/add-ons/screen_savers/slideshowsaver/SlideShowConfigView.cpp

     
    6868    // Show Caption checkbox
    6969    pMsg = new BMessage(CHANGE_CAPTION);
    7070    fShowCaption = new BCheckBox(BRect(10, 45, 180, 62),
    71         "Show Caption", "Show Caption", pMsg);
     71        "Show caption", "Show caption", pMsg);
    7272    val = (fSettings->SetGetBool(SAVER_SETTING_CAPTION)) ? 1 : 0;
    7373    fShowCaption->SetValue(val);
    7474    fShowCaption->SetViewColor(ViewColor());
     
    7777    // Change Border checkbox
    7878    pMsg = new BMessage(CHANGE_BORDER);
    7979    fShowBorder = new BCheckBox(BRect(10, 70, 180, 87),
    80         "Show Border", "Show Border", pMsg);
     80        "Show border", "Show border", pMsg);
    8181    val = (fSettings->SetGetBool(SAVER_SETTING_BORDER)) ? 1 : 0;
    8282    fShowBorder->SetValue(val);
    8383    fShowBorder->SetViewColor(ViewColor());
     
    8686    // Delay Menu
    8787    // setup PNG interlace options menu
    8888    int32 currentDelay = fSettings->SetGetInt32(SAVER_SETTING_DELAY) / 1000;
    89     fDelayMenu = new BPopUpMenu("Delay Menu");
     89    fDelayMenu = new BPopUpMenu("Delay menu");
    9090    struct DelayItem {
    9191        const char *name;
    9292        int32 delay;
    9393    };
    9494    DelayItem items[] = {
    95         {"No Delay",    0},
     95        {"No delay",    0},
    9696        {"1 second",    1},
    9797        {"2 seconds",   2},
    9898        {"3 seconds",   3},
     
    128128    // Choose Image Folder button
    129129    pMsg = new BMessage(CHOOSE_DIRECTORY);
    130130    fChooseFolder = new BButton(BRect(50, 160, 180, 180),
    131         "Choose Folder", "Choose Image Folder" B_UTF8_ELLIPSIS, pMsg);
     131        "Choose Folder", "Choose image folder" B_UTF8_ELLIPSIS, pMsg);
    132132    AddChild(fChooseFolder);
    133133
    134134    // Setup choose folder file panel
     
    317317    // Draw current folder
    318318    BString strFolder;
    319319    fSettings->GetString(SAVER_SETTING_DIRECTORY, strFolder);
    320     strFolder.Prepend("Image Folder: ");
     320    strFolder.Prepend("Image folder: ");
    321321    DrawString(strFolder.String(), BPoint(10, yplain * 9 + ybold));
    322322}
  • src/add-ons/screen_savers/spider/SpiderSaver.cpp

     
    11/*
    2  * Copyright 2007, Haiku Inc. All rights reserved.
     2 * Copyright 2007-2009, Haiku Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    353353    frame.top = 10.0;
    354354    frame.bottom = frame.top + viewHeight;
    355355    frame.OffsetBy(0.0, viewHeight);
    356     fQueueNumberS = new BSlider(frame, "queue number", "Max Polygon Count",
     356    fQueueNumberS = new BSlider(frame, "queue number", "Max. polygon count",
    357357                                new BMessage(MSG_QUEUE_NUMBER),
    358358                                1, MAX_QUEUE_NUMBER);
    359359    fQueueNumberS->SetHashMarks(B_HASH_MARKS_BOTTOM);
     
    361361    fQueueNumberS->SetValue(queueNumber);
    362362    AddChild(fQueueNumberS);
    363363    frame.OffsetBy(0.0, viewHeight);
    364     fPolyNumberS = new BSlider(frame, "poly points", "Max Points per Polygon",
     364    fPolyNumberS = new BSlider(frame, "poly points", "Max. points per polygon",
    365365                                new BMessage(MSG_POLY_NUMBER),
    366366                                MIN_POLY_POINTS, MAX_POLY_POINTS);
    367367    fPolyNumberS->SetHashMarks(B_HASH_MARKS_BOTTOM);
     
    369369    fPolyNumberS->SetValue(maxPolyPoints);
    370370    AddChild(fPolyNumberS);
    371371    frame.OffsetBy(0.0, viewHeight);
    372     fQueueDepthS = new BSlider(frame, "queue depth", "Trail Depth",
     372    fQueueDepthS = new BSlider(frame, "queue depth", "Trail depth",
    373373                                new BMessage(MSG_QUEUE_DEPTH),
    374374                                MIN_QUEUE_DEPTH, MAX_QUEUE_DEPTH);
    375375    fQueueDepthS->SetHashMarks(B_HASH_MARKS_BOTTOM);
  • src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp

     
    11/*
    2  * Copyright 2007-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2007-2009, Haiku, Inc. All rights reserved.
    33 * Copyright 2001-2002 Dr. Zoidberg Enterprises. All rights reserved.
    44 *
    55 * Distributed under the terms of the MIT License.
     
    8585status_t
    8686POP3Protocol::Open(const char *server, int port, int)
    8787{
    88     runner->ReportProgress(0, 0, MDR_DIALECT_CHOICE("Connecting to POP3 Server...",
     88    runner->ReportProgress(0, 0, MDR_DIALECT_CHOICE("Connecting to POP3 server...",
    8989        "POP3サーバに接続しています..."));
    9090
    9191    if (port <= 0) {
     
    169169                << settings->FindString("server");
    170170            if (port != 995)
    171171                error << ":" << port;
    172             error << ". (SSL Connection Error)";
     172            error << ". (SSL connection error)";
    173173            runner->ShowError(error.String());
    174174            SSL_CTX_free(fSSLContext);
    175175#ifndef HAIKU_TARGET_PLATFORM_BEOS
     
    765765        | B_MAIL_PROTOCOL_HAS_FLAVORS
    766766#endif
    767767        );
    768     view->AddAuthMethod("Plain Text");
     768    view->AddAuthMethod("Plain text");
    769769    view->AddAuthMethod("APOP");
    770770
    771771#if USE_SSL
    772     view->AddFlavor("No Encryption");
     772    view->AddFlavor("No encryption");
    773773    view->AddFlavor("SSL");
    774774#endif
    775775
  • src/add-ons/mail_daemon/inbound_protocols/imap/imap_config.cpp

     
    11/*
    2  * Copyright 2007-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2007-2009, Haiku, Inc. All rights reserved.
    33 * Copyright 2001-2002 Dr. Zoidberg Enterprises. All rights reserved.
    44 *
    55 * Distributed under the terms of the MIT License.
     
    3434     )
    3535{
    3636#ifdef USE_SSL
    37         AddFlavor("No Encryption");
     37        AddFlavor("No encryption");
    3838        AddFlavor("SSL");
    3939#endif
    4040
     
    5353    /*frame.top += 10;
    5454    frame.bottom += 10;*/
    5555
    56     BTextControl *folder = new BTextControl(frame,"root","Top Mailbox Folder: ","",NULL);
    57     folder->SetDivider(be_plain_font->StringWidth("Top Mailbox Folder: "));
     56    BTextControl *folder = new BTextControl(frame,"root","Top mailbox folder: ","",NULL);
     57    folder->SetDivider(be_plain_font->StringWidth("Top mailbox folder: "));
    5858
    5959    if (archive->HasString("root"))
    6060        folder->SetText(archive->FindString("root"));
  • src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp

     
    11/*
    2  * Copyright 2007-2008, Haiku Inc. All Rights Reserved.
     2 * Copyright 2007-2009, Haiku, Inc. All rights reserved.
    33 * Copyright 2001-2002 Dr. Zoidberg Enterprises. All rights reserved.
    44 *
    55 * Distributed under the terms of the MIT License.
     
    257257        // to the SMTP server first...
    258258        fStatus = POP3Authentification();
    259259        if (fStatus < B_OK) {
    260             error_msg << MDR_DIALECT_CHOICE ("POP3 authentification failed. The server said:\n","POP3認証に失敗しました\n") << fLog;
     260            error_msg << MDR_DIALECT_CHOICE ("POP3 authentication failed. The server said:\n","POP3認証に失敗しました\n") << fLog;
    261261            runner->ShowError(error_msg.String());
    262262                        runner->Stop(true);
    263263            return;
     
    423423            error << "Could not connect to SMTP server " << fSettings->FindString("server");
    424424            if (port != 465)
    425425                error << ":" << port;
    426             error << ". (SSL Connection Error)";
     426            error << ". (SSL connection error)";
    427427            runner->ShowError(error.String());
    428428            SSL_CTX_free(ctx);
    429429            #ifndef HAIKU_TARGET_PLATFORM_BEOS
     
    11181118    view->AddAuthMethod(MDR_DIALECT_CHOICE ("POP3 before SMTP","送信前に受信する"), false);
    11191119
    11201120    BTextControl *control = (BTextControl *)(view->FindView("host"));
    1121     control->SetLabel(MDR_DIALECT_CHOICE ("SMTP Server: ","SMTPサーバ: "));
     1121    control->SetLabel(MDR_DIALECT_CHOICE ("SMTP server: ","SMTPサーバ: "));
    11221122
    11231123    // Reset the dividers after changing one
    11241124    float widestLabel=0;
  • src/add-ons/mail_daemon/inbound_filters/match_header/ConfigView.cpp

     
    11/* RuleFilter's config view - performs action depending on matching a header value
    22**
    3 ** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
     3** Copyright 2001, Dr. Zoidberg Enterprises. All rights reserved.
     4** Copyright 2009, Haiku, Inc. All rights reserved.
    45*/
    56
    67
     
    5657        regex->SetText(settings->FindString("regex"));
    5758    AddChild(regex);
    5859   
    59     arg = new BFileControl(BRect(5,55,255,80),"arg",NULL,MDR_DIALECT_CHOICE ("this field is based on the Action","ここは動作によって意味が変わります"));
     60    arg = new BFileControl(BRect(5,55,255,80),"arg",NULL,MDR_DIALECT_CHOICE ("this field is based on the action","ここは動作によって意味が変わります"));
    6061    if (BControl *control = (BControl *)arg->FindView("select_file"))
    6162        control->SetEnabled(false);
    6263    if (settings->HasString("argument"))
    6364        arg->SetText(settings->FindString("argument"));
    6465   
    65     outbound = new BPopUpMenu(MDR_DIALECT_CHOICE ("<Choose Account>","<アカウントを選択>"));
     66    outbound = new BPopUpMenu(MDR_DIALECT_CHOICE ("<Choose account>","<アカウントを選択>"));
    6667    BList list;
    6768    GetOutboundMailChains(&list);
    6869    if (settings->HasInt32("do_what"))
     
    8990    if (menu != NULL)
    9091        return; // We switched back from another tab
    9192   
    92     menu = new BPopUpMenu(MDR_DIALECT_CHOICE ("<Choose Action>","<動作を選択>"));
    93     menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Move To","移動する"), new BMessage(kMsgActionMoveTo)));
    94     menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Set Flags To","フラグを指定する"), new BMessage(kMsgActionSetTo)));
    95     menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Delete Message","削除する"), new BMessage(kMsgActionDelete)));
    96     menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Reply With","返事を書く"), new BMessage(kMsgActionReplyWith)));
    97     menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Set As Read","既読にする"), new BMessage(kMsgActionSetRead)));
     93    menu = new BPopUpMenu(MDR_DIALECT_CHOICE ("<Choose action>","<動作を選択>"));
     94    menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Move to","移動する"), new BMessage(kMsgActionMoveTo)));
     95    menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Set flags to","フラグを指定する"), new BMessage(kMsgActionSetTo)));
     96    menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Delete message","削除する"), new BMessage(kMsgActionDelete)));
     97    menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Reply with","返事を書く"), new BMessage(kMsgActionReplyWith)));
     98    menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE ("Set as Read","既読にする"), new BMessage(kMsgActionSetRead)));
    9899    menu->SetTargetForItems(this);
    99100
    100101    BMenuField *field = new BMenuField(BRect(5,30,210,50),"do_what",MDR_DIALECT_CHOICE ("Then","ならば"),menu);
  • src/add-ons/mail_daemon/inbound_filters/spam_filter/SpamFilter.cpp

     
    486486
    487487    sprintf (buffer, "Spam >= %05.3f", (double) cutoffRatio);
    488488    if (addMarker)
    489         strcat (buffer, ", Mark Subject");
     489        strcat (buffer, ", Mark subject");
    490490    if (autoTraining)
    491491        strcat (buffer, ", Self-training");
    492492    strcat (buffer, ".");
  • src/add-ons/mail_daemon/inbound_filters/spam_filter/SpamFilterConfig.cpp

     
    178178    fAddSpamToSubjectCheckBoxPntr = new BCheckBox (
    179179        tempRect,
    180180        "AddToSubject",
    181         "Add spam rating to start of Subject",
     181        "Add spam rating to start of subject",
    182182        new BMessage (kAddSpamToSubjectPressed));
    183183    AddChild (fAddSpamToSubjectCheckBoxPntr);
    184184    fAddSpamToSubjectCheckBoxPntr->ResizeToPreferred ();
     
    194194    fNoWordsMeansSpamCheckBoxPntr = new BCheckBox (
    195195        tempRect,
    196196        "NoWordsMeansSpam",
    197         "or empty E-mail",
     197        "or empty e-mail",
    198198        new BMessage (kNoWordsMeansSpam));
    199199    AddChild (fNoWordsMeansSpamCheckBoxPntr);
    200200    fNoWordsMeansSpamCheckBoxPntr->ResizeToPreferred ();
     
    250250    fAutoTrainingCheckBoxPntr = new BCheckBox (
    251251        tempRect,
    252252        "autoTraining",
    253         "Learn from all incoming E-mail",
     253        "Learn from all incoming e-mail",
    254254        new BMessage (kAutoTrainingPressed));
    255255    AddChild (fAutoTrainingCheckBoxPntr);
    256256    fAutoTrainingCheckBoxPntr->ResizeToPreferred ();
  • src/add-ons/mail_daemon/outbound_filters/fortune/ConfigView.cpp

     
    11/* ConfigView - the configuration view for the Fortune filter
    22**
    33** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
     4** Copyright 2009, Haiku, Inc. All rights reserved.
    45*/
    56
    67
     
    2728
    2829    BRect rect(5,4,250,25);
    2930    rect.bottom = rect.top - 2 + itemHeight;
    30     BMailFileConfigView *fview = new BMailFileConfigView(MDR_DIALECT_CHOICE ("Fortune File:","予言ファイル:"),"fortune_file",false,"",B_FILE_NODE);
     31    BMailFileConfigView *fview = new BMailFileConfigView(MDR_DIALECT_CHOICE ("Fortune file:","予言ファイル:"),"fortune_file",false,"",B_FILE_NODE);
    3132    AddChild(fview);
    3233   
    3334    rect.top = rect.bottom + 8;
    3435    rect.bottom = rect.top - 2 + itemHeight;
    35     BTextControl * control = new BTextControl(rect,"tag_line",MDR_DIALECT_CHOICE ("Tag Line:","見出し:"),NULL,NULL);
     36    BTextControl * control = new BTextControl(rect,"tag_line",MDR_DIALECT_CHOICE ("Tag line:","見出し:"),NULL,NULL);
    3637    control->SetDivider(control->StringWidth(control->Label()) + 6);
    3738    AddChild(control);
    3839
     
    4748       
    4849    BString path = archive->FindString("tag_line");
    4950    if (!archive->HasString("tag_line"))
    50         path = "Fortune Cookie Says:\n\n";
     51        path = "Fortune cookie says:\n\n";
    5152   
    5253    path.Truncate(path.Length() - 2);
    5354    if (BTextControl *control = (BTextControl *)FindView("tag_line"))
  • src/add-ons/mail_daemon/system_filters/notifier/ConfigView.cpp

     
    11/* ConfigView - the configuration view for the Notifier filter
    22**
    33** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
     4** Copyright 2009, Haiku, Inc. All rights reserved.
    45*/
    56
    67
     
    3738        MDR_DIALECT_CHOICE ("Beep","音"),
    3839        MDR_DIALECT_CHOICE ("Alert","窓(メール毎)"),
    3940        MDR_DIALECT_CHOICE ("Keyboard LEDs","キーボードLED"),
    40         MDR_DIALECT_CHOICE ("Central Alert","窓(一括)"),
    41         "Central Beep","Log Window"};
     41        MDR_DIALECT_CHOICE ("Central alert","窓(一括)"),
     42        "Central beep","Log window"};
    4243    for (int32 i = 0,j = 1;i < 6;i++,j *= 2)
    4344        menu->AddItem(new BMenuItem(notifyMethods[i],new BMessage(kMsgNotifyMethod)));
    4445
  • src/add-ons/mail_daemon/system_filters/notifier/filter.cpp

     
    107107
    108108        text << chainrunner->Chain()->Name() << "より\n" << num_messages << " 通のメッセージが届きました");
    109109       
    110         BAlert *alert = new BAlert(MDR_DIALECT_CHOICE ("New Messages","新着メッセージ"), text.String(), "OK", NULL, NULL, B_WIDTH_AS_USUAL);
     110        BAlert *alert = new BAlert(MDR_DIALECT_CHOICE ("New messages","新着メッセージ"), text.String(), "OK", NULL, NULL, B_WIDTH_AS_USUAL);
    111111        alert->SetFeel(B_NORMAL_WINDOW_FEEL);
    112112        alert->Go(NULL);
    113113    }
  • src/add-ons/translators/sgi/SGITranslator.cpp

     
    1010// SGI images.
    1111//
    1212//
    13 // Copyright (c) 2003-2006 Haiku Project
     13// Copyright (c) 2003-2009 Haiku, Inc. All rights reserved.
    1414//
    1515// Permission is hereby granted, free of charge, to any person obtaining a
    1616// copy of this software and associated documentation files (the "Software"),
     
    146146// Returns:
    147147// ---------------------------------------------------------------
    148148SGITranslator::SGITranslator()
    149     : BaseTranslator("SGI Images", "SGI image translator",
     149    : BaseTranslator("SGI images", "SGI image translator",
    150150        SGI_TRANSLATOR_VERSION,
    151151        gInputFormats, sizeof(gInputFormats) / sizeof(translation_format),
    152152        gOutputFormats, sizeof(gOutputFormats) / sizeof(translation_format),
  • src/add-ons/translators/sgi/SGIView.cpp

     
    99// This BView based object displays information about the SGITranslator.
    1010//
    1111//
    12 // Copyright (c) 2003 OpenBeOS Project
     12// Copyright (c) 2003, OpenBeOS Project
     13// Copyright (c) 2009, Haiku, Inc.
    1314//
    1415// Permission is hereby granted, free of charge, to any person obtaining a
    1516// copy of this software and associated documentation files (the "Software"),
     
    99100    BRect menuFrame = Bounds();
    100101    menuFrame.bottom = menuFrame.top + menu->Bounds().Height();
    101102    fCompressionMF = new BMenuField(menuFrame, "compression",
    102                                     "Use Compression:", menu, true/*,
     103                                    "Use compression: ", menu, true/*,
    103104                                    B_FOLLOW_LEFT_RIGHT | B_FOLLOW_TOP*/);
    104105    if (fCompressionMF->MenuBar())
    105106        fCompressionMF->MenuBar()->ResizeToPreferred();
     
    271272    xbold = fh.descent + 1;
    272273    ybold = fh.ascent + fh.descent * 2 + fh.leading;
    273274   
    274     const char* text = "SGI Image Translator";
     275    const char* text = "SGI image translator";
    275276    DrawString(text, BPoint(xbold, ybold));
    276277
    277278    SetFont(be_plain_font);
  • src/add-ons/translators/png/PNGTranslator.cpp

     
    88// PNG images.
    99//
    1010//
    11 // Copyright (c) 2003 OpenBeOS Project
     11// Copyright (c) 2003, OpenBeOS Project
     12// Copyright (c) 2009, Haiku, Inc. All rights reserved.
    1213//
    1314// Permission is hereby granted, free of charge, to any person obtaining a
    1415// copy of this software and associated documentation files (the "Software"),
     
    178179// Returns:
    179180// ---------------------------------------------------------------
    180181PNGTranslator::PNGTranslator()
    181     : BaseTranslator("PNG Images", "PNG image translator",
     182    : BaseTranslator("PNG images", "PNG image translator",
    182183        PNG_TRANSLATOR_VERSION,
    183184        gInputFormats, sizeof(gInputFormats) / sizeof(translation_format),
    184185        gOutputFormats, sizeof(gOutputFormats) / sizeof(translation_format),
  • src/add-ons/translators/png/PNGView.cpp

     
    11/*
    2  * Copyright 2003-2006, Haiku, Inc.
     2 * Copyright 2003-2009, Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT license.
    44 *
    55 * Authors:
     
    3434    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    3535
    3636    BRect rect(10, 10, 200, 10 + height);
    37     BStringView *stringView = new BStringView(rect, "title", "PNG Image Translator");
     37    BStringView *stringView = new BStringView(rect, "title", "PNG image translator");
    3838    stringView->SetFont(be_bold_font);
    3939    stringView->ResizeToPreferred();
    4040    AddChild(stringView);
     
    7878
    7979    rect.OffsetBy(0, stringView->Frame().Height() + 20.0f);
    8080    BMenuField* menuField = new BMenuField(rect, "PNG Interlace Menu",
    81         "Interlacing Type:", fInterlaceMenu);
     81        "Interlacing type:", fInterlaceMenu);
    8282    menuField->SetDivider(menuField->StringWidth(menuField->Label()) + 7.0f);
    8383    menuField->ResizeToPreferred();
    8484    AddChild(menuField);
  • src/add-ons/translators/jpeg/JPEGTranslator.cpp

     
    11/*
    22
    33Copyright (c) 2002-2003, Marcin 'Shard' Konicki
     4Copyright (c) 2009, Haiku, Inc. All rights reserved.
    45All rights reserved.
    56
    67Redistribution and use in source and binary forms, with or without
     
    5051#define B_TRANSLATOR_BITMAP_DESCRIPTION "Be Bitmap Format (JPEGTranslator)"
    5152
    5253// Translation Kit required globals
    53 char translatorName[] = "JPEG Images";
     54char translatorName[] = "JPEG images";
    5455char translatorInfo[] =
    5556    "©2002-2003, Marcin Konicki\n"
    5657    "©2005-2007, Haiku\n"
    5758    "\n"
    5859    "Based on IJG library © 1991-1998, Thomas G. Lane\n"
    5960    "          http://www.ijg.org/files/\n"
    60     "with \"Lossless\" encoding support patch by Ken Murchison\n"
     61    "with \"lossless\" encoding support patch by Ken Murchison\n"
    6162    "          http://www.oceana.com/ftp/ljpeg/\n"
    6263    "\n"
    6364    "With some colorspace conversion routines by Magnus Hellman\n"
  • src/add-ons/translators/jpeg/JPEGTranslator.h

     
    11/*
    22
    33Copyright (c) 2002-2003, Marcin 'Shard' Konicki
     4Copyright (c) 2009, Haiku, Inc. All rights reserved.
    45All rights reserved.
    56
    67Redistribution and use in source and binary forms, with or without
     
    7172#define VIEW_LABEL_PROGRESSIVE "Use progressive compression"
    7273#define VIEW_LABEL_OPTIMIZECOLORS "Prevent colors 'washing out'"
    7374#define VIEW_LABEL_SMALLERFILE "Make file smaller (sligthtly worse quality)"
    74 #define VIEW_LABEL_GRAY1ASRGB24 "Write Black&White images as RGB24"
    75 #define VIEW_LABEL_ALWAYSRGB32 "Read Greyscale images as RGB32"
     75#define VIEW_LABEL_GRAY1ASRGB24 "Write black-and-white images as RGB24"
     76#define VIEW_LABEL_ALWAYSRGB32 "Read greyscale images as RGB32"
    7677#define VIEW_LABEL_PHOTOSHOPCMYK "Use CMYK code with 0 for 100% ink coverage"
    7778#define VIEW_LABEL_SHOWREADERRORBOX "Show warning messages"
    7879
  • src/add-ons/translators/jpeg2000/JPEG2000Translator.cpp

     
    11/*
    22
    33Copyright (c) 2003, Marcin 'Shard' Konicki
     4Copyright (c) 2009, Haiku, Inc. All rights reserved.
    45All rights reserved.
    56
    67Redistribution and use in source and binary forms, with or without
     
    4849#define B_TRANSLATOR_BITMAP_DESCRIPTION "Be Bitmap Format (JPEG2000Translator)"
    4950
    5051// Translation Kit required globals
    51 char translatorName[] = "JPEG2000 Images";
     52char translatorName[] = "JPEG2000 images";
    5253char translatorInfo[] = "©2002-2003, Shard\n"
    5354    "©2005-2006, Haiku\n"
    5455    "\n"
  • src/add-ons/translators/jpeg2000/JPEG2000Translator.h

     
    11/*
    22
    33Copyright (c) 2003, Marcin 'Shard' Konicki
     4Copyright (c) 2009, Haiku, Inc. All rights reserved.
    45All rights reserved.
    56
    67Redistribution and use in source and binary forms, with or without
     
    6263
    6364// View labels
    6465#define VIEW_LABEL_QUALITY "Output quality"
    65 #define VIEW_LABEL_GRAY1ASRGB24 "Write Black&White images as RGB24"
     66#define VIEW_LABEL_GRAY1ASRGB24 "Write black-and-white images as RGB24"
    6667#define VIEW_LABEL_JPC "Output only codestream (.jpc)"
    67 #define VIEW_LABEL_GRAYASRGB32 "Read Greyscale images as RGB32"
     68#define VIEW_LABEL_GRAYASRGB32 "Read greyscale images as RGB32"
    6869
    6970
    7071//! Settings storage structure
  • src/add-ons/translators/tiff/TIFFTranslator.cpp

     
    11/*
    2  * Copyright 2003-2007, 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:
     
    591591
    592592
    593593TIFFTranslator::TIFFTranslator()
    594     : BaseTranslator("TIFF Images", "TIFF image translator",
     594    : BaseTranslator("TIFF images", "TIFF image translator",
    595595        TIFF_TRANSLATOR_VERSION,
    596596        gInputFormats, sizeof(gInputFormats) / sizeof(translation_format),
    597597        gOutputFormats, sizeof(gOutputFormats) / sizeof(translation_format),
  • src/add-ons/translators/tiff/TIFFView.cpp

     
    88// This BView based object displays information about the TIFFTranslator.
    99//
    1010//
    11 // Copyright (c) 2003 OpenBeOS Project
     11// Copyright (c) 2003, OpenBeOS Project
     12// Copyright (c) 2009, Haiku, Inc. All rights reserved.
    1213//
    1314// Permission is hereby granted, free of charge, to any person obtaining a
    1415// copy of this software and associated documentation files (the "Software"),
     
    201202    xbold = fh.descent + 1;
    202203    ybold = fh.ascent + fh.descent * 2 + fh.leading;
    203204   
    204     char title[] = "TIFF Image Translator";
     205    char title[] = "TIFF image translator";
    205206    DrawString(title, BPoint(xbold, ybold));
    206207   
    207208    SetFont(be_plain_font);
     
    219220    DrawString(detail, BPoint(xbold, yplain + ybold));
    220221   
    221222    int32 lineno = 6;
    222     DrawString("TIFF Library:", BPoint(xbold, yplain * lineno + ybold));
     223    DrawString("TIFF library:", BPoint(xbold, yplain * lineno + ybold));
    223224    lineno += 2;
    224225   
    225226    char libtiff[] = TIFFLIB_VERSION_STR;
  • src/add-ons/translators/raw/ConfigView.cpp

     
    11/*
    2  * Copyright 2005-2007, 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
     
    2424    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    2525
    2626    BRect rect(10, 10, 200, 10 + height);
    27     BStringView *stringView = new BStringView(rect, "title", "RAW Images");
     27    BStringView *stringView = new BStringView(rect, "title", "RAW images");
    2828    stringView->SetFont(be_bold_font);
    2929    stringView->ResizeToPreferred();
    3030    AddChild(stringView);
  • src/add-ons/translators/raw/RAWTranslator.cpp

     
    11/*
    2  * Copyright 2007-2008, Axel Dörfler, axeld@pinc-software.de.
     2 * Copyright 2007-2009, Axel Dörfler, axeld@pinc-software.de.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    9292
    9393
    9494RAWTranslator::RAWTranslator()
    95     : BaseTranslator("RAW Images", "RAW Image Translator",
     95    : BaseTranslator("RAW images", "RAW image translator",
    9696        RAW_TRANSLATOR_VERSION,
    9797        sInputFormats, kNumInputFormats,
    9898        sOutputFormats, kNumOutputFormats,
  • src/add-ons/translators/pcx/ConfigView.cpp

     
    11/*
    2  * Copyright 2008, Jérôme Duval, korli@users.berlios.de. All rights reserved.
     2 * Copyright 2008-2009, Jérôme Duval, korli@users.berlios.de. All rights reserved.
    33 * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    44 * Distributed under the terms of the MIT License.
    55 */
     
    2525    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    2626
    2727    BRect rect(10, 10, 200, 10 + height);
    28     BStringView *stringView = new BStringView(rect, "title", "PCX Images");
     28    BStringView *stringView = new BStringView(rect, "title", "PCX images");
    2929    stringView->SetFont(be_bold_font);
    3030    stringView->ResizeToPreferred();
    3131    AddChild(stringView);
  • src/add-ons/translators/pcx/PCXTranslator.cpp

     
    11/*
    2  * Copyright 2008, Jérôme Duval, korli@users.berlios.de. All rights reserved.
     2 * Copyright 2008-2009, Jérôme Duval, korli@users.berlios.de. All rights reserved.
    33 * Copyright 2005-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    44 * Distributed under the terms of the MIT License.
    55 */
     
    6969
    7070
    7171PCXTranslator::PCXTranslator()
    72     : BaseTranslator("PCX Images", "PCX Translator",
     72    : BaseTranslator("PCX images", "PCX translator",
    7373        PCX_TRANSLATOR_VERSION,
    7474        sInputFormats, kNumInputFormats,
    7575        sOutputFormats, kNumOutputFormats,
  • src/add-ons/translators/rtf/ConfigView.cpp

     
    11/*
    2  * Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2004-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    2222    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    2323
    2424    BRect rect(10, 10, 200, 10 + height);
    25     BStringView *stringView = new BStringView(rect, "title", "Rich Text Format (RTF) Files");
     25    BStringView *stringView = new BStringView(rect, "title", "Rich Text Format (RTF) files");
    2626    stringView->SetFont(be_bold_font);
    2727    stringView->ResizeToPreferred();
    2828    AddChild(stringView);
  • src/add-ons/translators/rtf/RTFTranslator.cpp

     
    11/*
    2  * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2004-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    5454RTFTranslator::RTFTranslator()
    5555{
    5656    char info[256];
    57     sprintf(info, "Rich Text Format Translator v%d.%d.%d %s",
     57    sprintf(info, "Rich Text Format translator v%d.%d.%d %s",
    5858        int(B_TRANSLATION_MAJOR_VERSION(RTF_TRANSLATOR_VERSION)),
    5959        int(B_TRANSLATION_MINOR_VERSION(RTF_TRANSLATOR_VERSION)),
    6060        int(B_TRANSLATION_REVISION_VERSION(RTF_TRANSLATOR_VERSION)),
     
    7373const char *
    7474RTFTranslator::TranslatorName() const
    7575{
    76     return "RTF Text Files";
     76    return "RTF text files";
    7777}
    7878
    7979
  • src/add-ons/translators/ppm/PPMTranslator.cpp

     
    11/*
    22    Copyright 1999, Be Incorporated.   All Rights Reserved.
     3    Copyright 2009, Haiku, Inc. All rights reserved.
    34    This file may be used under the terms of the Be Sample Code License.
    45*/
    56
     
    4748#define PPM_TRANSLATOR_VERSION 0x100
    4849
    4950/* These three data items are exported by every translator. */
    50 char translatorName[] = "PPM Images";
     51char translatorName[] = "PPM images";
    5152char translatorInfo[] = "PPM image translator v1.0.0, " __DATE__;
    5253int32 translatorVersion = PPM_TRANSLATOR_VERSION;
    5354    // Revision: lowest 4 bits
     
    445446                mMenu->AddItem(new BMenuItem("RGB 5:5:5 16 bits", CSMessage(B_RGB15)));
    446447                mMenu->AddItem(new BMenuItem("RGBA 5:5:5:1 16 bits", CSMessage(B_RGBA15)));
    447448                mMenu->AddItem(new BMenuItem("RGB 5:6:5 16 bits", CSMessage(B_RGB16)));
    448                 mMenu->AddItem(new BMenuItem("System Palette 8 bits", CSMessage(B_CMAP8)));
     449                mMenu->AddItem(new BMenuItem("System palette 8 bits", CSMessage(B_CMAP8)));
    449450                mMenu->AddSeparatorItem();
    450451                mMenu->AddItem(new BMenuItem("Grayscale 8 bits", CSMessage(B_GRAY8)));
    451452                mMenu->AddItem(new BMenuItem("Bitmap 1 bit", CSMessage(B_GRAY1)));
     
    458459                mMenu->AddItem(new BMenuItem("RGB 5:5:5 16 bits big-endian", CSMessage(B_RGB15_BIG)));
    459460                mMenu->AddItem(new BMenuItem("RGBA 5:5:5:1 16 bits big-endian", CSMessage(B_RGBA15_BIG)));
    460461                mMenu->AddItem(new BMenuItem("RGB 5:6:5 16 bits big-endian", CSMessage(B_RGB16)));
    461                 mField = new BMenuField(BRect(10,110,190,130), "Color Space Field", "Input Color Space", mMenu);
     462                mField = new BMenuField(BRect(10,110,190,130), "Color Space Field", "Input color space: ", mMenu);
    462463                mField->SetDivider(mField->StringWidth(mField->Label()) + 7);
    463464                mField->SetViewColor(ViewColor());
    464465                AddChild(mField);
     
    491492                xbold = fh.descent + 1;
    492493                ybold = fh.ascent + fh.descent * 2 + fh.leading;
    493494   
    494                 char title[] = "PPM Image Translator";
     495                char title[] = "PPM image translator";
    495496                DrawString(title, BPoint(xbold, ybold));
    496497   
    497498                SetFont(be_plain_font);
  • src/add-ons/translators/hvif/HVIFTranslator.cpp

     
    6060
    6161
    6262HVIFTranslator::HVIFTranslator()
    63     :   BaseTranslator("HVIF Icons", "Native Haiku vector icon translator",
     63    :   BaseTranslator("HVIF icons", "Native Haiku vector icon translator",
    6464            HVIF_TRANSLATOR_VERSION, sInputFormats,
    6565            sizeof(sInputFormats) / sizeof(sInputFormats[0]), sOutputFormats,
    6666            sizeof(sOutputFormats) / sizeof(sOutputFormats[0]),
  • src/add-ons/translators/hvif/HVIFView.cpp

     
    3030
    3131    BRect rect(10, 10, 200, 10 + height);
    3232    BStringView *stringView = new BStringView(rect, "title",
    33         "Native Haiku Icon Format Translator");
     33        "Native Haiku icon format translator");
    3434    stringView->SetFont(be_bold_font);
    3535    stringView->ResizeToPreferred();
    3636    AddChild(stringView);
     
    5757
    5858    rect.OffsetBy(0, height + 5);
    5959    int32 renderSize = fSettings->SetGetInt32(HVIF_SETTING_RENDER_SIZE);
    60     BString label = "Render Size: ";
     60    BString label = "Render size: ";
    6161    label << renderSize;
    6262    fRenderSize = new BSlider(rect, "renderSize", label.String(), NULL, 1, 32);
    6363
     
    9292            fSettings->SetGetInt32(HVIF_SETTING_RENDER_SIZE, &value);
    9393            fSettings->SaveSettings();
    9494
    95             BString newLabel = "Render Size: ";
     95            BString newLabel = "Render size: ";
    9696            newLabel << value;
    9797            fRenderSize->SetLabel(newLabel.String());
    9898            return;
  • src/add-ons/translators/exr/ConfigView.cpp

     
    11/*
    2  * Copyright 2008, Jérôme Duval. All rights reserved.
     2 * Copyright 2008-2009, Jérôme Duval. All rights reserved.
    33 * Copyright 2005-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    44 * Distributed under the terms of the MIT License.
    55 */
     
    2525    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    2626
    2727    BRect rect(10, 10, 200, 10 + height);
    28     BStringView *stringView = new BStringView(rect, "title", "EXR Images");
     28    BStringView *stringView = new BStringView(rect, "title", "EXR images");
    2929    stringView->SetFont(be_bold_font);
    3030    stringView->ResizeToPreferred();
    3131    AddChild(stringView);
  • src/add-ons/translators/exr/EXRTranslator.cpp

     
    11/*
    2  * Copyright 2008, Jérôme Duval. All rights reserved.
     2 * Copyright 2008-2009, Jérôme Duval. All rights reserved.
    33 * Copyright (c) 2004, Industrial Light & Magic, a division of Lucas
    44 *   Digital Ltd. LLC
    55 * Distributed under the terms of the MIT License.
     
    5656
    5757
    5858EXRTranslator::EXRTranslator()
    59     : BaseTranslator("EXR Images", "EXR Image Translator",
     59    : BaseTranslator("EXR Images", "EXR image translator",
    6060        EXR_TRANSLATOR_VERSION,
    6161        sInputFormats, kNumInputFormats,
    6262        sOutputFormats, kNumOutputFormats,
  • src/add-ons/translators/hpgs/ConfigView.cpp

     
    11/*
    2  * Copyright 2007, Jérôme Duval. All rights reserved.
     2 * Copyright 2007-2009, Jérôme Duval. All rights reserved.
    33 * Copyright 2005-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    44 * Distributed under the terms of the MIT License.
    55 */
     
    2525    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    2626
    2727    BRect rect(10, 10, 200, 10 + height);
    28     BStringView *stringView = new BStringView(rect, "title", "HPGS Images");
     28    BStringView *stringView = new BStringView(rect, "title", "HPGS images");
    2929    stringView->SetFont(be_bold_font);
    3030    stringView->ResizeToPreferred();
    3131    AddChild(stringView);
  • src/add-ons/translators/hpgs/HPGSTranslator.cpp

     
    11/*
    2  * Copyright 2007, Jérôme Duval. All rights reserved.
     2 * Copyright 2007-2009, Jérôme Duval. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    8080
    8181
    8282HPGSTranslator::HPGSTranslator()
    83     : BaseTranslator("HPGS Images", "HPGS Image Translator",
     83    : BaseTranslator("HPGS images", "HPGS image translator",
    8484        HPGS_TRANSLATOR_VERSION,
    8585        sInputFormats, kNumInputFormats,
    8686        sOutputFormats, kNumOutputFormats,
  • src/add-ons/translators/stxt/STXTTranslator.cpp

     
    11/*
    2  * Copyright 2002-2008, Haiku, Inc. All Rights Reserved.
     2 * Copyright 2002-2009, Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    13291329
    13301330
    13311331STXTTranslator::STXTTranslator()
    1332     : BaseTranslator("StyledEdit Files", "StyledEdit files translator",
     1332    : BaseTranslator("StyledEdit files", "StyledEdit files translator",
    13331333        STXT_TRANSLATOR_VERSION,
    13341334        gInputFormats, sizeof(gInputFormats) / sizeof(translation_format),
    13351335        gOutputFormats, sizeof(gOutputFormats) / sizeof(translation_format),
  • src/add-ons/translators/stxt/STXTView.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:
     
    3030    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    3131
    3232    BRect rect(10, 10, 200, 10 + height);
    33     BStringView *stringView = new BStringView(rect, "title", "StyledEdit Files Translator");
     33    BStringView *stringView = new BStringView(rect, "title", "StyledEdit files translator");
    3434    stringView->SetFont(be_bold_font);
    3535    stringView->ResizeToPreferred();
    3636    AddChild(stringView);
  • src/add-ons/translators/wonderbrush/WonderBrushTranslator.cpp

     
    11/*
    2  * Copyright 2006, Haiku. All rights reserved.
     2 * Copyright 2006-2009, Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    8181
    8282
    8383WonderBrushTranslator::WonderBrushTranslator()
    84     : BaseTranslator("WonderBrush Images", "WonderBrush image translator",
     84    : BaseTranslator("WonderBrush images", "WonderBrush image translator",
    8585        WBI_TRANSLATOR_VERSION,
    8686        gInputFormats, sizeof(gInputFormats) / sizeof(translation_format),
    8787        gOutputFormats, sizeof(gOutputFormats) / sizeof(translation_format),
  • src/add-ons/translators/wonderbrush/WonderBrushView.cpp

     
    11/*
    2  * Copyright 2006, Haiku. All rights reserved.
     2 * Copyright 2006-2009, Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    129129
    130130    BPoint offset(xbold, ybold);
    131131   
    132     const char* text = "WonderBrush Image Translator";
     132    const char* text = "WonderBrush image translator";
    133133    DrawString(text, offset);
    134134
    135135    SetFont(be_plain_font);
  • src/add-ons/translators/gif/GIFView.cpp

     
    6868
    6969    // menu fields (Palette & Colors)
    7070    fWebSafeMI = new BMenuItem("Websafe", new BMessage(GV_WEB_SAFE), 0, 0);
    71     fBeOSSystemMI = new BMenuItem("BeOS System", new BMessage(GV_BEOS_SYSTEM), 0, 0);
     71    fBeOSSystemMI = new BMenuItem("BeOS system", new BMessage(GV_BEOS_SYSTEM), 0, 0);
    7272    fGreyScaleMI = new BMenuItem("Greyscale", new BMessage(GV_GREYSCALE), 0, 0);
    7373    fOptimalMI = new BMenuItem("Optimal", new BMessage(GV_OPTIMAL), 0, 0);
    7474    fPaletteM = new BPopUpMenu("PalettePopUpMenu", true, true, B_ITEMS_IN_COLUMN);
     
    9292   
    9393    r.top = r.bottom + 14;
    9494    r.bottom = r.top + 24;
    95     fPaletteMF = new BMenuField(r, "PaletteMenuField", "Palette",
     95    fPaletteMF = new BMenuField(r, "PaletteMenuField", "Palette: ",
    9696        fPaletteM, B_FOLLOW_LEFT | B_FOLLOW_TOP, B_WILL_DRAW | B_NAVIGABLE);
    9797    AddChild(fPaletteMF);
    9898
    9999    r.top = r.bottom + 5;
    100100    r.bottom = r.top + 24;
    101     fColorCountMF = new BMenuField(r, "ColorCountMenuField", "Colors",
     101    fColorCountMF = new BMenuField(r, "ColorCountMenuField", "Colors: ",
    102102        fColorCountM, B_FOLLOW_LEFT | B_FOLLOW_TOP, B_WILL_DRAW | B_NAVIGABLE);
    103103    AddChild(fColorCountMF);
    104104
    105105    // align menu fields
    106     float maxLabelWidth = ceilf(max_c(be_plain_font->StringWidth("Colors"),
    107                                       be_plain_font->StringWidth("Palette")));
     106    float maxLabelWidth = ceilf(max_c(be_plain_font->StringWidth("Colors: "),
     107                                      be_plain_font->StringWidth("Palette: ")));
    108108    fPaletteMF->SetDivider(maxLabelWidth + 7);
    109109    fColorCountMF->SetDivider(maxLabelWidth + 7);
    110110
  • src/add-ons/translators/gif/GIFTranslator.cpp

     
    4040status_t GetBitmap(BPositionIO *in, BBitmap **out);
    4141
    4242/* Required data */
    43 char translatorName[] = "GIF Images";
     43char translatorName[] = "GIF images";
    4444char translatorInfo[] = "GIF image translator v1.4";
    4545int32 translatorVersion = 0x140;
    4646
  • src/add-ons/translators/ico/ConfigView.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
     
    2424    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    2525
    2626    BRect rect(10, 10, 200, 10 + height);
    27     BStringView *stringView = new BStringView(rect, "title", "Windows Icon Images");
     27    BStringView *stringView = new BStringView(rect, "title", "Windows icon images");
    2828    stringView->SetFont(be_bold_font);
    2929    stringView->ResizeToPreferred();
    3030    AddChild(stringView);
  • src/add-ons/translators/ico/ICOTranslator.cpp

     
    11/*
    2  * Copyright 2005-2006, 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
     
    7272
    7373
    7474ICOTranslator::ICOTranslator()
    75     : BaseTranslator("Windows Icon Images", "Windows Icon Translator",
     75    : BaseTranslator("Windows icon images", "Windows icon translator",
    7676        ICO_TRANSLATOR_VERSION,
    7777        sInputFormats, kNumInputFormats,
    7878        sOutputFormats, kNumOutputFormats,
  • src/add-ons/translators/tga/TGATranslator.cpp

     
    77// This BTranslator based object is for opening and writing TGA files.
    88//
    99//
    10 // Copyright (c) 2002  Haiku, Inc.
     10// Copyright (c) 2002-2009, Haiku, Inc. All rights reserved.
    1111//
    1212// Permission is hereby granted, free of charge, to any person obtaining a
    1313// copy of this software and associated documentation files (the "Software"),
     
    131131// Returns:
    132132// ---------------------------------------------------------------
    133133TGATranslator::TGATranslator()
    134     : BaseTranslator("TGA Images", "TGA image translator",
     134    : BaseTranslator("TGA images", "TGA image translator",
    135135        TGA_TRANSLATOR_VERSION,
    136136        gInputFormats, sizeof(gInputFormats) / sizeof(translation_format),
    137137        gOutputFormats, sizeof(gOutputFormats) / sizeof(translation_format),
  • src/add-ons/translators/tga/TGAView.cpp

     
    77// This BView based object displays information about the TGATranslator.
    88//
    99//
    10 // Copyright (c) 2002 OpenBeOS Project
     10// Copyright (c) 2002, OpenBeOS Project
     11// Copyright (c) 2009, Haiku, Inc. All rights reserved.
    1112//
    1213// Permission is hereby granted, free of charge, to any person obtaining a
    1314// copy of this software and associated documentation files (the "Software"),
     
    6970   
    7071    pmsg = new BMessage(CHANGE_RLE);
    7172    fpchkRLE = new BCheckBox(BRect(10, 67, 180, 84),
    72         "Save with RLE Compression",
    73         "Save with RLE Compression", pmsg);
     73        "Save with RLE compression",
     74        "Save with RLE compression", pmsg);
    7475    val = (fSettings->SetGetBool(TGA_SETTING_RLE)) ? 1 : 0;
    7576    fpchkRLE->SetValue(val);
    7677    fpchkRLE->SetViewColor(ViewColor());
     
    181182    xbold = fh.descent + 1;
    182183    ybold = fh.ascent + fh.descent * 2 + fh.leading;
    183184   
    184     char title[] = "TGA Image Translator";
     185    char title[] = "TGA image translator";
    185186    DrawString(title, BPoint(xbold, ybold));
    186187   
    187188    SetFont(be_plain_font);
     
    200201/*  char copyright[] = "© 2002 Haiku Project";
    201202    DrawString(copyright, BPoint(xbold, yplain * 2 + ybold));
    202203*/ 
    203     char writtenby[] = "Written by the Haiku Translation Kit Team";
     204    char writtenby[] = "Written by the Haiku translation kit team.";
    204205    DrawString(writtenby, BPoint(xbold, yplain * 7 + ybold));
    205206}
  • src/add-ons/translators/bmp/BMPTranslator.cpp

     
    11/*
    2  * Copyright 2002-2006, Haiku.
     2 * Copyright 2002-2009, Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    116116// Returns:
    117117// ---------------------------------------------------------------
    118118BMPTranslator::BMPTranslator()
    119     : BaseTranslator("BMP Images", "BMP image translator",
     119    : BaseTranslator("BMP images", "BMP image translator",
    120120        BMP_TRANSLATOR_VERSION,
    121121        gInputFormats, sizeof(gInputFormats) / sizeof(translation_format),
    122122        gOutputFormats, sizeof(gOutputFormats) / sizeof(translation_format),
  • src/add-ons/translators/bmp/BMPView.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:
     
    3030    float height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
    3131
    3232    BRect rect(10, 10, 200, 10 + height);
    33     BStringView *stringView = new BStringView(rect, "title", "BMP Image Translator");
     33    BStringView *stringView = new BStringView(rect, "title", "BMP image translator");
    3434    stringView->SetFont(be_bold_font);
    3535    stringView->ResizeToPreferred();
    3636    AddChild(stringView);