diff -r 000000000000 -r 9d2c4f04a0d0 plugins/Yubikey.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/Yubikey.php Thu Feb 26 01:08:22 2009 -0500 @@ -0,0 +1,167 @@ + language ID => categories array, ( strings object => category \ + objects => strings ) + +All text leading up to first curly brace is stripped by the parser; using +a code tag makes jEdit and other editors do automatic indentation and +syntax highlighting on the language data. The use of the code tag is not +necessary; it is only included as a tool for development. + + +{ + // english + eng: { + categories: [ 'meta', 'yubiauth', 'yubiucp', 'yubiacp' ], + strings: { + meta: { + yubiauth: 'Yubikey authentication messages', + yubiucp: 'Yubikey user CP', + yubiacp: 'Yubikey admin CP', + }, + yubiauth: { + msg_please_touch_key: 'Please touch your Yubikey', + msg_close_instructions: 'Press Esc to cancel', + msg_invalid_chars: 'OTP contains invalid characters', + msg_validating_otp: 'Validating OTP...', + msg_otp_valid: 'OTP validated', + btn_enter_otp: 'Enter a Yubikey OTP', + lbl_otp_field: 'Yubikey OTP:', + + ctl_btn_change_key: 'Change key', + ctl_btn_clear: 'Clear', + ctl_btn_enroll: 'Enroll', + ctl_status_enrolled_pending: 'Enrolled (pending)', + ctl_status_empty: 'Not enrolled', + ctl_status_remove_pending: 'Removed (pending)', + ctl_status_enrolled: 'Enrolled', + + err_invalid_otp: 'Your login was rejected because the Yubikey OTP you entered contains invalid characters.', + err_invalid_auth_url: 'Login with Yubikey was rejected because the URL to the authentication server is not valid.', + err_nothing_provided: 'You did not provide a Yubikey OTP or a username. One of these is required for login to work.', + err_must_have_otp: 'Please provide a Yubikey OTP to log in to this account.', + err_must_have_username: 'Please provide your username.', + err_key_not_authorized: 'This Yubikey is not authorized on this site.', + err_otp_invalid_chars: '%this.yubiauth_err_invalid_otp%', + err_missing_api_key: 'Your OTP could not be validated because no Yubico API key is registered on this site.', + err_http_response_error: 'Your OTP could not be validated because the Yubico authentication server reported an error.', + err_malformed_response: 'Your OTP could not be validated because the Yubico authentication server returned an unexpected response.', + err_response_missing_sig: 'Your OTP could not be validated because the Yubico authentication server did not sign its response.', + err_response_invalid_sig: 'Your OTP could not be validated because the signature of the authentication response was invalid.', + err_response_missing_status: '%this.yubiauth_err_malformed_response%', + err_response_ok: 'OTP is OK', + err_response_bad_otp: 'Authentication failed because the Yubikey OTP is invalid.', + err_response_replayed_otp: 'Authentication failed because the Yubikey OTP you entered has been used before.', + err_response_bad_signature: 'Authentication failed because the Yubico authentication server reported an invalid signature.', + err_response_missing_parameter: 'Authentication failed because of a Dan Fuhry error.', + err_response_no_such_client: 'Authentication failed because the Yubikey you used is not registered with Yubico.', + err_response_operation_not_allowed: 'Authentication failed because the Enano server was denied the request to validate the OTP.', + err_response_backend_error: 'Authentication failed because an unexpected problem happened with the Yubico server.', + err_response_security_error: 'Authentication failed because the Yubico authentication server reported an unknown security error.', + + specialpage_yubikey: 'Yubikey API' + }, + yubiucp: { + panel_title: 'Yubikey settings', + + field_enable_title: 'Enable Yubikey support on my account:', + field_enable_hint: 'Disabling support will remove any keys that are enrolled for your account.', + field_enable: 'Enabled', + field_keys_title: 'Enrolled Yubikeys:', + field_keys_hint: 'Enroll a Yubikey to allow it to log into your account.', + field_keys_maximum: 'You can enroll up to %max% Yubikeys.', + field_normal_flags: 'When logging in:', + field_elev_flags: 'When performing sensitive operations:', + field_flags_keyonly: 'Only require my Yubikey', + field_flags_username: 'Require a username', + field_flags_userandpw: 'Require a username and password', + field_allow_plain_login: 'Allow me to log in without my Yubikey', + 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.', + 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.', + }, + yubiacp: { + th: 'Yubikey authentication', + field_enable_title: 'Yubikey support:', + field_enable: 'Enable Yubikey authentication', + field_api_key: 'Yubico API key:', + field_api_key_id: 'Yubico numeric ID:', + field_auth_server: 'Authentication server URL:', + field_enroll_limit: 'Number of enrolled keys permitted per account:', + + err_invalid_auth_server: 'The URL to the Yubikey authentication server that you entered is invalid.' + } + } + } +} + +**!*/ +