From acea5ca78b7a91567b1ba89f0bc2a78a550289fd Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 19 Mar 2019 17:45:46 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=80=8D=E3=80=8C=E3=83=88=E3=83=BC=E3=82=AF=E3=80=8D?= =?UTF-8?q?=E3=80=8C=E3=83=80=E3=82=A4=E3=83=AC=E3=82=AF=E3=83=88=E6=8A=95?= =?UTF-8?q?=E7=A8=BF=E3=80=8D(=20Fix=20#2748=20)=20(#4515)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 「メッセージ」「トーク」「ダイレクト投稿」 トーク: 一対一のチャット機能・画面 メッセージ: トークでやり取りする発言 ダイレクト投稿: 自分向けのダイレクト投稿が一覧されるTL * Fix display of messaging * :v: * Update ja-JP.yml --- locales/ja-JP.yml | 13 ++----------- .../views/components/messaging-room-window.vue | 4 ++-- .../desktop/views/components/messaging-window.vue | 4 ++-- .../app/desktop/views/pages/messaging-room.vue | 4 ++-- src/client/app/desktop/views/widgets/messaging.vue | 4 ++-- 5 files changed, 10 insertions(+), 19 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 031692795..d4457b659 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -925,12 +925,6 @@ desktop/views/input-dialog.vue: cancel: "キャンセル" ok: "決定" -desktop/views/components/messaging-room-window.vue: - title: "メッセージ:" - -desktop/views/components/messaging-window.vue: - title: "メッセージ" - desktop/views/components/note-detail.vue: private: "この投稿は非公開です" deleted: "この投稿は削除されました" @@ -1100,7 +1094,7 @@ desktop/views/components/timeline.vue: hybrid: "ソーシャル" global: "グローバル" mentions: "あなた宛て" - messages: "メッセージ" + messages: "ダイレクト投稿" list: "リスト" hashtag: "ハッシュタグ" add-tag-timeline: "ハッシュタグを追加" @@ -1535,9 +1529,6 @@ desktop/views/pages/user/user.timeline.vue: with-media: "メディア" my-posts: "私の投稿" -desktop/views/widgets/messaging.vue: - title: "メッセージ" - desktop/views/widgets/notifications.vue: title: "通知" @@ -1685,7 +1676,7 @@ mobile/views/pages/home.vue: hybrid: "ソーシャル" global: "グローバル" mentions: "あなた宛て" - messages: "メッセージ" + messages: "ダイレクト投稿" mobile/views/pages/tag.vue: no-posts-found: "ハッシュタグ「{q}」が付けられた投稿は見つかりませんでした。" diff --git a/src/client/app/desktop/views/components/messaging-room-window.vue b/src/client/app/desktop/views/components/messaging-room-window.vue index ea94fa1bd..00cd423cd 100644 --- a/src/client/app/desktop/views/components/messaging-room-window.vue +++ b/src/client/app/desktop/views/components/messaging-room-window.vue @@ -1,6 +1,6 @@ @@ -12,7 +12,7 @@ import { url } from '../../../config'; import getAcct from '../../../../../misc/acct/render'; export default Vue.extend({ - i18n: i18n('desktop/views/components/messaging-room-window.vue'), + i18n: i18n(), components: { XMessagingRoom: () => import('../../../common/views/components/messaging-room.vue').then(m => m.default) }, diff --git a/src/client/app/desktop/views/components/messaging-window.vue b/src/client/app/desktop/views/components/messaging-window.vue index 51f7e2fe5..1572c4066 100644 --- a/src/client/app/desktop/views/components/messaging-window.vue +++ b/src/client/app/desktop/views/components/messaging-window.vue @@ -1,6 +1,6 @@ @@ -11,7 +11,7 @@ import i18n from '../../../i18n'; import MkMessagingRoomWindow from './messaging-room-window.vue'; export default Vue.extend({ - i18n: i18n('desktop/views/components/messaging-window.vue'), + i18n: i18n(), components: { XMessaging: () => import('../../../common/views/components/messaging.vue').then(m => m.default) }, diff --git a/src/client/app/desktop/views/pages/messaging-room.vue b/src/client/app/desktop/views/pages/messaging-room.vue index 5bc28947c..376b402d3 100644 --- a/src/client/app/desktop/views/pages/messaging-room.vue +++ b/src/client/app/desktop/views/pages/messaging-room.vue @@ -12,7 +12,7 @@ import parseAcct from '../../../../../misc/acct/parse'; import getUserName from '../../../../../misc/get-user-name'; export default Vue.extend({ - i18n: i18n('.vue'), + i18n: i18n(), components: { XMessagingRoom: () => import('../../../common/views/components/messaging-room.vue').then(m => m.default) }, @@ -51,7 +51,7 @@ export default Vue.extend({ this.user = user; this.fetching = false; - document.title = `メッセージ: ${getUserName(this.user)}`; + document.title = this.$t('@.messaging') + ': ' + getUserName(this.user); Progress.done(); }); diff --git a/src/client/app/desktop/views/widgets/messaging.vue b/src/client/app/desktop/views/widgets/messaging.vue index 1cb4f0a67..1e82ae3d3 100644 --- a/src/client/app/desktop/views/widgets/messaging.vue +++ b/src/client/app/desktop/views/widgets/messaging.vue @@ -1,7 +1,7 @@