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

setting the user language to Brazilian Portuguese causes the change password page to not load #7179

Open
cgomesu opened this issue Dec 11, 2024 · 4 comments

Comments

@cgomesu
Copy link

cgomesu commented Dec 11, 2024

  • Changing the user language to Brazilian Portuguese (pt_BR) causes the Change Password page (/accounts/password/change/) to not load correctly
  • It seems to be a character escaping issue:
    image
  • Steps to reproduce:
    1. go to user settings (/profile)
    2. change language to Brazilian Portuguese (pt_BR)
    3. try to update your password (atualizar senha, /accounts/password/change/)
    4. the change password page won't load
@Michael18811380328
Copy link
Contributor

Thank you for reporting this issue. I am using the latest version of seahub code and cannot reproduce your issue. You can test it again using the latest main branch code.
lang
page

@Michael18811380328
Copy link
Contributor

Based on the information in your screenshot, you can try writing 179 and 180 lines of code on one line without breaking lines.

@cgomesu
Copy link
Author

cgomesu commented Jan 6, 2025

hi, @Michael18811380328. the code was already patched locally. I forgot to mention that the issue was happening with seafile version 11.0.13 (community edition). in your print screen, it seems your browser continues to show the language content in English, despite the lang attribute being set to Brazilian Portuguese.

@Michael18811380328
Copy link
Contributor

Michael18811380328 commented Jan 7, 2025

@cgomesu Thanks for your feedback.

in your print screen, it seems your browser continues to show the language content in English, despite the lang attribute being set to Brazilian Portuguese.

When I change the language to Brazilian Portuguese, there may be some browser cache, so the screenshot is still old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants