added translation to signup header

This commit is contained in:
David Baldwynn 2016-07-04 14:13:15 -07:00
parent 6e93db3fd1
commit cf4fc6c906
3 changed files with 5 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View file

@ -15,6 +15,9 @@ angular.module('users').config(['$translateProvider', function ($translateProvid
LANGUAGE_LABEL: 'Language',
EMAIL_LABEL: 'Email',
SIGNUP_WITH_EMAIL: 'Sign up with your email',
SIGNUP_ERROR_TEXT: 'Couldn\'t complete registration due to errors',
UPDATE_PROFILE_BTN: 'Update Profile',
PROFILE_SAVE_SUCCESS: 'Profile saved successfully',
PROFILE_SAVE_ERROR: 'Could\'t Save Your Profile.',

View file

@ -17,12 +17,12 @@
<img src="/modules/users/img/buttons/github.png">
</a>
</div> -->
<h3 class="col-md-12 text-center">Signup with your email</h3>
<h3 class="col-md-12 text-center">{{ 'SIGNUP_WITH_EMAIL' | translate }}</h3>
<div class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6">
<form name="userForm" data-ng-submit="signup()" class="signin form-horizontal" novalidate autocomplete="off">
<fieldset>
<div data-ng-show="error" id="signup_errors" class="text-center text-danger">
Couldn't complete registration due to errors: <br>
{{'SIGNUP_ERROR_TEXT'' | translate}}: <br>
<strong data-ng-bind="error"></strong>
</div>
<div class="form-group">