1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00
This commit is contained in:
syuilo 2020-02-15 01:39:14 +09:00
parent 7bd1a3c8ac
commit 44f7c13ad4
2 changed files with 20 additions and 8 deletions

View File

@ -398,6 +398,7 @@ category: "カテゴリ"
tags: "タグ"
docSource: "このドキュメントのソース"
createAccount: "アカウントを作成"
existingAcount: "既存のアカウント"
_ago:
unknown: "謎"

View File

@ -362,17 +362,28 @@ export default Vue.extend({
text: this.$t('settings'),
to: '/my/settings',
icon: faCog,
}, null, {
}, null, ...accountItems, {
type: 'item',
icon: faPlus,
text: this.$t('addAcount'),
action: () => { this.addAcount() },
}, {
type: 'item',
icon: faPlus,
text: this.$t('createAccount'),
action: () => { this.createAccount() },
}, null, ...accountItems, ]],
action: () => {
this.$root.menu({
items: [{
type: 'item',
text: this.$t('existingAcount'),
action: () => { this.addAcount(); },
}, {
type: 'item',
text: this.$t('createAccount'),
action: () => { this.createAccount(); },
}],
align: 'left',
fixed: true,
width: 240,
source: ev.currentTarget || ev.target,
});
},
}]],
align: 'left',
fixed: true,
width: 240,