parent
ef52a3d48f
commit
583c561cb2
|
@ -324,7 +324,7 @@ FolderConfigWindow::_LoadFolders()
|
|||
message.ReplaceFirst("%server%", fSettings.Server());
|
||||
message.ReplaceFirst("%error%", strerror(status));
|
||||
BAlert* alert = new BAlert("IMAP error", message.String(),
|
||||
B_TRANSLATE("Ok"), NULL, NULL, B_WIDTH_AS_USUAL, B_STOP_ALERT);
|
||||
B_TRANSLATE("OK"), NULL, NULL, B_WIDTH_AS_USUAL, B_STOP_ALERT);
|
||||
alert->Go();
|
||||
|
||||
PostMessage(B_QUIT_REQUESTED);
|
||||
|
|
|
@ -185,7 +185,7 @@ Shelf::StartSaver(BView *view, bool preview)
|
|||
s << "BApp:Name: " << be_app->Name();
|
||||
|
||||
PRINT(("%p:%s:%s\n", this, __FUNCTION__, s.String()));
|
||||
//BAlert *a = new BAlert("debug", s.String(), "Ok");
|
||||
//BAlert *a = new BAlert("debug", s.String(), "OK");
|
||||
//a->Go();
|
||||
return B_ERROR;
|
||||
#if 0
|
||||
|
|
|
@ -38,7 +38,7 @@ CustomRateWindow::CustomRateWindow(int baudrate)
|
|||
.End()
|
||||
.AddGroup(B_HORIZONTAL)
|
||||
.AddGlue()
|
||||
.Add(new BButton("ok", B_TRANSLATE("Ok"), new BMessage(kOkButtonMsg)))
|
||||
.Add(new BButton("ok", B_TRANSLATE("OK"), new BMessage(kOkButtonMsg)))
|
||||
.Add(new BButton("cancel", B_TRANSLATE("Cancel"),
|
||||
new BMessage(B_QUIT_REQUESTED)))
|
||||
.End()
|
||||
|
|
|
@ -333,7 +333,7 @@ SoftwareUpdaterWindow::MessageReceived(BMessage* message)
|
|||
if (error != B_OK) {
|
||||
BAlert* alert = new BAlert("reboot request", B_TRANSLATE(
|
||||
"For some reason, we could not reboot your computer."),
|
||||
B_TRANSLATE("Ok"), NULL, NULL,
|
||||
B_TRANSLATE("OK"), NULL, NULL,
|
||||
B_WIDTH_AS_USUAL, B_STOP_ALERT);
|
||||
alert->Go();
|
||||
}
|
||||
|
|
|
@ -612,7 +612,7 @@ NetworkWindow::_ShowReplicant(bool show)
|
|||
B_TRANSLATE("Installing NetworkStatus in Deskbar failed: %s"),
|
||||
strerror(status));
|
||||
BAlert* alert = new BAlert(B_TRANSLATE("launch error"),
|
||||
errorMessage, B_TRANSLATE("Ok"));
|
||||
errorMessage, B_TRANSLATE("OK"));
|
||||
alert->Go(NULL);
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -26,7 +26,7 @@ EditWindow::EditWindow(const char* placeholder, uint32 flags)
|
|||
{
|
||||
fTextControl = new BTextControl("", placeholder, NULL);
|
||||
|
||||
BButton* okButton = new BButton("Ok", new BMessage(B_CONTROL_MODIFIED));
|
||||
BButton* okButton = new BButton("OK", new BMessage(B_CONTROL_MODIFIED));
|
||||
okButton->SetExplicitAlignment(BAlignment(B_ALIGN_RIGHT, B_ALIGN_TOP));
|
||||
SetDefaultButton(okButton);
|
||||
|
||||
|
|
|
@ -136,13 +136,13 @@ MainView::MessageReceived(BMessage* message)
|
|||
BWindowStack windowStack(Window());
|
||||
if (windowStack.HasWindow(window)) {
|
||||
BAlert* alert = new BAlert("API Error",
|
||||
"Window on stack but should not be there!", "Ok");
|
||||
"Window on stack but should not be there!", "OK");
|
||||
alert->Go();
|
||||
}
|
||||
windowStack.AddWindow(window);
|
||||
if (!windowStack.HasWindow(window)) {
|
||||
BAlert* alert = new BAlert("API Error",
|
||||
"Window not on stack but should be there!", "Ok");
|
||||
"Window not on stack but should be there!", "OK");
|
||||
alert->Go();
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue