Migrate more strings to translation keys (#11694)

This commit is contained in:
Michael Telatynski
2023-10-03 19:17:26 +01:00
committed by GitHub
parent 677854d318
commit e1cfde0c6e
201 changed files with 21074 additions and 18552 deletions

View File

@@ -82,7 +82,7 @@ describe("AutoDiscoveryUtils", () => {
},
};
expect(() => AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, discoveryResult)).toThrow(
"GenericFailure",
"Unexpected error resolving identity server configuration",
);
expect(logger.error).toHaveBeenCalled();
});
@@ -96,7 +96,7 @@ describe("AutoDiscoveryUtils", () => {
},
};
expect(() => AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, discoveryResult)).toThrow(
"Unexpected error resolving homeserver configuration",
"Homeserver URL does not appear to be a valid Matrix homeserver",
);
expect(logger.error).toHaveBeenCalled();
});
@@ -122,7 +122,7 @@ describe("AutoDiscoveryUtils", () => {
},
};
expect(() => AutoDiscoveryUtils.buildValidatedConfigFromDiscovery(serverName, discoveryResult)).toThrow(
"Unexpected error resolving homeserver configuration",
"Homeserver URL does not appear to be a valid Matrix homeserver",
);
});