Add translations

This commit is contained in:
Shane Kilkelly 2016-07-27 10:56:22 +01:00
parent 78948251a1
commit 6f39813a56
3 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@ script(type='text/ng-template', id='shareProjectModalTemplate')
i.fa.fa-times
.row.project-invite(ng-repeat="invite in state.invites")
.col-xs-8 {{ invite.email }} 
span.label.label-primary pending
span.label.label-primary #{translate("pending")}
.col-xs-3.text-left
// todo: get invite privileges
span(ng-show="invite.privileges == 'readAndWrite'") #{translate("can_edit")}

View file

@ -7,11 +7,11 @@ block content
.col-md-8.col-md-offset-2
.card.project-invite-invalid
.page-header.text-centered
h1 This is not a valid project invite
h1 #{translate("invite_not_valid")}
.row.text-center
.col-md-12
p
| The invite may have expired. Please contact the project owner.
| #{translate("invite_not_valid_description")}
.row.text-center.actions
.col-md-12
a.btn.btn-info(href="/project") #{translate("back_to_your_projects")}

View file

@ -12,7 +12,7 @@ block content
.row.text-center
.col-md-12
p
| You are accepting this invite as 
| #{translate("accepting_invite_as")} 
em #{user.email}
.row
.col-md-12
@ -25,6 +25,6 @@ block content
input(name='token', type='hidden', value="#{invite.token}")
.form-group.text-center
button.btn.btn-lg.btn-primary(type="submit")
| Accept Invite
| #{translate("accept_invite")}
.form-group.text-center