AvS_ScopeHint2 icon indicating copy to clipboard operation
AvS_ScopeHint2 copied to clipboard

Comments not translated

Open a-leurs opened this issue 1 year ago • 5 comments

The method \AvS\ScopeHint\Plugin\ConfigFieldPlugin::afterGetComment() adds the configuration code to each comment.

Problem then is that the strings aren't translated anymore.

For example when I have a the comment Enables or disables Payment Reminder module. for a label in my custom module, and a translation text in my i18n/de_DE.csv then the afterGetComment() method changes the comment to Enables or disables Payment Reminder module. <br />Path: <code>path/to/comment</code> and that can't be translated anymore.

a-leurs avatar Mar 20 '23 14:03 a-leurs