From 07a70c6febb8525f175e96126406e275f48c57a3 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Mon, 20 Aug 2018 17:12:46 +0200 Subject: [PATCH] Expander: remove hard newlines from alerts --- src/apps/expander/ExpanderWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/expander/ExpanderWindow.cpp b/src/apps/expander/ExpanderWindow.cpp index d4acf6a555..8fb0054177 100644 --- a/src/apps/expander/ExpanderWindow.cpp +++ b/src/apps/expander/ExpanderWindow.cpp @@ -312,7 +312,7 @@ ExpanderWindow::MessageReceived(BMessage* message) if (fExpandingStarted) { fExpandingThread->SuspendExternalExpander(); 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."), B_TRANSLATE("Stop"), B_TRANSLATE("Continue"), NULL, B_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT); @@ -509,7 +509,7 @@ ExpanderWindow::CanQuit() if (fExpandingStarted) { fExpandingThread->SuspendExternalExpander(); 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."), B_TRANSLATE("Stop"), B_TRANSLATE("Continue"), NULL, B_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT); @@ -652,7 +652,7 @@ ExpanderWindow::StartExpanding() BEntry destEntry(fDestText->Text(), true); if (!destEntry.Exists()) { 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_WIDTH_AS_USUAL, B_EVEN_SPACING, B_WARNING_ALERT); alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);