Bug 38664: Revert changse made to t/db_dependent/misc/translator/sample.tt

We don't want to comment the whole block or it won't be parsed by the
translator tool.

This has been done initially to make the prettier plugin happy but it
didn't handle TT comments correctly. Now with version 2.0.2 it should be
better.

This patch fixes t/db_dependent/misc/translator/xgettext-tt2.t
This commit is contained in:
Jonathan Druart 2025-02-11 20:53:07 +01:00
parent cfec07a55b
commit bd3e07c756
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
[% tnp('context', 'item', 'items', count) | $raw %]
[% tnpx('context', '{count} item', '{count} items', count, { count = count }) | $raw %]
[%# it also works on multiple lines
[% # it also works on multiple lines
tnpx (
'context',
'{count} item',
@ -21,7 +21,7 @@
) | $raw
%]
[%# and t* calls can be nested
[% # and t* calls can be nested
tx('status is {status}', {
status = active ? t('active') : t('inactive')
}) | $raw