|
1 | 1 | /* eslint-disable no-await-in-loop */ |
2 | | -/* eslint-disable import/no-dynamic-require */ |
3 | 2 | /* eslint-disable no-sequences */ |
4 | 3 | import { execSync, ExecSyncOptions } from 'child_process'; |
5 | 4 | import crypto from 'crypto'; |
@@ -75,6 +74,9 @@ const locales = { |
75 | 74 | 要取消安装,请使用 Ctrl-C 退出。安装程序将在五秒后继续。`, |
76 | 75 | 'migrate.hustojFound': `检测到 HustOJ。安装程序可以将 HustOJ 中的全部数据导入到 Hydro。(原有数据不会丢失,您可随时切换回 HustOJ) |
77 | 76 | 该功能支持原版 HustOJ 和部分修改版,输入 y 确认该操作。 |
| 77 | +迁移过程有任何问题,欢迎加QQ群 1085853538 咨询管理员。`, |
| 78 | + 'migrate.uojFound': `检测到 UOJ。安装程序可以将 UOJ 中的全部数据导入到 Hydro。(原有数据不会丢失,您可随时切换回 UOJ) |
| 79 | +该功能支持原版 UOJ 和部分修改版,输入 y 确认该操作。 |
78 | 80 | 迁移过程有任何问题,欢迎加QQ群 1085853538 咨询管理员。`, |
79 | 81 | 'install.restartRequired': '安装完成,请使用 sudo reboot 重启系统。在此之前系统的部分功能可能无法正常使用。', |
80 | 82 | 'install.warnings': '安装过程中产生了以下警告:', |
@@ -117,6 +119,10 @@ To cancel the installation, please use Ctrl-C to exit. The installation program |
117 | 119 | 'migrate.hustojFound': `HustOJ detected. The installation program can migrate all data from HustOJ to Hydro. |
118 | 120 | The original data will not be lost, and you can switch back to HustOJ at any time. |
119 | 121 | 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. |
120 | 126 | If you have any questions about the migration process, please add QQ group 1085853538 to consult the administrator.`, |
121 | 127 | 'install.restartRequired': 'Please reboot the system. Some functions may not work properly before the restart.', |
122 | 128 | 'install.warnings': 'The following warnings occurred during the installation:', |
|
0 commit comments