From 36101abc224e80672b47090680db4bbe965e17f3 Mon Sep 17 00:00:00 2001 From: Henry Jameson <me@hjkos.com> Date: Thu, 30 Aug 2018 20:30:04 +0300 Subject: [PATCH] Simplified image sensitivity label --- src/components/post_status_form/post_status_form.vue | 3 +-- src/i18n/messages.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 559ad01696..42e9c65c22 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -90,8 +90,7 @@ </div> <div class="upload_settings" v-if="newStatus.files.length > 0"> <input type="checkbox" id="filesSensitive" v-model="newStatus.nsfw"> - <label for="filesSensitive" v-if="newStatus.nsfw">{{$t('post_status.attachments_sensitive')}}</label> - <label for="filesSensitive" v-else v-html="$t('post_status.attachments_not_sensitive')"></label> + <label for="filesSensitive">{{$t('post_status.attachments_sensitive')}}</label> </div> </form> </div> diff --git a/src/i18n/messages.js b/src/i18n/messages.js index 42e7e9d4cd..8a9021275c 100644 --- a/src/i18n/messages.js +++ b/src/i18n/messages.js @@ -393,8 +393,7 @@ const en = { account_not_locked_warning: 'Your account is not {0}. Anyone can follow you to view your follower-only posts.', account_not_locked_warning_link: 'locked', direct_warning: 'This post will only be visible to all the mentioned users.', - attachments_sensitive: 'Attachments marked sensitive', - attachments_not_sensitive: 'Attachments <strong>not</strong> marked sensitive', + attachments_sensitive: 'Mark attachments as sensitive', scope: { public: 'Public - Post to public timelines', unlisted: 'Unlisted - Do not post to public timelines', -- GitLab