Closed (fixed)
Project:
User activity log
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Aug 2022 at 16:17 UTC
Updated:
22 Nov 2022 at 05:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dharti patel commentedComment #3
dharti patel commentedResolved the issue and create patch for the same.
Please review the patch.
Thanks!
Comment #4
pcambraWell it's not just that one text, there are more in the template
Comment #6
yujiman85 commentedComment #8
yujiman85 commentedI added the filter where I thought appropriate. I did NOT add it to the user-entered fields that use "node.xxx". As far as I'm aware you're not supposed to pass user-entered info through the t filter because of security reasons. Please correct me if I'm wrong. I made a merge request with the current changes, let me know if anything else needs to be added.
Comment #9
anjali rathodLets keep the commented on sentence also along with the translatable function
Comment #10
nitin_lamaPatch incoming.
Comment #11
nitin_lamaUpdated patch with #9 suggestion.
Comment #12
anjali rathodSorry missed to mention above that node.title and node.subject are also text that should be translated.
Comment #13
nitin_lamaI think node.title and node.subject translation is not required as {{ node.title }}, {{ node.subject }} will auto load the translations from the node field value. @anjali-rathod
Comment #14
yujiman85 commentedI agree with @nitin_lama. Is there anything else in this module that needs the t filter?
Comment #15
batigolixThe module only provides 1 template, so there is nothing else to translate. This can be reviewed.
Comment #16
clarkssquared commentedHi nitin_lama,
I'm new to this module and applied patch #11 to the User Activity Log module against
8.x-1.x-dev and it shows me an error in my homepage.
Please see the screenshots attached.
Thank You.
Comment #17
chanderbhushan commentedI have fixed and created the new release
thanks everyone for testing and adding patchs
Comment #18
chanderbhushan commented