Bugzilla – Attachment 175609 Details for
Bug 38727
Improve the translatability of the patron categories administration page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38727: Improve translatability in categories.tt
Bug-38727-Improve-translatability-in-categoriestt.patch (text/plain), 4.16 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-12-17 13:00:50 UTC
(
hide
)
Description:
Bug 38727: Improve translatability in categories.tt
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-12-17 13:00:50 UTC
Size:
4.16 KB
patch
obsolete
>From a4d17d86198cecb622a16c43a75edf94eff7b900 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 17 Dec 2024 09:50:24 -0300 >Subject: [PATCH] Bug 38727: Improve translatability in categories.tt > >This makes the strings easier to translated for maintaining them as a >whole instead of splitting them > >Extra: it adds a missing dot for consistency. > >To test: >1. In the categories edit page, check the 3 'If set...' texts >2. Apply this patch and reload >=> SUCCESS: No visual change >3. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > .../intranet-tmpl/prog/en/modules/admin/categories.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >index a162519f98b..48032e5f372 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >@@ -478,22 +478,22 @@ > <option value="0" selected>No</option> > [% END %] > </select> >- <div class="hint">If <i>Yes</i>, holds placed by patrons of this category will not be given priority</div> >+ <div class="hint">If <i>Yes</i>, holds placed by patrons of this category will not be given priority.</div> > </li> > <li> > <label for="noissuescharge">Checkout charge limit: </label> > <input type="text" pattern="^\d+(\.\d{2})?$" name="noissuescharge" id="noissuescharge" value="[% category.noissuescharge | $Price on_editing => 1 %]" class="decimal" size="3" maxlength="4" /> >- <div class="hint">If set, this will override the global value set in the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noissuescharge&ok=Search">noissuescharge</a> preference</div> >+ <div class="hint">[%- I18N.tx("If set, this will override the global value set in the {preference} preference.", { preference => '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noissuescharge&ok=Search">noissuescharge</a>' } ) | $raw -%]</div> > </li> > <li> > <label for="noissueschargeguarantees">Guarantees checkout charge limit: </label> > <input type="text" pattern="^\d+(\.\d{2})?$" name="noissueschargeguarantees" id="noissueschargeguarantees" value="[% category.noissueschargeguarantees | $Price on_editing => 1 %]" class="decimal" size="3" maxlength="4" /> >- <div class="hint">If set, this will override the global value set in the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noissuescharge&ok=Search">NoIssuesChargeGuarantees</a> preference</div> >+ <div class="hint">[%- I18N.tx("If set, this will override the global value set in the {preference} preference.", { preference => '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noissuescharge&ok=Search">NoIssuesChargeGuarantees</a>' } ) | $raw -%]</div> > </li> > <li> > <label for="noissueschargeguarantorswithguarantees">Guarantors with guarantees checkout charge limit: </label> > <input type="text" pattern="^\d+(\.\d{2})?$" name="noissueschargeguarantorswithguarantees" id="noissueschargeguarantorswithguarantees" value="[% category.noissueschargeguarantorswithguarantees | $Price on_editing => 1 %]" class="decimal" size="3" maxlength="4" /> >- <div class="hint">If set, this will override the global value set in the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noissuescharge&ok=Search">NoIssuesChargeGuarantorsWithGuarantees</a> preference</div> >+ <div class="hint">[%- I18N.tx("If set, this will override the global value set in the {preference} preference.", { preference => '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noissuescharge&ok=Search">NoIssuesChargeGuarantorsWithGuarantees</a>' } ) | $raw -%]</div> > </li> > </ol> > </fieldset> >-- >2.47.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 38727
:
175609
|
175619
|
176107
|
176675
|
176676