-
Hi, I use multi-line tags for rich translation with HTML and I sometimes need to comment some of the values passed to translator: {_ 'numberOfSectionsRequestedToRead', [
'number' => 0, // default value is rendered with JS
'overallCounter' => Nette\Utils\Html::el('span', ['id' => 'overallCounter', 'class' => 'overallCounter']),
'checkmark' => Nette\Utils\Html::el('span', ['class' => 'numberOfSectionsRequestedToRead']),
]} Previously, commenting with How can I comment individual lines right now? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
JanTvrdik
Dec 13, 2021
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dakur
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/* ... */
comment should work