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;
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(
+6 -6
View File
@@ -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());