about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features/compose/containers
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-04-27 19:03:28 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-04-27 12:03:28 +0200
commitbe0a01145b5f303c5c506858146ccf6c6d5cee72 (patch)
treec301f9fd4fcc90df79c1e80a1ece77150b6398a0 /app/assets/javascripts/components/features/compose/containers
parent1f805a6377cc88478c51ad2976a76298620053fa (diff)
Sync a locale files for JavaScript (#2513)
There are multiple messages missing in en.jsx.
It is very troublesome when translating other languages.
Diffstat (limited to 'app/assets/javascripts/components/features/compose/containers')
-rw-r--r--app/assets/javascripts/components/features/compose/containers/spoiler_button_container.jsx2
-rw-r--r--app/assets/javascripts/components/features/compose/containers/warning_container.jsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/features/compose/containers/spoiler_button_container.jsx b/app/assets/javascripts/components/features/compose/containers/spoiler_button_container.jsx
index c54904b60..b1c80fe19 100644
--- a/app/assets/javascripts/components/features/compose/containers/spoiler_button_container.jsx
+++ b/app/assets/javascripts/components/features/compose/containers/spoiler_button_container.jsx
@@ -4,7 +4,7 @@ import { changeComposeSpoilerness } from '../../../actions/compose';
 import { injectIntl, defineMessages } from 'react-intl';
 
 const messages = defineMessages({
-  title: { id: 'compose_form.spoiler', defaultMessage: 'Hide text behind content warning' }
+  title: { id: 'compose_form.spoiler', defaultMessage: 'Hide text behind warning' }
 });
 
 const mapStateToProps = (state, { intl }) => ({
diff --git a/app/assets/javascripts/components/features/compose/containers/warning_container.jsx b/app/assets/javascripts/components/features/compose/containers/warning_container.jsx
index 62a9bb571..cd744ed82 100644
--- a/app/assets/javascripts/components/features/compose/containers/warning_container.jsx
+++ b/app/assets/javascripts/components/features/compose/containers/warning_container.jsx
@@ -29,7 +29,7 @@ const WarningWrapper = ({ needsLeakWarning, needsLockWarning, mentionedDomains }
       <Warning
         message={<FormattedMessage
           id='compose_form.privacy_disclaimer'
-          defaultMessage='Your private status will be delivered to mentioned users on {domains}. Do you trust {domainsCount, plural, one {that server} other {those servers}} to not leak your status?'
+          defaultMessage='Your private status will be delivered to mentioned users on {domains}. Do you trust {domainsCount, plural, one {that server} other {those servers}}? Post privacy only works on Mastodon instances. If {domains} {domainsCount, plural, one {is not a Mastodon instance} other {are not Mastodon instances}}, there will be no indication that your post is private, and it may be boosted or otherwise made visible to unintended recipients.'
           values={{ domains: <strong>{mentionedDomains.join(', ')}</strong>, domainsCount: mentionedDomains.length }}
         />}
       />