Commit 48c7b5eb authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

some more translations

Signed-off-by: default avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent 8d1e01fe
......@@ -52,17 +52,17 @@
</div>
<div ng-if="success" class="form-group text-center">
<a href="index.html" class="btn btn-danger" role="button">Back to home</a>
<a href="index.html" class="btn btn-danger" role="button">{{'BACK_TO_HOME' | translate}}</a>
</div>
<form name="activationForm" ng-if="!success">
<div class="form-group">
<textarea rows="3" class="form-control" id="activationKey" placeholder="Key" ng-model="activationFormKey" required></textarea>
<textarea rows="3" class="form-control" id="activationKey" placeholder="{{'KEY' | translate}}" ng-model="activationFormKey" required></textarea>
</div>
<div class="form-group">
<button ng-click="activate_code(activationFormKey)" type="submit" class="btn btn-danger">Activate</button>
<button ng-click="activate_code(activationFormKey)" type="submit" class="btn btn-danger">{{'ACTIVATE' | translate}}</button>
</div>
<div class="form-group alert alert-info" ng-repeat="e in msgs">
......
......@@ -44,33 +44,33 @@
<div class="loginbox dark">
<img src="img/logo.png" alt="Psono Web Client" id="logo">
<a href="https://psono.com/" target="_blank" rel="noopener"><i class="fa fa-info-circle fa-pull-right" aria-hidden="true"> Info</i></a>
<a href="https://psono.com/" target="_blank" rel="noopener"><i class="fa fa-info-circle fa-pull-right" aria-hidden="true"> {{'INFO' | translate}}</i></a>
<div class="form-group">
<h4>Second factor required:</h4>
<h4>{{'SECOND_FACTOR_REQUIRED' | translate}}:</h4>
</div>
<form>
<div class="row" ng-repeat="field in account.fields" style="padding-bottom: 10px;">
<label class="control-label col-xs-7 col-sm-7 col-md-7">
{{field.title}}
{{field.title | translate}}
</label>
<div class="col-xs-5 col-sm-5 col-md-5" ng-if="field.type !== 'label_only'">
<button class="btn btn-primary {{field.class}}"
ng-click="account[field.onClick]()"
type="{{field.type}}" ng-hide="field.hidden" ng-click="">{{field.btnLabel}}</button>
type="{{field.type}}" ng-hide="field.hidden" ng-click="">{{field.btnLabel | translate}}</button>
</div>
</div>
<div class="form-group">
<div class="alert alert-info">
<strong>{{'INFO' | translate}}!</strong> Your administrator requires that you setup a second factor. Please choose one and set it up.
<strong>{{'INFO' | translate}}!</strong> {{'ADMINISTRATOR_REQUIRES_SECOND_FACTOR' | translate}}
</div>
</div>
<div class="row" style="padding-bottom: 20px;">
<div class="col-xs-5 col-sm-5 col-md-5">
<button ng-click="logout()" type="submit" class="btn btn-default">Logout <i class="fa fa-sign-in" aria-hidden="true"></i></button>
<button ng-click="logout()" type="submit" class="btn btn-default">{{'LOGOUT' | translate}} <i class="fa fa-sign-in" aria-hidden="true"></i></button>
</div>
</div>
......
......@@ -52,7 +52,7 @@
</div>
<div ng-if="success" class="form-group text-center">
<a href="index.html" class="btn btn-danger" role="button">Back to home</a>
<a href="index.html" class="btn btn-danger" role="button">{{'BACK_TO_HOME' | translate}}</a>
</div>
<form name="lostpasswordForm" ng-if="!success && !recovery_enabled">
......@@ -115,7 +115,7 @@
<form name="setpasswordForm" ng-if="!success && recovery_enabled" autocomplete="off">
<div class="form-group">
<input type="password" class="form-control" id="setpasswordPassword" placeholder="New Password" ng-model="setpasswordFormPassword" required>
<input type="password" class="form-control" id="setpasswordPassword" placeholder="{{'NEW_PASSWORD' | translate}}" ng-model="setpasswordFormPassword" required>
<uib-progressbar value="setpasswordFormPassword | complexify" ng-if="(setpasswordFormPassword | complexify) > 0">
<span complexify="setpasswordFormPassword"></span>%
......@@ -125,13 +125,13 @@
<div class="form-group">
<input type="password" class="form-control" id="setpasswordPasswordRepeat" placeholder="New Password (repeat)" ng-model="setpasswordFormPasswordRepeat" required>
<input type="password" class="form-control" id="setpasswordPasswordRepeat" placeholder="{{'NEW_PASSWORD_REPEAT' | translate}}" ng-model="setpasswordFormPasswordRepeat" required>
</div>
<div class="form-group">
<button ng-click="set_new_password(username, recovery_code, setpasswordFormPassword, setpasswordFormPasswordRepeat, recovery_data)"
type="submit" class="btn btn-danger">Set New Password</button>
type="submit" class="btn btn-danger">{{'SET_NEW_PASSWORD' | translate}}</button>
</div>
<div class="form-group alert alert-info" ng-repeat="e in msgs">
......
......@@ -52,7 +52,7 @@
</div>
</div>
<div class="loading-lock-text">
Decrypting Secret ...
{{'DECRYPTING_SECRET' | translate}}
</div>
</div>
</div>
......
......@@ -136,8 +136,7 @@
<div class="form-group">
<div class="alert alert-info">
<strong>{{'INFO' | translate}}!</strong> It appears, that you want to connect to this server for the first time.
Please verify that the fingerprint of the server is correct before approving.
<strong>{{'INFO' | translate}}!</strong> {{'IT_APPEARS_THAT_YOU_WANT_TO_CONNECT' | translate}}
</div>
</div>
</form>
......
......@@ -52,7 +52,7 @@
</div>
<div ng-if="success" class="form-group text-center">
<a href="index.html" class="btn btn-danger" role="button">Back to home</a>
<a href="index.html" class="btn btn-danger" role="button">{{'BACK_TO_HOME' | translate}}</a>
</div>
<form name="registerForm" ng-if="!success" autocomplete="off">
......@@ -62,7 +62,7 @@
</div>
<br>
<div class="form-group">
<input type="email" class="form-control" id="registerEmail" placeholder="E-Mail" ng-model="registerFormEmail" required>
<input type="email" class="form-control" id="registerEmail" placeholder="{{'E_MAIL' | translate}}" ng-model="registerFormEmail" required>
</div>
<div class="form-group">
<input type="password" class="form-control" id="registerPassword" placeholder="{{'PASSWORD' | translate}}" ng-model="registerFormPassword" required>
......@@ -75,11 +75,11 @@
<div class="form-group">
<input type="password" class="form-control" id="registerPasswordRepeat" placeholder="Password (repeat)" ng-model="registerFormPasswordRepeat" required>
<input type="password" class="form-control" id="registerPasswordRepeat" placeholder="{{'PASSWORD_REPEAT' | translate}}" ng-model="registerFormPasswordRepeat" required>
</div>
<div class="form-group">
<button ng-click="register(registerFormEmail, registerFormUsername, registerFormPassword, registerFormPasswordRepeat)" type="submit" class="btn btn-danger">Register</button>
<button ng-click="register(registerFormEmail, registerFormUsername, registerFormPassword, registerFormPasswordRepeat)" type="submit" class="btn btn-danger">{{'REGISTER' | translate}}</button>
</div>
<div class="form-group alert alert-danger" ng-repeat="e in errors">
......
{
"DECRYPTING_SECRET": "Secret entschlüsseln ...",
"SET_NEW_PASSWORD": "Neues passwort speichern",
"SECOND_FACTOR_REQUIRED": "Zweiter Faktor erforderlich",
"ACTIVATE": "Aktivieren",
"KEY": "Schlüssel",
"BACK_TO_HOME": "Zurück nach Hause",
"SEARCH_DATSTORE": "Datenspeicher durchsuchen ...",
"SETUP_SECOND_FACTOR": "Zweiten Faktor konfigurieren",
"ADMINISTRATOR_REQUIRES_SECOND_FACTOR": "Dein Administrator erfordert dass du einen zweiten Faktor einsetzt. Bitte wähle einen und konfiguriere ihn.",
......@@ -167,6 +173,7 @@
"NEW_PASSWORD_RECOVERY_CODE": "Neuer Wiederherstellungs Code",
"OLD_PASSWORD": "Altes Passwort",
"NEW_PASSWORD_REPEAT": "Neues Passwort (wiederholen)",
"PASSWORD_REPEAT": "Passwort (wiederholen)",
"PUBLIC_KEY": "Public Key",
"SERVER_API_VERSION": "Server API Version",
"SERVER_VERSION": "Server Version",
......
{
"DECRYPTING_SECRET": "Decrypting Secret ...",
"SET_NEW_PASSWORD": "Set new password",
"SECOND_FACTOR_REQUIRED": "Second factor required",
"ACTIVATE": "Activate",
"KEY": "Key",
"BACK_TO_HOME": "Back to home",
"SEARCH_DATSTORE": "Search datastore...",
"SETUP_SECOND_FACTOR": "Setup second factor",
"ADMINISTRATOR_REQUIRES_SECOND_FACTOR": "Your administrator requires that you setup a second factor. Please choose one and set it up.",
......@@ -167,6 +173,7 @@
"NEW_PASSWORD_RECOVERY_CODE": "New Password Recovery Code",
"OLD_PASSWORD": "Old Password",
"NEW_PASSWORD_REPEAT": "New Password (repeat)",
"PASSWORD_REPEAT": "Password (repeat)",
"PUBLIC_KEY": "Public Key",
"SERVER_API_VERSION": "Server API Version",
"SERVER_VERSION": "Server Version",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment