Expander: remove hard newlines from alerts
This commit is contained in:
@@ -312,7 +312,7 @@ ExpanderWindow::MessageReceived(BMessage* message)
|
|||||||
if (fExpandingStarted) {
|
if (fExpandingStarted) {
|
||||||
fExpandingThread->SuspendExternalExpander();
|
fExpandingThread->SuspendExternalExpander();
|
||||||
BAlert* alert = new BAlert("stopAlert",
|
BAlert* alert = new BAlert("stopAlert",
|
||||||
B_TRANSLATE("Are you sure you want to stop expanding this\n"
|
B_TRANSLATE("Are you sure you want to stop expanding this "
|
||||||
"archive? The expanded items may not be complete."),
|
"archive? The expanded items may not be complete."),
|
||||||
B_TRANSLATE("Stop"), B_TRANSLATE("Continue"), NULL,
|
B_TRANSLATE("Stop"), B_TRANSLATE("Continue"), NULL,
|
||||||
B_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT);
|
B_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT);
|
||||||
@@ -509,7 +509,7 @@ ExpanderWindow::CanQuit()
|
|||||||
if (fExpandingStarted) {
|
if (fExpandingStarted) {
|
||||||
fExpandingThread->SuspendExternalExpander();
|
fExpandingThread->SuspendExternalExpander();
|
||||||
BAlert* alert = new BAlert("stopAlert",
|
BAlert* alert = new BAlert("stopAlert",
|
||||||
B_TRANSLATE("Are you sure you want to stop expanding this\n"
|
B_TRANSLATE("Are you sure you want to stop expanding this "
|
||||||
"archive? The expanded items may not be complete."),
|
"archive? The expanded items may not be complete."),
|
||||||
B_TRANSLATE("Stop"), B_TRANSLATE("Continue"), NULL,
|
B_TRANSLATE("Stop"), B_TRANSLATE("Continue"), NULL,
|
||||||
B_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT);
|
B_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT);
|
||||||
@@ -652,7 +652,7 @@ ExpanderWindow::StartExpanding()
|
|||||||
BEntry destEntry(fDestText->Text(), true);
|
BEntry destEntry(fDestText->Text(), true);
|
||||||
if (!destEntry.Exists()) {
|
if (!destEntry.Exists()) {
|
||||||
BAlert* alert = new BAlert("destAlert",
|
BAlert* alert = new BAlert("destAlert",
|
||||||
B_TRANSLATE("The folder was either moved, renamed or not\nsupported."),
|
B_TRANSLATE("The folder was either moved, renamed or not supported."),
|
||||||
B_TRANSLATE("Cancel"), NULL, NULL,
|
B_TRANSLATE("Cancel"), NULL, NULL,
|
||||||
B_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT);
|
B_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT);
|
||||||
alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);
|
alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);
|
||||||
|
|||||||
Reference in New Issue
Block a user