From ffc770c1f4edc67f6668fc78b99940df6a3bc499 Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Mon, 20 Apr 2020 08:45:46 +0100 Subject: [PATCH] HaikuDepot: remove double space after full stop Reported by translator loic (thanks!). The double space is only removed in user-facing strings, I did not touch the comments. For those interested in an internet controversy, search the internet for the origins of the double space after a period. In any case, for consistency with other user facing strings, go to a single space after a period. --- src/apps/haikudepot/server/ServerHelper.cpp | 6 +++--- src/apps/haikudepot/ui/UserLoginWindow.cpp | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/apps/haikudepot/server/ServerHelper.cpp b/src/apps/haikudepot/server/ServerHelper.cpp index 8fcf0e5efe..e43f281629 100644 --- a/src/apps/haikudepot/server/ServerHelper.cpp +++ b/src/apps/haikudepot/server/ServerHelper.cpp @@ -69,7 +69,7 @@ ServerHelper::AlertServerJsonRpcError(BMessage* responseEnvelopeMessage) break; case ERROR_CODE_AUTHORIZATIONFAILURE: case ERROR_CODE_AUTHORIZATIONRULECONFLICT: - alertText = B_TRANSLATE("Authorization or security issue. Logout" + alertText = B_TRANSLATE("Authorization or security issue. Logout" " and log back in again to check that your password is correct" " and also check that you have agreed to the latest usage" " conditions."); @@ -175,8 +175,8 @@ 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 server system. Obtain a newer version of HaikuDepot " + " by updating your Haiku system. The minimum version of " " HaikuDepot required is \"%s\"."), minimumVersion.String()); BAlert* alert = new BAlert( diff --git a/src/apps/haikudepot/ui/UserLoginWindow.cpp b/src/apps/haikudepot/ui/UserLoginWindow.cpp index a6b4e9c32d..6ea3332db7 100644 --- a/src/apps/haikudepot/ui/UserLoginWindow.cpp +++ b/src/apps/haikudepot/ui/UserLoginWindow.cpp @@ -1143,15 +1143,15 @@ UserLoginWindow::_CreateAlertTextFromValidationFailure( if (property == "nickname" && message == "notunique") { return B_TRANSLATE("The nickname must be unique, but the supplied " - "nickname is already taken. Choose a different nickname."); + "nickname is already taken. Choose a different nickname."); } if (property == "nickname" && message == "required") return B_TRANSLATE("The nickname is required."); if (property == "nickname" && message == "malformed") { - return B_TRANSLATE("The nickname is malformed. The nickname may only " - "contain digits and lower case latin characters. The nickname " + return B_TRANSLATE("The nickname is malformed. The nickname may only " + "contain digits and lower case latin characters. The nickname " "must be between four and sixteen characters in length."); } @@ -1186,7 +1186,7 @@ UserLoginWindow::_CreateAlertTextFromValidationFailure( if (property == "captchaResponse" && message == "captchabadresponse") { return B_TRANSLATE("The supplied response to the captcha is " - "incorrect. A new captcha will be generated; try again."); + "incorrect. A new captcha will be generated; try again."); } BString result = B_TRANSLATE("An unexpected error '%Message%' has arisen " @@ -1305,8 +1305,8 @@ UserLoginWindow::_HandleCreateAccountSuccess( const UserCredentials& credentials) { BString message = B_TRANSLATE("The user %Nickname% has been successfully " - "created in the HaikuDepotServer system. You can administer your user " - "details by using the web interface. You are now logged-in as this " + "created in the HaikuDepotServer system. You can administer your user " + "details by using the web interface. You are now logged-in as this " "new user."); message.ReplaceAll("%Nickname%", credentials.Nickname());