From 1bab2a83d0996d1ee1e5397c592d402187355275 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sun, 12 Feb 2023 00:25:21 +0330 Subject: [PATCH] zh to en --- xray/process.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xray/process.go b/xray/process.go index ffa933ca..cf894de8 100644 --- a/xray/process.go +++ b/xray/process.go @@ -154,12 +154,12 @@ func (p *process) Start() (err error) { data, err := json.MarshalIndent(p.config, "", " ") if err != nil { - return common.NewErrorf("生成 xray 配置文件失败: %v", err) + return common.NewErrorf("Failed to generate xray configuration file: %v", err) } configPath := GetConfigPath() err = os.WriteFile(configPath, data, fs.ModePerm) if err != nil { - return common.NewErrorf("写入配置文件失败: %v", err) + return common.NewErrorf("Failed to write configuration file: %v", err) } cmd := exec.Command(GetBinaryPath(), "-c", configPath)