Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview panel adds extra space to translate “invalid key” #11357

Open
xboxones1 opened this issue Oct 13, 2024 · 1 comment
Open

Preview panel adds extra space to translate “invalid key” #11357

xboxones1 opened this issue Oct 13, 2024 · 1 comment

Comments

@xboxones1
Copy link
Contributor

xboxones1 commented Oct 13, 2024

Overview

1
For some languages, an extra space is added to the translated word “invalid” in the preview panel for TOTP. I checked the translation files and there are no problems, everything is correct.

Steps to Reproduce

  1. Configure TOTP with an invalid key
  2. For example, switch to Bulgarian language
  3. Show TOTP in the preview panel
@xboxones1 xboxones1 added the bug label Oct 13, 2024
@droidmonkey
Copy link
Member

Good find, we should be handling totp generation better. Right now, if there is an error, either the string "Invalid Settings" or "Invalid Key" is returned instead of a totp value or a blank string. We should handle that situation more gracefully and in the context of the data handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To triage
Development

No branches or pull requests

2 participants