Added translated text
This commit is contained in:
parent
5183cd5c9a
commit
01b0b8e4e8
|
|
@ -155,6 +155,8 @@ trait ProvideDataGridPlus
|
|||
'recordsFound' => __('admin::app.admin.system.records-found'),
|
||||
'norecords' => __('ui::app.datagrid.no-records'),
|
||||
'massActionDelete' => __('ui::app.datagrid.massaction.delete'),
|
||||
'emptyField' => __('ui::app.datagrid.empty-field'),
|
||||
'emptyValue' => __('ui::app.datagrid.empty-value'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -515,7 +515,7 @@ export default {
|
|||
|
||||
getResponse: function() {
|
||||
if (this.type == null) {
|
||||
alert("Please select the filter");
|
||||
alert(this.translations.emptyField);
|
||||
}
|
||||
|
||||
let label = '';
|
||||
|
|
@ -532,7 +532,7 @@ export default {
|
|||
if (this.types.string.value !== null) {
|
||||
this.emitOnFilterEvent('string', label, true);
|
||||
} else {
|
||||
alert("Please enter the value");
|
||||
alert(this.translations.emptyValue);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
@ -549,7 +549,7 @@ export default {
|
|||
|
||||
alert(this.translations.zeroIndex);
|
||||
} else {
|
||||
alert("Please enter the value");
|
||||
alert(this.translations.emptyValue);
|
||||
}
|
||||
|
||||
if (indexConditions) {
|
||||
|
|
|
|||
|
|
@ -51,5 +51,7 @@ return [
|
|||
'edit' => 'Edit',
|
||||
'delete' => 'Delete',
|
||||
'view' => 'View',
|
||||
'empty-field' => 'Please select the filter',
|
||||
'empty-value' => 'Please enter the value',
|
||||
],
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue