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

* update: Navbar i18n

* update: Github -> GitHub
master
Rick 4 years ago committed by GitHub
parent 849f67d335
commit 2a9a53a940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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>

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

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

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

Loading…
Cancel
Save