i18n for onoffswitch

This commit is contained in:
Stan Silvert 2015-08-27 18:10:30 -04:00
parent e118a06a09
commit ff17123123
6 changed files with 31 additions and 27 deletions

View file

@ -2,3 +2,5 @@ enabled=de Enabled
name=de Name
save=de Save
cancel=de Cancel
onText=AN
offText=AUS

View file

@ -2,3 +2,5 @@ enabled=Enabled
name=Name
save=Save
cancel=Cancel
onText=ON
offText=OFF

View file

@ -1,18 +1,18 @@
realm-detail.enabled.tooltip=de Users and clients can only access a realm if it's enabled
realm-login-settings.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.
realm-login-settings.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.
realm-login-settings.editUsernameAllowed=de Edit username
realm-login-settings.editUsernameAllowed.tooltip=de If enabled, the username field is editable, readonly otherwise.
realm-login-settings.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.
realm-login-settings.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.
realm-login-settings.verifyEmail=de Verify email
realm-login-settings.verifyEmail.tooltip=de Require the user to verify their email address the first time they login.
realm-login-settings.sslRequired=de Require SSL
realm-login-settings.sslRequired.option.all=de all requests
realm-login-settings.sslRequired.option.external=de external requests
realm-login-settings.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.
registrationAllowed=de User registration
registrationAllowed.tooltip=de Enable/disable the registration page. A link for registration will show on login page too.
registrationEmailAsUsername=de Email as username
registrationEmailAsUsername.tooltip=de If enabled then username field is hidden from registration form and email is used as username for new user.
editUsernameAllowed=de Edit username
editUsernameAllowed.tooltip=de If enabled, the username field is editable, readonly otherwise.
resetPasswordAllowed=de Forget password
resetPasswordAllowed.tooltip=de Show a link on login page for user to click on when they have forgotten their credentials.
rememberMe=de Remember Me
rememberMe.tooltip=de Show checkbox on login page to allow user to remain logged in between browser restarts until session expires.
verifyEmail=de Verify email
verifyEmail.tooltip=de Require the user to verify their email address the first time they login.
sslRequired=de Require SSL
sslRequired.option.all=de all requests
sslRequired.option.external=de external requests
sslRequired.option.none=de none
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.

View file

@ -12,7 +12,7 @@
<div class="form-group">
<label class="col-md-2 control-label" for="enabled">{{'enabled' | translate}}</label>
<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>
<kc-tooltip>{{'realm-detail.enabled.tooltip' | translate}}</kc-tooltip>
</div>

View file

@ -6,42 +6,42 @@
<div class="form-group">
<label for="registrationAllowed" class="col-md-2 control-label">{{'registrationAllowed' | translate}}</label>
<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>
<kc-tooltip>{{'registrationAllowed.tooltip' | translate}}</kc-tooltip>
</div>
<div class="form-group" ng-show="realm.registrationAllowed">
<label for="registrationEmailAsUsername" class="col-md-2 control-label">{{'registrationEmailAsUsername' | translate}}</label>
<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>
<kc-tooltip>{{'registrationEmailAsUsername.tooltip' | translate}}</kc-tooltip>
</div>
<div class="form-group">
<label for="editUsernameAllowed" class="col-md-2 control-label">{{'editUsernameAllowed' | translate}}</label>
<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>
<kc-tooltip>{{'editUsernameAllowed.tooltip' | translate}}</kc-tooltip>
</div>
<div class="form-group">
<label for="resetPasswordAllowed" class="col-md-2 control-label">{{'resetPasswordAllowed' | translate}}</label>
<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>
<kc-tooltip>{{'resetPasswordAllowed.tooltip' |translate}}</kc-tooltip>
</div>
<div class="form-group">
<label class="col-md-2 control-label" for="rememberMe">{{'rememberMe' | translate}}</label>
<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>
<kc-tooltip>{{'rememberMe.tooltip' | translate}}</kc-tooltip>
</div>
<div class="form-group">
<label for="verifyEmail" class="col-md-2 control-label">{{'verifyEmail' | translate}}</label>
<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>
<kc-tooltip>{{'verifyEmail.tooltip' | translate}}</kc-tooltip>
</div>