+ {{ p.cw }} + {{ showContent ? '%i18n:@less%' : '%i18n:@more%' }} +
+ + via {{ p.app.name }} +
+
diff --git a/locales/ja.yml b/locales/ja.yml index a62b341f69..026c2308c3 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -606,6 +606,7 @@ desktop/views/components/ui.header.account.vue: desktop/views/components/ui.header.nav.vue: home: "ホーム" + deck: "デッキ" messaging: "メッセージ" game: "ゲーム" diff --git a/src/client/app/desktop/script.ts b/src/client/app/desktop/script.ts index 8fb6096afa..61f1f5b870 100644 --- a/src/client/app/desktop/script.ts +++ b/src/client/app/desktop/script.ts @@ -23,6 +23,7 @@ import updateAvatar from './api/update-avatar'; import updateBanner from './api/update-banner'; import MkIndex from './views/pages/index.vue'; +import MkDeck from './views/pages/deck/deck.vue'; import MkUser from './views/pages/user/user.vue'; import MkFavorites from './views/pages/favorites.vue'; import MkSelectDrive from './views/pages/selectdrive.vue'; @@ -50,6 +51,7 @@ init(async (launch) => { mode: 'history', routes: [ { path: '/', name: 'index', component: MkIndex }, + { path: '/deck', name: 'deck', component: MkDeck }, { path: '/i/customize-home', component: MkHomeCustomize }, { path: '/i/favorites', component: MkFavorites }, { path: '/i/messaging/:user', component: MkMessagingRoom }, diff --git a/src/client/app/desktop/views/components/ui.header.nav.vue b/src/client/app/desktop/views/components/ui.header.nav.vue index 4780c57cb4..fe2637cec3 100644 --- a/src/client/app/desktop/views/components/ui.header.nav.vue +++ b/src/client/app/desktop/views/components/ui.header.nav.vue @@ -8,6 +8,12 @@
%i18n:@home%
+%i18n:@deck% (beta)
++ {{ p.cw }} + {{ showContent ? '%i18n:@less%' : '%i18n:@more%' }} +
+ + via {{ p.app.name }} +%i18n:@error%
+ ++ %fa:angle-up%{{ note._datetext }} + %fa:angle-down%{{ _notes[i + 1]._datetext }} +
+ +
+
%fa:retweet%
+
%fa:quote-left%
+
%fa:user-plus%
+
%fa:user-clock%
+
%fa:reply%
+
%fa:at%
+
%fa:chart-pie%{{ notification.user | userName }}
++ %fa:angle-up%{{ notification._datetext }} + %fa:angle-down%{{ _notifications[i + 1]._datetext }} +
+ +%i18n:@empty%
+%fa:spinner .pulse .fw%%i18n:common.loading%