Commit dad91adc authored by Sascha Pfeiffer's avatar Sascha Pfeiffer

some more translations

Signed-off-by: default avatarSascha Pfeiffer <sascha.pfeiffer@psono.com>
parent 479c1dce
......@@ -48,7 +48,7 @@
<div ng-if="success" class="big-font-icon-and-msg">
<i class="fa fa-thumbs-o-up"></i>
<div ng-repeat="e in msgs">{{e}}</div>
<div ng-repeat="e in msgs"><span translate="{{ e }}"></span></div>
</div>
<div ng-if="success" class="form-group text-center">
......
......@@ -183,13 +183,13 @@
}
if (allowed_second_factors.indexOf('google_authenticator') !== -1) {
_account.fields.push({ name: "google_authenticator_setup", field: "button", type: "button", title: "Google Authenticator", btnLabel: "Configure", class: 'btn-primary', onClick:"onClickConfigureGoogleAuthenticator", tab: 'multifactor-authentication' })
_account.fields.push({ name: "google_authenticator_setup", field: "button", type: "button", title: "GOOGLE_AUTHENTICATOR", btnLabel: "CONFIGURE", class: 'btn-primary', onClick:"onClickConfigureGoogleAuthenticator", tab: 'multifactor-authentication' })
}
if (allowed_second_factors.indexOf('yubikey_otp') !== -1) {
_account.fields.push({ name: "yubikey_otp_setup", field: "button", type: "button", title: "YubiKey (OTP)", btnLabel: "Configure", class: 'btn-primary', onClick:"onClickConfigureYubiKeyOTP", tab: 'multifactor-authentication' })
_account.fields.push({ name: "yubikey_otp_setup", field: "button", type: "button", title: "YUBIKEY_OTP", btnLabel: "CONFIGURE", class: 'btn-primary', onClick:"onClickConfigureYubiKeyOTP", tab: 'multifactor-authentication' })
}
if (allowed_second_factors.indexOf('duo') !== -1) {
_account.fields.push({ name: "duo_setup", field: "button", type: "button", title: "Duo (Push or Code)", btnLabel: "Configure", class: 'btn-primary', onClick:"onClickConfigureDuo", tab: 'multifactor-authentication' })
_account.fields.push({ name: "duo_setup", field: "button", type: "button", title: "DUO_PUSH_OR_CODE", btnLabel: "CONFIGURE", class: 'btn-primary', onClick:"onClickConfigureDuo", tab: 'multifactor-authentication' })
}
}
......
......@@ -48,7 +48,7 @@
<div ng-if="success" class="big-font-icon-and-msg">
<i class="fa fa-thumbs-o-up"></i>
<div ng-repeat="e in msgs">{{e}}</div>
<div ng-repeat="e in msgs"><span translate="{{ e }}"></span></div>
</div>
<div ng-if="success" class="form-group text-center">
......
......@@ -48,7 +48,7 @@
<div ng-if="success" class="big-font-icon-and-msg">
<i class="fa fa-thumbs-o-up"></i>
<div ng-repeat="e in msgs">{{e}}</div>
<div ng-repeat="e in msgs"><span translate="{{ e }}"></span></div>
</div>
<div ng-if="success" class="form-group text-center">
......
{
"SETUP": "Einrichten",
"VALIDATE": "Überprüfen",
"SCAN_THE_CODE_THEN_CLICK_HERE": "Code scannen, dann hier klicken",
"ONE_CODE_FOR_VALIDATION": "Ein Code zur Validierung",
"ONE_OF_YOUR_YUBIKEY_OTPS": "Einer deiner YubiKey Codes",
"EXISTING_DUOS": "Existierende Duos",
"TITLE_OF_YOUR_DUO": "Titel deines Duo",
"SECRET_KEY": "Secret Key",
"INTEGRATION_KEY": "Integration Key",
"NEW_DUO": "Neuer Duo",
"TITLE_OF_YOUR_YUBIKEY": "Titel deines YubiKeys",
"DUO": "Duo",
"DUO_TITLE": "Duo Titel",
"GOOGLE_AUTHENTICATOR": "Google Authenticator",
"YUBIKEY": "YubiKey",
"YUBIKEY_OTP": "YubiKey (OTP)",
"EXISTING_YUBIKEYS": "Existierende YubiKeys",
"NEW_YUBIKEYS": "Neuer YubiKey",
"DUO_PUSH_OR_CODE": "Duo (Push or Code)",
"EXISTING_GAS": "Existierende GAs",
"GA_TITLE": "GA Titel",
"NEW_GA": "Neuer GA",
"TITLE_OF_YOUR_GA": "Title of your GA",
"CONFIGURE": "Konfigurieren",
"URL_FILTER_EG": "URL Filter z.B. example.com oder sub.example.com",
"GPG_KEY": "GPG Key",
"URL": "URL",
......
{
"SETUP": "Setup",
"VALIDATE": "Validate",
"SCAN_THE_CODE_THEN_CLICK_HERE": "Scan the code and then click here",
"ONE_CODE_FOR_VALIDATION": "One code for validation",
"ONE_OF_YOUR_YUBIKEY_OTPS": "One of your YubiKey OTPs",
"EXISTING_DUOS": "Existing Duos",
"TITLE_OF_YOUR_DUO": "Title of your Duo",
"SECRET_KEY": "Secret Key",
"INTEGRATION_KEY": "Integration Key",
"NEW_DUO": "New Duo",
"TITLE_OF_YOUR_YUBIKEY": "Title of your YubiKey",
"DUO": "Duo",
"DUO_TITLE": "Duo Title",
"GOOGLE_AUTHENTICATOR": "Google Authenticator",
"YUBIKEY": "YubiKey",
"YUBIKEY_OTP": "YubiKey (OTP)",
"EXISTING_YUBIKEYS": "Existing YubiKeys",
"NEW_YUBIKEYS": "New YubiKey",
"DUO_PUSH_OR_CODE": "Duo (Push or Code)",
"EXISTING_GAS": "Existing GAs",
"GA_TITLE": "GA Title",
"NEW_GA": "New GA",
"TITLE_OF_YOUR_GA": "Title of your GA",
"CONFIGURE": "Configure",
"URL_FILTER_EG": "URL filter e.g. example.com or sub.example.com",
"GPG_KEY": "GPG Key",
"URL": "URL",
......
......@@ -57,7 +57,7 @@
<button class="btn btn-primary" type="button" ng-click="add_new_recipient();">Add</button>
</div>
<div class="form-group" ng-if="data.new_public_key | fingerprint">
<span class="error" ng-repeat="e in errors">{{e}}</span>
<div class="error" ng-repeat="e in errors"><span translate="{{ e }}"></span></div>
</div>
</uib-tab>
......
......@@ -14,7 +14,7 @@
<div class="form-group alert alert-danger" ng-repeat="e in errors">
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e | translate}}"></span>
</div>
</div>
<div class="modal-body" ng-if="!state.started_load_all_datastores">
......@@ -30,7 +30,7 @@
</div>
<div class="form-group alert alert-danger" ng-repeat="e in state.errors">
<strong>{{'ERROR' | translate}}:</strong> {{e}}
<strong>{{'ERROR' | translate}}:</strong> <span translate="{{ e }}"></span>
</div>
</div>
<div class="modal-footer">
......
<form name="modalSetupGoogleAuthenticatorForm" novalidate autocomplete="off">
<div class="modal-header">
<button type="button" class="close" ng-click="close()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">Duo</h3>
<h3 class="modal-title">{{'DUO' | translate}}</h3>
</div>
<div class="modal-body">
<uib-tabset>
<uib-tab heading="Existing Duos">
<uib-tab heading="{{'EXISTING_DUOS' | translate}}">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
<th>Duo Title</th>
<th>{{'DUO_TITLE' | translate}}</th>
<th>{{'DELETE' | translate}}</th>
</tr>
</thead>
......@@ -23,16 +23,16 @@
<td>{{ duo.title }}</td>
<td>
<button type="button" class="btn btn-default btn-sm" ng-click="delete_duo(duos, duo.id)">
Delete
{{'DELETE' | translate}}
</button>
</td>
</tr>
</tbody>
</table>
<span ng-repeat="e in delete_errors" class="help-block">{{e}}</span>
<div ng-repeat="e in delete_errors" class="help-block"><span translate="{{ e }}"></span></div>
</uib-tab>
<uib-tab heading="New Duo">
<uib-tab heading="{{'NEW_DUO' | translate}}">
<br>
<div class="form-horizontal" ng-if="step === 'step1'">
......@@ -40,13 +40,13 @@
<label class="control-label col-sm-6 col-md-4"
for="newDuoForm-title">
<span>Title</span>
<span>{{'TITLE' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="text" ng-model="new_duo.title"
ng-required="true"
placeholder="Title of your Duo" id="newDuoForm-title"
placeholder="{{'TITLE_OF_YOUR_DUO' | translate}}" id="newDuoForm-title"
name="title"
class="form-control">
</div>
......@@ -55,13 +55,13 @@
<label class="control-label col-sm-6 col-md-4"
for="newDuoForm-integration_key">
<span>Integration Key</span>
<span>{{'INTEGRATION_KEY' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="text" ng-model="new_duo.integration_key"
ng-required="true"
placeholder="Integration Key" id="newDuoForm-integration_key"
placeholder="{{'INTEGRATION_KEY' | translate}}" id="newDuoForm-integration_key"
name="integration_key"
class="form-control">
</div>
......@@ -70,13 +70,13 @@
<label class="control-label col-sm-6 col-md-4"
for="newDuoForm-secret_key">
<span>Secret Key</span>
<span>{{'SECRET_KEY' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="password" ng-model="new_duo.secret_key"
ng-required="true"
placeholder="Secret Key" id="newDuoForm-secret_key"
placeholder="{{'SECRET_KEY' | translate}}" id="newDuoForm-secret_key"
name="secret_key"
class="form-control">
</div>
......@@ -85,13 +85,13 @@
<label class="control-label col-sm-6 col-md-4"
for="newDuoForm-host">
<span>Host</span>
<span>{{'HOST' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="text" ng-model="new_duo.host"
ng-required="true"
placeholder="Host" id="newDuoForm-host"
placeholder="{{'HOST' | translate}}" id="newDuoForm-host"
name="host"
class="form-control">
<div ng-repeat="e in errors" class="help-block">
......@@ -105,7 +105,7 @@
</label>
<div class="col-sm-6 col-md-8">
<button class="btn btn-primary btn-primary" ng-click="create_duo(new_duo)" type="button">Setup</button>
<button class="btn btn-primary btn-primary" ng-click="create_duo(new_duo)" type="button">{{'SETUP' | translate}}</button>
</div>
</div>
</div>
......@@ -116,7 +116,7 @@
</div>
<div class="row form-group">
<div class="text-center">
<button class="btn btn-primary btn-primary" ng-click="goto_step3()" type="button">Scan the code and then click here</button>
<button class="btn btn-primary btn-primary" ng-click="goto_step3()" type="button">{{'SCAN_THE_CODE_THEN_CLICK_HERE' | translate}}</button>
</div>
</div>
......@@ -128,13 +128,13 @@
<label class="control-label col-sm-6 col-md-4"
for="validateGAForm-title">
<span>Code</span>
<span>{{'CODE' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="text" ng-model="new_ga.code"
ng-required="true"
placeholder="One Code for validation" id="validateGAForm-title"
placeholder="{{'ONE_CODE_FOR_VALIDATION' | translate}}" id="validateGAForm-title"
name="title"
class="form-control">
<div ng-repeat="e in errors" class="help-block">
......@@ -148,7 +148,7 @@
</label>
<div class="col-sm-6 col-md-8">
<button class="btn btn-primary btn-primary" ng-click="activate_duo(new_duo)" type="button">Validate</button>
<button class="btn btn-primary btn-primary" ng-click="activate_duo(new_duo)" type="button">{{'VALIDATE' | translate}}</button>
</div>
</div>
</div>
......
<form name="modalSetupGoogleAuthenticatorForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="close()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">Google Authenticator</h3>
<h3 class="modal-title">{{'GOOGLE_AUTHENTICATOR' | translate}}</h3>
</div>
<div class="modal-body">
<uib-tabset>
<uib-tab heading="Existing GAs">
<uib-tab heading="{{'EXISTING_GAS' | translate}}">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
<th>GA Title</th>
<th>{{'GA_TITLE' | translate}}</th>
<th>{{'DELETE' | translate}}</th>
</tr>
</thead>
......@@ -23,16 +23,16 @@
<td>{{ ga.title }}</td>
<td>
<button type="button" class="btn btn-default btn-sm" ng-click="delete_ga(gas, ga.id)">
Delete
{{'DELETE' | translate}}
</button>
</td>
</tr>
</tbody>
</table>
<span ng-repeat="e in delete_errors" class="help-block">{{e}}</span>
<div ng-repeat="e in delete_errors" class="help-block"><span translate="{{ e }}"></span></div>
</uib-tab>
<uib-tab heading="New GA">
<uib-tab heading="{{'NEW_GA' | translate}}">
<br>
<div class="form-horizontal" ng-if="step === 'step1'">
......@@ -40,13 +40,13 @@
<label class="control-label col-sm-6 col-md-4"
for="newGAForm-title">
<span>Title</span>
<span>{{'TITLE' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="text" ng-model="new_ga.title"
ng-required="true"
placeholder="Title of your GA" id="newGAForm-title"
placeholder="{{'TITLE_OF_YOUR_GA' | translate}}" id="newGAForm-title"
name="title"
class="form-control">
<div ng-repeat="e in errors" class="help-block">
......@@ -71,7 +71,7 @@
</div>
<div class="row form-group">
<div class="text-center">
<button class="btn btn-primary btn-primary" ng-click="goto_step3()" type="button">Scan the code and then click here</button>
<button class="btn btn-primary btn-primary" ng-click="goto_step3()" type="button">{{'SCAN_THE_CODE_THEN_CLICK_HERE' | translate}}</button>
</div>
</div>
......@@ -82,13 +82,13 @@
<label class="control-label col-sm-6 col-md-4"
for="validateGAForm-title">
<span>Code</span>
<span>{{'CODE' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="text" ng-model="new_ga.code"
ng-required="true"
placeholder="One Code for validation" id="validateGAForm-title"
placeholder="{{'ONE_CODE_FOR_VALIDATION' | translate}}" id="validateGAForm-title"
name="title"
class="form-control">
<div ng-repeat="e in errors" class="help-block">
......
<form name="modalSetupYubikeyOTPForm" novalidate>
<div class="modal-header">
<button type="button" class="close" ng-click="close()"><span aria-hidden="true">&times;</span></button>
<h3 class="modal-title">YubiKeys</h3>
<h3 class="modal-title">{{'YUBIKEY' | translate}}</h3>
</div>
<div class="modal-body">
<uib-tabset>
<uib-tab heading="Existing YubiKeys">
<uib-tab heading="{{'EXISTING_YUBIKEYS' | translate}}">
<table datatable="ng" class="row-border hover" dt-options="dtOptions" dt-column-defs="dtColumnDefs">
<thead>
<tr>
......@@ -20,16 +20,16 @@
<td>{{ yubikey_otp.title }}</td>
<td>
<button type="button" class="btn btn-default btn-sm" ng-click="delete_yubikey_otp(yubikey_otps, yubikey_otp.id)">
Delete
{{'DELETE' | translate}}
</button>
</td>
</tr>
</tbody>
</table>
<span ng-repeat="e in delete_errors" class="help-block">{{e}}</span>
<div ng-repeat="e in delete_errors" class="help-block"><span translate="{{ e }}"></span></div>
</uib-tab>
<uib-tab heading="New YubiKey">
<uib-tab heading="{{'NEW_YUBIKEYS' | translate}}">
<br>
<div class="form-horizontal">
......@@ -37,13 +37,13 @@
<label class="control-label col-sm-6 col-md-4"
for="newYubiKeyForm-title">
<span>Title</span>
<span>{{'TITLE' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="text" ng-model="new_yubikey_otp.title"
ng-required="true"
placeholder="Title of your YubiKey" id="newYubiKeyForm-title"
placeholder="{{'TITLE_OF_YOUR_YUBIKEY' | translate}}" id="newYubiKeyForm-title"
name="title"
class="form-control">
<div ng-repeat="e in errors" class="help-block">
......@@ -55,13 +55,13 @@
<label class="control-label col-sm-6 col-md-4"
for="newYubiKeyForm-otp">
<span>YubiKey OTP</span>
<span>{{'YUBIKEY_OTP' | translate}}</span>
</label>
<div class="col-sm-6 col-md-8">
<input type="text" ng-model="new_yubikey_otp.otp"
ng-required="true"
placeholder="One of your YubiKey OTPs" id="newYubiKeyForm-otp"
placeholder="{{'ONE_OF_YOUR_YUBIKEY_OTPS' | translate}}" id="newYubiKeyForm-otp"
name="otp"
class="form-control" ng-keyup="$event.keyCode == 13 && create_yubikey_otp(new_yubikey_otp)">
<div ng-repeat="e in errors" class="help-block">
......
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