translations for login page
This commit is contained in:
		
							parent
							
								
									256593164f
								
							
						
					
					
						commit
						813582bf9d
					
				| @ -918,7 +918,7 @@ Blockly.Msg.button_create_variableCreate = "Erstelle Variable"; | ||||
| Blockly.Msg.button_back = "Zurück" | ||||
| Blockly.Msg.button_next = "nächster Schritt" | ||||
| Blockly.Msg.button_tutorial_overview = "Tutorial Übersicht" | ||||
| 
 | ||||
| Blockly.Msg.button_login = "Anmelden" | ||||
| 
 | ||||
| /** | ||||
|  * | ||||
| @ -957,6 +957,7 @@ Blockly.Msg.notfound_text = "Die gesuchte Seite wurde möglicherweise entfernt, | ||||
| Blockly.Msg.labels_donotshowagain = 'Dialog nicht mehr anzeigen' | ||||
| Blockly.Msg.labels_here = "hier" | ||||
| Blockly.Msg.labels_username = 'E-Mail oder Nutzername' | ||||
| Blockly.Msg.labels_password = "Passwort" | ||||
| 
 | ||||
| /** | ||||
|  * Badges | ||||
| @ -995,8 +996,10 @@ Blockly.Msg.builder_requirements_order = "Beachte, dass die Reihenfolge des Anha | ||||
| 
 | ||||
| 
 | ||||
| Blockly.Msg.login_head = "Anmelden" | ||||
| 
 | ||||
| 
 | ||||
| Blockly.Msg.login_osem_account_01 = "Du benötigst einen " | ||||
| Blockly.Msg.login_osem_account_02 = "Account um dich einzuloggen" | ||||
| Blockly.Msg.login_lostpassword = "Du hast dein Passwort vergessen?" | ||||
| Blockly.Msg.login_createaccount = "Falls du noch keinen Account hast erstellen einen auf " | ||||
| /** | ||||
|  * Navbar | ||||
|  */ | ||||
|  | ||||
| @ -850,7 +850,7 @@ Blockly.Msg.messages_newblockly_head = 'Welcome to the new version Blockly for t | ||||
| Blockly.Msg.messages_newblockly_text = "The new Blockly version is currently in testing. You can find all the news here:" | ||||
| Blockly.Msg.messages_GET_TUTORIAL_FAIL = 'Back to tutorials overview' | ||||
| Blockly.Msg.messages_LOGIN_FAIL = 'The username or password is incorrect.' | ||||
| 
 | ||||
| Blockly.Msg.messages_login_error = "Enter both a username and a password." | ||||
| /** | ||||
|  * Share Dialog | ||||
|  */ | ||||
| @ -885,7 +885,7 @@ Blockly.Msg.button_create_variableCreate = "Create Variable"; | ||||
| Blockly.Msg.button_back = "Back" | ||||
| Blockly.Msg.button_next = "Next step" | ||||
| Blockly.Msg.button_tutorial_overview = "Tutorial overview" | ||||
| 
 | ||||
| Blockly.Msg.button_login = "Login" | ||||
| 
 | ||||
| /** | ||||
|  * | ||||
| @ -907,6 +907,7 @@ Blockly.Msg.notfound_text = "The page you are looking for may have been removed, | ||||
| Blockly.Msg.labels_donotshowagain = 'Do not show dialog again' | ||||
| Blockly.Msg.labels_here = 'here' | ||||
| Blockly.Msg.labels_username = 'Email or username' | ||||
| Blockly.Msg.labels_password = "Password" | ||||
| /** | ||||
|  * Badges | ||||
|  */ | ||||
| @ -944,6 +945,11 @@ Blockly.Msg.builder_requirements_order = "Note that the order of ticking is auth | ||||
| 
 | ||||
| 
 | ||||
