Skip to content

Commit

Permalink
Fix chinese translation (#27296)
Browse files Browse the repository at this point in the history
Fix translation from #27291 
Source Map will be kept as English in Chinese usage habit.
  • Loading branch information
lunny authored Sep 27, 2023
1 parent 9e446db commit 5600504
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/content/installation/from-source.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5600504

Please sign in to comment.