This commit is contained in:
syuilo 2020-02-08 22:42:35 +09:00
parent 26260392a8
commit 78c2535c3c
2 changed files with 8 additions and 3 deletions

View file

@ -362,6 +362,7 @@ markAsReadAllTalkMessages: "すべてのトークを既読にする"
help: "ヘルプ" help: "ヘルプ"
inputMessageHere: "ここにメッセージを入力" inputMessageHere: "ここにメッセージを入力"
close: "閉じる" close: "閉じる"
group: "グループ"
groups: "グループ" groups: "グループ"
createGroup: "グループを作成" createGroup: "グループを作成"
ownedGroups: "所有グループ" ownedGroups: "所有グループ"
@ -370,6 +371,8 @@ invites: "招待"
groupName: "グループ名" groupName: "グループ名"
members: "メンバー" members: "メンバー"
transfer: "譲渡" transfer: "譲渡"
messagingWithUser: "ユーザーとトーク"
messagingWithGroup: "グループでトーク"
_2fa: _2fa:
alreadyRegistered: "既に設定は完了しています。" alreadyRegistered: "既に設定は完了しています。"

View file

@ -117,10 +117,12 @@ export default Vue.extend({
start(ev) { start(ev) {
this.$root.menu({ this.$root.menu({
items: [{ items: [{
text: this.$t('withUser'), text: this.$t('messagingWithUser'),
icon: faUser,
action: () => { this.startUser() } action: () => { this.startUser() }
}, { }, {
text: this.$t('withGroup'), text: this.$t('messagingWithGroup'),
icon: faUsers,
action: () => { this.startGroup() } action: () => { this.startGroup() }
}], }],
noCenter: true, noCenter: true,
@ -139,7 +141,7 @@ export default Vue.extend({
const groups2 = await this.$root.api('users/groups/joined'); const groups2 = await this.$root.api('users/groups/joined');
const { canceled, result: group } = await this.$root.dialog({ const { canceled, result: group } = await this.$root.dialog({
type: null, type: null,
title: this.$t('select-group'), title: this.$t('group'),
select: { select: {
items: groups1.concat(groups2).map(group => ({ items: groups1.concat(groups2).map(group => ({
value: group, text: group.name value: group, text: group.name