diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index b7ef578c52..390bfc9f31 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -96,6 +96,9 @@ common: specified: "ダイレクト" specified-desc: "指定したユーザーにのみ公開" private: "非公開" + local-public: "公開(ローカルのみ)" + local-home: "ホーム(ローカルのみ)" + local-followers: "フォロワー(ローカルのみ)" note-placeholders: a: "今どうしてる?" @@ -471,6 +474,9 @@ common/views/components/visibility-chooser.vue: specified: "ダイレクト" specified-desc: "指定したユーザーにのみ公開" private: "非公開" + local-public: "公開(ローカルのみ)" + local-home: "ホーム(ローカルのみ)" + local-followers: "フォロワー(ローカルのみ)" common/views/components/trends.vue: count: "{}人が投稿" @@ -761,6 +767,7 @@ desktop/views/components/post-form.vue: create-poll: "アンケートを作成" text-remain: "残り{}文字" recent-tags: "最近" + local-only-message: "この投稿はローカルにのみ公開されます" click-to-tagging: "クリックでタグ付け" visibility: "公開範囲" geolocation-alert: "お使いの端末は位置情報に対応していません" diff --git a/src/client/app/common/views/components/note-header.vue b/src/client/app/common/views/components/note-header.vue index 2c7ae0194c..012b678ab3 100644 --- a/src/client/app/common/views/components/note-header.vue +++ b/src/client/app/common/views/components/note-header.vue @@ -19,6 +19,9 @@ + + + @@ -115,4 +118,7 @@ export default Vue.extend({ > .visibility margin-left 8px + > .localOnly + margin-left 4px + diff --git a/src/client/app/common/views/components/visibility-chooser.vue b/src/client/app/common/views/components/visibility-chooser.vue index 896be039b3..0335fba0ee 100644 --- a/src/client/app/common/views/components/visibility-chooser.vue +++ b/src/client/app/common/views/components/visibility-chooser.vue @@ -35,6 +35,24 @@ {{ $t('private') }} +
+
+
+ {{ $t('local-public') }} +
+
+
+
+
+ {{ $t('local-home') }} +
+
+
+
+
+ {{ $t('local-followers') }} +
+
diff --git a/src/client/app/desktop/views/components/note.vue b/src/client/app/desktop/views/components/note.vue index e2b67c150f..6bd4674269 100644 --- a/src/client/app/desktop/views/components/note.vue +++ b/src/client/app/desktop/views/components/note.vue @@ -20,6 +20,15 @@ {{ note.user | userName }} {{ this.$t('reposted-by').substr(this.$t('reposted-by').indexOf('}') + 1) }} + + + + + + + + +
@@ -199,9 +208,6 @@ export default Vue.extend({ > span flex-shrink 0 - &:last-of-type - margin-right 8px - .name overflow hidden flex-shrink 1 @@ -215,6 +221,18 @@ export default Vue.extend({ flex-shrink 0 font-size 0.9em + > .visibility + margin-left 8px + + [data-icon] + margin-right 0 + + > .localOnly + margin-left 4px + + [data-icon] + margin-right 0 + & + article padding-top 8px diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index e05fab168c..02478b4eb3 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -14,6 +14,7 @@ {{ $t('recent-tags') }}: #{{ tag }} +
{{ $t('local-only-message') }}