Ticket #5169: case-preferences.diff
File case-preferences.diff, 32.3 KB (added by , 14 years ago) |
---|
-
src/preferences/screen/ScreenApplication.cpp
1 1 /* 2 * Copyright 2001-200 6, Haiku.2 * Copyright 2001-2009, Haiku, Inc. All rights reserved. 3 3 * Distributed under the terms of the MIT License. 4 4 * 5 5 * Authors: … … 33 33 ScreenApplication::AboutRequested() 34 34 { 35 35 BAlert *aboutAlert = new BAlert("About", "Screen preferences by the Haiku team", 36 "O k", NULL, NULL, B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_INFO_ALERT);36 "OK", NULL, NULL, B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_INFO_ALERT); 37 37 aboutAlert->SetShortcut(0, B_OK); 38 38 aboutAlert->Go(); 39 39 } -
src/preferences/virtualmemory/VirtualMemory.cpp
1 1 /* 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. 3 3 * Distributed under the terms of the MIT License. 4 4 */ 5 5 … … 35 35 { 36 36 BAlert *alert = new BAlert("about", "VirtualMemory\n" 37 37 "\twritten by Axel Dörfler\n" 38 "\tCopyright 2005, Haiku.\n", "O k");38 "\tCopyright 2005, Haiku.\n", "OK"); 39 39 BTextView *view = alert->TextView(); 40 40 BFont font; 41 41 -
src/preferences/mail/AutoConfigWindow.cpp
15 15 16 16 17 17 AutoConfigWindow::AutoConfigWindow(BRect rect, BWindow *parent) 18 : BWindow(rect, "Create New Account", B_TITLED_WINDOW_LOOK,18 : BWindow(rect, "Create new account", B_TITLED_WINDOW_LOOK, 19 19 B_MODAL_APP_WINDOW_FEEL, 20 20 B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_AVOID_FRONT, 21 21 B_ALL_WORKSPACES), … … 44 44 45 45 buttonRect.left+= 5 + buttonWidth; 46 46 buttonRect.right = buttonRect.left + buttonWidth; 47 fNextButton = new BButton(buttonRect, "ok", "O k", new BMessage(kOkMsg));47 fNextButton = new BButton(buttonRect, "ok", "OK", new BMessage(kOkMsg)); 48 48 fRootView->AddChild(fNextButton); 49 49 50 50 fBoxRect = Bounds(); … … 52 52 fBoxRect.bottom-= buttonHeight + 5; 53 53 54 54 fMainView = new AutoConfigView(fBoxRect, fAutoConfig); 55 fMainView->SetLabel("Account Settings");55 fMainView->SetLabel("Account settings"); 56 56 fRootView->AddChild(fMainView); 57 57 } 58 58 … … 77 77 if (!fMainView->IsValidMailAddress(fAccountInfo.email)) { 78 78 invalidMailAlert = new BAlert("invalidMailAlert", 79 79 "Enter a valid e-mail address.", 80 "O k");80 "OK"); 81 81 invalidMailAlert->Go(); 82 82 return; 83 83 } -
src/preferences/mail/AutoConfigView.cpp
25 25 // type view 26 26 BPopUpMenu *chainsPopUp = new BPopUpMenu(B_EMPTY_STRING); 27 27 const char *chainModes[] = { 28 "Receive Mail Only",29 "Send Mail Only",30 "Send and Receive Mail"};28 "Receive mail only", 29 "Send mail only", 30 "Send and receive mail"}; 31 31 BMenuItem *item; 32 32 for (int32 i = 0; i < 3; i++) 33 33 chainsPopUp->AddItem(item = new BMenuItem(chainModes[i], NULL)); … … 55 55 topLeft.y += stepSize; 56 56 rightDown.y += stepSize; 57 57 fEmailView = new BTextControl(BRect(topLeft, rightDown), 58 "email", "E-mail Address", "",58 "email", "E-mail address:", "", 59 59 new BMessage(kEMailChangedMsg)); 60 60 fEmailView->SetDivider(divider); 61 61 AddChild(fEmailView); … … 64 64 topLeft.y += stepSize; 65 65 rightDown.y += stepSize; 66 66 fLoginNameView = new BTextControl(BRect(topLeft, rightDown), 67 "login", "Login Name", "",67 "login", "Login name:", "", 68 68 NULL); 69 69 fLoginNameView->SetDivider(divider); 70 70 AddChild(fLoginNameView); … … 73 73 topLeft.y += stepSize; 74 74 rightDown.y += stepSize; 75 75 fPasswordView = new BTextControl(BRect(topLeft, rightDown), 76 "password", "Password ", "",76 "password", "Password:", "", 77 77 NULL); 78 78 fPasswordView->SetDivider(divider); 79 79 fPasswordView->TextView()->HideTyping(true); … … 83 83 topLeft.y += stepSize; 84 84 rightDown.y += stepSize; 85 85 fAccountNameView = new BTextControl(BRect(topLeft, rightDown), 86 "account", "Account Name", "",86 "account", "Account name:", "", 87 87 NULL); 88 88 fAccountNameView->SetDivider(divider); 89 89 AddChild(fAccountNameView); … … 92 92 topLeft.y += stepSize; 93 93 rightDown.y += stepSize; 94 94 fNameView = new BTextControl(BRect(topLeft, rightDown), 95 "name", "Real Name", "",95 "name", "Real name:", "", 96 96 NULL); 97 97 AddChild(fNameView); 98 98 fNameView->SetDivider(divider); … … 327 327 serverName = info.providerInfo.pop_server; 328 328 329 329 fInboundNameView = new BTextControl(BRect(10, 20, rect.Width() - 20, 35), 330 "inbound", "Server Name ",330 "inbound", "Server Name:", 331 331 serverName.String(), 332 332 new BMessage(kServerChangedMsg)); 333 333 fInboundNameView->SetDivider(divider); … … 383 383 384 384 serverName = info.providerInfo.smtp_server; 385 385 fOutboundNameView = new BTextControl(BRect(10, 20, rect.Width() - 20, 30), 386 "outbound", "Server Name",386 "outbound", "Server name:", 387 387 serverName.String(), 388 388 new BMessage(kServerChangedMsg)); 389 389 fOutboundNameView->SetDivider(divider); -
src/preferences/mail/Account.cpp
1 1 /* Account - provides an "account" view on the mail chains 2 2 ** 3 ** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.3 ** Copyright 2001-2009 Dr. Zoidberg Enterprises. All rights reserved. 4 4 */ 5 5 6 6 … … 328 328 (new BAlert( 329 329 MDR_DIALECT_CHOICE ("E-mail","メール"), 330 330 MDR_DIALECT_CHOICE ("Could not create outbound chain.","送信チェーンは作成できませんでした。"), 331 MDR_DIALECT_CHOICE ("O k","了解")))->Go();331 MDR_DIALECT_CHOICE ("OK","了解")))->Go(); 332 332 return; 333 333 } 334 334 fOutbound->SetChainDirection(outbound); -
src/preferences/mail/ConfigWindow.cpp
1 1 /* 2 * Copyright 2007-200 8, Haiku Inc. All Rights Reserved.2 * Copyright 2007-2009, Haiku, Inc. All rights reserved. 3 3 * Copyright 2001-2003 Dr. Zoidberg Enterprises. All rights reserved. 4 4 * 5 5 * Distributed under the terms of the MIT License. … … 750 750 "Error retrieving general settings:\n%s\n", 751 751 "\n一般設定を戻せませんでした。\n\n一般設定収得エラー:\n%s\n"), 752 752 strerror(status)); 753 (new BAlert("Error",text,"O k",NULL,NULL,B_WIDTH_AS_USUAL,B_WARNING_ALERT))->Go();753 (new BAlert("Error",text,"OK",NULL,NULL,B_WIDTH_AS_USUAL,B_WARNING_ALERT))->Go(); 754 754 } 755 755 756 756 // revert account data -
src/preferences/joysticks/JoyWin.cpp
436 436 str << " port. Try another port, or ask the manufacturer of your joystick"; 437 437 str << " for a driver designed for Haiku or BeOS."; 438 438 439 BAlert *alert = new BAlert("test1", str.String(), "O k");439 BAlert *alert = new BAlert("test1", str.String(), "OK"); 440 440 alert->SetShortcut(0, B_ENTER); 441 441 alert->Go(); 442 442 } -
src/preferences/keymap/KeymapWindow.cpp
593 593 label = TR("Switch shortcut keys to Windows/Linux mode"); 594 594 } else if (fCurrentMap.KeyForModifier(B_LEFT_COMMAND_KEY) == 0x5c 595 595 && fCurrentMap.KeyForModifier(B_LEFT_CONTROL_KEY) == 0x5d) { 596 label = TR("Switch Shortcut keys to Haiku mode");596 label = TR("Switch shortcut keys to Haiku mode"); 597 597 } 598 598 599 599 fSwitchShortcutsButton->SetLabel(label); -
src/preferences/fonts/main.cpp
1 1 /* 2 * Copyright 2001-200 5, Haiku.2 * Copyright 2001-2009, Haiku, Inc. All rights reserved. 3 3 * Distributed under the terms of the MIT License. 4 4 * 5 5 * Authors: … … 44 44 FontsApp::AboutRequested() 45 45 { 46 46 BAlert *alert = new BAlert("about", TR("Fonts\n" 47 "\tCopyright 2004-2005, Haiku.\n\n"), TR("O k"));47 "\tCopyright 2004-2005, Haiku.\n\n"), TR("OK")); 48 48 BTextView *view = alert->TextView(); 49 49 BFont font; 50 50 -
src/preferences/network/EthernetSettingsView.cpp
461 461 BMessenger networkServer(kNetServerSignature); 462 462 if (!networkServer.IsValid()) { 463 463 (new BAlert("error", TR("The net_server needs to run for the auto " 464 "configuration!"), TR("O k")))->Go();464 "configuration!"), TR("OK")))->Go(); 465 465 return B_ERROR; 466 466 } 467 467 … … 477 477 if (status != B_OK) { 478 478 BString errorMessage(TR("Sending auto-config message failed: ")); 479 479 errorMessage << strerror(status); 480 (new BAlert("error", errorMessage.String(), TR("O k")))->Go();480 (new BAlert("error", errorMessage.String(), TR("OK")))->Go(); 481 481 return status; 482 482 } else if (reply.FindInt32("status", &status) == B_OK 483 483 && status != B_OK) { 484 484 BString errorMessage(TR("Auto-configuring failed: ")); 485 485 errorMessage << strerror(status); 486 (new BAlert("error", errorMessage.String(), "O k"))->Go();486 (new BAlert("error", errorMessage.String(), "OK"))->Go(); 487 487 return status; 488 488 } 489 489 -
src/preferences/shortcuts/ShortcutsApp.cpp
43 43 { 44 44 BAlert* alert = new BAlert("About Shortcuts", 45 45 "Shortcuts\n\n" 46 "Based on SpicyKeys for BeOS made by Jeremy Friesner.", "O k");46 "Based on SpicyKeys for BeOS made by Jeremy Friesner.", "OK"); 47 47 alert->Go(); 48 48 } 49 49 -
src/preferences/locale/LocaleWindow.cpp
369 369 BAlert* myAlert = new BAlert("Error", 370 370 TR("Unable to find the available languages! You can't use this " 371 371 "preflet!"), 372 TR("O k"), NULL, NULL,372 TR("OK"), NULL, NULL, 373 373 B_WIDTH_AS_USUAL, B_OFFSET_SPACING, B_STOP_ALERT); 374 374 myAlert->Go(); 375 375 } -
src/preferences/filetypes/TypeListWindow.cpp
1 1 /* 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. 3 3 * Distributed under the terms of the MIT License. 4 4 */ 5 5 … … 18 18 19 19 20 20 TypeListWindow::TypeListWindow(const char* currentType, uint32 what, BWindow* target) 21 : BWindow(BRect(100, 100, 360, 440), "Choose Type", B_MODAL_WINDOW,21 : BWindow(BRect(100, 100, 360, 440), "Choose type", B_MODAL_WINDOW, 22 22 B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS), 23 23 fTarget(target), 24 24 fWhat(what) -
src/preferences/filetypes/FileTypeWindow.cpp
1 1 /* 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. 3 3 * Distributed under the terms of the MIT License. 4 4 */ 5 5 … … 40 40 41 41 FileTypeWindow::FileTypeWindow(BPoint position, const BMessage& refs) 42 42 : BWindow(BRect(0.0f, 0.0f, 200.0f, 200.0f).OffsetBySelf(position), 43 "File Type", B_TITLED_WINDOW,43 "File type", B_TITLED_WINDOW, 44 44 B_NOT_V_RESIZABLE | B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS) 45 45 { 46 46 BRect rect = Bounds(); … … 56 56 57 57 rect.InsetBy(8.0f, 8.0f); 58 58 BBox* box = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT); 59 box->SetLabel("File Type");59 box->SetLabel("File type"); 60 60 topView->AddChild(box); 61 61 62 62 rect = box->Bounds(); … … 83 83 box->AddChild(fSelectTypeButton); 84 84 85 85 rect.OffsetBy(fSelectTypeButton->Bounds().Width() + 8.0f, 0.0f); 86 fSameTypeAsButton = new BButton(rect, "same type as", "Same As" B_UTF8_ELLIPSIS,86 fSameTypeAsButton = new BButton(rect, "same type as", "Same as" B_UTF8_ELLIPSIS, 87 87 new BMessage(kMsgSameTypeAs), B_FOLLOW_LEFT | B_FOLLOW_TOP); 88 88 fSameTypeAsButton->ResizeToPreferred(); 89 89 box->AddChild(fSameTypeAsButton); … … 121 121 rect.left = 8.0f; 122 122 rect.right = Bounds().Width() - 8.0f; 123 123 box = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT); 124 box->SetLabel("Preferred Application");124 box->SetLabel("Preferred application"); 125 125 topView->AddChild(box); 126 126 127 127 BMenu* menu = new BPopUpMenu("preferred"); 128 128 BMenuItem* item; 129 menu->AddItem(item = new BMenuItem("Default Application",129 menu->AddItem(item = new BMenuItem("Default application", 130 130 new BMessage(kMsgPreferredAppChosen))); 131 131 item->SetMarked(true); 132 132 … … 153 153 box->AddChild(fSelectAppButton); 154 154 155 155 rect.OffsetBy(fSelectAppButton->Bounds().Width() + 8.0f, 0.0f); 156 fSameAppAsButton = new BButton(rect, "same app as", "Same As" B_UTF8_ELLIPSIS,156 fSameAppAsButton = new BButton(rect, "same app as", "Same as" B_UTF8_ELLIPSIS, 157 157 new BMessage(kMsgSamePreferredAppAs), B_FOLLOW_LEFT | B_FOLLOW_TOP); 158 158 fSameAppAsButton->ResizeToPreferred(); 159 159 box->AddChild(fSameAppAsButton); … … 203 203 204 204 char name[B_FILE_NAME_LENGTH]; 205 205 if (same && parent.GetName(name) == B_OK) { 206 title = "Multiple Files from \"";206 title = "Multiple files from \""; 207 207 title.Append(name); 208 208 title.Append("\""); 209 209 } else 210 title = "[Multiple Files]";210 title = "[Multiple files]"; 211 211 } else if (refs.FindRef("refs", 0, &ref) == B_OK) 212 212 title = ref.name; 213 213 214 title.Append(" File Type");214 title.Append(" file type"); 215 215 return title; 216 216 } 217 217 … … 391 391 case kMsgSameTypeAs: 392 392 { 393 393 BMessage panel(kMsgOpenFilePanel); 394 panel.AddString("title", "Select Same Type As");394 panel.AddString("title", "Select same type as"); 395 395 panel.AddInt32("message", kMsgSameTypeAsOpened); 396 396 panel.AddMessenger("target", this); 397 397 … … 419 419 case kMsgSelectPreferredApp: 420 420 { 421 421 BMessage panel(kMsgOpenFilePanel); 422 panel.AddString("title", "Select Preferred Application");422 panel.AddString("title", "Select preferred application"); 423 423 panel.AddInt32("message", kMsgPreferredAppOpened); 424 424 panel.AddMessenger("target", this); 425 425 … … 433 433 case kMsgSamePreferredAppAs: 434 434 { 435 435 BMessage panel(kMsgOpenFilePanel); 436 panel.AddString("title", "Select Same Preferred Application As");436 panel.AddString("title", "Select same preferred application as"); 437 437 panel.AddInt32("message", kMsgSamePreferredAppAsOpened); 438 438 panel.AddMessenger("target", this); 439 439 -
src/preferences/filetypes/NewFileTypeWindow.cpp
1 1 /* 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. 3 3 * Distributed under the terms of the MIT License. 4 4 */ 5 5 … … 28 28 29 29 30 30 NewFileTypeWindow::NewFileTypeWindow(FileTypesWindow* target, const char* currentType) 31 : BWindow(BRect(100, 100, 350, 200), "New File Type", B_TITLED_WINDOW,31 : BWindow(BRect(100, 100, 350, 200), "New file type", B_TITLED_WINDOW, 32 32 B_NOT_ZOOMABLE | B_NOT_V_RESIZABLE | B_ASYNCHRONOUS_CONTROLS), 33 33 fTarget(target) 34 34 { … … 37 37 topView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); 38 38 AddChild(topView); 39 39 40 float labelWidth = be_plain_font->StringWidth("Internal Name:") + 2.0f;40 float labelWidth = be_plain_font->StringWidth("Internal name:") + 2.0f; 41 41 42 42 rect.InsetBy(8.0f, 6.0f); 43 43 fSupertypesMenu = new BPopUpMenu("supertypes"); … … 61 61 if (i > 1) 62 62 fSupertypesMenu->AddSeparatorItem(); 63 63 } 64 fSupertypesMenu->AddItem(new BMenuItem("Add New Group",64 fSupertypesMenu->AddItem(new BMenuItem("Add new group", 65 65 new BMessage(kMsgNewSupertypeChosen))); 66 66 67 67 BMenuField* menuField = new BMenuField(rect, "supertypes", … … 73 73 menuField->ResizeTo(rect.Width(), height); 74 74 topView->AddChild(menuField); 75 75 76 fNameControl = new BTextControl(rect, "internal", "Internal Name:", "",76 fNameControl = new BTextControl(rect, "internal", "Internal name:", "", 77 77 NULL, B_FOLLOW_LEFT_RIGHT); 78 78 fNameControl->SetModificationMessage(new BMessage(kMsgNameUpdated)); 79 79 fNameControl->SetDivider(labelWidth); … … 91 91 fNameControl->MoveTo(8.0f, 12.0f + menuField->Bounds().Height()); 92 92 topView->AddChild(fNameControl); 93 93 94 fAddButton = new BButton(rect, "add", "Add Type", new BMessage(kMsgAddType),94 fAddButton = new BButton(rect, "add", "Add type", new BMessage(kMsgAddType), 95 95 B_FOLLOW_RIGHT | B_FOLLOW_BOTTOM); 96 96 fAddButton->ResizeToPreferred(); 97 97 fAddButton->MoveTo(Bounds().Width() - 8.0f - fAddButton->Bounds().Width(), … … 128 128 { 129 129 switch (message->what) { 130 130 case kMsgSupertypeChosen: 131 fAddButton->SetLabel("Add Type");132 fNameControl->SetLabel("Internal Name:");131 fAddButton->SetLabel("Add type"); 132 fNameControl->SetLabel("Internal name:"); 133 133 fNameControl->MakeFocus(true); 134 134 break; 135 135 136 136 case kMsgNewSupertypeChosen: 137 fAddButton->SetLabel("Add Group");138 fNameControl->SetLabel("Group Name:");137 fAddButton->SetLabel("Add group"); 138 fNameControl->SetLabel("Group name:"); 139 139 fNameControl->MakeFocus(true); 140 140 break; 141 141 -
src/preferences/filetypes/ApplicationTypesWindow.cpp
1 1 /* 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. 3 3 * Distributed under the terms of the MIT License. 4 4 */ 5 5 … … 76 76 case B_GAMMA_VERSION: 77 77 return "Gamma"; 78 78 case B_GOLDEN_MASTER_VERSION: 79 return "Golden Master";79 return "Golden master"; 80 80 case B_FINAL_VERSION: 81 81 return "Final"; 82 82 } -
src/preferences/filetypes/IconView.cpp
1 1 /* 2 * Copyright 2006-200 7, Axel Dörfler, axeld@pinc-software.de. All rights reserved.2 * Copyright 2006-2009, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 3 * Distributed under the terms of the MIT License. 4 4 */ 5 5 … … 817 817 818 818 bool hasIcon = fHasType ? fSource == kOwnIcon : fIcon != NULL; 819 819 if (hasIcon) 820 menu->AddItem(new BMenuItem("Edit Icon" B_UTF8_ELLIPSIS, new BMessage(kMsgEditIcon)));820 menu->AddItem(new BMenuItem("Edit icon" B_UTF8_ELLIPSIS, new BMessage(kMsgEditIcon))); 821 821 else 822 menu->AddItem(new BMenuItem("Add Icon" B_UTF8_ELLIPSIS, new BMessage(kMsgAddIcon)));822 menu->AddItem(new BMenuItem("Add icon" B_UTF8_ELLIPSIS, new BMessage(kMsgAddIcon))); 823 823 824 BMenuItem* item = new BMenuItem("Remove Icon", new BMessage(kMsgRemoveIcon));824 BMenuItem* item = new BMenuItem("Remove icon", new BMessage(kMsgRemoveIcon)); 825 825 if (!hasIcon) 826 826 item->SetEnabled(false); 827 827 -
src/preferences/filetypes/ApplicationTypeWindow.cpp
1 1 /* 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. 3 3 * Distributed under the terms of the MIT License. 4 4 */ 5 5 … … 243 243 fSaveMenuItem->SetEnabled(false); 244 244 menu->AddItem(fSaveMenuItem); 245 245 BMenuItem* item; 246 menu->AddItem(item = new BMenuItem("Save Into Resource File" B_UTF8_ELLIPSIS,246 menu->AddItem(item = new BMenuItem("Save into resource file" B_UTF8_ELLIPSIS, 247 247 NULL)); 248 248 item->SetEnabled(false); 249 249 … … 296 296 BBox* box = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT); 297 297 topView->AddChild(box); 298 298 299 fFlagsCheckBox = new BCheckBox(rect, "flags", "Application Flags",299 fFlagsCheckBox = new BCheckBox(rect, "flags", "Application flags", 300 300 new BMessage(kMsgToggleAppFlags)); 301 301 fFlagsCheckBox->SetValue(B_CONTROL_ON); 302 302 fFlagsCheckBox->ResizeToPreferred(); 303 303 box->SetLabel(fFlagsCheckBox); 304 304 305 305 rect.top = fFlagsCheckBox->Bounds().Height() + 4.0f; 306 fSingleLaunchButton = new BRadioButton(rect, "single", "Single Launch",306 fSingleLaunchButton = new BRadioButton(rect, "single", "Single launch", 307 307 new BMessage(kMsgAppFlagsChanged)); 308 308 fSingleLaunchButton->ResizeToPreferred(); 309 309 box->AddChild(fSingleLaunchButton); 310 310 311 311 rect.OffsetBy(0.0f, fSingleLaunchButton->Bounds().Height() + 0.0f); 312 312 fMultipleLaunchButton = new BRadioButton(rect, "multiple", 313 "Multiple Launch", new BMessage(kMsgAppFlagsChanged));313 "Multiple launch", new BMessage(kMsgAppFlagsChanged)); 314 314 fMultipleLaunchButton->ResizeToPreferred(); 315 315 box->AddChild(fMultipleLaunchButton); 316 316 317 317 rect.OffsetBy(0.0f, fSingleLaunchButton->Bounds().Height() + 0.0f); 318 318 fExclusiveLaunchButton = new BRadioButton(rect, "exclusive", 319 "Exclusive Launch", new BMessage(kMsgAppFlagsChanged));319 "Exclusive launch", new BMessage(kMsgAppFlagsChanged)); 320 320 fExclusiveLaunchButton->ResizeToPreferred(); 321 321 box->AddChild(fExclusiveLaunchButton); 322 322 323 323 rect.top = fSingleLaunchButton->Frame().top; 324 324 rect.left = fExclusiveLaunchButton->Frame().right + 4.0f; 325 fArgsOnlyCheckBox = new BCheckBox(rect, "args only", "Args Only",325 fArgsOnlyCheckBox = new BCheckBox(rect, "args only", "Args only", 326 326 new BMessage(kMsgAppFlagsChanged)); 327 327 fArgsOnlyCheckBox->ResizeToPreferred(); 328 328 box->AddChild(fArgsOnlyCheckBox); 329 329 330 330 rect.top += fArgsOnlyCheckBox->Bounds().Height(); 331 331 fBackgroundAppCheckBox = new BCheckBox(rect, "background", 332 "Background App", new BMessage(kMsgAppFlagsChanged));332 "Background app", new BMessage(kMsgAppFlagsChanged)); 333 333 fBackgroundAppCheckBox->ResizeToPreferred(); 334 334 box->AddChild(fBackgroundAppCheckBox); 335 335 … … 373 373 rect.left = 8.0f; 374 374 rect.right = Bounds().Width() - 8.0f; 375 375 BBox* typeBox = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT); 376 typeBox->SetLabel("Supported Types");376 typeBox->SetLabel("Supported types"); 377 377 topView->AddChild(typeBox); 378 378 379 379 rect = typeBox->Bounds().InsetByCopy(8.0f, 6.0f); … … 426 426 rect.right = Bounds().Width() - 8.0f; 427 427 box = new BBox(rect, NULL, B_FOLLOW_LEFT_RIGHT); 428 428 // the resizing mode will later also be set to B_FOLLOW_BOTTOM 429 box->SetLabel("Version Info");429 box->SetLabel("Version info"); 430 430 topView->AddChild(box); 431 431 432 432 BMenuField* menuField; … … 479 479 fVarietyMenu->AddItem(new BMenuItem("Alpha", NULL)); 480 480 fVarietyMenu->AddItem(new BMenuItem("Beta", NULL)); 481 481 fVarietyMenu->AddItem(new BMenuItem("Gamma", NULL)); 482 fVarietyMenu->AddItem(item = new BMenuItem("Golden Master", NULL));482 fVarietyMenu->AddItem(item = new BMenuItem("Golden master", NULL)); 483 483 item->SetMarked(true); 484 484 fVarietyMenu->AddItem(new BMenuItem("Final", NULL)); 485 485 … … 503 503 504 504 rect = box->Bounds().InsetByCopy(8.0f, 0.0f); 505 505 rect.top = fInternalVersionControl->Frame().bottom + 8.0f; 506 fShortDescriptionControl = new BTextControl(rect, "short desc", "Short Description:",506 fShortDescriptionControl = new BTextControl(rect, "short desc", "Short description:", 507 507 NULL, NULL, B_FOLLOW_LEFT_RIGHT | B_FOLLOW_TOP); 508 508 float labelWidth = fShortDescriptionControl->StringWidth( 509 509 fShortDescriptionControl->Label()) + 4.0f; … … 518 518 519 519 rect.OffsetBy(0.0f, fShortDescriptionControl->Bounds().Height() + 5.0f); 520 520 rect.right = rect.left + labelWidth; 521 StringView* label = new StringView(rect, NULL, "Long Description:", NULL);521 StringView* label = new StringView(rect, NULL, "Long description:", NULL); 522 522 label->SetDivider(labelWidth); 523 523 box->AddChild(label); 524 524 … … 570 570 strcpy(name, "\"-\""); 571 571 572 572 BString title(name); 573 title.Append(" Application Type");573 title.Append(" application type"); 574 574 return title; 575 575 } 576 576 … … 1088 1088 ApplicationTypeWindow::QuitRequested() 1089 1089 { 1090 1090 if (_NeedsSaving(CHECK_ALL) != 0) { 1091 BAlert* alert = new BAlert("Save Request", "Do you want to save "1092 "the changes?", "Quit, Don't save", "Cancel", "Save",1091 BAlert* alert = new BAlert("Save request", "Do you want to save " 1092 "the changes?", "Quit, don't save", "Cancel", "Save", 1093 1093 B_WIDTH_AS_USUAL, B_WARNING_ALERT); 1094 1094 int32 choice = alert->Go(); 1095 1095 switch (choice) { -
src/preferences/bluetooth/BluetoothMain.cpp
29 29 BluetoothApplication::AboutRequested() 30 30 { 31 31 32 (new BAlert("about", TR("Haiku bluetooth system, (ARCE)\n\n"32 (new BAlert("about", TR("Haiku Bluetooth system, (ARCE)\n\n" 33 33 "Created by Oliver Ruiz Dorantes\n\n" 34 34 "With support of:\n" 35 35 " - Mika Lindqvist\n" 36 36 " - Maksym Yevmenkin\n\n" 37 37 "Thanks to the individuals who helped...\n\n" 38 38 "Shipping/donating hardware:\n" 39 " - Henry Jair Abril Florez (el Colombian)\n"39 " - Henry Jair Abril Florez (el Colombian)\n" 40 40 " & Stefanie Bartolich\n" 41 41 " - Edwin Erik Amsler\n" 42 42 " - Dennis d'Entremont\n" … … 58 58 " - Petter H. Juliussen\n" 59 59 " - Adrien Destugues\n\n" 60 60 "Who gave me all the knowledge:\n" 61 " - the yellowTAB team"), TR("O k")))->Go();61 " - the yellowTAB team"), TR("OK")))->Go(); 62 62 63 63 } 64 64 -
src/preferences/bluetooth/InquiryPanel.cpp
1 1 /* 2 * Copyright 2008- 09, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes_at_gmail.com>2 * Copyright 2008-2009, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes_at_gmail.com> 3 3 * All rights reserved. Distributed under the terms of the MIT License. 4 4 */ 5 5 … … 124 124 fScrollView->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); 125 125 126 126 if (fLocalDevice != NULL) { 127 fMessage->SetText(TR("Check that the bluetooth capabilities of your remote device"128 " are activated. Press Inquiryto start scanning. The needed time"127 fMessage->SetText(TR("Check that the Bluetooth capabilities of your remote device" 128 " are activated. Press 'Inquiry' to start scanning. The needed time" 129 129 " for the retrieval of the names is unknown, although should not" 130 130 " take more than 3 seconds per device. Afterwards you will be able" 131 " to add them to your main list, where you will be able to pair with them "));131 " to add them to your main list, where you will be able to pair with them.")); 132 132 fInquiryButton->SetEnabled(true); 133 133 fDiscoveryAgent = fLocalDevice->GetDiscoveryAgent(); 134 134 fDiscoveryListener = new PanelDiscoveryListener(this); … … 138 138 139 139 140 140 } else { 141 fMessage->SetText(TR("There has not been found any bluetooth LocalDevice device registered"142 " on the system "));141 fMessage->SetText(TR("There isn't any Bluetooth LocalDevice registered" 142 " on the system.")); 143 143 fInquiryButton->SetEnabled(false); 144 144 } 145 145 -
src/preferences/bluetooth/BluetoothWindow.cpp
63 63 fMenubar->AddItem(menu); 64 64 65 65 menu = new BMenu(TR("Help")); 66 menu->AddItem(new BMenuItem(TR("About " B_UTF8_ELLIPSIS), new BMessage(B_ABOUT_REQUESTED), 0));66 menu->AddItem(new BMenuItem(TR("About Bluetooth" B_UTF8_ELLIPSIS), new BMessage(B_ABOUT_REQUESTED), 0)); 67 67 fMenubar->AddItem(menu); 68 68 69 69 BTabView* tabView = new BTabView("tabview", B_WIDTH_FROM_LABEL); -
src/preferences/touchpad/TouchpadPrefView.cpp
96 96 if (GetRightScrollRatio() > 0.7 || GetBottomScrollRatio() > 0.7) { 97 97 BAlert* alert = new BAlert("ReallyChangeScrollArea", 98 98 "The new scroll area is very small. Do you really want to change " 99 " the scroll area?", "Ok", "Cancel", NULL, B_WIDTH_AS_USUAL,99 "it?", "OK", "Cancel", NULL, B_WIDTH_AS_USUAL, 100 100 B_WARNING_ALERT); 101 101 result = alert->Go(); 102 102 } -
src/preferences/cpufrequency/StatusView.cpp
407 407 void 408 408 StatusView::_AboutRequested() 409 409 { 410 BAlert *alert = new BAlert("about", TR("CPU 410 BAlert *alert = new BAlert("about", TR("CPUFrequency\n" 411 411 "\twritten by Clemens Zeidler\n" 412 412 "\tCopyright 2009, Haiku, Inc.\n"), 413 413 TR("Ok")); -
src/preferences/cpufrequency/CPUFrequencyView.cpp
91 91 fStatusView->ShowPopUpMenu(false); 92 92 93 93 fInstallButton = new BButton("installButton", 94 TR("Install Replicant into Deskbar"),94 TR("Install replicant into Deskbar"), 95 95 new BMessage(kInstallIntoDeskbar)); 96 96 97 97 statusLayout->AddView(fStatusView); -
src/preferences/datatranslations/DataTranslations.cpp
1 1 /* 2 * Copyright 2002-200 6, Haiku, Inc.2 * Copyright 2002-2009 Haiku, Inc. All rights reserved. 3 3 * Distributed under the terms of the MIT license. 4 4 * 5 5 * Authors: … … 54 54 { 55 55 BAlert *alert = new BAlert("about", "DataTranslations\n" 56 56 "\twritten by Oliver Siebenmarck and others\n" 57 "\tCopyright 2002-2006, Haiku.\n", "O k");57 "\tCopyright 2002-2006, Haiku.\n", "OK"); 58 58 BTextView *view = alert->TextView(); 59 59 BFont font; 60 60 -
src/preferences/sounds/HEventList.cpp
1 1 /* 2 * Copyright 2003-200 8Haiku Inc. All rights reserved.2 * Copyright 2003-2009 Haiku Inc. All rights reserved. 3 3 * Distributed under the terms of the MIT license. 4 4 * 5 5 * Authors: … … 112 112 } else { 113 113 printf("name %s\n", ref.name); 114 114 BMediaFiles().RemoveRefFor(fType, row->Name(), ref); 115 (new BAlert("alert", "No such file or directory", "O k"))->Go();115 (new BAlert("alert", "No such file or directory", "OK"))->Go(); 116 116 return; 117 117 } 118 118 BMessage msg(M_EVENT_CHANGED);