-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix: remote account activity translation #51216
base: master
Are you sure you want to change the base?
fix: remote account activity translation #51216
Conversation
Signed-off-by: SebastianKrupinski <[email protected]>
@@ -114,7 +111,7 @@ public function parseShortVersion(IEvent $event, ?IEvent $previousEvent = null): | |||
|
|||
if (!isset($parsedParameters['user'])) { | |||
// External user via public link share | |||
$subject = str_replace('{user}', $this->activityLang->t('"remote account"'), $subject); | |||
$subject = str_replace('{user}', $this->l->t('"remote account"'), $subject); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nickvergessen could you please check if this is fine? activityLang was introduced in #4969
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fine, I guess (2016) we tried to avoid translating it twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but didn't test
/backport to stable31 |
/backport to stable30 |
/backport to stable29 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Summary
Checklist