ps-toolkit-ui 0.0.160 → 0.0.164

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -224,7 +224,7 @@
224
224
  Save: 'ذخیره',
225
225
  Cancel: 'انصراف',
226
226
  UserDeActive: 'نام کاربری غیر فعال شده است',
227
- DeleteMessage: 'آیا از حذف این مورد مطمئن هستید ؟',
227
+ DeleteConfirm: 'آیا از حذف این مورد مطمئن هستید ؟',
228
228
  ChooseFiles: 'انتخاب فایل ها',
229
229
  CodeNotExpired: 'کد تایید ارسال شده منقضی نشده است',
230
230
  ChooseFile: 'انتخاب فایل',
@@ -1217,6 +1217,7 @@
1217
1217
  else {
1218
1218
  // tslint:disable-next-line:forin
1219
1219
  for (var msg in res.message) {
1220
+ console.log(form.l(msg, res.message[msg]));
1220
1221
  // noinspection JSUnfilteredForInLoop
1221
1222
  m = form.l(msg, res.message[msg]);
1222
1223
  }
@@ -3047,7 +3048,7 @@
3047
3048
  var data = {
3048
3049
  ids: _this.table.rows.filter(function (x) { return x.selected; }).map(function (x) { return x.id; })
3049
3050
  };
3050
- _this.confirm.show(_this.table.l('DeleteMessage'), _this.table.url + '/Delete/' + 0, data, function () {
3051
+ _this.confirm.show(_this.table.l('DeleteConfirm'), _this.table.url + '/Delete/' + 0, data, function () {
3051
3052
  _this.table.load(null);
3052
3053
  });
3053
3054
  };
@@ -3110,7 +3111,7 @@
3110
3111
  return this.changeRows.emit(e);
3111
3112
  };
3112
3113
  TableComponent.prototype.onConfirmShow = function (e) {
3113
- this.confirm.show(this.table.l('DeleteMessage'), this.table.url + 'Delete/' + e.id, null, e.accept);
3114
+ this.confirm.show(this.table.l('DeleteConfirm'), this.table.url + 'Delete/' + e.id, null, e.accept);
3114
3115
  };
3115
3116
  TableComponent.prototype.changeSort = function (e, s) {
3116
3117
  if ($__namespace(e.target).closest('.header-search').hasClass('header-search')) {