Skip to content

[6.x] Ensure "Stop Impersonating" string is translated correctly#12456

Merged
jasonvarga merged 2 commits intomasterfrom
stop-impersonating-translation
Sep 16, 2025
Merged

[6.x] Ensure "Stop Impersonating" string is translated correctly#12456
jasonvarga merged 2 commits intomasterfrom
stop-impersonating-translation

Conversation

@duncanmcclean
Copy link
Copy Markdown
Member

This pull request fixes an issue where the "Stop Impersonating" string wasn't being translated, due to the middleware running before the Localize middleware.

Rather than re-ordering the middleware, we can simply pass the desired locale to the __() method.

Fixes #12442

@duncanmcclean duncanmcclean linked an issue Sep 15, 2025 that may be closed by this pull request
@jasonvarga jasonvarga merged commit 4bfd5fd into master Sep 16, 2025
18 checks passed
@jasonvarga jasonvarga deleted the stop-impersonating-translation branch September 16, 2025 18:47
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

Successfully merging this pull request may close these issues.

[6.x] 'Stop Impersonating' does not translate

2 participants