From bd3e07c756fe7cee5f09e3f70f075ba6338afba8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 11 Feb 2025 20:53:07 +0100 Subject: [PATCH] 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 --- t/db_dependent/misc/translator/sample.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/misc/translator/sample.tt b/t/db_dependent/misc/translator/sample.tt index 2cb06524a4..3fd4fca2a5 100644 --- a/t/db_dependent/misc/translator/sample.tt +++ b/t/db_dependent/misc/translator/sample.tt @@ -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