import React from 'react';
import CallButton from '../components/call-button.js';

module.exports = React.createClass({
  contextTypes: {
    intl: React.PropTypes.object
  },
  render: function() {
    var title = 'main_title_desc_september';
    if (/^(de|en|es|fr|pl)(\b|$)/.test(this.context.intl.locale)) {
      title = 'main_title_desc';
    }
    return (
      <header className="header">
        <h1>{this.context.intl.formatMessage({id: 'main_title_digital_age'})}</h1>
        <p><span className="blue-highlight">{this.context.intl.formatMessage({id: 'epic_battle_tagline_mep'})}</span></p>
        <p className="header-paragraph">{this.context.intl.formatMessage({id: title})}</p>
        <CallButton shadow={true} />
        <p className="italic"><a href={`/${this.context.intl.locale}/call-now`}>{this.context.intl.formatMessage({id: 'cta_tagline_calling'})}</a></p>
      </header>
    );
  }
});

import React from 'react';
import CallButton from '../components/call-button.js';

module.exports = React.createClass({
  contextTypes: {
    intl: React.PropTypes.object
  },
  render: function() {
    var title = 'main_title_desc_september';
    if (/^(en|fr)(\b|$)/.test(this.context.intl.locale)) {
      title = 'main_title_desc';
    }
    return (
      <header className="header">
        <h1>{this.context.intl.formatMessage({id: 'main_title_digital_age'})}</h1>
        <p><span className="blue-highlight">{this.context.intl.formatMessage({id: 'epic_battle_tagline_mep'})}</span></p>
        <p className="header-paragraph">{this.context.intl.formatMessage({id: title})}</p>
        <CallButton shadow={true} />
        <p className="italic"><a href={`/${this.context.intl.locale}/call-now`}>{this.context.intl.formatMessage({id: 'cta_tagline_calling'})}</a></p>
      </header>
    );
  }
});

--- 
+++ 
@@ -7,7 +7,7 @@
   },
   render: function() {
     var title = 'main_title_desc_september';
-    if (/^(en|fr)(\b|$)/.test(this.context.intl.locale)) {
+    if (/^(de|en|es|fr|pl)(\b|$)/.test(this.context.intl.locale)) {
       title = 'main_title_desc';
     }
     return (
Update locales for description string