Update 2fa locales to use _ instead of -

This commit is contained in:
syeopite 2021-07-16 13:32:56 -07:00
parent 303fa0bc7a
commit 668074a253
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82
43 changed files with 475 additions and 475 deletions

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "After which you should try to: ",
"next_steps_error_message_refresh": "Refresh",
"next_steps_error_message_go_to_youtube": "Go to Youtube",
"setup-totp-form-header": "Setup two factor authenticiation (TOTP)",
"setup-totp-instructions-download-auth": "Install an authenticator app (or anything that supports totp) on your device",
"setup-totp-instructions-enter-code": "Enter the following <strong>secret</strong> code:",
"setup-totp-instructions-validate-code": "Enter the 6 digit number on your screen. Be sure to do it under thirty seconds!",
"setup-totp-submit-button": "Setup TOTP",
"general-totp-empty-field": "The TOTP code is a required field",
"general-totp-invalid-code": "The TOTP code entered is invalid",
"general-totp-enter-code-field": "6 digit number",
"general-totp-enter-code-header": "Two-factor authentication",
"general-totp-verify-button": "Verify",
"remove-totp-header": "Remove two-factor authentication",
"remove-totp-confirm-message": "Are you sure you would like to remove two-factor-authentication?"
"setup_totp_form_header": "Setup two factor authenticiation (TOTP)",
"setup_totp_instructions_download_auth": "Install an authenticator app (or anything that supports totp) on your device",
"setup_totp_instructions_enter_code": "Enter the following <strong>secret</strong> code:",
"setup_totp_instructions_validate_code": "Enter the 6 digit number on your screen. Be sure to do it under thirty seconds!",
"setup_totp_submit_button": "Setup TOTP",
"general_totp_empty_field": "The TOTP code is a required field",
"general_totp_invalid_code": "The TOTP code entered is invalid",
"general_totp_enter_code_field": "6 digit number",
"general_totp_enter_code_header": "Two-factor authentication",
"general_totp_verify_button": "Verify",
"remove_totp_header": "Remove two-factor authentication",
"remove_totp_confirm_message": "Are you sure you would like to remove two-factor-authentication?"
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "Vous pouvez essayer de : ",
"next_steps_error_message_refresh": "Rafraîchir la page",
"next_steps_error_message_go_to_youtube": "Aller sur Youtube",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "Po to turėtumėte pabandyti: ",
"next_steps_error_message_refresh": "Atnaujinti",
"next_steps_error_message_go_to_youtube": "Eiti į Youtube",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "Bundan sonra şunları denemelisiniz: ",
"next_steps_error_message_refresh": "Yenile",
"next_steps_error_message_go_to_youtube": "Youtube'a git",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "",
"next_steps_error_message_refresh": "",
"next_steps_error_message_go_to_youtube": "",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "在此之后你应尝试: ",
"next_steps_error_message_refresh": "刷新",
"next_steps_error_message_go_to_youtube": "转到 Youtube",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -424,16 +424,16 @@
"next_steps_error_message": "之後您應該嘗試: ",
"next_steps_error_message_refresh": "重新整理",
"next_steps_error_message_go_to_youtube": "到 YouTube",
"setup-totp-form-header": "",
"setup-totp-instructions-download-auth": "",
"setup-totp-instructions-enter-code": "",
"setup-totp-instructions-validate-code": "",
"setup-totp-submit-button": "",
"general-totp-empty-field": "",
"general-totp-invalid-code": "",
"general-totp-enter-code-field": "",
"general-totp-enter-code-header": "",
"general-totp-verify-button": "",
"remove-totp-header": "",
"remove-totp-confirm-message": ""
"setup_totp_form_header": "",
"setup_totp_instructions_download_auth": "",
"setup_totp_instructions_enter_code": "",
"setup_totp_instructions_validate_code": "",
"setup_totp_submit_button": "",
"general_totp_empty_field": "",
"general_totp_invalid_code": "",
"general_totp_enter_code_field": "",
"general_totp_enter_code_header": "",
"general_totp_verify_button": "",
"remove_totp_header": "",
"remove_totp_confirm_message": ""
}

View file

@ -84,12 +84,12 @@ class Invidious::Routes::Accounts < Invidious::Routes::BaseRoute
totp_code = env.params.body["totp_code"]?
db_secret = env.params.body["db_secret"] # Must exist
if !totp_code
return error_template(401, translate(locale, "general-totp-empty-field"))
return error_template(401, translate(locale, "general_totp_empty_field"))
end
totp_instance = CrOTP::TOTP.new(db_secret)
if !totp_instance.verify(totp_code)
return error_template(401, translate(locale, "general-totp-invalid-code"))
return error_template(401, translate(locale, "general_totp_invalid_code"))
end
PG_DB.exec("UPDATE users SET totp_secret = $1 WHERE email = $2", db_secret.to_s, user.email)
@ -109,12 +109,12 @@ class Invidious::Routes::Accounts < Invidious::Routes::BaseRoute
user = PG_DB.query_one?("SELECT * FROM users WHERE email = $1", email, as: User).not_nil!
if !totp_code
return error_template(401, translate(locale, "general-totp-empty-field"))
return error_template(401, translate(locale, "general_totp_empty_field"))
end
totp_instance = CrOTP::TOTP.new(user.totp_secret.not_nil!)
if !totp_instance.verify(totp_code)
return error_template(401, translate(locale, "general-totp-invalid-code"))
return error_template(401, translate(locale, "general_totp_invalid_code"))
end
if Kemal.config.ssl || CONFIG.https_only

