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.
This commit is contained in:
Niels Sascha Reedijk
2020-04-20 08:45:46 +01:00
parent eaf026de4a
commit ffc770c1f4
2 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -69,7 +69,7 @@ ServerHelper::AlertServerJsonRpcError(BMessage* responseEnvelopeMessage)
break; break;
case ERROR_CODE_AUTHORIZATIONFAILURE: case ERROR_CODE_AUTHORIZATIONFAILURE:
case ERROR_CODE_AUTHORIZATIONRULECONFLICT: 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 log back in again to check that your password is correct"
" and also check that you have agreed to the latest usage" " and also check that you have agreed to the latest usage"
" conditions."); " conditions.");
@@ -175,8 +175,8 @@ ServerHelper::AlertClientTooOld(BMessage* message)
alertText.SetToFormat( alertText.SetToFormat(
B_TRANSLATE("This application is too old to communicate with the " B_TRANSLATE("This application is too old to communicate with the "
" HaikuDepot server system. Obtain a newer version of HaikuDepot " " HaikuDepot server system. Obtain a newer version of HaikuDepot "
" by updating your Haiku system. The minimum version of " " by updating your Haiku system. The minimum version of "
" HaikuDepot required is \"%s\"."), minimumVersion.String()); " HaikuDepot required is \"%s\"."), minimumVersion.String());
BAlert* alert = new BAlert( BAlert* alert = new BAlert(
+6 -6
View File
@@ -1143,15 +1143,15 @@ UserLoginWindow::_CreateAlertTextFromValidationFailure(
if (property == "nickname" && message == "notunique") { if (property == "nickname" && message == "notunique") {
return B_TRANSLATE("The nickname must be unique, but the supplied " 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") if (property == "nickname" && message == "required")
return B_TRANSLATE("The nickname is required."); return B_TRANSLATE("The nickname is required.");
if (property == "nickname" && message == "malformed") { if (property == "nickname" && message == "malformed") {
return B_TRANSLATE("The nickname is malformed. The nickname may only " return B_TRANSLATE("The nickname is malformed. The nickname may only "
"contain digits and lower case latin characters. The nickname " "contain digits and lower case latin characters. The nickname "
"must be between four and sixteen characters in length."); "must be between four and sixteen characters in length.");
} }
@@ -1186,7 +1186,7 @@ UserLoginWindow::_CreateAlertTextFromValidationFailure(
if (property == "captchaResponse" && message == "captchabadresponse") { if (property == "captchaResponse" && message == "captchabadresponse") {
return B_TRANSLATE("The supplied response to the captcha is " 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 " BString result = B_TRANSLATE("An unexpected error '%Message%' has arisen "
@@ -1305,8 +1305,8 @@ UserLoginWindow::_HandleCreateAccountSuccess(
const UserCredentials& credentials) const UserCredentials& credentials)
{ {
BString message = B_TRANSLATE("The user %Nickname% has been successfully " BString message = B_TRANSLATE("The user %Nickname% has been successfully "
"created in the HaikuDepotServer system. You can administer your user " "created in the HaikuDepotServer system. You can administer your user "
"details by using the web interface. You are now logged-in as this " "details by using the web interface. You are now logged-in as this "
"new user."); "new user.");
message.ReplaceAll("%Nickname%", credentials.Nickname()); message.ReplaceAll("%Nickname%", credentials.Nickname());