From 0b7c55b036abb596f96a948a22d317d97250071a Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 8 Feb 2020 15:11:12 +0900 Subject: [PATCH] wip --- locales/ja-JP.yml | 10 +- src/client/app.vue | 5 + src/client/pages/my-groups/group.vue | 194 +++++++++++++++++++++++++++ src/client/pages/my-groups/index.vue | 99 ++++++++++++++ src/client/pages/my-lists/index.vue | 2 +- src/client/pages/my-lists/list.vue | 50 +++++-- src/client/router.ts | 2 + 7 files changed, 350 insertions(+), 12 deletions(-) create mode 100644 src/client/pages/my-groups/group.vue create mode 100644 src/client/pages/my-groups/index.vue 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 @@ + + + + + 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 @@ + + + + + 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({