aboutsummaryrefslogtreecommitdiff
path: root/modern/src/LoginPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/LoginPage.js')
-rw-r--r--modern/src/LoginPage.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/modern/src/LoginPage.js b/modern/src/LoginPage.js
index c094fa3b..8104aa34 100644
--- a/modern/src/LoginPage.js
+++ b/modern/src/LoginPage.js
@@ -1,3 +1,4 @@
+import t from './common/localization'
import React, { Component } from 'react';
import Button from '@material-ui/core/Button';
import FormHelperText from '@material-ui/core/FormHelperText';
@@ -95,7 +96,7 @@ class LoginPage extends Component {
<form onSubmit={this.handleLogin}>
<FormControl margin="normal" required fullWidth error={failed}>
- <InputLabel htmlFor="email">Email</InputLabel>
+ <InputLabel htmlFor="email">{t('userEmail')}</InputLabel>
<Input
id="email"
value={email}
@@ -106,7 +107,7 @@ class LoginPage extends Component {
</FormControl>
<FormControl margin="normal" required fullWidth>
- <InputLabel htmlFor="password">Password</InputLabel>
+ <InputLabel htmlFor="password">{t('userPassword')}</InputLabel>
<Input
id="password"
type="password"
@@ -123,7 +124,7 @@ class LoginPage extends Component {
disabled
className={classes.button}
onClick={this.handleRegister}>
- Register
+ {t('loginRegister')}
</Button>
<Button
@@ -132,7 +133,7 @@ class LoginPage extends Component {
color="primary"
disabled={!email || !password}
className={classes.button}>
- Login
+ {t('loginLogin')}
</Button>
</div>