Fix and move writeTranslations.js file to write-translations.js, move tagline property of en.json inside localized-strings

This commit is contained in:
Frank Li 2017-07-10 10:53:38 -07:00
parent dbbfecaf62
commit ed648074f2
3 changed files with 9 additions and 9 deletions

View file

@ -48,7 +48,7 @@ class Site extends React.Component {
*/
render() {
const tagline = this.props.config[this.props.language] ? this.props.config[this.props.language].tagline : this.props.config.tagline;
const tagline = this.props.config[this.props.language] ? this.props.config[this.props.language]["localized-strings"].tagline : this.props.config.tagline;
const title = this.props.title
? this.props.title + ' · ' + this.props.config.title
: this.props.config.title + ' · ' + tagline;