obiba / agate

OBiBa's user ID provider.
GNU General Public License v3.0
4 stars 7 forks source link

Translation of the Enforce 2FA "title" attribute #546

Closed thiagomdiniz closed 3 months ago

thiagomdiniz commented 3 months ago

Describe the bug The translation of the "title" attribute of the "Enforce 2FA" field on the configuration edit page does not seem to be working.

To Reproduce Steps to reproduce the behavior:

  1. Using Agate version 3.0.2 (docker container oficial image)
  2. Access Agate with administrator account
  3. Go to Administration, General. Click Edit button
  4. Move the mouse arrow to the "Enforce 2FA" field and leave it resting over the field
  5. The "title" attribute should show the translated text, but it show 'config.enforced2FA' | translate

Expected behavior The translated text should be displayed when leaving the mouse over the field in question

Screenshots image

Desktop (please complete the following information):

Additional context I know it's something simple with no impact on the user. I tested some changes in the code in the "config-form.html" file but without success.