Commit f61b7cc919fe03665b4f8c6df45141eb146efb05
1 parent
9ffd2d70
Exists in
signup_page
Translations for the signup module
Showing
3 changed files
with
22 additions
and
11 deletions
Show diff stats
src/app/account/.register-component.html.swp
No preview for this file type
src/app/account/register-component.html
1 | 1 | <div class="register-page"> |
2 | 2 | <div class="welcome-message"> |
3 | - <h1>Ótimo ter você aqui!</h1> | |
3 | + <h1>{{"Nice to have you there!" | translate }}</h1> | |
4 | 4 | <p> |
5 | 5 | "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..." |
6 | 6 | "There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..." |
7 | 7 | </p> |
8 | - <p>Saiba mais <a href="#">informações</a></p> | |
8 | + <p>{{"See more" | translate}}<a href="#">{{"informations" | translate}}</a></p> | |
9 | 9 | </div> |
10 | 10 | <form> |
11 | 11 | <div class="row"> |
12 | 12 | <div class="col-md-6 register-field"> |
13 | - <label for="name">First Name</label> | |
13 | + <label for="name">{{"First Name" | translate }}</label> | |
14 | 14 | <input type="text" class="form-control" id="name" placeholder="joao" ng-model="ctrl.account.name"> |
15 | 15 | </div> |
16 | 16 | |
17 | 17 | <div class="col-md-6 register-field"> |
18 | - <label for="lastName">Last Name</label> | |
18 | + <label for="lastName">{{"Last Name" | translate }}</label> | |
19 | 19 | <input type="text" class="form-control" id="lastName" placeholder="silva" ng-model="ctrl.account.lastName"> |
20 | 20 | </div> |
21 | 21 | |
22 | 22 | <div class="col-md-12 register-field"> |
23 | - <label for="login">Username</label> | |
23 | + <label for="login">{{"Username" | translate }}</label> | |
24 | 24 | <input type="text" class="form-control" id="login" placeholder="username" ng-model="ctrl.account.login"> |
25 | 25 | <p class="light-text">ex: ola.coop.br/joaosilva</p> |
26 | 26 | </div> |
27 | 27 | |
28 | 28 | <div class="col-md-12 register-field"> |
29 | - <label for="email">Email</label> | |
29 | + <label for="email">{{"Email" | translate }}</label> | |
30 | 30 | <input type="text" class="form-control" id="email" placeholder="Email" ng-model="ctrl.account.email"> |
31 | 31 | </div> |
32 | 32 | |
33 | 33 | <div class="col-md-6 register-field"> |
34 | - <label for="password">Password</label> | |
34 | + <label for="password">{{"Password" | translate }}</label> | |
35 | 35 | <input type="password" class="form-control" id="password" placeholder="Password" ng-model="ctrl.account.password"> |
36 | 36 | </div> |
37 | 37 | |
38 | 38 | <div class="col-md-6 register-field"> |
39 | - <label for="password-confirmation">Password Confirmation</label> | |
39 | + <label for="password-confirmation">{{"Password Confirmation" | translate}}</label> | |
40 | 40 | <input type="password" class="form-control" id="passwordConfirmation" placeholder="Password Confirmation" ng-model="ctrl.account.passwordConfirmation"> |
41 | 41 | </div> |
42 | 42 | |
43 | 43 | <div class="col-md-12"> |
44 | - <p class="terms-info">Ao criar uma conta, você está concordando com os <a href="#">termos de uso</a>.</p> | |
44 | + <p class="terms-info">{{"Creating an account, you are agreeing with " | translate}} <a href="#">{{"terms of use" | translate}}</a>.</p> | |
45 | 45 | </div> |
46 | 46 | |
47 | 47 | <div class="col-md-12"> |
48 | - <button type="submit" class="btn btn-default" ng-click="ctrl.signup(ctrl.account)">SignUp</button> | |
48 | + <button type="submit" class="btn btn-default" ng-click="ctrl.signup(ctrl.account)">{{"SignUp" | translate}}</button> | |
49 | 49 | </div> |
50 | 50 | |
51 | 51 | </div> |
52 | 52 | </form> |
53 | 53 | |
54 | - <p class="already-registered-message">Já possui uma conta?</p> | |
54 | + <p class="already-registered-message">{{"Have an account?" | translate}}</p> | |
55 | 55 | |
56 | 56 | </div> | ... | ... |
src/languages/pt.json
... | ... | @@ -22,6 +22,17 @@ |
22 | 22 | "activities.new_friendship.description": "fez {friends, plural, one{um novo amigo} other{# novos amigos}}:", |
23 | 23 | "auth.title": "Login", |
24 | 24 | "auth.form.login": "Login / Email", |
25 | + "Nice to have you there!": "Ótimo ter você aqui!", | |
26 | + "informations": "informações", | |
27 | + "First Name": "Primeiro Nome", | |
28 | + "Last Name": "Ultimo Nome", | |
29 | + "Username": "Nome de usuário", | |
30 | + "Email": "Email", | |
31 | + "Password": "Senha", | |
32 | + "Password Confirmation": "Confirmação de Senha", | |
33 | + "terms of use": "termos de uso", | |
34 | + "SignUp": "Cadastrar", | |
35 | + "Have an account?": "Já tem conta?", | |
25 | 36 | "auth.form.password": "Senha", |
26 | 37 | "auth.form.login_button": "Login", |
27 | 38 | "navbar.content_viewer_actions.new_post": "Novo Artigo", | ... | ... |