diff --git a/src/background.js b/src/background.js index a3ce226..6ca0bc9 100644 --- a/src/background.js +++ b/src/background.js @@ -124,7 +124,7 @@ class Background { .showMessageBox({ title: "发现新版本 v" + info.version, message: "发现新版本 v" + info.version, - detail: "是否前往 Github 下载新版本安装包?", + detail: "是否前往 GitHub 下载新版本安装包?", buttons: ["下载", "取消"], type: "question", noLink: true, diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index a05d6a7..39dd87a 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -68,7 +68,7 @@
- 登录 + {{ $t("login.login") }}
@@ -80,7 +80,8 @@

- GitHub仓库 + + {{ $t("nav.github") }}
diff --git a/src/electron/menu.js b/src/electron/menu.js index 2258133..453e652 100644 --- a/src/electron/menu.js +++ b/src/electron/menu.js @@ -163,7 +163,7 @@ export function createMenu(win) { label: "Help", submenu: [ { - label: "Github", + label: "GitHub", click: async () => { const { shell } = require("electron"); await shell.openExternal("https://github.com/qier222/YesPlayMusic"); diff --git a/src/locale/lang/en.js b/src/locale/lang/en.js index 4b2a610..195c393 100644 --- a/src/locale/lang/en.js +++ b/src/locale/lang/en.js @@ -8,6 +8,7 @@ export default { explore: "Explore", library: "Library", search: "Search", + github: "GitHub Repo", }, footer: { settings: "Settings", diff --git a/src/locale/lang/zh-CN.js b/src/locale/lang/zh-CN.js index 417aae8..abf5b34 100644 --- a/src/locale/lang/zh-CN.js +++ b/src/locale/lang/zh-CN.js @@ -8,6 +8,7 @@ export default { explore: "发现", library: "音乐库", search: "搜索", + github: "GitHub 仓库", }, home: { recommendPlaylist: "推荐歌单",