Ticket #5169: case-server+kits.diff

File case-server+kits.diff, 41.2 KB (added by humdinger, 14 years ago)

for servers and kits (save Tracker)

  • src/servers/mail/install.sh

     
    9292    /boot/beos/system/servers/mail_daemon > /dev/null &
    9393fi
    9494
    95 alert "Finished installing" "Thanks"
     95alert "Finished installing" "OK"
  • src/servers/mail/DeskbarView.cpp

     
    11/* DeskbarView - mail_daemon's deskbar menu and view
    22 *
    33 * Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
     4 * Copyright 2009, Haiku, Inc. All rights reserved.
    45 */
    56
    67
     
    417418    menu->SetFont(be_plain_font);
    418419
    419420    menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE (
    420         "Create New Message", "N) 新規メッセージ作成")B_UTF8_ELLIPSIS,
     421        "Create new message", "N) 新規メッセージ作成")B_UTF8_ELLIPSIS,
    421422        new BMessage(MD_OPEN_NEW)));
    422423    menu->AddSeparatorItem();
    423424
     
    525526
    526527    if (modifiers() & B_SHIFT_KEY) {
    527528        BMenu *chainMenu = new BMenu(
    528             MDR_DIALECT_CHOICE ("Check For Mails Only","R) メール受信のみ"));
     529            MDR_DIALECT_CHOICE ("Check for mails only","R) メール受信のみ"));
    529530        BFont font;
    530531        menu->GetFont(&font);
    531532        chainMenu->SetFont(&font);
     
    551552        // menu->AddItem(new BMenuItem(MDR_DIALECT_CHOICE (
    552553        // "Check For Mails Only","メール受信のみ"), new BMessage(MD_CHECK_FOR_MAILS)));
    553554        menu->AddItem(new BMenuItem(
    554             MDR_DIALECT_CHOICE ("Send Pending Mails", "M) 保留メールを送信"),
     555            MDR_DIALECT_CHOICE ("Send pending mails", "M) 保留メールを送信"),
    555556        new BMessage(MD_SEND_MAILS)));
    556557    } else {
    557558        menu->AddItem(item = new BMenuItem(
    558             MDR_DIALECT_CHOICE ("Check For Mail Now", "C) メールチェック"),
     559            MDR_DIALECT_CHOICE ("Check for mail now", "C) メールチェック"),
    559560            new BMessage(MD_CHECK_SEND_NOW)));
    560561        if (list.IsEmpty())
    561562            item->SetEnabled(false);
     
    563564
    564565    menu->AddSeparatorItem();
    565566    menu->AddItem(new BMenuItem(
    566         MDR_DIALECT_CHOICE ("Edit Preferences", "P) メール環境設定") B_UTF8_ELLIPSIS,
     567        MDR_DIALECT_CHOICE ("Preferences", "P) メール環境設定") B_UTF8_ELLIPSIS,
    567568        new BMessage(MD_OPEN_PREFS)));
    568569
    569570    if (modifiers() & B_SHIFT_KEY) {
    570571        menu->AddItem(new BMenuItem(
    571             MDR_DIALECT_CHOICE ("Shutdown Mail Services", "Q) 終了"),
     572            MDR_DIALECT_CHOICE ("Shutdown mail services", "Q) 終了"),
    572573            new BMessage(B_QUIT_REQUESTED)));
    573574    }
    574575
  • src/servers/mail/install.japanese.sh

     
    4646# This should be translated
    4747if [[ `uname -m` == BePC ]] && test ! -e ~/config/lib/libssl.so; then
    4848
    49 RETURN=`alert "You don't seem to have OpenSSL installed, which is required for IMAP." "Get OpenSSL" "I Don't Care"`
     49RETURN=`alert "You don't seem to have OpenSSL installed, which is required for IMAP." "Get OpenSSL" "I don't care"`
    5050
    5151if [[ $RETURN = "Get OpenSSL" ]]
    5252then
  • src/servers/media_addon/SystemTimeSource.cpp

     
    11/*
    2  * Copyright (c) 2003-2004, Marcus Overhagen <marcus@overhagen.de>
     2 * Copyright (c) 2003-2009, Marcus Overhagen <marcus@overhagen.de>
    33 * All rights reserved.
    44 *
    55 * Redistribution and use in source and binary forms, with or without modification,
     
    2727
    2828
    2929SystemTimeSource::SystemTimeSource()
    30  :  BMediaNode("System Clock"),
     30 :  BMediaNode("System clock"),
    3131    BTimeSource(),
    3232    fControlThread(-1)
    3333{
     
    6666SystemTimeSource::NodeRegistered()
    6767{
    6868    ASSERT(fControlThread == -1);
    69     fControlThread = spawn_thread(_ControlThreadStart, "System Clock control", 12, this);
     69    fControlThread = spawn_thread(_ControlThreadStart, "System clock control", 12, this);
    7070    resume_thread(fControlThread);
    7171}
    7272
  • src/servers/net/NetServer.cpp

     
    257257NetServer::AboutRequested()
    258258{
    259259    BAlert *alert = new BAlert("about", "Networking Server\n"
    260         "\tCopyright " B_UTF8_COPYRIGHT "2006, Haiku.\n", "Ok");
     260        "\tCopyright " B_UTF8_COPYRIGHT "2006, Haiku.\n", "OK");
    261261    BTextView *view = alert->TextView();
    262262    BFont font;
    263263
  • src/servers/print/ResourceManager.cpp

     
    11/*
    2  * Copyright 2002-2006, Haiku. All rights reserved.
     2 * Copyright 2002-2009, Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    3333    // or in case of "Preview" printer it
    3434    // is set on R5 to "NONE" IIRC and the Haiku
    3535    // preflet sets an empty string.
    36     return !(fTransport == "Print To File"
     36    return !(fTransport == "Print to file"
    3737        || fTransport == "NONE"
    3838        || fTransport == "");
    3939}
  • src/servers/print/ConfigWindow.cpp

     
    103103
    104104ConfigWindow::ConfigWindow(config_setup_kind kind, Printer* defaultPrinter,
    105105    BMessage* settings, AutoReply* sender)
    106     : BWindow(ConfigWindow::GetWindowFrame(), "Page Setup",
     106    : BWindow(ConfigWindow::GetWindowFrame(), "Page setup",
    107107        B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS)
    108108    , fKind(kind)
    109109    , fDefaultPrinter(defaultPrinter)
     
    117117    PrinterForMimeType();
    118118
    119119    if (kind == kJobSetup)
    120         SetTitle("Print Setup");
     120        SetTitle("Print setup");
    121121
    122122    BView* panel = new BBox(Bounds(), "temporary", B_FOLLOW_ALL,    B_WILL_DRAW);
    123123    AddChild(panel);
     
    125125    BRect dummyRect(0, 0, 1, 1);
    126126
    127127    // print selection pop up menu
    128     BPopUpMenu* menu = new BPopUpMenu("Select a Printer");
     128    BPopUpMenu* menu = new BPopUpMenu("Select a printer");
    129129    SetupPrintersMenu(menu);
    130130
    131131    fPrinters = new BMenuField("Printer:", menu, NULL);
    132132
    133133    // page format button
    134     fPageSetup = AddPictureButton(panel, dummyRect, "Page Format", "PAGE_SETUP_ON",
     134    fPageSetup = AddPictureButton(panel, dummyRect, "Page format", "PAGE_SETUP_ON",
    135135        "PAGE_SETUP_OFF", MSG_PAGE_SETUP);
    136136
    137137    // add description to button
    138     BStringView *pageFormatTitle = new BStringView("pageFormatTitle", "Paper Setup:");
     138    BStringView *pageFormatTitle = new BStringView("pageFormatTitle", "Paper setup:");
    139139    fPageFormatText = new BStringView("pageFormatText", "");
    140140
    141141    // page selection button
    142142    fJobSetup = NULL;
    143143    BStringView* jobSetupTitle = NULL;
    144144    if (kind == kJobSetup) {
    145         fJobSetup = AddPictureButton(panel, dummyRect, "Page Selection", "JOB_SETUP_ON",
     145        fJobSetup = AddPictureButton(panel, dummyRect, "Page selection", "JOB_SETUP_ON",
    146146            "JOB_SETUP_OFF", MSG_JOB_SETUP);
    147147        // add description to button
    148         jobSetupTitle = new BStringView("jobSetupTitle", "Pages to Print:");
     148        jobSetupTitle = new BStringView("jobSetupTitle", "Pages to print:");
    149149        fJobSetupText = new BStringView("jobSetupText", "");
    150150    }
    151151
     
    269269
    270270static const char*
    271271kAbout =
    272 "Printer Server\n"
     272"Printer server\n"
    273273"© 2001-2009 Haiku\n"
    274274"\n"
    275275"\tIthamar R. Adema\n"
     
    280280void
    281281ConfigWindow::AboutRequested()
    282282{
    283     BAlert *about = new BAlert("About Printer Server", kAbout, "OK");
     283    BAlert *about = new BAlert("About printer server", kAbout, "OK");
    284284    about->Go();
    285285}
    286286
  • src/servers/registrar/ShutdownProcess.cpp

     
    224224class ShutdownProcess::ShutdownWindow : public BWindow {
    225225public:
    226226    ShutdownWindow()
    227         : BWindow(BRect(0, 0, 200, 100), "Shutdown Status",
     227        : BWindow(BRect(0, 0, 200, 100), "Shutdown status",
    228228            B_TITLED_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
    229229            B_ASYNCHRONOUS_CONTROLS | B_NOT_RESIZABLE | B_NOT_MINIMIZABLE
    230230                | B_NOT_ZOOMABLE | B_NOT_CLOSABLE, B_ALL_WORKSPACES),
     
    272272
    273273        // kill app button
    274274        fKillAppButton = new(nothrow) BButton(BRect(0, 0, 10, 10), "kill app",
    275             "Kill Application", NULL, B_FOLLOW_NONE);
     275            "Kill application", NULL, B_FOLLOW_NONE);
    276276        if (!fKillAppButton)
    277277            return B_NO_MEMORY;
    278278        fRootView->AddChild(fKillAppButton);
     
    287287
    288288        // cancel shutdown button
    289289        fCancelShutdownButton = new(nothrow) BButton(BRect(0, 0, 10, 10),
    290             "cancel shutdown", "Cancel Shutdown", NULL, B_FOLLOW_NONE);
     290            "cancel shutdown", "Cancel shutdown", NULL, B_FOLLOW_NONE);
    291291        if (!fCancelShutdownButton)
    292292            return B_NO_MEMORY;
    293293        fRootView->AddChild(fCancelShutdownButton);
     
    300300
    301301        // reboot system button
    302302        fRebootSystemButton = new(nothrow) BButton(BRect(0, 0, 10, 10),
    303             "reboot", "Restart System", NULL, B_FOLLOW_NONE);
     303            "reboot", "Restart system", NULL, B_FOLLOW_NONE);
    304304        if (!fRebootSystemButton)
    305305            return B_NO_MEMORY;
    306306        fRebootSystemButton->Hide();
     
    479479        fRebootSystemButton->MakeDefault(true);
    480480        fRebootSystemButton->Show();
    481481
    482         SetTitle("System is Shut Down");
     482        SetTitle("System is shut down");
    483483        fTextView->SetText("It's now safe to turn off the computer.");
    484484    }
    485485
     
    492492        // TODO: Temporary work-around for a Haiku bug.
    493493        fAbortedOKButton->Invalidate();
    494494
    495         SetTitle("Shutdown Aborted");
     495        SetTitle("Shutdown aborted");
    496496    }
    497497
    498498private:
     
    12351235    // ask the user to confirm the shutdown, if desired
    12361236    bool askUser;
    12371237    if (fHasGUI && fRequest->FindBool("confirm", &askUser) == B_OK && askUser) {
    1238         const char* title = fReboot ? "Restart?" : "Shut Down?";
     1238        const char* title = fReboot ? "Restart?" : "Shut down?";
    12391239        const char* text = fReboot
    12401240            ? "Do you really want to restart the system?"
    12411241            : "Do you really want to shut down the system?";
    1242         const char* defaultText = fReboot ? "Restart" : "Shut Down";
    1243         const char* otherText = fReboot ? "Shut Down" : "Restart";
     1242        const char* defaultText = fReboot ? "Restart" : "Shut down";
     1243        const char* otherText = fReboot ? "Shut down" : "Restart";
    12441244        BAlert* alert = new BAlert(title, text, "Cancel", otherText, defaultText,
    12451245            B_WIDTH_AS_USUAL, B_WARNING_ALERT);
    12461246        alert->SetShortcut(0, B_ESCAPE);
  • src/servers/mount/AutoMounter.cpp

     
    394394        }
    395395        string << "This will prevent unintentional data loss because of "
    396396            "errors in Haiku.";
    397         BAlert* alert = new BAlert("Mount Warning", string.String(),
    398             "Mount Read/Write", "Cancel", "Mount Read-only",
     397        BAlert* alert = new BAlert("Mount warning", string.String(),
     398            "Mount read/write", "Cancel", "Mount read-only",
    399399            B_WIDTH_FROM_WIDEST, B_WARNING_ALERT);
    400400        alert->SetShortcut(1, B_ESCAPE);
    401401        int32 choice = alert->Go();
     
    548548    if (status < B_OK) {
    549549        BString string;
    550550        string << "Error mounting volume. (" << strerror(status) << ")";
    551             (new BAlert("", string.String(), "Ok"))->Go(NULL);
     551            (new BAlert("", string.String(), "OK"))->Go(NULL);
    552552    }
    553553}
    554554
     
    560560    text << "Could not unmount disk \"" << name << "\":\n\t";
    561561    text << strerror(error);
    562562    text << "\n\nShould unmounting be forced?\n\n"
    563         "Note: if an application is currently writing to the volume, "
     563        "Note: If an application is currently writing to the volume, "
    564564        "unmounting it now might result in loss of data.\n";
    565565
    566     BAlert* alert = new BAlert("", text.String(), "Cancel", "Force Unmount",
     566    BAlert* alert = new BAlert("", text.String(), "Cancel", "Force unmount",
    567567        NULL, B_WIDTH_AS_USUAL, B_WARNING_ALERT);
    568568    alert->SetShortcut(0, B_ESCAPE);
    569569    int32 choice = alert->Go();
  • src/servers/syslog_daemon/SyslogDaemon.cpp

     
    11/*
    2  * Copyright 2003-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
     2 * Copyright 2003-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 */
    55
     
    5858        "all system messages and write them to the "
    5959        "system-wide log at \"%s\".\n\n", path.Path());
    6060
    61     BAlert *alert = new BAlert("Syslog Daemon", message, "Ok");
     61    BAlert *alert = new BAlert("Syslog daemon", message, "OK");
    6262    BTextView *view = alert->TextView();
    6363    BFont font;
    6464
  • src/servers/bluetooth/DeskbarReplicant.cpp

     
    177177
    178178    BPopUpMenu* menu = new BPopUpMenu(B_EMPTY_STRING, false, false);
    179179
    180     menu->AddItem(new BMenuItem("Open Preferences"B_UTF8_ELLIPSIS,
     180    menu->AddItem(new BMenuItem("Preferences"B_UTF8_ELLIPSIS,
    181181        new BMessage(kMsgOpenBluetoothPreferences)));
    182182
    183183    // TODO show list of known/paired devices
     
    187187     */
    188188    menu->AddSeparatorItem();
    189189
    190     menu->AddItem(new BMenuItem("Show Server Console" B_UTF8_ELLIPSIS,
     190    menu->AddItem(new BMenuItem("Show server console" B_UTF8_ELLIPSIS,
    191191        new BMessage(kMsgShowBluetoothServerConsole)));
    192192
    193     menu->AddItem(new BMenuItem("Stop Server",
     193    menu->AddItem(new BMenuItem("Stop server",
    194194        new BMessage(kMsgQuitBluetoothServer)));
    195195
    196196    menu->SetTargetForItems(this);
     
    218218    status_t status = BMessenger(BLUETOOTH_SIGNATURE).SendMessage(
    219219        BT_MSG_SERVER_SHOW_CONSOLE);
    220220    if (status < B_OK) {
    221         _ShowErrorAlert("Showing the Bluetooth Server Console failed.", status);
     221        _ShowErrorAlert("Showing the Bluetooth server console failed.", status);
    222222    }
    223223}
    224224
     
    232232    status_t status = BMessenger(BLUETOOTH_SIGNATURE).SendMessage(
    233233        B_QUIT_REQUESTED);
    234234    if (status < B_OK) {
    235         _ShowErrorAlert("Stopping the Bluetooth Server failed.", status);
     235        _ShowErrorAlert("Stopping the Bluetooth server failed.", status);
    236236    }
    237237}
    238238
     
    241241DeskbarReplicant::_ShowErrorAlert(BString msg, status_t status)
    242242{
    243243    msg << "\n\nError: " << strerror(status);
    244     BAlert* alert = new BAlert("Bluetooth Error", msg.String(), "Ok");
     244    BAlert* alert = new BAlert("Bluetooth error", msg.String(), "OK");
    245245    alert->Go(NULL);
    246246}
    247247
  • src/kits/media/TimeSourceObject.cpp

     
    4141    ASSERT(fKinds == node.kind);
    4242
    4343    if (node.node == NODE_SYSTEM_TIMESOURCE_ID) {
    44         strcpy(fName, "System Clock");
     44        strcpy(fName, "System clock");
    4545        fIsRealtime = true;
    4646    } else {
    4747        live_node_info liveNodeInfo;
  • src/kits/media/DefaultMediaTheme.cpp

     
    774774
    775775
    776776DefaultMediaTheme::DefaultMediaTheme()
    777     : BMediaTheme("Haiku Theme", "Haiku built-in theme version 0.1")
     777    : BMediaTheme("Haiku theme", "Haiku built-in theme version 0.1")
    778778{
    779779    CALLED();
    780780}
  • src/kits/mail/StatusWindow.cpp

     
    4848    frame.InsetBy(90.0 + 5.0, 5.0);
    4949
    5050    fCheckNowButton = new BButton(frame, "check_mail",
    51         MDR_DIALECT_CHOICE ("Check Mail Now","メールチェック"),
     51        MDR_DIALECT_CHOICE ("Check mail now","メールチェック"),
    5252        new BMessage('mbth'), B_FOLLOW_LEFT_RIGHT,
    5353        B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE | B_NAVIGABLE);
    5454    fCheckNowButton->ResizeToPreferred();
  • src/kits/mail/ChainRunner.cpp

     
    11/* BMailChainRunner - runs the mail inbound and outbound chains
    22**
    33** Copyright 2001-2003 Dr. Zoidberg Enterprises. All rights reserved.
     4** Copyright 2009, Haiku, Inc. All rights reserved.
    45*/
    56
    67
     
    5152
    5253    if (window == NULL) {
    5354        window = new ErrorLogWindow(BRect(200, 200, 500, 250),
    54             "Mail Daemon Status Log", B_TITLED_WINDOW);
     55            "Mail daemon status log", B_TITLED_WINDOW);
    5556    }
    5657
    5758    lock.Unlock();
  • src/kits/mail/ProtocolConfigView.cpp

     
    11/* BMailProtocolConfigView - the standard config view for all protocols
    22**
    33** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
     4** Copyright 2009, Haiku, Inc. All rights reserved.
    45*/
    56
    67
     
    116117    rect.bottom = rect.top - 2 + sItemHeight;
    117118
    118119    if (options_mask & B_MAIL_PROTOCOL_HAS_HOSTNAME)
    119         AddChild(AddTextField(rect,"host",MDR_DIALECT_CHOICE ("Mail Server:","サーバ名 :")));
     120        AddChild(AddTextField(rect,"host",MDR_DIALECT_CHOICE ("Mail server:","サーバ名 :")));
    120121   
    121122    if (options_mask & B_MAIL_PROTOCOL_HAS_USERNAME)
    122123        AddChild(AddTextField(rect,"user",MDR_DIALECT_CHOICE ("Username:","ユーザーID:")));
     
    128129    }
    129130   
    130131    if (options_mask & B_MAIL_PROTOCOL_HAS_FLAVORS)
    131         AddChild(AddMenuField(rect,"flavor","Connection Type:"));
     132        AddChild(AddMenuField(rect,"flavor","Connection type:"));
    132133   
    133134    if (options_mask & B_MAIL_PROTOCOL_HAS_AUTH_METHODS)
    134         AddChild(AddMenuField(rect,"auth_method",MDR_DIALECT_CHOICE ("Login Type:","認証方法 :")));
     135        AddChild(AddMenuField(rect,"auth_method",MDR_DIALECT_CHOICE ("Login type:","認証方法 :")));
    135136
    136137    // set divider
    137138    float width = FindWidestLabel(this);
  • src/kits/print/JobSetupPanel.cpp

     
    11/*
    2  * Copyright 2008 Haiku Inc. All rights reserved.
     2 * Copyright 2008-2009 Haiku, Inc. All rights reserved.
    33 * Distributed under the terms of the MIT License.
    44 *
    55 * Authors:
     
    3232
    3333
    3434BJobSetupPanel::BJobSetupPanel(BPrinter* printer)
    35     : BPrintPanel("Print Document")
     35    : BPrintPanel("Print document")
    3636    , fPrinter(printer)
    3737    , fPrinterRoster(NULL)
    3838    , fPrintRange(B_ALL_PAGES)
     
    4444
    4545
    4646BJobSetupPanel::BJobSetupPanel(BPrinter* printer, uint32 flags)
    47     : BPrintPanel("Print Document")
     47    : BPrintPanel("Print document")
    4848    , fPrinter(printer)
    4949    , fPrinterRoster(NULL)
    5050    , fPrintRange(B_ALL_PAGES)
     
    314314
    315315    box = new BBox(B_FANCY_BORDER, view);
    316316    box->SetLabel(BGroupLayoutBuilder()
    317         .Add(new BStringView("", "Page Range"))
     317        .Add(new BStringView("", "Page range"))
    318318        .SetInsets(2.0, 0.0, 2.0, 0.0));
    319319
    320320    // copies
  • src/kits/interface/Dragger.cpp

     
    727727
    728728    fPopUp->AddItem(new BMenuItem(about, msg));
    729729    fPopUp->AddSeparatorItem();
    730     fPopUp->AddItem(new BMenuItem("Remove Replicant",
     730    fPopUp->AddItem(new BMenuItem("Remove replicant",
    731731        new BMessage(kDeleteReplicant)));
    732732}
    733733
  • src/kits/storage/disk_device/PartitioningDialog.cpp

     
    2222
    2323// constructor
    2424PartitioningDialog::PartitioningDialog(BRect dialogCenter)
    25     : BWindow(BRect(100, 100, 100, 100), "Partitioning Parameters",
     25    : BWindow(BRect(100, 100, 100, 100), "Partitioning parameters",
    2626              B_TITLED_WINDOW,
    2727              B_ASYNCHRONOUS_CONTROLS | B_QUIT_ON_WINDOW_CLOSE),
    2828      fEditor(NULL),
  • src/kits/bluetooth/DeviceClass.cpp

     
    11/*
    2  * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
     2 * Copyright 2007-2009 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
    33 * All rights reserved. Distributed under the terms of the MIT License.
    44 */
    55
     
    1111DeviceClass::GetServiceClass(BString& serviceClass)
    1212{
    1313    static const char *services[] = { "Positioning", "Networking",
    14                 "Rendering", "Capturing", "Object Transfer",
     14                "Rendering", "Capturing", "Object transfer",
    1515                "Audio", "Telephony", "Information" };
    1616
    1717    if (ServiceClass() != 0) {
     
    3939DeviceClass::GetMajorDeviceClass(BString& majorClass)
    4040{
    4141    static const char *major_devices[] = { "Miscellaneous", "Computer", "Phone",
    42                 "LAN Access", "Audio/Video", "Peripheral", "Imaging", "Uncategorized" };
     42                "LAN access", "Audio/Video", "Peripheral", "Imaging", "Uncategorized" };
    4343
    4444    if (MajorDeviceClass() >= sizeof(major_devices) / sizeof(*major_devices))
    45         majorClass << "Invalid Device Class!\n";
     45        majorClass << "Invalid device class!\n";
    4646    else
    4747        majorClass << major_devices[MajorDeviceClass()];
    4848
     
    102102                    minorClass << "Wired modem or voice gateway";
    103103                    break;
    104104                case 5:
    105                     minorClass << "Common ISDN Access";
     105                    minorClass << "Common ISDN access";
    106106                    break;
    107107                case 6:
    108                     minorClass << "Sim Card Reader";
     108                    minorClass << "SIM card reader";
    109109                    break;
    110110            }
    111111            break;
     
    147147                    minorClass << "Uncategorized";
    148148                    break;
    149149                case 1:
    150                     minorClass << "Device conforms to the Headset profile";
     150                    minorClass << "Device conforms to the headset profile";
    151151                    break;
    152152                case 2:
    153153                    minorClass << "Hands-free";
     
    163163                    minorClass << "Headphones";
    164164                    break;
    165165                case 7:
    166                     minorClass << "Portable Audio";
     166                    minorClass << "Portable audio";
    167167                    break;
    168168                case 8:
    169                     minorClass << "Car Audio";
     169                    minorClass << "Car audio";
    170170                    break;
    171171                case 9:
    172172                    minorClass << "Set-top box";
    173173                    break;
    174174                case 10:
    175                     minorClass << "HiFi Audio Device";
     175                    minorClass << "HiFi audio device";
    176176                    break;
    177177                case 11:
    178178                    minorClass << "VCR";
    179179                    break;
    180180                case 12:
    181                     minorClass << "Video Camera";
     181                    minorClass << "Video camera";
    182182                    break;
    183183                case 13:
    184184                    minorClass << "Camcorder";
    185185                    break;
    186186                case 14:
    187                     minorClass << "Video Monitor";
     187                    minorClass << "Video monitor";
    188188                    break;
    189189                case 15:
    190                     minorClass << "Video Display and Loudspeaker";
     190                    minorClass << "Video display and loudspeaker";
    191191                    break;
    192192                case 16:
    193                     minorClass << "Video Conferencing";
     193                    minorClass << "Video conferencing";
    194194                    break;
    195195                    /* 17 is reserved */
    196196                case 18:
     
    258258        case 7: /* wearable */
    259259            switch(minor) {
    260260                case 1:
    261                     minorClass << "Wrist Watch";
     261                    minorClass << "Wrist watch";
    262262                    break;
    263263                case 2:
    264264                    minorClass << "Pager";
     
    283283                    minorClass << "Vehicle";
    284284                    break;
    285285                case 3:
    286                     minorClass << "Doll / Action Figure";
     286                    minorClass << "Doll/Action figure";
    287287                    break;
    288288                case 4:
    289289                    minorClass << "Controller";
     
    306306void
    307307DeviceClass::DumpDeviceClass(BString& string)
    308308{
    309     string << "Service Classes: ";
     309    string << "Service classes: ";
    310310    GetServiceClass(string);
    311311    string << " | ";
    312     string << "Major Class: ";
     312    string << "Major class: ";
    313313    GetMajorDeviceClass(string);
    314314    string << " | ";
    315     string << "Minor Class: ";
     315    string << "Minor class: ";
    316316    GetMinorDeviceClass(string);
    317317    string << ".";
    318318}
  • src/kits/bluetooth/CommandManager.cpp

     
    11/*
    2  * Copyright 2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
     2 * Copyright 2008-2009 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
    33 * Copyright 2008 Mika Lindqvist
    44 * All rights reserved. Distributed under the terms of the MIT License.
    55 */
     
    341341
    342342const char* linkControlCommands[] = {
    343343    "Inquiry",
    344     "Inquiry Cancel",
    345     "Periodic Inquiry Mode",
    346     "Exit Periodic Inquiry Mode",
    347     "Create Connection",
     344    "Inquiry cancel",
     345    "Periodic inquiry mode",
     346    "Exit periodic inquiry mode",
     347    "Create connection",
    348348    "Disconnect",
    349     "Add SCO Connection", // not on 2.1
    350     "Cancel Create Connection",
    351     "Accept Connection Request",
    352     "Reject Connection Request",
    353     "Link Key Request Reply",
    354     "Link Key Request Negative Reply",
    355     "PIN Code Request Reply",
    356     "PIN Code Request Negative Reply",
    357     "Change Connection Packet Type",
     349    "Add SCO connection", // not on 2.1
     350    "Cancel create connection",
     351    "Accept connection request",
     352    "Reject connection request",
     353    "Link key request reply",
     354    "Link key request negative reply",
     355    "PIN code request reply",
     356    "PIN code request negative reply",
     357    "Change connection packet type",
    358358    "Reserved", // not on 2.1",
    359     "Authentication Requested",
     359    "Authentication requested",
    360360    "Reserved", // not on 2.1",
    361     "Set Connection Encryption",
     361    "Set connection encryption",
    362362    "Reserved", // not on 2.1",
    363     "Change Connection Link Key",
     363    "Change connection link key",
    364364    "Reserved", // not on 2.1",
    365     "Master Link Key",
     365    "Master link key",
    366366    "Reserved", // not on 2.1",
    367     "Remote Name Request",
    368     "Cancel Remote Name Request",
    369     "Read Remote Supported Features",
    370     "Read Remote Extended Features",
    371     "Read Remote Version Information",
     367    "Remote name request",
     368    "Cancel remote name request",
     369    "Read remote supported features",
     370    "Read remote extended features",
     371    "Read remote version information",
    372372    "Reserved", // not on 2.1",
    373     "Read Clock Offset",
    374     "Read LMP Handle",
     373    "Read clock offset",
     374    "Read LMP handle",
    375375    "Reserved",
    376376    "Reserved",
    377377    "Reserved",
     
    379379    "Reserved",
    380380    "Reserved",
    381381    "Reserved",
    382     "Setup Synchronous Connection",
    383     "Accept Synchronous Connection",
    384     "Reject Synchronous Connection",   
    385     "IO Capability Request Reply",
    386     "User Confirmation Request Reply",
    387     "User Confirmation Request Negative Reply",
    388     "User Passkey Request Reply",
    389     "User Passkey Request Negative Reply",
    390     "Remote OOB Data Request Reply",
     382    "Setup synchronous connection",
     383    "Accept synchronous connection",
     384    "Reject synchronous connection",   
     385    "IO capability request reply",
     386    "User confirmation request reply",
     387    "User confirmation request negative reply",
     388    "User passkey request reply",
     389    "User passkey request negative reply",
     390    "Remote OOB data request reply",
    391391    "Reserved",
    392392    "Reserved",
    393     "Remote OOB Data Request Negative Reply",
    394     "IO Capabilities Response Negative Reply"
     393    "Remote OOB data request negative reply",
     394    "IO capabilities response negative reply"
    395395};
    396396
    397397   
    398398const char* linkPolicyCommands[] = {   
    399     "Hold Mode",
     399    "Hold mode",
    400400    "Reserved",
    401     "Sniff Mode",
    402     "Exit Sniff Mode",
    403     "Park State",
    404     "Exit Park State",
    405     "QoS Setup",
     401    "Sniff mode",
     402    "Exit sniff mode",
     403    "Park state",
     404    "Exit park state",
     405    "QoS setup",
    406406    "Reserved",
    407     "Role Discovery",
     407    "Role discovery",
    408408    "Reserved",
    409     "Switch Role",
    410     "Read Link Policy Settings",
    411     "Write Link Policy Settings",
    412     "Read Default Link Policy Settings",
    413     "Write Default Link Policy Settings",
    414     "Flow Specification",
    415     "Sniff Subrating"
     409    "Switch role",
     410    "Read link policy settings",
     411    "Write link policy settings",
     412    "Read default link policy settings",
     413    "Write default link policy settings",
     414    "Flow specification",
     415    "Sniff subrating"
    416416};
    417417
    418418
    419419const char* controllerBasebandCommands[] = {   
    420     "Set Event Mask",
     420    "Set event mask",
    421421    "Reserved",
    422422    "Reset",
    423423    "Reserved",
    424     "Set Event Filter",
     424    "Set event filter",
    425425    "Reserved",
    426426    "Reserved",
    427427    "Flush",
    428     "Read PIN Type",
    429     "Write PIN Type",
    430     "Create New Unit Key",
     428    "Read PIN type",
     429    "Write PIN type",
     430    "Create new unit key",
    431431    "Reserved",
    432     "Read Stored Link Key",
     432    "Read stored link key",
    433433    "Reserved",
    434434    "Reserved",
    435435    "Reserved",
    436     "Write Stored Link Key",
    437     "Delete Stored Link Key",
    438     "Write Local Name",
    439     "Read Local Name",
    440     "Read Connection Accept Timeout",
    441     "Write Connection Accept Timeout",
    442     "Read Page Timeout",
    443     "Write Page Timeout",
    444     "Read Scan Enable",
    445     "Write Scan Enable",
    446     "Read Page Scan Activity",
    447     "Write Page Scan Activity",
    448     "Read Inquiry Scan Activity",
    449     "Write Inquiry Scan Activity",
    450     "Read Authentication Enable",
    451     "Write Authentication Enable",
    452     "Read Encryption Mode", // not 2.1
    453     "Write Encryption Mode",// not 2.1
    454     "Read Class Of Device",
    455     "Write Class Of Device",
    456     "Read Voice Setting",
    457     "Write Voice Setting",
    458     "Read Automatic Flush Timeout",
    459     "Write Automatic Flush Timeout",
    460     "Read Num Broadcast Retransmissions",
    461     "Write Num Broadcast Retransmissions", 
    462     "Read Hold Mode Activity",
    463     "Write Hold Mode Activity",
    464     "Read Transmit Power Level",
    465     "Read Synchronous Flow Control Enable",
    466     "Write Synchronous Flow Control Enable",
     436    "Write stored link key",
     437    "Delete stored link key",
     438    "Write local name",
     439    "Read local name",
     440    "Read connection accept timeout",
     441    "Write connection accept timeout",
     442    "Read page timeout",
     443    "Write page timeout",
     444    "Read scan enable",
     445    "Write scan enable",
     446    "Read page scan activity",
     447    "Write page scan activity",
     448    "Read inquiry scan activity",
     449    "Write inquiry scan activity",
     450    "Read authentication enable",
     451    "Write authentication enable",
     452    "Read encryption mode", // not 2.1
     453    "Write encryption mode",// not 2.1
     454    "Read class of device",
     455    "Write class of device",
     456    "Read voice setting",
     457    "Write voice setting",
     458    "Read automatic flush timeout",
     459    "Write automatic flush timeout",
     460    "Read num broadcast retransmissions",
     461    "Write num broadcast retransmissions", 
     462    "Read hold mode activity",
     463    "Write hold mode activity",
     464    "Read transmit power level",
     465    "Read synchronous flow control enable",
     466    "Write synchronous flow control enable",
    467467    "Reserved",
    468     "Set Host Controller To Host Flow Control",
     468    "Set host controller to host flow control",
    469469    "Reserved",
    470     "Host Buffer Size",
     470    "Host buffer size",
    471471    "Reserved",
    472     "Host Number Of Completed Packets",
    473     "Read Link Supervision Timeout",
    474     "Write Link Supervision Timeout",
    475     "Read Number of Supported IAC",
    476     "Read Current IAC LAP",
    477     "Write Current IAC LAP",
    478     "Read Page Scan Period Mode", // not 2.1
    479     "Write Page Scan Period Mode", // not 2.1
    480     "Read Page Scan Mode",      // not 2.1
    481     "Write Page Scan Mode",     // not 2.1
    482     "Set AFH Channel Classification",
     472    "Host number of completed packets",
     473    "Read link supervision timeout",
     474    "Write link supervision timeout",
     475    "Read number of supported IAC",
     476    "Read current IAC LAP",
     477    "Write current IAC LAP",
     478    "Read page scan period mode", // not 2.1
     479    "Write page scan period mode", // not 2.1
     480    "Read page scan mode",      // not 2.1
     481    "Write page scan mode",     // not 2.1
     482    "Set AFH channel classification",
    483483    "Reserved",
    484484    "Reserved",
    485     "Read Inquiry Scan Type",
    486     "Write Inquiry Scan Type",
    487     "Read Inquiry Mode",
    488     "Write Inquiry Mode",
    489     "Read Page Scan Type",
    490     "Write Page Scan Type",
    491     "Read AFH Channel Assessment Mode",
    492     "Write AFH Channel Assessment Mode",
     485    "Read inquiry scan type",
     486    "Write inquiry scan type",
     487    "Read inquiry mode",
     488    "Write inquiry mode",
     489    "Read page scan type",
     490    "Write page scan type",
     491    "Read AFH channel assessment mode",
     492    "Write AFH channel assessment mode",
    493493    "Reserved",
    494494    "Reserved",
    495495    "Reserved",
     
    497497    "Reserved",
    498498    "Reserved",
    499499    "Reserved",
    500     "Read Extended Inquiry Response",
    501     "Write Extended Inquiry Response",
    502     "Refresh Encryption Key",
     500    "Read extended inquiry response",
     501    "Write extended inquiry response",
     502    "Refresh encryption key",
    503503    "Reserved",
    504     "Read Simple Pairing Mode",
    505     "Write Simple Pairing Mode",
    506     "Read Local OOB Data",
    507     "Read Inquiry Transmit Power Level",
    508     "Write Inquiry Transmit Power Level",
    509     "Read Default Erroneous Data Reporting",
    510     "Write Default Erroneous Data Reporting",
     504    "Read simple pairing mode",
     505    "Write simple pairing mode",
     506    "Read local OOB data",
     507    "Read inquiry transmit power level",
     508    "Write inquiry transmit power level",
     509    "Read default erroneous data reporting",
     510    "Write default erroneous data reporting",
    511511    "Reserved",
    512512    "Reserved",
    513513    "Reserved",
    514     "Enhanced Flush",
    515     "Send Keypress Notification"
     514    "Enhanced flush",
     515    "Send keypress notification"
    516516};
    517517
    518518
    519519const char* informationalParametersCommands[] = {   
    520     "Read Local Version Information",
    521     "Read Local Supported Commands",
    522     "Read Local Supported Features",
    523     "Read Local Extended Features",
    524     "Read Buffer Size",
     520    "Read local version information",
     521    "Read local supported commands",
     522    "Read local supported features",
     523    "Read local extended features",
     524    "Read buffer size",
    525525    "Reserved",
    526     "Read Country Code", // not 2.1
     526    "Read country code", // not 2.1
    527527    "Reserved",
    528528    "Read BD ADDR"
    529529};
    530530
    531531   
    532532const char* statusParametersCommands[] = {
    533     "Read Failed Contact Counter",
    534     "Reset Failed Contact Counter",
    535     "Read Link Quality",
     533    "Read failed contact counter",
     534    "Reset failed contact counter",
     535    "Read link quality",
    536536    "Reserved",
    537537    "Read RSSI",
    538     "Read AFH Channel Map",
    539     "Read Clock",
     538    "Read AFH channel map",
     539    "Read clock",
    540540};
    541541
    542542
    543543const char* testingCommands[] = {
    544     "Read Loopback Mode",
    545     "Write Loopback Mode",
    546     "Enable Device Under Test Mode",
    547     "Write Simple Pairing Debug Mode",
     544    "Read loopback mode",
     545    "Write loopback mode",
     546    "Enable device under test mode",
     547    "Write simple pairing debug mode",
    548548};
    549549
    550550
    551551const char* bluetoothEvents[] = {
    552     "Inquiry Complete",
    553     "Inquiry Result",
    554     "Conn Complete",
    555     "Conn Request",
    556     "Disconnection Complete",
    557     "Auth Complete",
    558     "Remote Name Request Complete",
    559     "Encrypt Change",
    560     "Change Conn Link Key Complete",
    561     "Master Link Key Compl",
    562     "Rmt Features",
    563     "Rmt Version",
    564     "Qos Setup Complete",
    565     "Command Complete",
    566     "Command Status",
    567     "Hardware Error",
    568     "Flush Occur",
    569     "Role Change",
    570     "Num Comp Pkts",
    571     "Mode Change",
    572     "Return Link Keys",
    573     "Pin Code Req",
    574     "Link Key Req",
    575     "Link Key Notify",
    576     "Loopback Command",
    577     "Data Buffer Overflow",
    578     "Max Slot Change",
    579     "Read Clock Offset Compl",
    580     "Con Pkt Type Changed",
    581     "Qos Violation",
     552    "Inquiry complete",
     553    "Inquiry result",
     554    "Conn complete",
     555    "Conn request",
     556    "Disconnection complete",
     557    "Auth complete",
     558    "Remote name request complete",
     559    "Encrypt change",
     560    "Change conn link key complete",
     561    "Master link key compl",
     562    "Rmt features",
     563    "Rmt version",
     564    "QoS setup complete",
     565    "Command complete",
     566    "Command status",
     567    "Hardware error",
     568    "Flush occur",
     569    "Role change",
     570    "Num comp Pkts",
     571    "Mode change",
     572    "Return link keys",
     573    "Pin code req",
     574    "Link key req",
     575    "Link key notify",
     576    "Loopback command",
     577    "Data buffer overflow",
     578    "Max slot change",
     579    "Read clock offset compl",
     580    "Con Pkt type changed",
     581    "QoS violation",
    582582    "Reserved",
    583     "Page Scan Rep Mode Change",
    584     "Flow Specification",
    585     "Inquiry Result With Rssi",
    586     "Remote Extended Features",
     583    "Page scan Rep mode change",
     584    "Flow specification",
     585    "Inquiry result with RSSI",
     586    "Remote extended features",
    587587    "Reserved",
    588588    "Reserved",
    589589    "Reserved",
     
    592592    "Reserved",
    593593    "Reserved",
    594594    "Reserved",
    595     "Synchronous Connection Completed",
    596     "Synchronous Connection Changed",
     595    "Synchronous connection completed",
     596    "Synchronous connection changed",
    597597    "Reserved",
    598     "Extended Inquiry Result",
    599     "Encryption Key Refresh Complete",
    600     "Io Capability Request",
    601     "Io Capability Response",
    602     "User Confirmation Request",
    603     "User Passkey Request",
    604     "Oob Data Request",
    605     "Simple Pairing Complete",
     598    "Extended inquiry result",
     599    "Encryption key refresh complete",
     600    "IO capability request",
     601    "IO capability response",
     602    "User confirmation request",
     603    "User passkey request",
     604    "OOB data request",
     605    "Simple pairing complete",
    606606    "Reserved",
    607     "Link Supervision Timeout Changed",
    608     "Enhanced Flush Complete",
     607    "Link supervision timeout changed",
     608    "Enhanced flush complete",
    609609    "Reserved",
    610610    "Reserved",
    611     "Keypress Notification",
    612     "Remote Host Supported Features Notification"
     611    "Keypress notification",
     612    "Remote host supported features notification"
    613613};
    614614
    615615
    616616const char* bluetoothErrors[] = {
    617     "No Error",
    618     "Unknown Command",
    619     "No Connection",
    620     "Hardware Failure",
    621     "Page Timeout",
    622     "Authentication Failure",
    623     "Pin Or Key Missing",
    624     "Memory Full",
    625     "Connection Timeout",
    626     "Max Number Of Connections",
    627     "Max Number Of Sco Connections",
    628     "Acl Connection Exists",
    629     "Command Disallowed",
    630     "Rejected Limited Resources",
    631     "Rejected Security",
    632     "Rejected Personal",
    633     "Host Timeout",
    634     "Unsupported Feature",
    635     "Invalid Parameters",
    636     "Remote User Ended Connection",
    637     "Remote Low Resources",
    638     "Remote Power Off",
    639     "Connection Terminated",
    640     "Repeated Attempts",
    641     "Pairing Not Allowed",
    642     "Unknown Lmp Pdu",
    643     "Unsupported Remote Feature",
    644     "Sco Offset Rejected",
    645     "Sco Interval Rejected",
    646     "Air Mode Rejected",
    647     "Invalid Lmp Parameters",
    648     "Unspecified Error",
    649     "Unsupported Lmp Parameter Value",
    650     "Role Change Not Allowed",
    651     "Lmp Response Timeout",
    652     "Lmp Error Transaction Collision",
    653     "Lmp Pdu Not Allowed",
    654     "Encryption Mode Not Accepted",
    655     "Unit Link Key Used",
    656     "Qos Not Supported",
    657     "Instant Passed",
    658     "Pairing With Unit Key Not Supported",
    659     "Different Transaction Collision",
    660     "Qos Unacceptable Parameter",
    661     "Qos Rejected",
    662     "Classification Not Supported",
    663     "Insufficient Security",
    664     "Parameter Out Of Range",
     617    "No error",
     618    "Unknown command",
     619    "No connection",
     620    "Hardware failure",
     621    "Page timeout",
     622    "Authentication failure",
     623    "Pin or key missing",
     624    "Memory full",
     625    "Connection timeout",
     626    "Max number of connections",
     627    "Max number of SCO connections",
     628    "Acl connection exists",
     629    "Command disallowed",
     630    "Rejected limited resources",
     631    "Rejected security",
     632    "Rejected personal",
     633    "Host timeout",
     634    "Unsupported feature",
     635    "Invalid parameters",
     636    "Remote user ended connection",
     637    "Remote low resources",
     638    "Remote power off",
     639    "Connection terminated",
     640    "Repeated attempts",
     641    "Pairing not allowed",
     642    "Unknown LMP Pdu",
     643    "Unsupported remote feature",
     644    "SCO offset rejected",
     645    "SCO interval rejected",
     646    "Air mode rejected",
     647    "Invalid LMP parameters",
     648    "Unspecified error",
     649    "Unsupported LMP parameter value",
     650    "Role change not allowed",
     651    "LMP response timeout",
     652    "LMP error transaction collision",
     653    "LMP Pdu not allowed",
     654    "Encryption mode not accepted",
     655    "Unit link key used",
     656    "QoS not supported",
     657    "Instant passed",
     658    "Pairing with unit key not supported",
     659    "Different transaction collision",
     660    "QoS unacceptable parameter",
     661    "QoS rejected",
     662    "Classification not supported",
     663    "Insufficient security",
     664    "Parameter out of range",
    665665    "Reserved",
    666     "Role Switch Pending",
     666    "Role switch pending",
    667667    "Reserved",
    668     "Slot Violation",
    669     "Role Switch Failed",
    670     "Extended Inquiry Response Too Large",
    671     "Simple Pairing Not Supported By Host",
    672     "Host Busy Pairing"
     668    "Slot violation",
     669    "Role switch failed",
     670    "Extended inquiry response too Large",
     671    "Simple pairing not supported by host",
     672    "Host busy pairing"
    673673};
    674674
    675675
     
    741741    if (event < sizeof(bluetoothEvents) / sizeof(const char*)) {
    742742        return bluetoothEvents[event-1];
    743743    } else {
    744         return "Event out of Range!";
     744        return "Event out of range!";
    745745    }
    746746}
    747747
  • src/kits/bluetooth/UI/ConnectionIncoming.cpp

     
    11/*
    2  * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
     2 * Copyright 2007-2009 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
    33 *
    44 * All rights reserved. Distributed under the terms of the MIT License.
    55 *
     
    5858
    5959//---------------------------------------------------------------
    6060ConnectionIncoming::ConnectionIncoming(RemoteDevice* rDevice)
    61              : BWindow(BRect(700, 100, 900, 150), "Connection Completed",
     61             : BWindow(BRect(700, 100, 900, 150), "Connection completed",
    6262                                   B_FLOATING_WINDOW_LOOK, B_NORMAL_WINDOW_FEEL,
    6363                                   B_NOT_ZOOMABLE | B_NOT_RESIZABLE)
    6464{
  • src/kits/bluetooth/UI/PincodeWindow.cpp

     
    11/*
    2  * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
     2 * Copyright 2007-2009 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
    33 * All rights reserved. Distributed under the terms of the MIT License.
    44 */
    55
     
    4747#endif
    4848
    4949PincodeWindow::PincodeWindow(bdaddr_t address, hci_id hid)
    50     : BWindow(BRect(800, 200, 900, 300), "Pincode Request",
     50    : BWindow(BRect(800, 200, 900, 300), "Pincode request",
    5151        B_FLOATING_WINDOW,
    5252        B_WILL_ACCEPT_FIRST_CLICK | B_NOT_RESIZABLE|  B_NOT_ZOOMABLE
    5353        | B_AUTO_UPDATE_SIZE_LIMITS,
     
    6262
    6363
    6464PincodeWindow::PincodeWindow(RemoteDevice* rDevice)
    65     : BWindow(BRect(800, 200, 900, 300), "Pincode Request",
     65    : BWindow(BRect(800, 200, 900, 300), "Pincode request",
    6666        B_FLOATING_WINDOW,
    6767        B_WILL_ACCEPT_FIRST_CLICK | B_NOT_ZOOMABLE | B_NOT_RESIZABLE
    6868        | B_AUTO_UPDATE_SIZE_LIMITS,