selfcustody/krux

Translation of the error is not working

aglkm opened this issue · 2 comments

aglkm commented
  1. Switch to non English language
  2. Encrypt and save a mnemonic into device flash storage
  3. Try to load this mnemonic with the wrong key
  4. Notice an error with some or all symbols not translated

I tried with es-MX and pt-BR, below are the results. The only untranslated part is the type of the error and currently I don't think we can translate that. But I've noticed lots of error messages without the t() function, so this means that when those errors happen they will not be translated

image
image

Fixed with c812d2e.
Now we know it's better not to use translations when raising errors.