diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 1ac8d6f49..7f2c2a2d9 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -81,8 +81,6 @@ manageLists: "リストの管理" error: "問題が発生しました" retry: "再試行" enterListName: "リスト名を入力" -renameList: "リスト名を変更" -deleteList: "リストを削除" privacy: "プライバシー" makeFollowManuallyApprove: "フォローを承認制にする" defaultNoteVisibility: "デフォルトの公開範囲" @@ -362,6 +360,14 @@ markAsReadAllTalkMessages: "すべてのトークを既読にする" help: "ヘルプ" inputMessageHere: "ここにメッセージを入力" close: "閉じる" +groups: "グループ" +createGroup: "グループを作成" +ownedGroups: "所有グループ" +joinedGroups: "参加しているグループ" +invite: "招待" +invites: "招待" +groupName: "グループ名" +members: "メンバー" _2fa: alreadyRegistered: "既に設定は完了しています。" diff --git a/src/client/app.vue b/src/client/app.vue index e260d3070..081f4f22d 100644 --- a/src/client/app.vue +++ b/src/client/app.vue @@ -409,6 +409,11 @@ export default Vue.extend({ text: this.$t('lists'), to: '/my/lists', icon: faListUl, + }, { + type: 'link', + text: this.$t('groups'), + to: '/my/groups', + icon: faUsers, }, { type: 'link', text: this.$t('antennas'), diff --git a/src/client/pages/my-groups/group.vue b/src/client/pages/my-groups/group.vue new file mode 100644 index 000000000..67f5f9754 --- /dev/null +++ b/src/client/pages/my-groups/group.vue @@ -0,0 +1,194 @@ + + + + {{ group.name }} + + + + + {{ $t('rename') }} + {{ $t('delete') }} + + + + + + + {{ $t('members') }} + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/client/pages/my-groups/index.vue b/src/client/pages/my-groups/index.vue new file mode 100644 index 000000000..733c481aa --- /dev/null +++ b/src/client/pages/my-groups/index.vue @@ -0,0 +1,99 @@ + + + + {{ $t('groups') }} + + {{ $t('createGroup') }} + + + {{ $t('ownedGroups') }} + + + {{ group.name }} + + + + + + {{ $t('invites') }} + + + {{ invite.group.name }} + + + {{ $t('accept') }} + {{ $t('reject') }} + + + + + + + {{ $t('joinedGroups') }} + + + {{ group.name }} + + + + + + + + + diff --git a/src/client/pages/my-lists/index.vue b/src/client/pages/my-lists/index.vue index 505998209..c3f6d9c77 100644 --- a/src/client/pages/my-lists/index.vue +++ b/src/client/pages/my-lists/index.vue @@ -62,7 +62,7 @@ export default Vue.extend({