View file

@ -1,10 +1,10 @@
<% content_for "header" do %>
<title><%= translate(locale, "remove-totp-header") %> - Invidious</title>
<title><%= translate(locale, "remove_totp_header") %> - Invidious</title>
<% end %>
<div class="h-box">
<form class="pure-form pure-form-aligned" action="/remove_2fa?referer=<%= URI.encode_www_form(referer) %>" method="post">
<legend><%= translate(locale, "remove-totp-confirm-message") %></legend>
<legend><%= translate(locale, "remove_totp_confirm_message") %></legend>
<div class="pure-g">
<div class="pure-u-1-2">

View file

@ -1,5 +1,5 @@
<% content_for "header" do %>
<title><%= translate(locale, "setup-totp-form-header") %> - Invidious</title>
<title><%= translate(locale, "setup_totp_form_header") %> - Invidious</title>
<% end %>
<div class="pure-g">
@ -7,25 +7,25 @@
<div class="pure-u-1 pure-u-lg-3-5">
<div class="h-box">
<form class="pure-form pure-form-aligned" action="/setup_2fa?referer=<%= URI.encode_www_form(referer) %>" method="post">
<legend><%= translate(locale, "setup-totp-form-header") %></legend>
<legend><%= translate(locale, "setup_totp_form_header") %></legend>
<fieldset>
<input name="db_secret" type="hidden" value="<%= HTML.escape(db_secret) %>">
<ol style="word-wrap: anywhere; white-space: break-space;">
<li> <%= translate(locale, "setup-totp-instructions-download-auth") %> </li>
<li> <%= translate(locale, "setup-totp-instructions-enter-code") %>
<li> <%= translate(locale, "setup_totp_instructions_download_auth") %> </li>
<li> <%= translate(locale, "setup_totp_instructions_enter_code") %>
<code> <%=user_secret%> </code>
</li>
<li> <%= translate(locale, "setup-totp-instructions-validate-code") %> </li>
<li> <%= translate(locale, "setup_totp_instructions_validate_code") %> </li>
</ol>
<input required class="pure-input-1" name="totp_code" placeholder="<%= translate(locale, "general-totp-enter-code-field") %>">
<input required class="pure-input-1" name="totp_code" placeholder="<%= translate(locale, "general_totp_enter_code_field") %>">
<input type="hidden" name="csrf_token" value="<%= URI.encode_www_form(csrf_token) %>">
<button type="submit" name="action" value="setup-totp-form-header" class="pure-button pure-button-primary">
<%= translate(locale, "setup-totp-submit-button") %>
<button type="submit" name="action" value="setup_totp_form_header" class="pure-button pure-button-primary">
<%= translate(locale, "setup_totp_submit_button") %>
</button>
</fieldset>

View file

@ -1,5 +1,5 @@
<% content_for "header" do %>
<title><%= translate(locale, "setup-totp-form-header") %> - Invidious</title>
<title><%= translate(locale, "setup_totp_form_header") %> - Invidious</title>
<% end %>
<div class="pure-g">
@ -7,7 +7,7 @@
<div class="pure-u-1 pure-u-lg-3-5">
<div class="h-box">
<form class="pure-form pure-form-aligned" action="/validate_2fa?referer=<%= URI.encode_www_form(referer) %>" method="post">
<legend><%= translate(locale, "general-totp-enter-code-header") %></legend>
<legend><%= translate(locale, "general_totp_enter_code_header") %></legend>
<fieldset>
<!-- Hidden fields used for sign-in authentication-->
@ -18,7 +18,7 @@
<input name="password" type="hidden" value="<%= HTML.escape(password) %>">
<% end %>
<input required class="pure-input-1" name="totp_code" placeholder="<%= translate(locale, "general-totp-enter-code-field") %>">
<input required class="pure-input-1" name="totp_code" placeholder="<%= translate(locale, "general_totp_enter_code_field") %>">
<% if csrf_token %>
<input type="hidden" name="csrf_token" value="<%= URI.encode_www_form(csrf_token) %>">
@ -26,7 +26,7 @@
<button type="submit" name="action" class="pure-button pure-button-primary">
<%= translate(locale, "general-totp-verify-button") %>
<%= translate(locale, "general_totp_verify_button") %>
</button>
</fieldset>

View file

@ -320,7 +320,7 @@
</div>
<div class="pure-control-group">
<a href="/setup_2fa?referer=<%= URI.encode_www_form(referer) %>"><%= translate(locale, "setup-totp-form-header") %></a>
<a href="/setup_2fa?referer=<%= URI.encode_www_form(referer) %>"><%= translate(locale, "setup_totp_form_header") %></a>
</div>
<div class="pure-control-group">