Skip to content

Commit 557fef5

Browse files
authored
Update zh-CN translation, fix locales/README.md (#3409)
* Update zh-CN translation * Fix locales/README.md
1 parent 0de90bd commit 557fef5

3 files changed

Lines changed: 22 additions & 24 deletions

File tree

archinstall/locales/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ translation is provided for a language then this is the text that is going to be
3434

3535
## Perform translations
3636

37+
Firstly run the script `./locales_generator.sh <lang_abbr>` to update `base.po` to the latest.
38+
3739
To perform translations for a language, the file `base.po` can be edited manually, or the neat `poedit` can be used (https://poedit.net/).
3840
If editing the file manually, write the translation in the `msgstr` part
3941

@@ -43,5 +45,6 @@ msgid "Do you really want to abort?"
4345
msgstr "Wollen sie wirklich abbrechen?"
4446
```
4547

46-
After the translations have been written, run the script once more `./locales_generator.sh` and it will auto-generate the `base.mo` file with the included translations.
48+
After the translations have been written, run the script once more `./locales_generator.sh <lang_abbr>` and it will auto-generate the `base.mo` file with the included translations.
49+
4750
After that you're all ready to go and enjoy Archinstall in the new language :)
467 Bytes
Binary file not shown.

archinstall/locales/zh-CN/LC_MESSAGES/base.po

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ msgid "Keyboard layout"
244244
msgstr "键盘布局"
245245

246246
msgid "Mirror region"
247-
msgstr "镜像地区"
247+
msgstr "镜像源地区"
248248

249249
msgid "Locale language"
250250
msgstr "语言环境"
@@ -1071,13 +1071,13 @@ msgid "Select directory (or directories) for saving configuration files"
10711071
msgstr "选择一个或多个目录保存配置文件"
10721072

10731073
msgid "Add a custom mirror"
1074-
msgstr "添加自定义镜像站"
1074+
msgstr "添加自定义镜像源"
10751075

10761076
msgid "Change custom mirror"
1077-
msgstr "更改自定义镜像站"
1077+
msgstr "更改自定义镜像源"
10781078

10791079
msgid "Delete custom mirror"
1080-
msgstr "删除自定义镜像站"
1080+
msgstr "删除自定义镜像源"
10811081

10821082
msgid "Enter name (leave blank to skip): "
10831083
msgstr "输入用户名(留空跳过):"
@@ -1092,7 +1092,7 @@ msgid "Select signature option"
10921092
msgstr "选择签名选项"
10931093

10941094
msgid "Custom mirrors"
1095-
msgstr "自定义镜像站"
1095+
msgstr "自定义镜像源"
10961096

10971097
msgid "Defined"
10981098
msgstr "已定义"
@@ -1120,10 +1120,10 @@ msgid "Saving {} configuration files to {}"
11201120
msgstr "正在将 {} 配置文件保存到 {}"
11211121

11221122
msgid "Mirrors"
1123-
msgstr "镜像"
1123+
msgstr "镜像源"
11241124

11251125
msgid "Mirror regions"
1126-
msgstr "镜像地区"
1126+
msgstr "镜像源地区"
11271127

11281128
msgid " - Maximum value : {} ( Allows {} parallel downloads, allows {max_downloads+1} downloads at a time )"
11291129
msgstr " - 最大值:{}(允许 {} 个并行下载,每次允许 {max_downloads+1} 个下载)"
@@ -1451,7 +1451,7 @@ msgid "Please submit this issue (and file) to https://github.com/archlinux/archi
14511451
msgstr "请将此问题(和文件)提交到 https://github.com/archlinux/archinstall/issues"
14521452

14531453
msgid "Mirror name"
1454-
msgstr "镜像名称"
1454+
msgstr "镜像源名称"
14551455

14561456
msgid "Url"
14571457
msgstr "URL"
@@ -1550,13 +1550,13 @@ msgid "Add custom repository"
15501550
msgstr "添加自定义仓库"
15511551

15521552
msgid "Loading mirror regions..."
1553-
msgstr "加载镜像站地区"
1553+
msgstr "加载镜像源地区"
15541554

15551555
msgid "Mirrors and repositories"
1556-
msgstr "镜像站与仓库"
1556+
msgstr "镜像源与仓库"
15571557

15581558
msgid "Selected mirror regions"
1559-
msgstr "已选的镜像站地区"
1559+
msgstr "已选的镜像源地区"
15601560

15611561
msgid "Custom servers"
15621562
msgstr "自定义服务器"
@@ -1610,7 +1610,7 @@ msgid "Reset"
16101610
msgstr "重置"
16111611

16121612
msgid "Skip selection menu"
1613-
msgstr "选择执行模式"
1613+
msgstr "跳过选区菜单"
16141614

16151615
msgid "Start search mode"
16161616
msgstr "开始搜索模式"
@@ -1636,25 +1636,20 @@ msgstr "标记/取消标记为 ESP"
16361636
msgid "Package group:"
16371637
msgstr "软件包组:"
16381638

1639-
#, fuzzy
16401639
msgid "Exit archinstall"
1641-
msgstr "Archinstall 帮助"
1640+
msgstr "退出 archinstall"
16421641

1643-
#, fuzzy
16441642
msgid "Reboot system"
1645-
msgstr "文件系统"
1643+
msgstr "重启系统"
16461644

1647-
#, fuzzy
16481645
msgid "chroot into installation for post-installation configurations"
1649-
msgstr "您是否想要 chroot 到新创建的系统内以进行安装后的配置?"
1646+
msgstr "为了安装后的配置,chroot 进安装好的系统内"
16501647

16511648
msgid "Installation completed"
1652-
msgstr ""
1649+
msgstr "安装已完成"
16531650

1654-
#, fuzzy
16551651
msgid "What would you like to do next?"
1656-
msgstr "您想继续吗?"
1652+
msgstr "您接下来想做什么?"
16571653

1658-
#, fuzzy
16591654
msgid "Select which mode to configure for \"{}\""
1660-
msgstr "选择要为“{}”配置的模式或跳过以使用默认模式“{}”"
1655+
msgstr "选择要为“{}”配置的模式"

0 commit comments

Comments
 (0)