mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-19 07:54:59 +01:00
lint
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
bc0e3bb317
commit
f109065606
@ -210,9 +210,10 @@ async function setupGlobals() {
|
|||||||
if (e instanceof SyntaxError) {
|
if (e instanceof SyntaxError) {
|
||||||
dialog.showMessageBox({
|
dialog.showMessageBox({
|
||||||
type: "error",
|
type: "error",
|
||||||
title: _t("Your %(brand)s is misconfigured", { brand: vectorConfig.brand || 'Element'}),
|
title: _t("Your %(brand)s is misconfigured", { brand: vectorConfig.brand || 'Element' }),
|
||||||
message: _t("Your custom %(brand)s configuration contains invalid JSON. " +
|
message: _t("Your custom %(brand)s configuration contains invalid JSON. " +
|
||||||
"Please correct the problem and reopen %(brand)s.", { brand: vectorConfig.brand || 'Element'}),
|
"Please correct the problem and reopen %(brand)s.",
|
||||||
|
{ brand: vectorConfig.brand || 'Element' }),
|
||||||
detail: e.message || "",
|
detail: e.message || "",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user