This commit is contained in:
@@ -87,9 +87,9 @@ export default {
|
||||
//
|
||||
confirmDelete() {
|
||||
return VM_LOCAL.$root.$gzconfirm({
|
||||
message: window.$gz.locale.get("DeletePrompt"),
|
||||
yesButtonText: window.$gz.locale.get("Delete"),
|
||||
noButtonText: window.$gz.locale.get("Cancel")
|
||||
message: window.$gz.translation.get("DeletePrompt"),
|
||||
yesButtonText: window.$gz.translation.get("Delete"),
|
||||
noButtonText: window.$gz.translation.get("Cancel")
|
||||
});
|
||||
},
|
||||
/////////////////////////////////////
|
||||
@@ -97,9 +97,9 @@ export default {
|
||||
//
|
||||
confirmLeaveUnsaved() {
|
||||
return VM_LOCAL.$root.$gzconfirm({
|
||||
message: window.$gz.locale.get("AreYouSureUnsavedChanges"),
|
||||
yesButtonText: window.$gz.locale.get("Leave"),
|
||||
noButtonText: window.$gz.locale.get("Cancel")
|
||||
message: window.$gz.translation.get("AreYouSureUnsavedChanges"),
|
||||
yesButtonText: window.$gz.translation.get("Leave"),
|
||||
noButtonText: window.$gz.translation.get("Cancel")
|
||||
});
|
||||
},
|
||||
/////////////////////////////////////
|
||||
@@ -107,9 +107,9 @@ export default {
|
||||
//
|
||||
displayLTErrorMessage(ltKeyText, ltKeyTitle = undefined) {
|
||||
return VM_LOCAL.$root.$gzconfirm({
|
||||
message: ltKeyText ? window.$gz.locale.get(ltKeyText) : "",
|
||||
title: ltKeyTitle ? window.$gz.locale.get(ltKeyTitle) : "",
|
||||
yesButtonText: window.$gz.locale.get("OK")
|
||||
message: ltKeyText ? window.$gz.translation.get(ltKeyText) : "",
|
||||
title: ltKeyTitle ? window.$gz.translation.get(ltKeyTitle) : "",
|
||||
yesButtonText: window.$gz.translation.get("OK")
|
||||
});
|
||||
}
|
||||
//TODO: Implement the following as it's own re-usable component instead of here
|
||||
@@ -119,9 +119,9 @@ export default {
|
||||
// async getReportChoice(vm, reports, preselected) {
|
||||
// const result = await vm.$dialog.showAndWait(reportChooser, {
|
||||
// reports: reports,
|
||||
// title: window.$gz.locale.get("Report"),
|
||||
// oktext: window.$gz.locale.get("Print"),
|
||||
// canceltext: window.$gz.locale.get("Cancel"),
|
||||
// title: window.$gz.translation.get("Report"),
|
||||
// oktext: window.$gz.translation.get("Print"),
|
||||
// canceltext: window.$gz.translation.get("Cancel"),
|
||||
// selectedvalue: preselected
|
||||
// });
|
||||
// return result;
|
||||
|
||||
Reference in New Issue
Block a user