diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-21 14:25:20 -0600 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-21 14:25:20 -0600 |
commit | 3ff05780a1b4f08d256a983bc9ec06f9841f0538 (patch) | |
tree | 4e1db4ba11bc8dff70a8049ab887588686fa4d47 /web | |
parent | 221985435966dbf583d3e367c243822e338b6bc4 (diff) | |
download | chat-3ff05780a1b4f08d256a983bc9ec06f9841f0538.tar.gz chat-3ff05780a1b4f08d256a983bc9ec06f9841f0538.tar.bz2 chat-3ff05780a1b4f08d256a983bc9ec06f9841f0538.zip |
PLT-7 client side infra
Diffstat (limited to 'web')
-rw-r--r-- | web/react/pages/login.jsx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/web/react/pages/login.jsx b/web/react/pages/login.jsx index edf2d4f66..e0957a65b 100644 --- a/web/react/pages/login.jsx +++ b/web/react/pages/login.jsx @@ -25,7 +25,7 @@ class Root extends React.Component { componentWillMount() { Client.getTranslations( - 'es', + this.props.map.Locale, (data) => { this.setState({ translations: data, @@ -47,7 +47,7 @@ class Root extends React.Component { return ( <IntlProvider - locale='es' + locale={this.props.map.Locale} messages={this.state.translations} > <Login @@ -65,7 +65,4 @@ global.window.setup_login_page = function setup(props) { <Root map={props} />, document.getElementById('login') ); -}; - - -//locale={this.props.map.Locale}
\ No newline at end of file +};
\ No newline at end of file |