plugins/Yubikey.php
changeset 8 032ca892b9a2
parent 5 2114640729a5
child 10 748fa1b80031
equal deleted inserted replaced
7:c8fc1493eacd 8:032ca892b9a2
    90       },
    90       },
    91       yubiauth: {
    91       yubiauth: {
    92         msg_please_touch_key: 'Please touch your Yubikey',
    92         msg_please_touch_key: 'Please touch your Yubikey',
    93         msg_close_instructions: 'Press <tt>Esc</tt> to cancel',
    93         msg_close_instructions: 'Press <tt>Esc</tt> to cancel',
    94         msg_invalid_chars: 'OTP contains invalid characters',
    94         msg_invalid_chars: 'OTP contains invalid characters',
       
    95         msg_too_long: 'OTP is too long',
    95         msg_validating_otp: 'Validating OTP...',
    96         msg_validating_otp: 'Validating OTP...',
    96         msg_otp_valid: 'OTP validated',
    97         msg_otp_valid: 'OTP validated',
    97         btn_enter_otp: 'Enter a Yubikey OTP',
    98         btn_enter_otp: 'Enter a Yubikey OTP',
    98         lbl_otp_field: 'Yubikey OTP:',
    99         lbl_otp_field: 'Yubikey OTP:',
    99         
   100         
   146         field_flags_username: 'Require a username',
   147         field_flags_username: 'Require a username',
   147         field_flags_userandpw: 'Require a username and password',
   148         field_flags_userandpw: 'Require a username and password',
   148         field_allow_plain_login: 'Allow me to log in without my Yubikey',
   149         field_allow_plain_login: 'Allow me to log in without my Yubikey',
   149         field_allow_plain_login_hint: 'If this option is turned off, you will be unable to access your account if all of your enrolled Yubikeys become lost or broken. However, turning this option off provides greater security.',
   150         field_allow_plain_login_hint: 'If this option is turned off, you will be unable to access your account if all of your enrolled Yubikeys become lost or broken. However, turning this option off provides greater security.',
   150         err_double_enrollment: 'One of the Yubikeys you tried to enroll is already enrolled on another account on this website. A single Yubikey can only be associated with one account at a time.',
   151         err_double_enrollment: 'One of the Yubikeys you tried to enroll is already enrolled on another account on this website. A single Yubikey can only be associated with one account at a time.',
       
   152         err_double_enrollment_single: 'The Yubikey you tried to enroll is already enrolled on another account on this website. A single Yubikey can only be associated with one account at a time.',
       
   153         
       
   154         reg_field_otp: 'Enroll a <a href="http://www.yubico.com/products/yubikey" onclick="window.open(this.href); return false;">Yubikey</a>:',
       
   155         reg_field_otp_hint_optional: 'If you have a Yubikey, you can authorize it for use in your new account here.',
       
   156         reg_field_otp_hint_required: 'Please enroll a Yubikey here to create an account. This is a required step.',
       
   157         reg_err_otp_required: 'Please enroll a Yubikey to register on this site.',
       
   158         reg_err_otp_invalid: 'Your Yubikey OTP failed to validate.'
   151       },
   159       },
   152       yubiacp: {
   160       yubiacp: {
   153         th: 'Yubikey authentication',
   161         th: 'Yubikey authentication',
   154         field_enable_title: 'Yubikey support:',
   162         field_enable_title: 'Yubikey support:',
   155         field_enable: 'Enable Yubikey authentication',
   163         field_enable: 'Enable Yubikey authentication',
   156         field_api_key: 'Yubico API key:',
   164         field_api_key: 'Yubico API key:',
   157         field_api_key_id: 'Yubico numeric ID:',
   165         field_api_key_id: 'Yubico numeric ID:',
   158         field_auth_server: 'Authentication server URL:',
   166         field_auth_server: 'Authentication server URL:',
   159         field_enroll_limit: 'Number of enrolled keys permitted per account:',
   167         field_enroll_limit: 'Number of enrolled keys permitted per account:',
       
   168         field_reg_require_otp_title: 'Yubikey required for registration:',
       
   169         field_reg_require_otp_hint: 'If this is enabled, users will be asked to enroll a Yubikey during registration. The enrolled Yubikey will be authorized for the new account.',
       
   170         field_reg_require_otp: 'Require Yubikey during registration',
   160         
   171         
   161         err_invalid_auth_server: 'The URL to the Yubikey authentication server that you entered is invalid.'
   172         err_invalid_auth_server: 'The URL to the Yubikey authentication server that you entered is invalid.'
   162       }
   173       }
   163     }
   174     }
   164   }
   175   }