about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-05-24 18:11:43 +0200
committerThibG <thib@sitedethib.com>2018-05-27 15:46:00 +0200
commitd959d04133e619955100c58bc21e157f18db1fb1 (patch)
tree002ccc06c94a011a8df3c3017a7152624fb0d62e /app/javascript
parent458ec31791bfd5caabeae0c19dcfe074e6b30517 (diff)
Change direct message warning to match upstream
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/features/composer/direct_warning/index.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/direct_warning/index.js b/app/javascript/flavours/glitch/features/composer/direct_warning/index.js
index 804c6538b..d1febdd1b 100644
--- a/app/javascript/flavours/glitch/features/composer/direct_warning/index.js
+++ b/app/javascript/flavours/glitch/features/composer/direct_warning/index.js
@@ -9,9 +9,13 @@ const motionSpring = spring(1, { damping: 35, stiffness: 400 });
 //  Messages.
 const messages = defineMessages({
   disclaimer: {
-    defaultMessage: 'This toot will only be sent to all the mentioned users. However, the operators of your instance and any receiving instances may see this message.',
+    defaultMessage: 'This toot will only be sent to all the mentioned users.',
     id: 'compose_form.direct_message_warning',
   },
+  learn_more: {
+    defaultMessage: 'Learn more',
+    id: 'compose_form.direct_message_warning_learn_more'
+  }
 });
 
 //  The component.
@@ -37,9 +41,9 @@ export default function ComposerDirectWarning () {
             transform: `scale(${scaleX}, ${scaleY})`,
           }}
         >
-          <FormattedMessage
-            {...messages.disclaimer}
-          />
+          <span>
+            <FormattedMessage {...messages.disclaimer} /> <a href='/terms' target='_blank'><FormattedMessage {...messages.learn_more} /></a>
+          </span>
         </div>
       )}
     </Motion>