Skip to content

Commit

Permalink
Remove line breaks in translate calls
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Aug 5, 2016
1 parent c569e43 commit 4927e83
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions client/me/help/help-unverified-warning/index.jsx
Expand Up @@ -34,8 +34,8 @@ class HelpUnverifiedWarning extends Component {
const resendStateToMessage = ( val ) => {
switch ( val ) {
case RESEND_IDLE:
return this.props.translate( 'Trouble activating your account?\
Just click this button and we\'ll resend the activation for you.' );
return this.props.translate( 'Trouble activating your account? ' +
'Just click this button and we\'ll resend the activation for you.' );
case RESEND_IN_PROGRESS:
return '';
case RESEND_SUCCESS:
Expand Down
6 changes: 3 additions & 3 deletions client/my-sites/exporter/guided-transfer-details.jsx
Expand Up @@ -26,9 +26,9 @@ const GuidedTransferDetails = ( { translate } ) => {
{ translate( 'Hassle-free migration with two weeks of support' ) }
</h1>
{ translate(
`Have one of our Happiness Engineers {{strong}}transfer your
site{{/strong}} to a self-hosted WordPress.org installation with
one of our hosting partners.`, { components: { strong: <strong /> } }
'Have one of our Happiness Engineers {{strong}}transfer your ' +
'site{{/strong}} to a self-hosted WordPress.org installation with ' +
'one of our hosting partners.', { components: { strong: <strong /> } }
) }
<br/>
<a href="https://en.support.wordpress.com/guided-transfer/" >
Expand Down
10 changes: 5 additions & 5 deletions client/my-sites/guided-transfer/host-select.jsx
Expand Up @@ -29,11 +29,11 @@ export default React.createClass( {
<SectionHeader label={ this.translate( 'Set up Guided Transfer' ) } />
<Card>
<p>{ this.translate(
`{{strong}}Please choose{{/strong}} one of our Guided Transfer compatible
{{partner_link}}partner hosts{{/partner_link}}. You must have a hosting account
with one of them to be able to move your site. Visit them {{lobby_link}}Guided
Transfer Lobby{{/lobby_link}} if you have any question before starting, or
{{learn_link}}learn more{{/learn_link}} about the process.`,
'{{strong}}Please choose{{/strong}} one of our Guided Transfer compatible ' +
'{{partner_link}}partner hosts{{/partner_link}}. You must have a hosting account ' +
'with one of them to be able to move your site. Visit them {{lobby_link}}Guided ' +
'Transfer Lobby{{/lobby_link}} if you have any question before starting, or ' +
'{{learn_link}}learn more{{/learn_link}} about the process.',
{
components: {
strong: <strong />,
Expand Down

0 comments on commit 4927e83

Please sign in to comment.