From 05bc6fa8e89526783581c224e573a9ebb4e9de32 Mon Sep 17 00:00:00 2001 From: Ole Bertram Date: Sat, 23 Jun 2018 22:09:13 +0200 Subject: [PATCH 1/2] Add title text with description to scope icons --- .../post_status_form/post_status_form.vue | 8 ++++---- src/i18n/messages.js | 16 ++++++++++++++-- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 802d51ed87..8c90322fc5 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -25,10 +25,10 @@ @paste="paste">
- - - - + + + +
diff --git a/src/i18n/messages.js b/src/i18n/messages.js index 3a9f2e6390..96eaac4a2e 100644 --- a/src/i18n/messages.js +++ b/src/i18n/messages.js @@ -117,7 +117,13 @@ const de = { }, post_status: { posting: 'Veröffentlichen', - default: 'Sitze gerade im Hofbräuhaus.' + default: 'Sitze gerade im Hofbräuhaus.', + scope: { + public: 'Öffentlich - Beitrag an öffentliche Zeitleisten', + unlisted: 'Nicht gelistet - Nicht in öffentlichen Zeitleisten anzeigen', + private: 'Nur Folgende - Beitrag nur an Folgende', + direct: 'Direkt - Beitrag nur an erwähnte Profile' + } }, finder: { find_user: 'Finde Benutzer', @@ -350,7 +356,13 @@ const en = { post_status: { posting: 'Posting', content_warning: 'Subject (optional)', - default: 'Just landed in L.A.' + default: 'Just landed in L.A.', + scope: { + public: 'Public - Post to public timelines', + unlisted: 'Unlisted - Do not post to public timelines', + private: 'Followers-only - Post to followers only', + direct: 'Direct - Post to mentioned users only' + } }, finder: { find_user: 'Find user', From 44428e8b09630495347afd4d2fbb4a303cbcee00 Mon Sep 17 00:00:00 2001 From: Ole Bertram Date: Sat, 23 Jun 2018 22:10:13 +0200 Subject: [PATCH 2/2] Add warning/info text on appriopriate status scopes --- .../post_status_form/post_status_form.vue | 16 ++++++++++++++++ src/i18n/messages.js | 6 ++++++ 2 files changed, 22 insertions(+) diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 8c90322fc5..7aa0e7c442 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -2,6 +2,14 @@
+ + {{ $t('post_status.account_not_locked_warning_link') }} + +

{{ $t('post_status.direct_warning') }}