sync
This commit is contained in:
@@ -85,23 +85,23 @@ export default class InspectionWizard extends OptionBase {
|
||||
templateSelector.create()
|
||||
];
|
||||
const popup = new Popup({
|
||||
title: this.r('ADDINSPECTION', 'Add Inspection'),
|
||||
title: this.r('FLTL_00121', 'Add Inspection'),
|
||||
content: createElement('div', null, ...this._var.containers),
|
||||
persistent: true,
|
||||
buttons: [
|
||||
{
|
||||
text: this.r('BACK', 'Back'),
|
||||
text: this.r('FLTL_00447', 'Back'),
|
||||
trigger: () => {
|
||||
this._changePage(0);
|
||||
return false;
|
||||
}
|
||||
},
|
||||
{
|
||||
text: this.r('NEXT', 'Next'),
|
||||
text: this.r('FLTL_01973', 'Next'),
|
||||
trigger: () => {
|
||||
const asset = assetSelector.currentAsset;
|
||||
if (asset == null) {
|
||||
showAlert(assetSelector.title, this.r('P_SELECTASSETS_SELECTASSET', 'Please select an Asset.'));
|
||||
showAlert(assetSelector.title, this.r('FLTL_02269', 'Please select an Asset.'));
|
||||
return false;
|
||||
}
|
||||
this._var.asset = asset;
|
||||
@@ -112,18 +112,18 @@ export default class InspectionWizard extends OptionBase {
|
||||
}
|
||||
},
|
||||
{
|
||||
text: this.r('P_GRID_OK', 'OK'),
|
||||
text: this.r('FLTL_02057', 'OK'),
|
||||
trigger: () => {
|
||||
const template = templateSelector.currentTemplate;
|
||||
if (template == null) {
|
||||
showAlert(templateSelector.title, this.r('P_WO_PLEASESELECTATEMPLATE', 'Please select a template.'));
|
||||
showAlert(templateSelector.title, this.r('FLTL_02261', 'Please select a template.'));
|
||||
return false;
|
||||
}
|
||||
this._var.template = template;
|
||||
this._select();
|
||||
}
|
||||
},
|
||||
{ text: this.r('P_WO_CANCEL', 'Cancel') }
|
||||
{ text: this.r('FLTL_00499', 'Cancel') }
|
||||
]
|
||||
});
|
||||
this._var.popup = popup;
|
||||
|
Reference in New Issue
Block a user