aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-09-27 16:15:12 +0800
committerGitHub <noreply@github.com>2023-09-27 08:15:12 +0000
commit5600504eed2473691b86962be2f9733e6bfce879 (patch)
tree1d1d72734d388114c89ce56d85310af239ba3d11 /docs
parent9e446dbf0451004f8b24e532ed8dbff180782e78 (diff)
downloadgitea-5600504eed2473691b86962be2f9733e6bfce879.tar.gz
gitea-5600504eed2473691b86962be2f9733e6bfce879.zip
Fix chinese translation (#27296)
Fix translation from #27291 Source Map will be kept as English in Chinese usage habit.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/installation/from-source.zh-cn.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/content/installation/from-source.zh-cn.md b/docs/content/installation/from-source.zh-cn.md
index 74f76652db..40a314340c 100644
--- a/docs/content/installation/from-source.zh-cn.md
+++ b/docs/content/installation/from-source.zh-cn.md
@@ -220,10 +220,10 @@ TAGS="bindata sqlite sqlite_unlock_notify" \
make build
```
-## 源映射
+## Source Map
-默认情况下,gitea 会为前端文件生成精简的源映射以节省空间。 这可以通过“ENABLE_SOURCEMAP”环境变量进行控制:
+默认情况下,gitea 会为前端文件生成精简的 Source Map 以节省空间。 这可以通过“ENABLE_SOURCEMAP”环境变量进行控制:
-- `ENABLE_SOURCEMAP=true` 生成所有源映射,这是开发版本的默认设置
-- `ENABLE_SOURCEMAP=reduced` 生成有限的源映射,这是生产版本的默认设置
-- `ENABLE_SOURCEMAP=false` 不生成源映射
+- `ENABLE_SOURCEMAP=true` 生成所有Source Map,这是开发版本的默认设置
+- `ENABLE_SOURCEMAP=reduced` 生成有限的Source Map,这是生产版本的默认设置
+- `ENABLE_SOURCEMAP=false` 不生成Source Map