core icon indicating copy to clipboard operation
core copied to clipboard

SUBJECT_SHARED_LINK_SELF has no parameter, username or email address

Open phpweb opened this issue 9 years ago • 1 comments

Version: 9.1.4 Defined at: apps/files_sharing/lib/Activity.php Line: 287 Text: 'Shared via public link' $l->t('Shared via public link');

No parameter like the other activity messages like Shared via link by %2$s Here it is impossible to personalize the activity message with username or email address when someone shares his file with somebody else. For example for other messages there is at least a parameter to personalize the message:

$l->t('Shared via link by %2$s', $params)

In Backend you can see this message informative: Shared via link by User

Please add paramater possibility to the activity message in case of SUBJECT_SHARED_LINK_SELF

Thanks in advance.

phpweb avatar Apr 25 '17 21:04 phpweb

Mind submitting a PR ?

PVince81 avatar Dec 18 '17 15:12 PVince81