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

use localized error message #2736

Merged
merged 1 commit into from
Jan 19, 2024
Merged

use localized error message #2736

merged 1 commit into from
Jan 19, 2024

Conversation

saschaszott
Copy link
Contributor

Description

This PR removes the hard coded error message in AuthService that is displayed when a user supplies invalid username and/or password.

Please note, that AuthService still contains two other hard coded error messages ("Not authenticated").

@tdonohue tdonohue added bug i18n / l10n Internationalisation and localisation, related to message catalogs 1 APPROVAL pull request only requires a single approval to merge port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release labels Jan 10, 2024
Copy link
Contributor

@nwoodward nwoodward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks good after deploying. It would be nice to also localize the "not authenticated" messages you mentioned.

Copy link
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks @saschaszott ! This seems like a very obvious win. Merging immediately.

@tdonohue tdonohue added this to the 8.0 milestone Jan 19, 2024
@tdonohue tdonohue merged commit 6536fbf into DSpace:main Jan 19, 2024
13 checks passed
@dspace-bot
Copy link
Contributor

Successfully created backport PR for dspace-7_x:

@tdonohue tdonohue removed the port to dspace-7_x This PR needs to be ported to `dspace-7_x` branch for next bug-fix release label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 APPROVAL pull request only requires a single approval to merge bug i18n / l10n Internationalisation and localisation, related to message catalogs
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

4 participants