Fix 'Failed check: Ellipsis' on Weblate (#10144)

* Fix 'Failed check: Ellipsis' on Weblate

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix tests

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove white space characters before the horizontal ellipsis from RoomPreviewBar

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* yarn run i18n

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Additional change

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2023-02-14 09:05:01 +00:00 committed by GitHub
parent aded28ed25
commit ea4000cf1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 117 additions and 120 deletions

View file

@ -151,7 +151,7 @@ export const DecryptionFailureBar: React.FC<IProps> = ({ failures }) => {
let body: JSX.Element;
let button = <React.Fragment />;
if (waiting) {
headline = <React.Fragment>{_t("Decrypting messages...")}</React.Fragment>;
headline = <React.Fragment>{_t("Decrypting messages")}</React.Fragment>;
body = (
<React.Fragment>
{_t("Please wait as we try to decrypt your messages. This may take a few moments.")}

View file

@ -1520,9 +1520,9 @@ function SentReceipt({ messageState }: ISentReceiptProps): JSX.Element {
nonCssBadge = <NotificationBadge notification={StaticNotificationState.RED_EXCLAMATION} />;
}
let label = _t("Sending your message...");
let label = _t("Sending your message");
if (messageState === "encrypting") {
label = _t("Encrypting your message...");
label = _t("Encrypting your message");
} else if (isSent) {
label = _t("Your message was sent");
} else if (isFailed) {

View file

@ -290,21 +290,21 @@ export default class RoomPreviewBar extends React.Component<IProps, IState> {
switch (messageCase) {
case MessageCase.Joining: {
if (this.props.oobData?.roomType || isSpace) {
title = isSpace ? _t("Joining space …") : _t("Joining room …");
title = isSpace ? _t("Joining space…") : _t("Joining room…");
} else {
title = _t("Joining …");
title = _t("Joining…");
}
showSpinner = true;
break;
}
case MessageCase.Loading: {
title = _t("Loading …");
title = _t("Loading…");
showSpinner = true;
break;
}
case MessageCase.Rejecting: {
title = _t("Rejecting invite …");
title = _t("Rejecting invite…");
showSpinner = true;
break;
}