Use new ProgMode

This commit is contained in:
Aoran Zeng
2025-07-11 11:24:29 +08:00
parent 5f8da597ff
commit 4b5aff7862
18 changed files with 158 additions and 156 deletions

View File

@@ -52,7 +52,7 @@ os_ubuntu_getsrc (char *option)
return;
}
char *msg = CliOpt_InEnglish ? "Source list file missing! However, you can still run `chsrc set ubuntu` to add and use new sources"
char *msg = ENGLISH ? "Source list file missing! However, you can still run `chsrc set ubuntu` to add and use new sources"
: "缺少源配置文件!但仍可直接通过 chsrc set ubuntu 来添加使用新的源";
chsrc_error2 (msg);
return;
@@ -97,7 +97,7 @@ os_ubuntu_setsrc (char *option)
if (chsrc_check_file (OS_Ubuntu_SourceList_DEB822))
{
char *msg = CliOpt_InEnglish ? "Will change source based on new format"
char *msg = ENGLISH ? "Will change source based on new format"
: "将基于新格式(DEB822)换源";
chsrc_note2 (msg);
os_ubuntu_setsrc_for_deb822 (option);