From 548467a97d28d14f312d5c44c1addbb3740b883f Mon Sep 17 00:00:00 2001 From: Andrew Lindesay Date: Mon, 25 May 2020 17:12:22 +1200 Subject: [PATCH] HaikuDepot: Alert Naming Change capitalization in the titles of alerts. Change alerts' warnings to avoid the word "Haiku". Resolves #16117 Change-Id: Id9aacf83d7e8364a1e9b0bfa9a98532108f906e3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2808 Reviewed-by: waddlesplash --- src/apps/haikudepot/server/ServerHelper.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/apps/haikudepot/server/ServerHelper.cpp b/src/apps/haikudepot/server/ServerHelper.cpp index 947ce08606..6bca7911ae 100644 --- a/src/apps/haikudepot/server/ServerHelper.cpp +++ b/src/apps/haikudepot/server/ServerHelper.cpp @@ -77,12 +77,12 @@ ServerHelper::AlertServerJsonRpcError(BMessage* responseEnvelopeMessage) default: alertText.SetToFormat( B_TRANSLATE("An unexpected error has been sent from the" - " HaikuDepot server [%" B_PRIi32 "]"), errorCode); + " server [%" B_PRIi32 "]"), errorCode); break; } BAlert* alert = new BAlert( - B_TRANSLATE("Server Error"), + B_TRANSLATE("Server error"), alertText, B_TRANSLATE("OK")); @@ -125,7 +125,7 @@ ServerHelper::AlertTransportError(BMessage* message) switch (errno) { case HD_NETWORK_INACCESSIBLE: - errorDescription = B_TRANSLATE("Network Error"); + errorDescription = B_TRANSLATE("Network error"); break; default: errorDescription.SetTo(strerror(errno)); @@ -133,11 +133,11 @@ ServerHelper::AlertTransportError(BMessage* message) } alertText.SetToFormat(B_TRANSLATE("A network transport error has arisen" - " communicating with the HaikuDepot server system: %s"), + " communicating with the server system: %s"), errorDescription.String()); BAlert* alert = new BAlert( - B_TRANSLATE("Network Transport Error"), + B_TRANSLATE("Network transport error"), alertText, B_TRANSLATE("OK")); @@ -175,9 +175,9 @@ ServerHelper::AlertClientTooOld(BMessage* message) alertText.SetToFormat( B_TRANSLATE("This application is too old to communicate with the" - " HaikuDepot server system. Obtain a newer version of HaikuDepot" - " by updating your Haiku system. The minimum version of" - " HaikuDepot required is \"%s\"."), minimumVersion.String()); + " server system. Obtain a newer version of this application" + " by updating your system. The minimum required version of this" + " application is \"%s\"."), minimumVersion.String()); BAlert* alert = new BAlert( B_TRANSLATE("Client version too old"),