i18n for onoffswitch
This commit is contained in:
parent
e118a06a09
commit
ff17123123
6 changed files with 31 additions and 27 deletions
|
@ -1,4 +1,6 @@
|
||||||
enabled=de Enabled
|
enabled=de Enabled
|
||||||
name=de Name
|
name=de Name
|
||||||
save=de Save
|
save=de Save
|
||||||
cancel=de Cancel
|
cancel=de Cancel
|
||||||
|
onText=AN
|
||||||
|
offText=AUS
|
|
@ -1,4 +1,6 @@
|
||||||
enabled=Enabled
|
enabled=Enabled
|
||||||
name=Name
|
name=Name
|
||||||
save=Save
|
save=Save
|
||||||
cancel=Cancel
|
cancel=Cancel
|
||||||
|
onText=ON
|
||||||
|
offText=OFF
|
|
@ -1,18 +1,18 @@
|
||||||
realm-detail.enabled.tooltip=de Users and clients can only access a realm if it's enabled
|
realm-detail.enabled.tooltip=de Users and clients can only access a realm if it's enabled
|
||||||
realm-login-settings.registrationAllowed=de User registration
|
registrationAllowed=de User registration
|
||||||
realm-login-settings.registrationAllowed.tooltip=de Enable/disable the registration page. A link for registration will show on login page too.
|
registrationAllowed.tooltip=de Enable/disable the registration page. A link for registration will show on login page too.
|
||||||
realm-login-settings.registrationEmailAsUsername=de Email as username
|
registrationEmailAsUsername=de Email as username
|
||||||
realm-login-settings.registrationEmailAsUsername.tooltip=de If enabled then username field is hidden from registration form and email is used as username for new user.
|
registrationEmailAsUsername.tooltip=de If enabled then username field is hidden from registration form and email is used as username for new user.
|
||||||
realm-login-settings.editUsernameAllowed=de Edit username
|
editUsernameAllowed=de Edit username
|
||||||
realm-login-settings.editUsernameAllowed.tooltip=de If enabled, the username field is editable, readonly otherwise.
|
editUsernameAllowed.tooltip=de If enabled, the username field is editable, readonly otherwise.
|
||||||
realm-login-settings.resetPasswordAllowed=de Forget password
|
resetPasswordAllowed=de Forget password
|
||||||
realm-login-settings.resetPasswordAllowed.tooltip=de Show a link on login page for user to click on when they have forgotten their credentials.
|
resetPasswordAllowed.tooltip=de Show a link on login page for user to click on when they have forgotten their credentials.
|
||||||
realm-login-settings.rememberMe=de Remember Me
|
rememberMe=de Remember Me
|
||||||
realm-login-settings.rememberMe.tooltip=de Show checkbox on login page to allow user to remain logged in between browser restarts until session expires.
|
rememberMe.tooltip=de Show checkbox on login page to allow user to remain logged in between browser restarts until session expires.
|
||||||
realm-login-settings.verifyEmail=de Verify email
|
verifyEmail=de Verify email
|
||||||
realm-login-settings.verifyEmail.tooltip=de Require the user to verify their email address the first time they login.
|
verifyEmail.tooltip=de Require the user to verify their email address the first time they login.
|
||||||
realm-login-settings.sslRequired=de Require SSL
|
sslRequired=de Require SSL
|
||||||
realm-login-settings.sslRequired.option.all=de all requests
|
sslRequired.option.all=de all requests
|
||||||
realm-login-settings.sslRequired.option.external=de external requests
|
sslRequired.option.external=de external requests
|
||||||
realm-login-settings.sslRequired.option.none=de none
|
sslRequired.option.none=de none
|
||||||
realm-login-settings.sslRequired.tooltip=de Is HTTPS required? 'None' means HTTPS is not required for any client IP address. 'External requests' means localhost and private IP addresses can access without HTTPS. 'All requests' means HTTPS is required for all IP addresses.
|
sslRequired.tooltip=de Is HTTPS required? 'None' means HTTPS is not required for any client IP address. 'External requests' means localhost and private IP addresses can access without HTTPS. 'All requests' means HTTPS is required for all IP addresses.
|
||||||
|
|
|
@ -57,7 +57,7 @@ module.config(function($translateProvider) {
|
||||||
$translateProvider.preferredLanguage('en');
|
$translateProvider.preferredLanguage('en');
|
||||||
$translateProvider.useCookieStorage();
|
$translateProvider.useCookieStorage();
|
||||||
$translateProvider.useUrlLoader('messages.json');
|
$translateProvider.useUrlLoader('messages.json');
|
||||||
});
|
});
|
||||||
|
|
||||||
module.config([ '$routeProvider', function($routeProvider) {
|
module.config([ '$routeProvider', function($routeProvider) {
|
||||||
$routeProvider
|
$routeProvider
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label" for="enabled">{{'enabled' | translate}}</label>
|
<label class="col-md-2 control-label" for="enabled">{{'enabled' | translate}}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input ng-model="realm.enabled" name="enabled" id="enabled" onoffswitch />
|
<input ng-model="realm.enabled" name="enabled" id="enabled" onoffswitch on-text="{{'onText' | translate}}" off-text="{{'offText' | translate}}" />
|
||||||
</div>
|
</div>
|
||||||
<kc-tooltip>{{'realm-detail.enabled.tooltip' | translate}}</kc-tooltip>
|
<kc-tooltip>{{'realm-detail.enabled.tooltip' | translate}}</kc-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,42 +6,42 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="registrationAllowed" class="col-md-2 control-label">{{'registrationAllowed' | translate}}</label>
|
<label for="registrationAllowed" class="col-md-2 control-label">{{'registrationAllowed' | translate}}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input ng-model="realm.registrationAllowed" name="registrationAllowed" id="registrationAllowed" onoffswitch />
|
<input ng-model="realm.registrationAllowed" name="registrationAllowed" id="registrationAllowed" onoffswitch on-text="{{'onText' | translate}}" off-text="{{'offText' | translate}}" />
|
||||||
</div>
|
</div>
|
||||||
<kc-tooltip>{{'registrationAllowed.tooltip' | translate}}</kc-tooltip>
|
<kc-tooltip>{{'registrationAllowed.tooltip' | translate}}</kc-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" ng-show="realm.registrationAllowed">
|
<div class="form-group" ng-show="realm.registrationAllowed">
|
||||||
<label for="registrationEmailAsUsername" class="col-md-2 control-label">{{'registrationEmailAsUsername' | translate}}</label>
|
<label for="registrationEmailAsUsername" class="col-md-2 control-label">{{'registrationEmailAsUsername' | translate}}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input ng-model="realm.registrationEmailAsUsername" name="registrationEmailAsUsername" id="registrationEmailAsUsername" onoffswitch />
|
<input ng-model="realm.registrationEmailAsUsername" name="registrationEmailAsUsername" id="registrationEmailAsUsername" onoffswitch on-text="{{'onText' | translate}}" off-text="{{'offText' | translate}}" />
|
||||||
</div>
|
</div>
|
||||||
<kc-tooltip>{{'registrationEmailAsUsername.tooltip' | translate}}</kc-tooltip>
|
<kc-tooltip>{{'registrationEmailAsUsername.tooltip' | translate}}</kc-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="editUsernameAllowed" class="col-md-2 control-label">{{'editUsernameAllowed' | translate}}</label>
|
<label for="editUsernameAllowed" class="col-md-2 control-label">{{'editUsernameAllowed' | translate}}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input ng-model="realm.editUsernameAllowed" name="editUsernameAllowed" id="editUsernameAllowed" onoffswitch />
|
<input ng-model="realm.editUsernameAllowed" name="editUsernameAllowed" id="editUsernameAllowed" onoffswitch on-text="{{'onText' | translate}}" off-text="{{'offText' | translate}}" />
|
||||||
</div>
|
</div>
|
||||||
<kc-tooltip>{{'editUsernameAllowed.tooltip' | translate}}</kc-tooltip>
|
<kc-tooltip>{{'editUsernameAllowed.tooltip' | translate}}</kc-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="resetPasswordAllowed" class="col-md-2 control-label">{{'resetPasswordAllowed' | translate}}</label>
|
<label for="resetPasswordAllowed" class="col-md-2 control-label">{{'resetPasswordAllowed' | translate}}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input ng-model="realm.resetPasswordAllowed" name="resetPasswordAllowed" id="resetPasswordAllowed" onoffswitch />
|
<input ng-model="realm.resetPasswordAllowed" name="resetPasswordAllowed" id="resetPasswordAllowed" onoffswitch on-text="{{'onText' | translate}}" off-text="{{'offText' | translate}}" />
|
||||||
</div>
|
</div>
|
||||||
<kc-tooltip>{{'resetPasswordAllowed.tooltip' |translate}}</kc-tooltip>
|
<kc-tooltip>{{'resetPasswordAllowed.tooltip' |translate}}</kc-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label" for="rememberMe">{{'rememberMe' | translate}}</label>
|
<label class="col-md-2 control-label" for="rememberMe">{{'rememberMe' | translate}}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input ng-model="realm.rememberMe" name="rememberMe" id="rememberMe" onoffswitch />
|
<input ng-model="realm.rememberMe" name="rememberMe" id="rememberMe" onoffswitch on-text="{{'onText' | translate}}" off-text="{{'offText' | translate}}" />
|
||||||
</div>
|
</div>
|
||||||
<kc-tooltip>{{'rememberMe.tooltip' | translate}}</kc-tooltip>
|
<kc-tooltip>{{'rememberMe.tooltip' | translate}}</kc-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="verifyEmail" class="col-md-2 control-label">{{'verifyEmail' | translate}}</label>
|
<label for="verifyEmail" class="col-md-2 control-label">{{'verifyEmail' | translate}}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input ng-model="realm.verifyEmail" name="verifyEmail" id="verifyEmail" onoffswitch />
|
<input ng-model="realm.verifyEmail" name="verifyEmail" id="verifyEmail" onoffswitch on-text="{{'onText' | translate}}" off-text="{{'offText' | translate}}" />
|
||||||
</div>
|
</div>
|
||||||
<kc-tooltip>{{'verifyEmail.tooltip' | translate}}</kc-tooltip>
|
<kc-tooltip>{{'verifyEmail.tooltip' | translate}}</kc-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue