mirror of
				https://github.com/cloudreve/cloudreve.git
				synced 2025-11-01 00:57:15 +08:00 
			
		
		
		
	i18n: logs in rest pkgs
This commit is contained in:
		| @ -77,7 +77,7 @@ func (job *DecompressTask) Do() { | ||||
| 	// 创建文件系统 | ||||
| 	fs, err := filesystem.NewFileSystem(job.User) | ||||
| 	if err != nil { | ||||
| 		job.SetErrorMsg("无法创建文件系统", err) | ||||
| 		job.SetErrorMsg("Failed to create filesystem.", err) | ||||
| 		return | ||||
| 	} | ||||
|  | ||||
| @ -85,7 +85,7 @@ func (job *DecompressTask) Do() { | ||||
|  | ||||
| 	err = fs.Decompress(context.Background(), job.TaskProps.Src, job.TaskProps.Dst, job.TaskProps.Encoding) | ||||
| 	if err != nil { | ||||
| 		job.SetErrorMsg("解压缩失败", err) | ||||
| 		job.SetErrorMsg("Failed to decompress file.", err) | ||||
| 		return | ||||
| 	} | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 HFO4
					HFO4