|
...
|
...
|
@@ -273,6 +273,9 @@ class TranslateLogic extends BaseLogic |
|
|
|
$sendData = $this->handleRoute($this->param['url']);
|
|
|
|
DB::beginTransaction();
|
|
|
|
try {
|
|
|
|
if($this->param['url'] == 'All' || $this->param['url'] == 'other_all_text'){
|
|
|
|
$this->param['language_id'] = 0;
|
|
|
|
}
|
|
|
|
$info = $this->model->read(['language_id'=>$this->param['language_id'],'url'=>$this->param['url'],'project_id'=>$this->user['project_id'],'type'=>$this->param['type']]);
|
|
|
|
if($info === false){
|
|
|
|
$sourceInfo = $this->getRouteSource($sendData['new_route']);
|
...
|
...
|
|