Skip to content

Commit

Permalink
Merge pull request #84 from jitwxs/dev
Browse files Browse the repository at this point in the history
optimized dependency errorMsg
  • Loading branch information
jitwxs authored May 2, 2022
2 parents 98b724b + 9109381 commit 65daa18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MusicLyricApp/Bean/MusicLyricsVO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static class ErrorMsg
public const string FUNCTION_NOT_SUPPORT = "该功能暂不可用,请等待后续更新";
public const string SONG_URL_COPY_SUCCESS = "歌曲直链,已复制到剪切板";
public const string SONG_URL_GET_FAILED = "歌曲直链,获取失败";
public const string ROMAJI_DEPENDENCY_LOSS = "罗马音相关依赖缺失,请重新下载";
public const string DEPENDENCY_LOSS = "缺少必须依赖,请前往项目主页下载 {0} 插件";
public const string SAVE_COMPLETE = "保存完毕,成功 {0} 跳过 {1}";

public const string GET_LATEST_VERSION_FAILED = "获取最新版本失败";
Expand Down
2 changes: 1 addition & 1 deletion MusicLyricApp/SettingForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private void ShowRomajiChangeListener(bool isEnable)
// 检查依赖
if (isEnable && Constants.IpaDicDependency.Any(e => !File.Exists(e)))
{
MessageBox.Show(ErrorMsg.ROMAJI_DEPENDENCY_LOSS, "提示");
MessageBox.Show(string.Format(ErrorMsg.DEPENDENCY_LOSS, "IpaDic"), "提示");
ShowRomaji_CheckBox.Checked = false;

isEnable = false;
Expand Down

0 comments on commit 65daa18

Please sign in to comment.