Settings.js: trivial rewording of abiword and soffice (libreoffice) error messages

This commit is contained in:
muxator 2019-03-09 08:59:39 +01:00 committed by muxator
parent d526c5ccca
commit 8fa52659f5

View file

@ -472,11 +472,11 @@ exports.reloadSettings = function reloadSettings() {
if (exports.abiword != null) {
fs.exists(exports.abiword, function(exists) {
if (!exists) {
var abiwordError = "Abiword does not exist at this path, check your settings file";
var abiwordError = "Abiword does not exist at this path, check your settings file.";
if (!exports.suppressErrorsInPadText) {
exports.defaultPadText = exports.defaultPadText + "\nError: " + abiwordError + suppressDisableMsg;
}
console.error(abiwordError);
console.error(abiwordError + ` File location: ${exports.abiword}`);
exports.abiword = null;
}
});
@ -486,12 +486,12 @@ exports.reloadSettings = function reloadSettings() {
if (exports.soffice) {
fs.exists(exports.soffice, function(exists) {
if (!exists) {
var sofficeError = "SOffice does not exist at this path, check your settings file";
var sofficeError = "soffice (libreoffice) does not exist at this path, check your settings file.";
if (!exports.suppressErrorsInPadText) {
exports.defaultPadText = exports.defaultPadText + "\nError: " + sofficeError + suppressDisableMsg;
}
console.error(sofficeError);
console.error(sofficeError + ` File location: ${exports.soffice}`);
exports.soffice = null;
}
});