Copy tweaks (#2780)

* Update en.json

* More copy tweaks and addressed PR comments

* 🔥 Remove empty strings from base text

*  Adjust `$showMessage` signature type

* 🔥 Remove message from Vue components

* ✏️ Fix typo

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
sirdavidoff
2022-02-18 16:26:44 +01:00
committed by GitHub
parent c026642f7b
commit 68c356c17c
16 changed files with 105 additions and 209 deletions

View File

@@ -409,7 +409,6 @@ export default mixins(
this.$showError(
error,
this.$locale.baseText('executionsList.showError.handleDeleteSelected.title'),
this.$locale.baseText('executionsList.showError.handleDeleteSelected.message'),
);
return;
@@ -418,7 +417,6 @@ export default mixins(
this.$showMessage({
title: this.$locale.baseText('executionsList.showMessage.handleDeleteSelected.title'),
message: this.$locale.baseText('executionsList.showMessage.handleDeleteSelected.message'),
type: 'success',
});
@@ -572,7 +570,6 @@ export default mixins(
this.$showError(
error,
this.$locale.baseText('executionsList.showError.loadMore.title'),
this.$locale.baseText('executionsList.showError.loadMore.message') + ':',
);
return;
}
@@ -612,7 +609,6 @@ export default mixins(
this.$showError(
error,
this.$locale.baseText('executionsList.showError.loadWorkflows.title'),
this.$locale.baseText('executionsList.showError.loadWorkflows.message') + ':',
);
}
},
@@ -625,13 +621,11 @@ export default mixins(
if (retrySuccessful === true) {
this.$showMessage({
title: this.$locale.baseText('executionsList.showMessage.retrySuccessfulTrue.title'),
message: this.$locale.baseText('executionsList.showMessage.retrySuccessfulTrue.message'),
type: 'success',
});
} else {
this.$showMessage({
title: this.$locale.baseText('executionsList.showMessage.retrySuccessfulFalse.title'),
message: this.$locale.baseText('executionsList.showMessage.retrySuccessfulFalse.message'),
type: 'error',
});
}
@@ -641,7 +635,6 @@ export default mixins(
this.$showError(
error,
this.$locale.baseText('executionsList.showError.retryExecution.title'),
this.$locale.baseText('executionsList.showError.retryExecution.message'),
);
this.isDataLoading = false;
@@ -658,7 +651,6 @@ export default mixins(
this.$showError(
error,
this.$locale.baseText('executionsList.showError.refreshData.title'),
this.$locale.baseText('executionsList.showError.refreshData.message') + ':',
);
}
@@ -731,7 +723,6 @@ export default mixins(
this.$showError(
error,
this.$locale.baseText('executionsList.showError.stopExecution.title'),
this.$locale.baseText('executionsList.showError.stopExecution.message'),
);
}
},