Finish half translation work.

This commit is contained in:
zicla
2019-05-04 23:36:05 +08:00
parent 900924d196
commit 5625149766
52 changed files with 613 additions and 950 deletions

View File

@ -5,7 +5,7 @@ import (
)
/**
* 图片缓存,对于那些处理过的图片,统一管理在这里。
* image cache.
*/
type ImageCache struct {
Base
@ -26,7 +26,7 @@ func (this *ImageCache) TableName() string {
return core.TABLE_PREFIX + "image_cache"
}
// 获取该ImageCache的绝对路径。path代表的是相对路径。
// get the absolute path. path in db means relative path.
func (this *ImageCache) AbsolutePath() string {
return GetUserCacheRootDir(this.Username) + this.Path
}