chore: standardize project comments in English
This commit is contained in:
1 parent
a874a39ea5
commit
ccb16acbea
167 files changed
+820
-820
No files matched your search
@@ -235,7 +235,7 @@ func (s *Server) deleteFont(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
defer root.Close()
|
||||
// 先撤下资源;设置写失败时恢复,避免留下指向已删除字体的设置。
|
||||
// Remove the resource first and restore it if settings fail to save, avoiding references to a deleted font.
|
||||
removed := ".remove-" + id
|
||||
if err := root.Rename(id, removed); err != nil {
|
||||
internalError(w, r, err)
|
||||
|
||||
Reference in new issue
Block a user