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:
parent
cfec07a55b
commit
bd3e07c756
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue