keepassxc icon indicating copy to clipboard operation
keepassxc copied to clipboard

Preview panel adds extra space to translate “invalid key”

Open xboxones1 opened this issue 1 year ago • 1 comments

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 avatar Oct 13 '24 07:10 xboxones1

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.

droidmonkey avatar Oct 13 '24 14:10 droidmonkey