Ticket #6402: Alert-title_apps.diff
File Alert-title_apps.diff, 10.0 KB (added by , 14 years ago) |
---|
-
HiQ-Data/source/haiku/trunk/src/apps/codycam/CodyCam.cpp
240 240 } 241 241 242 242 case msg_about: 243 (new BAlert( B_TRANSLATE("About CodyCam"), B_TRANSLATE("CodyCam\n\n"243 (new BAlert("About CodyCam", B_TRANSLATE("CodyCam\n\n" 244 244 "The Original BeOS webcam"), B_TRANSLATE("Close")))->Go(); 245 245 break; 246 246 -
HiQ-Data/source/haiku/trunk/src/apps/diskprobe/ProbeView.cpp
1103 1103 if (system_time() > startTime + 8000000LL) { 1104 1104 // If the user had to wait more than 8 seconds for the result, 1105 1105 // we are trying to please him with a requester... 1106 (new BAlert( B_TRANSLATE("DiskProbe request"),1106 (new BAlert("DiskProbe request", 1107 1107 B_TRANSLATE("Could not find search string."), 1108 1108 B_TRANSLATE("OK"), NULL, NULL, B_WIDTH_AS_USUAL, 1109 1109 B_WARNING_ALERT))->Go(NULL); … … 1865 1865 "All changes will be lost when you quit."), 1866 1866 strerror(status)); 1867 1867 1868 (new BAlert( B_TRANSLATE("DiskProbe request"),1868 (new BAlert("DiskProbe request", 1869 1869 buffer, B_TRANSLATE("OK"), NULL, NULL, 1870 1870 B_WIDTH_AS_USUAL, B_WARNING_ALERT))->Go(NULL); 1871 1871 … … 1881 1881 if (!fEditor.IsModified()) 1882 1882 return true; 1883 1883 1884 int32 chosen = (new BAlert( B_TRANSLATE("DiskProbe request"),1884 int32 chosen = (new BAlert("DiskProbe request", 1885 1885 B_TRANSLATE("Save changes before closing?"), B_TRANSLATE("Don't save"), B_TRANSLATE("Cancel"), 1886 1886 B_TRANSLATE("Save"), B_WIDTH_AS_USUAL, B_WARNING_ALERT))->Go(); 1887 1887 -
HiQ-Data/source/haiku/trunk/src/apps/diskprobe/DiskProbe.cpp
367 367 "error message is shown."), 368 368 ref.name, strerror(status)); 369 369 370 (new BAlert( B_TRANSLATE("DiskProbe request"),370 (new BAlert("DiskProbe request", 371 371 buffer, B_TRANSLATE("OK"), NULL, NULL, 372 372 B_WIDTH_AS_USUAL, B_STOP_ALERT))->Go(); 373 373 } -
HiQ-Data/source/haiku/trunk/src/apps/diskprobe/AttributeWindow.cpp
283 283 "the file \"%s\"?\n\nYou cannot undo this action."), 284 284 fAttribute, Ref().name); 285 285 286 int32 chosen = (new BAlert( B_TRANSLATE("DiskProbe request"),286 int32 chosen = (new BAlert("DiskProbe request", 287 287 buffer, B_TRANSLATE("Cancel"), B_TRANSLATE("Remove"), NULL, 288 288 B_WIDTH_AS_USUAL, B_WARNING_ALERT))->Go(); 289 289 if (chosen == 1) { -
HiQ-Data/source/haiku/trunk/src/apps/terminal/TermWindow.cpp
249 249 if (isBusy) { 250 250 const char* alertMessage = B_TRANSLATE("A process is still running.\n" 251 251 "If you close the Terminal the process will be killed."); 252 BAlert* alert = new BAlert( B_TRANSLATE("Really quit?"),252 BAlert* alert = new BAlert("Really quit?", 253 253 alertMessage, B_TRANSLATE("OK"), B_TRANSLATE("Cancel"), NULL, 254 254 B_WIDTH_AS_USUAL, B_WARNING_ALERT); 255 255 int32 result = alert->Go(); … … 492 492 const char* errorMsg = !fFindSelection 493 493 ? B_TRANSLATE("No search string was entered.") 494 494 : B_TRANSLATE("Nothing is selected."); 495 BAlert* alert = new BAlert( B_TRANSLATE("Find failed"),495 BAlert* alert = new BAlert("Find failed", 496 496 errorMsg, B_TRANSLATE("OK"), NULL, NULL, 497 497 B_WIDTH_AS_USUAL, B_WARNING_ALERT); 498 498 … … 508 508 findresult = _ActiveTermView()->Find(fFindString, fForwardSearch, fMatchCase, fMatchWord); 509 509 510 510 if (!findresult) { 511 BAlert* alert = new BAlert( B_TRANSLATE("Find failed"),511 BAlert* alert = new BAlert("Find failed", 512 512 B_TRANSLATE("Text not found."), 513 513 B_TRANSLATE("OK"), NULL, NULL, 514 514 B_WIDTH_AS_USUAL, B_WARNING_ALERT); … … 531 531 (message->what == MENU_FIND_NEXT) == fForwardSearch, 532 532 fMatchCase, fMatchWord); 533 533 if (!findresult) { 534 BAlert* alert = new BAlert( B_TRANSLATE("Find failed"),534 BAlert* alert = new BAlert("Find failed", 535 535 B_TRANSLATE("Not found."), B_TRANSLATE("OK"), 536 536 NULL, NULL, B_WIDTH_AS_USUAL, B_WARNING_ALERT); 537 537 alert->SetShortcut(0, B_ESCAPE); … … 764 764 TermWindow::_DoPrint() 765 765 { 766 766 if (!fPrintSettings || (_DoPageSetup() != B_OK)) { 767 (new BAlert( B_TRANSLATE("Cancel"), B_TRANSLATE("Print cancelled."),767 (new BAlert("Cancel", B_TRANSLATE("Print cancelled."), 768 768 B_TRANSLATE("OK")))->Go(); 769 769 return; 770 770 } -
HiQ-Data/source/haiku/trunk/src/apps/soundrecorder/RecorderWindow.cpp
1325 1325 } 1326 1326 1327 1327 if (countBad > 0 && countGood == 0) 1328 (new BAlert( B_TRANSLATE("Nothing to play"), B_TRANSLATE("None of the "1328 (new BAlert("Nothing to play", B_TRANSLATE("None of the " 1329 1329 "files appear to be audio files"), B_TRANSLATE("OK"), NULL, NULL, 1330 1330 B_WIDTH_AS_USUAL, B_STOP_ALERT))->Go(); 1331 1331 else if (countGood > 0) { 1332 1332 if (countBad > 0) 1333 (new BAlert( B_TRANSLATE("Invalid audio files"), B_TRANSLATE("Some "1333 (new BAlert("Invalid audio files", B_TRANSLATE("Some " 1334 1334 "of the files don't appear to be audio files"), 1335 1335 B_TRANSLATE("OK"), NULL, NULL, B_WIDTH_AS_USUAL, 1336 1336 B_WARNING_ALERT))->Go(); -
HiQ-Data/source/haiku/trunk/src/apps/showimage/ShowImageWindow.cpp
1044 1044 name.String()); 1045 1045 } 1046 1046 1047 BAlert* pAlert = new BAlert( B_TRANSLATE("Close document"), prompt.String(),1047 BAlert* pAlert = new BAlert("Close document", prompt.String(), 1048 1048 B_TRANSLATE("Cancel"), B_TRANSLATE("Close")); 1049 1049 if (pAlert->Go() == 0) { 1050 1050 // Cancel -
HiQ-Data/source/haiku/trunk/src/apps/pulse/DeskbarPulseView.cpp
124 124 prefswindow->Show(); 125 125 break; 126 126 case PV_ABOUT: { 127 BAlert *alert = new BAlert( B_TRANSLATE("Info"),127 BAlert *alert = new BAlert("Info", 128 128 B_TRANSLATE("Pulse\n\nBy David Ramsey and Arve Hjønnevåg\n" 129 129 "Revised by Daniel Switkin"), B_TRANSLATE("OK")); 130 130 alert->Go(NULL); … … 177 177 if (err != B_OK) { 178 178 char temp[255]; 179 179 sprintf(temp, B_TRANSLATE("Remove(): %s"), strerror(err)); 180 BAlert *alert = new BAlert( B_TRANSLATE("Info"), temp,180 BAlert *alert = new BAlert("Info", temp, 181 181 B_TRANSLATE("OK")); 182 182 alert->Go(NULL); 183 183 } -
HiQ-Data/source/haiku/trunk/src/apps/pulse/PulseWindow.cpp
103 103 break; 104 104 } 105 105 case PV_ABOUT: { 106 BAlert *alert = new BAlert( B_TRANSLATE("Info"),106 BAlert *alert = new BAlert("Info", 107 107 B_TRANSLATE("Pulse\n\nBy David Ramsey and Arve Hjønnevåg\n" 108 108 "Revised by Daniel Switkin"), B_TRANSLATE("OK")); 109 109 // Use the asynchronous version so we don't block the window's thread -
HiQ-Data/source/haiku/trunk/src/apps/pulse/CPUButton.cpp
276 276 { 277 277 switch (message->what) { 278 278 case B_ABOUT_REQUESTED: { 279 BAlert *alert = new BAlert( B_TRANSLATE("Info"),279 BAlert *alert = new BAlert("Info", 280 280 B_TRANSLATE("Pulse\n\nBy David Ramsey and Arve Hjønnevåg\n" 281 281 "Revised by Daniel Switkin"), B_TRANSLATE("OK")); 282 282 // Use the asynchronous version so we don't block the window's thread -
HiQ-Data/source/haiku/trunk/src/apps/installer/InstallerWindow.cpp
565 565 InstallerWindow::QuitRequested() 566 566 { 567 567 if (fDriveSetupLaunched && fBootmanLaunched) { 568 (new BAlert( B_TRANSLATE("Quit Boot Manager and DriveSetup"),568 (new BAlert("Quit Boot Manager and DriveSetup", 569 569 B_TRANSLATE("Please close the Boot Manager and DriveSetup windows " 570 570 "before closing the Installer window."), B_TRANSLATE("OK")))->Go(); 571 571 return false; 572 572 } else if (fDriveSetupLaunched) { 573 (new BAlert( B_TRANSLATE("Quit DriveSetup"),573 (new BAlert("Quit DriveSetup", 574 574 B_TRANSLATE("Please close the DriveSetup window before closing " 575 575 "the Installer window."), B_TRANSLATE("OK")))->Go(); 576 576 return false; 577 577 } else if (fBootmanLaunched) { 578 (new BAlert( B_TRANSLATE("Quit Boot Manager"),578 (new BAlert("Quit Boot Manager", 579 579 B_TRANSLATE("Please close the Boot Manager window before closing " 580 580 "the Installer window."), B_TRANSLATE("OK")))->Go(); 581 581 return false;