WebPositive: Translate "No SSE2" window title, also.

This commit is contained in:
Augustin Cavalier
2019-02-11 16:31:38 -05:00
parent 35758c7046
commit 84e34948f6
+6 -6
View File
@@ -90,9 +90,9 @@ BrowserApp::BrowserApp()
get_cpuid(&info, 1, 0); get_cpuid(&info, 1, 0);
if ((info.eax_1.features & (1 << 26)) == 0) { if ((info.eax_1.features & (1 << 26)) == 0) {
BAlert alert("No SSE2 support", B_TRANSLATE("Your CPU is too old and " BAlert alert(B_TRANSLATE("No SSE2 support"), B_TRANSLATE("Your CPU is "
"does not support the SSE2 extensions, without which WebPositive " "too old and does not support the SSE2 extensions, without which "
"cannot run. We recommend installing NetSurf instead."), "WebPositive cannot run. We recommend installing NetSurf instead."),
B_TRANSLATE("Darn!")); B_TRANSLATE("Darn!"));
alert.Go(); alert.Go();
exit(-1); exit(-1);
@@ -133,7 +133,7 @@ BrowserApp::AboutRequested()
{ {
BAboutWindow* window = new BAboutWindow(kApplicationName, BAboutWindow* window = new BAboutWindow(kApplicationName,
kApplicationSignature); kApplicationSignature);
// create the about window // create the about window
const char* authors[] = { const char* authors[] = {
@@ -234,7 +234,7 @@ BrowserApp::ReadyToRun()
fSettingsWindow = new SettingsWindow(settingsWindowFrame, fSettings); fSettingsWindow = new SettingsWindow(settingsWindowFrame, fSettings);
BWebPage::SetDownloadListener(BMessenger(fDownloadWindow)); BWebPage::SetDownloadListener(BMessenger(fDownloadWindow));
fConsoleWindow = new ConsoleWindow(consoleWindowFrame); fConsoleWindow = new ConsoleWindow(consoleWindowFrame);
fCookieWindow = new CookieWindow(cookieWindowFrame, fContext->GetCookieJar()); 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 */ * In that case we only need to save that one, which is already archived */
BMessage* message = CurrentMessage(); BMessage* message = CurrentMessage();
BMessage windowMessage; BMessage windowMessage;
status_t ret = message->FindMessage("window", &windowMessage); status_t ret = message->FindMessage("window", &windowMessage);
if (ret == B_OK) { if (ret == B_OK) {
fSession->AddMessage("window", &windowMessage); fSession->AddMessage("window", &windowMessage);