mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 00:11:24 +01:00
Fix chinese translation (#27296)
Fix translation from #27291 Source Map will be kept as English in Chinese usage habit.
This commit is contained in:
parent
9e446dbf04
commit
5600504eed
1 changed files with 5 additions and 5 deletions
|
@ -220,10 +220,10 @@ TAGS="bindata sqlite sqlite_unlock_notify" \
|
||||||
make build
|
make build
|
||||||
```
|
```
|
||||||
|
|
||||||
## 源映射
|
## Source Map
|
||||||
|
|
||||||
默认情况下,gitea 会为前端文件生成精简的源映射以节省空间。 这可以通过“ENABLE_SOURCEMAP”环境变量进行控制:
|
默认情况下,gitea 会为前端文件生成精简的 Source Map 以节省空间。 这可以通过“ENABLE_SOURCEMAP”环境变量进行控制:
|
||||||
|
|
||||||
- `ENABLE_SOURCEMAP=true` 生成所有源映射,这是开发版本的默认设置
|
- `ENABLE_SOURCEMAP=true` 生成所有Source Map,这是开发版本的默认设置
|
||||||
- `ENABLE_SOURCEMAP=reduced` 生成有限的源映射,这是生产版本的默认设置
|
- `ENABLE_SOURCEMAP=reduced` 生成有限的Source Map,这是生产版本的默认设置
|
||||||
- `ENABLE_SOURCEMAP=false` 不生成源映射
|
- `ENABLE_SOURCEMAP=false` 不生成Source Map
|
||||||
|
|
Loading…
Reference in a new issue