Remove translation

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2021-06-04 17:17:58 -05:00
parent f109065606
commit 03e59aa60c
No known key found for this signature in database
GPG key ID: 37419210002890EF
2 changed files with 3 additions and 6 deletions

View file

@ -210,10 +210,9 @@ async function setupGlobals() {
if (e instanceof SyntaxError) {
dialog.showMessageBox({
type: "error",
title: _t("Your %(brand)s is misconfigured", { brand: vectorConfig.brand || 'Element' }),
message: _t("Your custom %(brand)s configuration contains invalid JSON. " +
"Please correct the problem and reopen %(brand)s.",
{ brand: vectorConfig.brand || 'Element' }),
title: `Your ${vectorConfig.brand || 'Element'} is misconfigured`,
message: `Your custom ${vectorConfig.brand || 'Element'} configuration contains invalid JSON. ` +
`Please correct the problem and reopen ${vectorConfig.brand || 'Element'}.`,
detail: e.message || "",
});
}

View file

@ -1,6 +1,4 @@
{
"Your %(brand)s is misconfigured": "Your %(brand)s is misconfigured",
"Your custom %(brand)s configuration contains invalid JSON. Please correct the problem and reopen %(brand)s.": "Your custom %(brand)s configuration contains invalid JSON. Please correct the problem and reopen %(brand)s.",
"Cancel": "Cancel",
"Close Element": "Close Element",
"Are you sure you want to quit?": "Are you sure you want to quit?",