https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42420 --- Comment #8 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 211688 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211688&action=edit Bug 42420: Use single quotes for t() inside data-placeholder attributes Now that data-placeholder attributes are extracted for translation, the template tokenizer chokes on the double quotes used inside the double-quoted attribute values of the OPAC masthead search options: data-placeholder="[% t("Search the catalog by title") | html %]" and generates a bogus msgid "[% t(" in <lang>-opac-bootstrap.po. Use single quotes for the t() calls, like we do elsewhere in attributes. Test plan: 1. gulp po:update --lang fr-FR 2. Confirm there is no msgid "[% t(" in misc/translator/po/fr-FR-opac-bootstrap.po 3. Confirm the masthead search placeholders are still translatable (in fr-FR-opac-bootstrap.po, coming from t()) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.