2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

fix: 翻译错误

This commit is contained in:
2025-04-12 19:58:19 +08:00
parent 225795db74
commit 998bc02f8c

View File

@@ -219,7 +219,7 @@ func (s *FileService) Move(w http.ResponseWriter, r *http.Request) {
}
if io.IsDir(item.Source) && strings.HasPrefix(item.Target, item.Source) {
Error(w, http.StatusForbidden, s.t.Get("you can't do this, it will be broken"))
Error(w, http.StatusForbidden, s.t.Get("please don't do this"))
return
}
@@ -248,7 +248,7 @@ func (s *FileService) Copy(w http.ResponseWriter, r *http.Request) {
}
if io.IsDir(item.Source) && strings.HasPrefix(item.Target, item.Source) {
Error(w, http.StatusForbidden, s.t.Get("you can't do this, it will be broken"))
Error(w, http.StatusForbidden, s.t.Get("please don't do this"))
return
}