Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2021-06-04 00:22:59 -05:00
parent bc0e3bb317
commit f109065606
No known key found for this signature in database
GPG key ID: 37419210002890EF

View file

@ -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 || "",
}); });
} }