Change direct message warning to match upstream
This commit is contained in:
parent
458ec31791
commit
d959d04133
1 changed files with 8 additions and 4 deletions
|
@ -9,9 +9,13 @@ const motionSpring = spring(1, { damping: 35, stiffness: 400 });
|
||||||
// Messages.
|
// Messages.
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
disclaimer: {
|
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',
|
id: 'compose_form.direct_message_warning',
|
||||||
},
|
},
|
||||||
|
learn_more: {
|
||||||
|
defaultMessage: 'Learn more',
|
||||||
|
id: 'compose_form.direct_message_warning_learn_more'
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// The component.
|
// The component.
|
||||||
|
@ -37,9 +41,9 @@ export default function ComposerDirectWarning () {
|
||||||
transform: `scale(${scaleX}, ${scaleY})`,
|
transform: `scale(${scaleX}, ${scaleY})`,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<span>
|
||||||
{...messages.disclaimer}
|
<FormattedMessage {...messages.disclaimer} /> <a href='/terms' target='_blank'><FormattedMessage {...messages.learn_more} /></a>
|
||||||
/>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Motion>
|
</Motion>
|
||||||
|
|
Loading…
Reference in a new issue