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

@ -78,6 +78,6 @@ export function messageForSyncError(err: Error): ReactNode {
</div>
);
} else {
return <div>{_t("Unable to connect to Homeserver. Retrying...")}</div>;
return <div>{_t("Unable to connect to Homeserver. Retrying")}</div>;
}
}

View file

@ -413,7 +413,7 @@ export default class HTMLExporter extends Exporter {
}
public async export(): Promise<void> {
this.updateProgress(_t("Starting export..."));
this.updateProgress(_t("Starting export"));
const fetchStart = performance.now();
const res = await this.getRequiredEvents();
@ -428,7 +428,7 @@ export default class HTMLExporter extends Exporter {
false,
);
this.updateProgress(_t("Creating HTML..."));
this.updateProgress(_t("Creating HTML"));
const usedClasses = new Set<string>();
for (let page = 0; page < res.length / 1000; page++) {

View file

@ -128,8 +128,8 @@ export default class PlainTextExporter extends Exporter {
}
public async export(): Promise<void> {
this.updateProgress(_t("Starting export process..."));
this.updateProgress(_t("Fetching events..."));
this.updateProgress(_t("Starting export process"));
this.updateProgress(_t("Fetching events"));
const fetchStart = performance.now();
const res = await this.getRequiredEvents();
@ -137,7 +137,7 @@ export default class PlainTextExporter extends Exporter {
logger.log(`Fetched ${res.length} events in ${(fetchEnd - fetchStart) / 1000}s`);
this.updateProgress(_t("Creating output..."));
this.updateProgress(_t("Creating output"));
const text = await this.createOutput(res);
if (this.files.length) {