Bugzilla – Attachment 177800 Details for
Bug 38664
Tidy the whole codebase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38664: Revert changse made to t/db_dependent/misc/translator/sample.tt
Bug-38664-Revert-changse-made-to-tdbdependentmisct.patch (text/plain), 1.38 KB, created by
Jonathan Druart
on 2025-02-11 21:30:32 UTC
(
hide
)
Description:
Bug 38664: Revert changse made to t/db_dependent/misc/translator/sample.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-02-11 21:30:32 UTC
Size:
1.38 KB
patch
obsolete
>From 10c8163e63782b57c04e882f8d76f801fd967f73 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 2cb06524a48..3fd4fca2a50 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 >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38664
:
175488
|
175664
|
177755
|
177796
|
177797
|
177798
|
177799
| 177800 |
177801
|
177802
|
177813
|
177825
|
177826
|
177827