mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
fix: 翻译错误
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user