| Blockly.Msg.login_head = "Login" | ||||
| Blockly.Msg.login_osem_account_01 = "You need to have an " | ||||
| Blockly.Msg.login_osem_account_02 = "Account to login" | ||||
| Blockly.Msg.login_lostpassword = "Lost your password?" | ||||
| Blockly.Msg.login_createaccount = "If you don't have an openSenseMap account please register on " | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  | ||||
| @ -71,7 +71,7 @@ export class Login extends Component { | ||||
|       }; | ||||
|       this.props.login(user); | ||||
|     } else { | ||||
|       this.setState({ snackbar: true, key: Date.now(), message: 'Gib sowohl ein Benutzername als auch ein Passwort ein.', type: 'error' }); | ||||
|       this.setState({ snackbar: true, key: Date.now(), message: Blockly.Msg.messages_login_error, type: 'error' }); | ||||
|     } | ||||
|   }; | ||||
| 
 | ||||
| @ -86,12 +86,12 @@ export class Login extends Component { | ||||
|   render() { | ||||
|     return ( | ||||
|       <div> | ||||
|         <Breadcrumbs content={[{ link: '/user/login', title: 'Anmelden' }]} /> | ||||
|         <Breadcrumbs content={[{ link: '/user/login', title: Blockly.Msg.button_login }]} /> | ||||
| 
 | ||||
|         <div style={{ maxWidth: '500px', marginLeft: 'auto', marginRight: 'auto' }}> | ||||
|           <h1>{Blockly.Msg.login_head}</h1> | ||||
|           <Alert> | ||||
|             Zur Anmeldung ist ein Konto auf <Link color='primary' rel="noreferrer" target="_blank" href={'https://opensensemap.org/'}>openSenseMap</Link> Voraussetzung. | ||||
|             {Blockly.Msg.login_osem_account_01} <Link color='primary' rel="noreferrer" target="_blank" href={'https://opensensemap.org/'}>openSenseMap</Link> {Blockly.Msg.login_osem_account_02}. | ||||
|           </Alert> | ||||
|           <Snackbar | ||||
|             open={this.state.snackbar} | ||||
| @ -112,7 +112,7 @@ export class Login extends Component { | ||||
|           <TextField | ||||
|             // variant='outlined'
 | ||||
|             type={this.state.showPassword ? 'text' : 'password'} | ||||
|             label='Passwort' | ||||
|             label={Blockly.Msg.labesl_password} | ||||
|             name='password' | ||||
|             value={this.state.password} | ||||
|             InputProps={{ | ||||
| @ -136,15 +136,15 @@ export class Login extends Component { | ||||
|             <Button color="primary" variant='contained' onClick={this.onSubmit} style={{ width: '100%' }}> | ||||
|               {this.props.progress ? | ||||
|                 <div style={{ height: '24.5px' }}><CircularProgress color="inherit" size={20} /></div> | ||||
|                 : 'Anmelden'} | ||||
|                 : Blockly.Msg.button_login} | ||||
|             </Button> | ||||
|           </p> | ||||
|           <p style={{ textAlign: 'center', fontSize: '0.8rem' }}> | ||||
|             <Link rel="noreferrer" target="_blank" href={'https://opensensemap.org/'} color="primary">Passwort vergessen?</Link> | ||||
|             <Link rel="noreferrer" target="_blank" href={'https://opensensemap.org/'} color="primary">{Blockly.Msg.login_lostpassword}</Link> | ||||
|           </p> | ||||
|           <Divider variant='fullWidth' /> | ||||
|           <p style={{ textAlign: 'center', paddingRight: "34px", paddingLeft: "34px" }}> | ||||
|             Du hast noch kein Konto? Registriere dich auf <Link rel="noreferrer" target="_blank" href={'https://opensensemap.org/'}>openSenseMap</Link>. | ||||
|             {Blockly.Msg.login_createaccount}<Link rel="noreferrer" target="_blank" href={'https://opensensemap.org/'}>openSenseMap</Link>. | ||||
|           </p> | ||||
|         </div> | ||||
|       </div> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user