Skip to content

Commit

Permalink
修正部分文本
Browse files Browse the repository at this point in the history
  • Loading branch information
BluePointLilac committed May 14, 2021
1 parent fcba389 commit 8a0877e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ContextMenuManager/AppString.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public static class Message
public static string WinXSorted => GetValue("WinXSorted");
public static string RestoreDefault => GetValue("RestoreDefault");
public static string DeleteGroup => GetValue("DeleteGroup");
public static string FailedToReadNetworkFile => GetValue("FailedToReadNetworkFile");
public static string NetworkDtaReadFailed => GetValue("NetworkDtaReadFailed");
}

/// <summary>其他文本</summary>
Expand Down
2 changes: 1 addition & 1 deletion ContextMenuManager/ContextMenuManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ AuthorityProtection = 此菜单注册表项目可能受安全软件保护,\r\n
WinXSorted = 为优化排序功能已对部分项目重新编号,\r\n需要重启文件资源管理器应用效果
RestoreDefault = 确认还原为默认菜单项目?
DeleteGroup = 确认永久删除此组及组内所有菜单项目?
FailedToReadNetworkFile = 网络文件读取失败!
NetworkDtaReadFailed = 网络数据读取失败!

[Tip]
RestartExplorer = 重启Explorer会使桌面闪烁片刻, 正常现象无需担心,\r\n或者你也可以稍后重启或注销计算机使你的操作生效
Expand Down
8 changes: 4 additions & 4 deletions ContextMenuManager/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private static void UpdateApp(bool isManual)
{
if(isManual)
{
MessageBoxEx.Show(AppString.Message.FailedToReadNetworkFile);
MessageBoxEx.Show(AppString.Message.NetworkDtaReadFailed);
url = AppConfig.RequestUseGithub ? GithubLatest : GiteeReleases;
ExternalProgram.OpenUrl(url);
}
Expand Down Expand Up @@ -123,7 +123,7 @@ private static void UpdateText(bool isManual)
contents = contents.Replace("\n", Environment.NewLine);
File.WriteAllText(filePath, contents, Encoding.Unicode);
}
if(!flag) MessageBoxEx.Show(AppString.Message.FailedToReadNetworkFile);
if(!flag) MessageBoxEx.Show(AppString.Message.NetworkDtaReadFailed);
}

/// <summary>显示语言下载对话框</summary>
Expand All @@ -134,7 +134,7 @@ public static bool ShowLanguageDialog()
XmlDocument doc = GetWebJsonToXml(url);
if(doc == null)
{
MessageBoxEx.Show(AppString.Message.FailedToReadNetworkFile);
MessageBoxEx.Show(AppString.Message.NetworkDtaReadFailed);
return false;
}
Dictionary<string, string> langs = new Dictionary<string, string>();
Expand Down Expand Up @@ -172,7 +172,7 @@ public static void ShowDonateDialog()
//contents = File.ReadAllText(@"..\..\..\Donate.md");//用于求和更新Donate.md文件
if(contents == null)
{
MessageBoxEx.Show(AppString.Message.FailedToReadNetworkFile);
MessageBoxEx.Show(AppString.Message.NetworkDtaReadFailed);
url = AppConfig.RequestUseGithub ? GithubDonate : GiteeDonate;
ExternalProgram.OpenUrl(url);
}
Expand Down
2 changes: 1 addition & 1 deletion languages/zh-CN.ini
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ AuthorityProtection = 此菜单注册表项目可能受安全软件保护,\r\n
WinXSorted = 为优化排序功能已对部分项目重新编号,\r\n需要重启文件资源管理器应用效果
RestoreDefault = 确认还原为默认菜单项目?
DeleteGroup = 确认永久删除此组及组内所有菜单项目?
FailedToReadNetworkFile = 网络文件读取失败!
NetworkDtaReadFailed = 网络数据读取失败!

[Tip]
RestartExplorer = 重启Explorer会使桌面闪烁片刻, 正常现象无需担心,\r\n或者你也可以稍后重启或注销计算机使你的操作生效
Expand Down

0 comments on commit 8a0877e

Please sign in to comment.