From 84e34948f6086dc147629d1f9309f4641ba33b7f Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 11 Feb 2019 16:31:38 -0500 Subject: [PATCH] WebPositive: Translate "No SSE2" window title, also. --- src/apps/webpositive/BrowserApp.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/apps/webpositive/BrowserApp.cpp b/src/apps/webpositive/BrowserApp.cpp index f05db24589..460fab9f98 100644 --- a/src/apps/webpositive/BrowserApp.cpp +++ b/src/apps/webpositive/BrowserApp.cpp @@ -90,9 +90,9 @@ BrowserApp::BrowserApp() get_cpuid(&info, 1, 0); if ((info.eax_1.features & (1 << 26)) == 0) { - BAlert alert("No SSE2 support", B_TRANSLATE("Your CPU is too old and " - "does not support the SSE2 extensions, without which WebPositive " - "cannot run. We recommend installing NetSurf instead."), + BAlert alert(B_TRANSLATE("No SSE2 support"), B_TRANSLATE("Your CPU is " + "too old and does not support the SSE2 extensions, without which " + "WebPositive cannot run. We recommend installing NetSurf instead."), B_TRANSLATE("Darn!")); alert.Go(); exit(-1); @@ -133,7 +133,7 @@ BrowserApp::AboutRequested() { BAboutWindow* window = new BAboutWindow(kApplicationName, kApplicationSignature); - + // create the about window const char* authors[] = { @@ -234,7 +234,7 @@ BrowserApp::ReadyToRun() fSettingsWindow = new SettingsWindow(settingsWindowFrame, fSettings); BWebPage::SetDownloadListener(BMessenger(fDownloadWindow)); - + fConsoleWindow = new ConsoleWindow(consoleWindowFrame); fCookieWindow = new CookieWindow(cookieWindowFrame, fContext->GetCookieJar()); @@ -393,7 +393,7 @@ BrowserApp::QuitRequested() * In that case we only need to save that one, which is already archived */ BMessage* message = CurrentMessage(); BMessage windowMessage; - + status_t ret = message->FindMessage("window", &windowMessage); if (ret == B_OK) { fSession->AddMessage("window", &windowMessage);