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:
@@ -102,17 +102,17 @@ describe("<RoomPreviewBar />", () => {
|
||||
const component = getComponent({ joining: true });
|
||||
|
||||
expect(isSpinnerRendered(component)).toBeTruthy();
|
||||
expect(getMessage(component)?.textContent).toEqual("Joining …");
|
||||
expect(getMessage(component)?.textContent).toEqual("Joining…");
|
||||
});
|
||||
it("renders rejecting message", () => {
|
||||
const component = getComponent({ rejecting: true });
|
||||
expect(isSpinnerRendered(component)).toBeTruthy();
|
||||
expect(getMessage(component)?.textContent).toEqual("Rejecting invite …");
|
||||
expect(getMessage(component)?.textContent).toEqual("Rejecting invite…");
|
||||
});
|
||||
it("renders loading message", () => {
|
||||
const component = getComponent({ loading: true });
|
||||
expect(isSpinnerRendered(component)).toBeTruthy();
|
||||
expect(getMessage(component)?.textContent).toEqual("Loading …");
|
||||
expect(getMessage(component)?.textContent).toEqual("Loading…");
|
||||
});
|
||||
|
||||
it("renders not logged in message", () => {
|
||||
|
||||
@@ -35,7 +35,7 @@ exports[`<DecryptionFailureBar /> Displays a loading spinner 1`] = `
|
||||
class="mx_Spinner"
|
||||
>
|
||||
<div
|
||||
aria-label="Loading..."
|
||||
aria-label="Loading…"
|
||||
class="mx_Spinner_icon"
|
||||
data-testid="spinner"
|
||||
role="progressbar"
|
||||
@@ -48,7 +48,7 @@ exports[`<DecryptionFailureBar /> Displays a loading spinner 1`] = `
|
||||
<div
|
||||
class="mx_DecryptionFailureBar_message_headline"
|
||||
>
|
||||
Decrypting messages...
|
||||
Decrypting messages…
|
||||
</div>
|
||||
<div
|
||||
class="mx_DecryptionFailureBar_message_body"
|
||||
|
||||
Reference in New Issue
Block a user