From 53b5ce424f23d757422bdfb04c6f5e0791329e07 Mon Sep 17 00:00:00 2001 From: Lu Chang Date: Mon, 29 Jul 2019 21:53:40 +0800 Subject: [PATCH] 2.1.1 Released. -#3 --- LrcHelper/LrcDownloader.cs | 12 ++++++------ LrcHelper/NeteaseMusic.cs | 2 +- LrcHelper/Properties/AssemblyInfo.cs | 2 +- README.md | 2 ++ 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/LrcHelper/LrcDownloader.cs b/LrcHelper/LrcDownloader.cs index 33f935d..d61441b 100644 --- a/LrcHelper/LrcDownloader.cs +++ b/LrcHelper/LrcDownloader.cs @@ -24,7 +24,7 @@ private void GETbutton_Click(object sender, EventArgs e) { string filenamePattern = FilenamePatterncomboBox.Text; GETbutton.Enabled = false; - StatusInfolabel.Text = "StatusInfo"; + StatusInfolabel.Text = "状态信息"; StatusPDFinishedCountlabel.Text = "0"; StatusPDTotalCountlabel.Text = "0"; Stopwatch sw = new Stopwatch(); @@ -56,9 +56,9 @@ private void GETbutton_Click(object sender, EventArgs e) } sw.Stop(); if (Log == "") - StatusInfolabel.Text = "Done Status:" + status + "\r\nUsed Time:" + Math.Round(sw.Elapsed.TotalSeconds, 3) + "sec"; + StatusInfolabel.Text = "已完成 状态:" + status + "\r\n耗时:" + Math.Round(sw.Elapsed.TotalSeconds, 3) + "sec"; else - StatusInfolabel.Text = Log + " Status:" + status + "\r\nUsed Time:" + Math.Round(sw.Elapsed.TotalSeconds, 3) + "sec"; + StatusInfolabel.Text = Log + " 状态:" + status + "\r\n耗时:" + Math.Round(sw.Elapsed.TotalSeconds, 3) + "sec"; GETbutton.Enabled = true; IDtextBox.Clear(); } @@ -134,7 +134,7 @@ private void GETbutton_Click(object sender, EventArgs e) logWriter.WriteFIle(); this.Invoke((Action)delegate { - StatusInfolabel.Text = (cancelToken.IsCancellationRequested == true ? "Canceled" : "Finished") + "\r\nRead Log.txt to learn more."; + StatusInfolabel.Text = (cancelToken.IsCancellationRequested == true ? "已取消" : "已完成") + "\r\n查看 Log.txt 以获得详细信息。"; }); cancelToken.Dispose(); pl = null; @@ -290,10 +290,10 @@ private void Savelabel_Click(object sender, EventArgs e) } catch (Exception) { - MessageBox.Show("Failed to save file."); + MessageBox.Show("保存配置文件失败。"); return; } - MessageBox.Show("These AdvancedSettings will be used in following loading."); + MessageBox.Show("这些高级设置将在下次启动后自动启用。"); } private void LrcDownloader_Load(object sender, EventArgs e) diff --git a/LrcHelper/NeteaseMusic.cs b/LrcHelper/NeteaseMusic.cs index 5921e53..6eaf870 100644 --- a/LrcHelper/NeteaseMusic.cs +++ b/LrcHelper/NeteaseMusic.cs @@ -211,7 +211,7 @@ private void fetchInfo() if (mc.Count > 0) { for (int i = 0; i < (mc.Count - 1); i++) - _artist += mc[i].Value + "/"; + _artist += mc[i].Value + ","; _artist += mc[mc.Count - 1].Value; //mc.Count = 0时可能产生越界 } diff --git a/LrcHelper/Properties/AssemblyInfo.cs b/LrcHelper/Properties/AssemblyInfo.cs index f97ccf8..4a5dadc 100644 --- a/LrcHelper/Properties/AssemblyInfo.cs +++ b/LrcHelper/Properties/AssemblyInfo.cs @@ -34,6 +34,6 @@ // 方法是按如下所示使用“*”: : // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("2.1.0.0")] +[assembly: AssemblyFileVersion("2.1.1.0")] [assembly: NeutralResourcesLanguage("en-001")] diff --git a/README.md b/README.md index 7ff9571..f14a29f 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ ## 更新信息(最近在上) +* 2019.07.29 [#3](https://github.com/ludoux/LrcHelper/issues/3) 试图“修复”一个远古 bug:现在最新的桌面版用英文半角`,`来在文件名区分不同歌手,但好像 UWP 版本只默认取第一个,这里软件遵循桌面版的逻辑。把提示一些文本改中文了。(v2.1.1 #Release) +* 2019.07.29 更改了歌单 API 接口以支持1k+歌曲的歌单。微调了界面。(v2.1.0 #Release) * 2019.06.17 修正获取歌曲信息时的错误。界面中文化。切换更新渠道。(v2.0.13 #Release) * 2018.05.13 修正获取歌曲信息时的错误。 修正长ID产生的错误。 修正原文翻译之间的延迟设置为负数时,不能正确从配置读入的问题。 (v1.0.12 #Release) * 2017.11.11 支持人工介入修正上游源文本错误(ReviseRaw)。修改了邮箱地址和部分措辞。(v1.0.11 #Release)