Use more intimate terms

This commit is contained in:
Aoran Zeng
2025-07-12 12:10:45 +08:00
parent 09010c2ba1
commit 109ac591c4
24 changed files with 38 additions and 89 deletions

View File

@@ -25,7 +25,7 @@ pl_clojure_setsrc (char *option)
{
chsrc_yield_source_and_confirm (pl_clojure);
chsrc_note2 ("抱歉Clojure换源较复杂可手动查阅并换源:");
chsrc_note2 ("抱歉Clojure换源较复杂可手动查阅并换源:");
p(source.url);
chsrc_determine_chgtype (ChgType_Manual);

View File

@@ -82,7 +82,7 @@ pl_java_setsrc (char *option)
"</mirror>");
char *maven_config = pl_java_find_maven_config ();
chsrc_note2 (xy_strjoin (3, "请在您的 maven 配置文件 ", maven_config, " 中添加:"));
chsrc_note2 (xy_strjoin (3, "请在 maven 配置文件 ", maven_config, " 中添加:"));
println (file);
}
@@ -98,7 +98,7 @@ pl_java_setsrc (char *option)
" }\n"
"}");
chsrc_note2 ("请在您的 build.gradle 中添加:");
chsrc_note2 ("请在 build.gradle 中添加:");
p(file);
}

View File

@@ -35,11 +35,11 @@ pl_nodejs_bun_setsrc (char *option)
if (chsrc_in_local_mode())
{
chsrc_note2 ("手动写入以下内容到本项目根目录的 bunfig.toml 文件中");
chsrc_note2 ("请手动写入以下内容到本项目根目录的 bunfig.toml 文件中");
}
else
{
chsrc_note2 (xy_strjoin (3, "手动写入以下内容到 ", xy_normalize_path ("~/.bunfig.toml"), " 文件中"));
chsrc_note2 (xy_strjoin (3, "请手动写入以下内容到 ", xy_normalize_path ("~/.bunfig.toml"), " 文件中"));
}
p(file);

View File

@@ -67,7 +67,7 @@ pl_nodejs_group_setsrc (char *option)
char *msg = ENGLISH ? "Three package managers will be replaced for you at the same time: "
"npm, pnpm, yarn. If you need to change the source independently, "
"please run independently `chsrc set <pkg-manager>`"
: "将同时为您更换3个包管理器 npm, pnpm, Yarn 的源,若需要独立换源,请独立运行 chsrc set <pkg-manager>";
: "将同时更换3个包管理器 npm, pnpm, Yarn 的源,若需要独立换源,请独立运行 chsrc set <pkg-manager>";
chsrc_note2 (msg);
}

View File

@@ -32,7 +32,7 @@ def_sources_n(pl_nuget);
void
pl_nuget_getsrc (char *option)
{
chsrc_error ("暂时无法查看NuGet源若有需求提交issue");
chsrc_error ("暂时无法查看NuGet源若有需求请提交issue");
}
/**
@@ -41,7 +41,7 @@ pl_nuget_getsrc (char *option)
void
pl_nuget_setsrc (char *option)
{
chsrc_error ("暂时无法为NuGet换源若有需求提交issue");
chsrc_error ("暂时无法为NuGet换源若有需求请提交issue");
}

View File

@@ -60,7 +60,7 @@ pl_perl_setsrc (char *option)
"perl -MCPAN -e \"CPAN::HandleConfig->load(); CPAN::HandleConfig->edit('urllist', 'unshift', '", source.url, "'); CPAN::HandleConfig->commit()\"");
chsrc_run (cmd, RunOpt_Default);
chsrc_note2 ("使用 perl -v 以及 cpan -v若 Perl >= v5.36 或 CPAN >= 2.29,请额外手动调用下面的命令");
chsrc_note2 ("请使用 perl -v 以及 cpan -v若 Perl >= v5.36 或 CPAN >= 2.29,请额外手动调用下面的命令");
p("perl -MCPAN -e \"CPAN::HandleConfig->load(); CPAN::HandleConfig->edit('pushy_https', 0);; CPAN::HandleConfig->commit()\"");
chsrc_determine_chgtype (ChgType_SemiAuto);

View File

@@ -47,7 +47,7 @@ pl_python_setsrc (char *option)
char *msg = ENGLISH ? "Three package managers will be replaced for you at the same time: "
"pip, Poetry, PDM. If you need to change the source independently, "
"please run independently `chsrc set <pkg-manager>`"
: "将同时为您更换4个包管理器 pip, Poetry, PDM, uv 的源,若需要独立换源,请独立运行 chsrc set <pkg-manager>";
: "将同时更换4个包管理器 pip, Poetry, PDM, uv 的源,若需要独立换源,请独立运行 chsrc set <pkg-manager>";
chsrc_note2 (msg);
}

View File

@@ -47,7 +47,7 @@ pl_python_rye_setsrc (char *option)
"url = \"", source.url, "\"");
char *rye_config = pl_python_find_rye_config ();
chsrc_note2 (xy_strjoin (3, "请在您的 Rye 配置文件 ", rye_config, " 中添加:"));
chsrc_note2 (xy_strjoin (3, "请在配置文件 ", rye_config, " 中添加:"));
println (file);
chsrc_determine_chgtype (ChgType_Manual);

View File

@@ -91,7 +91,7 @@ pl_rust_cargo_setsrc (char *option)
"[source.mirror]\n"
"registry = \"sparse+", source.url, "\"");
chsrc_note2 (xy_strjoin (3, "手动写入以下内容到 ", xy_normalize_path ("~/.cargo/config.toml"), " 文件中:"));
chsrc_note2 (xy_strjoin (3, "请手动写入以下内容到 ", xy_normalize_path ("~/.cargo/config.toml"), " 文件中:"));
p(file);
chsrc_determine_chgtype (ChgType_Auto);

View File

@@ -96,7 +96,7 @@ pl_rust_rustup_setsrc (char *option)
chsrc_determine_chgtype (ChgType_Auto);
chsrc_conclude (&source);
chsrc_note2 ("重启终端使rustup环境变量生效");
chsrc_note2 ("请重启终端使rustup环境变量生效");
}