From be0a01145b5f303c5c506858146ccf6c6d5cee72 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Thu, 27 Apr 2017 19:03:28 +0900 Subject: Sync a locale files for JavaScript (#2513) There are multiple messages missing in en.jsx. It is very troublesome when translating other languages. --- .../features/compose/containers/spoiler_button_container.jsx | 2 +- .../components/features/compose/containers/warning_container.jsx | 2 +- .../javascripts/components/features/status/components/action_bar.jsx | 4 ++-- .../components/features/ui/components/onboarding_modal.jsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app/assets/javascripts/components/features') 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 } {mentionedDomains.join(', ')}, domainsCount: mentionedDomains.length }} />} /> diff --git a/app/assets/javascripts/components/features/status/components/action_bar.jsx b/app/assets/javascripts/components/features/status/components/action_bar.jsx index 764d6646e..1e0b3f74d 100644 --- a/app/assets/javascripts/components/features/status/components/action_bar.jsx +++ b/app/assets/javascripts/components/features/status/components/action_bar.jsx @@ -8,8 +8,8 @@ const messages = defineMessages({ delete: { id: 'status.delete', defaultMessage: 'Delete' }, mention: { id: 'status.mention', defaultMessage: 'Mention @{name}' }, reply: { id: 'status.reply', defaultMessage: 'Reply' }, - reblog: { id: 'status.reblog', defaultMessage: 'Reblog' }, - cannot_reblog: { id: 'status.cannot_reblog', defaultMessage: 'This post cannot be reblogged' }, + reblog: { id: 'status.reblog', defaultMessage: 'Boost' }, + cannot_reblog: { id: 'status.cannot_reblog', defaultMessage: 'This post cannot be boosted' }, favourite: { id: 'status.favourite', defaultMessage: 'Favourite' }, report: { id: 'status.report', defaultMessage: 'Report @{name}' } }); diff --git a/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx b/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx index 78ab646ee..6121b6058 100644 --- a/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx +++ b/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx @@ -213,7 +213,7 @@ class OnboardingModal extends React.PureComponent { if(hasMore) { nextOrDoneBtn = ; } else { - nextOrDoneBtn = ; + nextOrDoneBtn = ; } const styles = pages.map((page, i) => ({ -- cgit