From 45a49cafe982050df2558bacda86c01edfc1f4aa Mon Sep 17 00:00:00 2001 From: vrde Date: Wed, 15 Jul 2015 00:37:45 +0200 Subject: [PATCH] Fix bug with getLangText --- js/components/ascribe_forms/form_login.js | 8 ++++---- js/components/ascribe_forms/form_signup.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/js/components/ascribe_forms/form_login.js b/js/components/ascribe_forms/form_login.js index 7fd8a4dd..ee6efb54 100644 --- a/js/components/ascribe_forms/form_login.js +++ b/js/components/ascribe_forms/form_login.js @@ -32,8 +32,8 @@ let LoginForm = React.createClass({ getDefaultProps() { return { - headerMessage: 'Enter ascribe', - submitMessage: 'Log in', + headerMessage: getLangText('Enter ascribe'), + submitMessage: getLangText('Log in'), redirectOnLoggedIn: true, redirectOnLoginSuccess: true }; @@ -95,7 +95,7 @@ let LoginForm = React.createClass({ } spinner={ @@ -103,7 +103,7 @@ let LoginForm = React.createClass({ }> -

{getLangText(this.props.headerMessage)}

+

{this.props.headerMessage}

- {getLangText(this.props.submitMessage)} + {this.props.submitMessage} } spinner={ @@ -90,7 +90,7 @@ let SignupForm = React.createClass({ }> -

{getLangText(this.props.headerMessage)}

+

{this.props.headerMessage}