优化每日推送和积分转化多语言样式
This commit is contained in:
@@ -144,9 +144,17 @@ class PlayxConfig extends Backend
|
||||
} catch (\Throwable $e) {
|
||||
Db::rollback();
|
||||
|
||||
return $this->error($e->getMessage());
|
||||
return $this->error(__($e->getMessage()));
|
||||
}
|
||||
|
||||
return $this->success(__('Operation completed'), $stats);
|
||||
return $this->success(
|
||||
sprintf(
|
||||
__('Lifetime points calculation completed'),
|
||||
$stats['processed'],
|
||||
$stats['updated'],
|
||||
$stats['skipped']
|
||||
),
|
||||
$stats
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user