This commit is contained in:
2020-03-06 20:26:42 +00:00
parent 1eaf564851
commit 1d874d8d1f
20 changed files with 70 additions and 72 deletions

View File

@@ -33,16 +33,16 @@ export default {
) {
this.msg = '404 - NOT FOUND: "' + badPath + '"';
} else {
var notFoundLocalized = window.$gz.translation.get("ErrorAPI2010");
var notFoundTranslated = window.$gz.translation.get("ErrorAPI2010");
//format the message
this.msg = "404 - " + notFoundLocalized + ': "' + badPath + '"';
this.msg = "404 - " + notFoundTranslated + ': "' + badPath + '"';
//log it in case we need to see it in tech support
window.$gz.store.commit("logItem", this.msg);
//set the title of the window
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "fa-dragon",
title: "404 - " + notFoundLocalized
title: "404 - " + notFoundTranslated
});
}
}