mirror of https://github.com/portainer/portainer
feat(i18n): translate auth
parent
67e7f8ce9e
commit
e03340272a
|
@ -71,7 +71,7 @@
|
|||
<!-- username input -->
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-user" aria-hidden="true"></i></span>
|
||||
<input id="username" type="text" class="form-control" name="username" ng-model="authData.username" placeholder="Username">
|
||||
<input id="username" type="text" class="form-control" name="username" ng-model="authData.username" placeholder="Username" translate translate-attr-placeholder="COMMON.PLACEHOLDERS.USERNAME">
|
||||
</div>
|
||||
<!-- !username input -->
|
||||
<!-- password input -->
|
||||
|
@ -86,7 +86,7 @@
|
|||
<p class="pull-left text-danger" ng-if="authData.error" style="margin: 5px;">
|
||||
<i class="fa fa-exclamation-circle" aria-hidden="true"></i> {{ authData.error }}
|
||||
</p>
|
||||
<button type="submit" class="btn btn-primary pull-right" ng-click="authenticateUser()"><i class="fa fa-sign-in" aria-hidden="true"></i> Login</button>
|
||||
<button type="submit" class="btn btn-primary pull-right" ng-click="authenticateUser()"><i class="fa fa-sign-in" aria-hidden="true"></i> <por-translation key="AUTH.LOGIN"></por-translation></button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- !login button -->
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
"ALL": "All"
|
||||
},
|
||||
"PLACEHOLDERS": {
|
||||
"USERNAME": "Username",
|
||||
"CONTAINER_NAME": "e.g. web (optional)",
|
||||
"CONTAINER_HOST_PORT": "e.g. 80 or 1.2.3.4:80 (optional)"
|
||||
}
|
||||
|
@ -29,6 +30,9 @@
|
|||
"TEXT": "Items per page:"
|
||||
}
|
||||
},
|
||||
"AUTH": {
|
||||
"LOGIN": "Login"
|
||||
},
|
||||
"SIDEBAR": {
|
||||
"ACTIVE_ENDPOINT": {
|
||||
"TITLE": "Active endpoint"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
"ALL": "Tous"
|
||||
},
|
||||
"PLACEHOLDERS": {
|
||||
"USERNAME": "Utilisateur",
|
||||
"CONTAINER_NAME": "e.g. web (optionnel)",
|
||||
"CONTAINER_HOST_PORT": "e.g. 80 or 1.2.3.4:80 (optionnel)"
|
||||
}
|
||||
|
@ -29,6 +30,9 @@
|
|||
"TEXT": "Objets par page:"
|
||||
}
|
||||
},
|
||||
"AUTH": {
|
||||
"LOGIN": "S'authentifier"
|
||||
},
|
||||
"SIDEBAR": {
|
||||
"ACTIVE_ENDPOINT": {
|
||||
"TITLE": "Environnement actif"
|
||||
|
|
Loading…
Reference in New Issue