Migrate translations to keys and switch to Localazy (#26106)

This commit is contained in:
Michael Telatynski 2023-09-05 17:17:25 +01:00 committed by GitHub
parent 00803950bf
commit c525b633bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 2327 additions and 1922 deletions

View file

@ -153,13 +153,11 @@ async function verifyServerConfig(): Promise<IConfigOptions> {
const incompatibleOptions = [wkConfig, serverName, hsUrl].filter((i) => !!i);
if (hsUrl && (wkConfig || serverName)) {
// noinspection ExceptionCaughtLocallyJS
throw new UserFriendlyError(
"Invalid configuration: a default_hs_url can't be specified along with default_server_name or default_server_config",
);
throw new UserFriendlyError("error|invalid_configuration_mixed_server");
}
if (incompatibleOptions.length < 1) {
// noinspection ExceptionCaughtLocallyJS
throw new UserFriendlyError("Invalid configuration: no default server specified.");
throw new UserFriendlyError("error|invalid_configuration_no_server");
}
if (hsUrl) {