Locallazy: Convert even more strings (#11679)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
R Midhun Suresh 2023-10-02 16:13:00 +05:30 committed by GitHub
parent 8d289544b3
commit 9a76d6b9a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
82 changed files with 6216 additions and 5101 deletions

View file

@ -135,10 +135,8 @@ export const RoomSearchView = forwardRef<ScrollPanel, Props>(
}
logger.error("Search failed", error);
Modal.createDialog(ErrorDialog, {
title: _t("Search failed"),
description:
error?.message ??
_t("Server may be unavailable, overloaded, or search timed out :("),
title: _t("error_dialog|search_failed|title"),
description: error?.message ?? _t("error_dialog|search_failed|server_unavailable"),
});
return false;
},
@ -205,7 +203,7 @@ export const RoomSearchView = forwardRef<ScrollPanel, Props>(
} else {
ret.push(
<li key="search-top-marker">
<h2 className="mx_RoomView_topMarker">{_t("No more results")}</h2>
<h2 className="mx_RoomView_topMarker">{_t("no_more_results")}</h2>
</li>,
);
}