fix: Navbar i18n & Github -> GitHub (#443)

* update: Navbar i18n

* update: Github -> GitHub
This commit is contained in:
Rick 2021-03-19 09:58:17 +08:00 committed by GitHub
parent 849f67d335
commit 2a9a53a940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 4 deletions

View File

@ -124,7 +124,7 @@ class Background {
.showMessageBox({
title: "发现新版本 v" + info.version,
message: "发现新版本 v" + info.version,
detail: "是否前往 Github 下载新版本安装包?",
detail: "是否前往 GitHub 下载新版本安装包?",
buttons: ["下载", "取消"],
type: "question",
noLink: true,

View File

@ -68,7 +68,7 @@
<ContextMenu ref="userProfileMenu">
<div class="item" @click="toLogin" v-if="!isLooseLoggedIn">
<svg-icon icon-class="login" />
登录
{{ $t("login.login") }}
</div>
<div class="item" @click="toSettings">
<svg-icon icon-class="settings" />
@ -80,7 +80,8 @@
</div>
<hr />
<div class="item" @click="toGitHub">
<svg-icon icon-class="github" /> GitHub仓库
<svg-icon icon-class="github" />
{{ $t("nav.github") }}
</div>
</ContextMenu>
</div>

View File

@ -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");

View File

@ -8,6 +8,7 @@ export default {
explore: "Explore",
library: "Library",
search: "Search",
github: "GitHub Repo",
},
footer: {
settings: "Settings",

View File

@ -8,6 +8,7 @@ export default {
explore: "发现",
library: "音乐库",
search: "搜索",
github: "GitHub 仓库",
},
home: {
recommendPlaylist: "推荐歌单",