Skip to content

Commit 65daa18

Browse files
authored
Merge pull request #84 from jitwxs/dev
optimized dependency errorMsg
2 parents 98b724b + 9109381 commit 65daa18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MusicLyricApp/Bean/MusicLyricsVO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static class ErrorMsg
101101
public const string FUNCTION_NOT_SUPPORT = "该功能暂不可用,请等待后续更新";
102102
public const string SONG_URL_COPY_SUCCESS = "歌曲直链,已复制到剪切板";
103103
public const string SONG_URL_GET_FAILED = "歌曲直链,获取失败";
104-
public const string ROMAJI_DEPENDENCY_LOSS = "罗马音相关依赖缺失,请重新下载";
104+
public const string DEPENDENCY_LOSS = "缺少必须依赖,请前往项目主页下载 {0} 插件";
105105
public const string SAVE_COMPLETE = "保存完毕,成功 {0} 跳过 {1}";
106106

107107
public const string GET_LATEST_VERSION_FAILED = "获取最新版本失败";

MusicLyricApp/SettingForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private void ShowRomajiChangeListener(bool isEnable)
5151
// 检查依赖
5252
if (isEnable && Constants.IpaDicDependency.Any(e => !File.Exists(e)))
5353
{
54-
MessageBox.Show(ErrorMsg.ROMAJI_DEPENDENCY_LOSS, "提示");
54+
MessageBox.Show(string.Format(ErrorMsg.DEPENDENCY_LOSS, "IpaDic"), "提示");
5555
ShowRomaji_CheckBox.Checked = false;
5656

5757
isEnable = false;

0 commit comments

Comments
 (0)