From aeda0ba9fc94b02efa9a96b041b86455b5a96d50 Mon Sep 17 00:00:00 2001
From: 3gf8jv4dv <3gf8jv4dv@gmail.com>
Date: Tue, 14 Jan 2025 05:34:38 +0800
Subject: [PATCH] i18n cleanup 3
---
README.md | 30 +++++++++----------
src/lang/zh-cn.json | 2 +-
.../components/MusicComment/index.vue | 2 +-
.../views/Setting/components/SettingAbout.vue | 10 +++----
4 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/README.md b/README.md
index f6ed1dd784..84a6d323dc 100644
--- a/README.md
+++ b/README.md
@@ -47,29 +47,31 @@
*移动版项目地址:https://github.com/lyswhut/lx-music-mobile*
-软件变化请查看 [更新日志](https://github.com/lyswhut/lx-music-desktop/blob/master/CHANGELOG.md)。
+软件变化请查看[更新日志](https://github.com/lyswhut/lx-music-desktop/blob/master/CHANGELOG.md)。
软件下载请查看 [GitHub Releases](https://github.com/lyswhut/lx-music-desktop/releases)。
+使用常见问题请参阅[桌面版常见问题](https://lyswhut.github.io/lx-music-doc/desktop/faq)。
+
目前本项目的原始发布地址只有 [**GitHub Releases**](https://github.com/lyswhut/lx-music-desktop/releases),其他渠道均为第三方转载发布,与本项目无关!
-为了提高使用门槛,本软件内的默认设置、UI 操作不以新手友好为目标,所以使用前建议先根据你的喜好浏览调整一遍软件设置,阅读一遍 [音乐播放列表机制](https://lyswhut.github.io/lx-music-doc/desktop/faq/playlist) 及 [可用的鼠标、键盘快捷操作](https://lyswhut.github.io/lx-music-doc/desktop/faq/hotkey)。
+为了提高使用门槛,本软件内的默认设置、UI 操作不以新手友好为目标,所以使用前建议先根据你的喜好浏览调整一遍软件设置,阅读一遍[音乐播放列表机制](https://lyswhut.github.io/lx-music-doc/desktop/faq/playlist)及[可用的鼠标、键盘快捷操作](https://lyswhut.github.io/lx-music-doc/desktop/faq/hotkey)。
### Scheme URL 支持
-从 v1.17.0 起支持 Scheme URL,可以使用此功能在浏览器等场景下调用 LX Music,我们开发了一个 [油猴脚本](https://github.com/lyswhut/lx-music-script#readme) 配套使用。
+从 v1.17.0 起支持 Scheme URL,可以使用此功能在浏览器等场景下调用 LX Music,我们开发了一个[油猴脚本](https://github.com/lyswhut/lx-music-script#readme)配套使用。
脚本安装地址:[LX Music 辅助脚本](https://greasyfork.org/zh-CN/scripts/438148)。
-若你想自己调用 LX Music,可以参考 [Scheme URL 支持](https://lyswhut.github.io/lx-music-doc/desktop/scheme-url)。
+若你想自己调用 LX Music,可以参考文档「[Scheme URL 支持](https://lyswhut.github.io/lx-music-doc/desktop/scheme-url)」部分。
### 数据同步服务
-从 v2.2.0 起,我们发布了一个独立版的 [数据同步服务](https://github.com/lyswhut/lx-music-sync-server#readme),如果你有服务器,可以将其部署到服务器上作为私人多端同步服务使用,详情看该项目说明。
+从 v2.2.0 起,我们发布了一个独立的[数据同步服务](https://github.com/lyswhut/lx-music-sync-server#readme)。如果你有服务器,可以将其部署到服务器上作为私人多端同步服务使用,详情看该项目说明。
### 开放 API 支持
-从 v2.7.0 起支持开放 API 服务,启用该功能后,将会在本地启动一个 HTTP 服务,提供播放器相关的接口供第三方软件调用,详情看 [开放 API 文档](https://lyswhut.github.io/lx-music-doc/desktop/open-api)。
+从 v2.7.0 起支持开放 API 服务。启用该功能后,将会在本地启动一个 HTTP 服务,提供播放器相关的接口供第三方软件调用,详情看文档「[开放 API](https://lyswhut.github.io/lx-music-doc/desktop/open-api)」部分。
### 数据存储目录
@@ -79,33 +81,29 @@
- macOS:`~/Library/Application Support/lx-music-desktop`
- Windows:`%APPDATA%/lx-music-desktop`
-在 Windows 平台上,若程序目录中存在 `portable` 目录,则自动使用此目录作为数据存储目录(适用于 v1.17.0 及以上版本)。
+在 Windows 平台上,若程序文件夹中存在 `portable` 文件夹,则自动使用此文件夹作为数据存储文件夹(适用于 v1.17.0 及以上版本)。
## 用户界面
-
-
-## 常见问题
-
-已迁移至:
+
## 贡献代码
本项目欢迎 PR,但为了 PR 能顺利合并,需要注意以下几点:
-- 对于添加新功能的 PR,建议在提交 PR 前先创建 issue 进行说明,以确认该功能是否确实需要;
-- 对于修复 bug 的 PR,请提供修复前后的说明及重现方式;
+- 对于添加新功能的 PR,建议在提交 PR 前先创建 Issue 进行说明,以确认该功能是否确实需要。
+- 对于修复 bug 的 PR,请提供修复前后的说明及重现方式。
- 对于其他类型的 PR,则适当附上说明。
贡献代码步骤:
-1. 参照 [源码使用方法](https://lyswhut.github.io/lx-music-doc/desktop/use-source-code) 设置开发环境;
+1. 参照[源码使用方法](https://lyswhut.github.io/lx-music-doc/desktop/use-source-code)设置开发环境;
2. 克隆本仓库代码并切换至 `dev` 分支进行开发;
3. 提交 PR 至 `dev` 分支。
## 源码使用方法
-已迁移至:
+请参阅:
## 项目协议
diff --git a/src/lang/zh-cn.json b/src/lang/zh-cn.json
index 55abdafa98..7eb6cf0326 100644
--- a/src/lang/zh-cn.json
+++ b/src/lang/zh-cn.json
@@ -460,7 +460,7 @@
"setting__list_add_music_location_type": "添加歌曲到列表时的位置",
"setting__list_add_music_location_type_bottom": "底部",
"setting__list_add_music_location_type_top": "顶部",
- "setting__list_click_action": "双击列表里的歌曲时自动切换到当前列表播放(仅对「歌单」、「排行榜」有效)",
+ "setting__list_click_action": "双击列表里的歌曲时自动切换到当前列表播放(仅对「歌单」和「排行榜」有效)",
"setting__list_scroll": "记住播放列表滚动条位置(仅对「我的列表」有效)",
"setting__list_source": "显示歌曲来源平台(仅对「我的列表」有效)",
"setting__network": "网络设置",
diff --git a/src/renderer/components/layout/PlayDetail/components/MusicComment/index.vue b/src/renderer/components/layout/PlayDetail/components/MusicComment/index.vue
index 2272a9e27d..063f24336a 100644
--- a/src/renderer/components/layout/PlayDetail/components/MusicComment/index.vue
+++ b/src/renderer/components/layout/PlayDetail/components/MusicComment/index.vue
@@ -1,7 +1,7 @@
div.comment(ref="dom_container" :class="$style.comment")
div(:class="$style.commentHeader")
- h3 {{ $t('comment__title', { name: title }) }}
+ h3 {{ $t('comment__title', { name: currentMusicInfo.name }) }}
div(:class="$style.commentHeaderBtns")
div(:class="$style.commentHeaderBtn" :aria-label="$t('comment__refresh')" @click="handleShowComment")
svg(version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" style="transform: rotate(45deg);" viewBox="0 0 24 24" space="preserve")
diff --git a/src/renderer/views/Setting/components/SettingAbout.vue b/src/renderer/views/Setting/components/SettingAbout.vue
index 00eba82be1..7d1da375ad 100644
--- a/src/renderer/views/Setting/components/SettingAbout.vue
+++ b/src/renderer/views/Setting/components/SettingAbout.vue
@@ -16,8 +16,8 @@ dd
strong 仔细、仔细、仔细
| 地阅读常见问题后,
.p.small
- | 仍有问题可到 GitHub 提交
- span.hover.underline(:aria-label="$t('setting__click_open')" @click="openUrl('https://github.com/lyswhut/lx-music-desktop/issues')") Issue
+ | 仍有问题可到 GitHub
+ span.hover.underline(:aria-label="$t('setting__click_open')" @click="openUrl('https://github.com/lyswhut/lx-music-desktop/issues?q=is%3Aissue+')") 提交 Issue
| 。
br
.p.small 由于软件开发的初衷仅是为了对新技术的学习与研究,因此软件直至停止维护都将会一直保持纯净。
@@ -26,12 +26,12 @@ dd
strong 只有 GitHub
| ,其他渠道均为第三方转载发布,可信度请自行鉴别。
.p.small
- strong 本项目「没有」微信公众号之类的所谓「官方账号」,谨防被骗!
+ strong 本项目没有微信公众号之类的所谓「官方账号」,谨防被骗!
.p.small
- | 你已签署本软件的
+ | 你已签署本软件的
base-btn(min @click="handleShowPact") 许可协议
- | ,协议的在线版本在
+ | ,协议的在线版本在
strong.hover.underline(:aria-label="$t('setting__click_open')" @click="openUrl('https://github.com/lyswhut/lx-music-desktop#%E9%A1%B9%E7%9B%AE%E5%8D%8F%E8%AE%AE')") 这里
| 。
br