Fix double translation issue (#10240

* Fix double translation issue

* Remove some redundant string concatenations
This commit is contained in:
Michael Telatyński 2023-02-27 09:15:27 +00:00 committed by GitHub
parent a3defa6cf7
commit 12dd799301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 29 additions and 41 deletions

View file

@ -567,9 +567,7 @@ describe("EventListSummary", function () {
const summary = wrapper.find(".mx_GenericEventListSummary_summary");
const summaryText = summary.text();
expect(summaryText).toBe(
"user_1 and one other rejected their invitations and " + "had their invitations withdrawn",
);
expect(summaryText).toBe("user_1 and one other rejected their invitations and had their invitations withdrawn");
});
it("handles invitation plurals correctly when there are multiple invites", function () {