Skip to content

Commit 442a000

Browse files
committed
install: add missing i18n
1 parent 2bad9d3 commit 442a000

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

install/install.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable no-await-in-loop */
2-
/* eslint-disable import/no-dynamic-require */
32
/* eslint-disable no-sequences */
43
import { execSync, ExecSyncOptions } from 'child_process';
54
import crypto from 'crypto';
@@ -75,6 +74,9 @@ const locales = {
7574
要取消安装,请使用 Ctrl-C 退出。安装程序将在五秒后继续。`,
7675
'migrate.hustojFound': `检测到 HustOJ。安装程序可以将 HustOJ 中的全部数据导入到 Hydro。(原有数据不会丢失,您可随时切换回 HustOJ)
7776
该功能支持原版 HustOJ 和部分修改版,输入 y 确认该操作。
77+
迁移过程有任何问题,欢迎加QQ群 1085853538 咨询管理员。`,
78+
'migrate.uojFound': `检测到 UOJ。安装程序可以将 UOJ 中的全部数据导入到 Hydro。(原有数据不会丢失,您可随时切换回 UOJ)
79+
该功能支持原版 UOJ 和部分修改版,输入 y 确认该操作。
7880
迁移过程有任何问题,欢迎加QQ群 1085853538 咨询管理员。`,
7981
'install.restartRequired': '安装完成,请使用 sudo reboot 重启系统。在此之前系统的部分功能可能无法正常使用。',
8082
'install.warnings': '安装过程中产生了以下警告:',
@@ -117,6 +119,10 @@ To cancel the installation, please use Ctrl-C to exit. The installation program
117119
'migrate.hustojFound': `HustOJ detected. The installation program can migrate all data from HustOJ to Hydro.
118120
The original data will not be lost, and you can switch back to HustOJ at any time.
119121
This feature supports the original version of HustOJ and some modified versions. Enter y to confirm this operation.
122+
If you have any questions about the migration process, please add QQ group 1085853538 to consult the administrator.`,
123+
'migrate.uojFound': `UOJ detected. The installation program can migrate all data from UOJ to Hydro.
124+
The original data will not be lost, and you can switch back to UOJ at any time.
125+
This feature supports the original version of UOJ and some modified versions. Enter y to confirm this operation.
120126
If you have any questions about the migration process, please add QQ group 1085853538 to consult the administrator.`,
121127
'install.restartRequired': 'Please reboot the system. Some functions may not work properly before the restart.',
122128
'install.warnings': 'The following warnings occurred during the installation:',

0 commit comments

Comments
 (0)