Bugzilla – Attachment 105315 Details for
Bug 25443
Improve translation of "Select the host record to link%s to"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25443: Improve translation of 'Select the record to link%s to'
Bug-25443-Improve-translation-of-Select-the-record.patch (text/plain), 2.07 KB, created by
Bernardo Gonzalez Kriegel
on 2020-05-24 11:58:20 UTC
(
hide
)
Description:
Bug 25443: Improve translation of 'Select the record to link%s to'
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2020-05-24 11:58:20 UTC
Size:
2.07 KB
patch
obsolete
>From 0dbe5124b943a0ac52bc539b3b9497a0c680472c Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 24 May 2020 02:04:03 +0200 >Subject: [PATCH] Bug 25443: Improve translation of 'Select the record to > link%s to' > >Before this patch the title was set in italic, which caused the >translation string to be cut off. Removing the italic formatting in >favor of quotes and splitting the string into 2 sentences (dealing >with title existing and not existing: > >Select the host record to link to '[% bibliotitle | html %]' >Select the host record to link > >To test: >- Activate EasyAnalyticalRecords system preference >- Search for a record in staff >- Use Edit > Link to host record >- Verify the text is shown as above with the reord's title >- The second case is a bit theoretical: >- Delete 245$a from the record or empty out biblio.title using SQL >- Verify the string still shows but without the 'to...' part. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >--- > .../intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt >index 84200afb45..0d5e51cb39 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt >@@ -42,7 +42,13 @@ > > [% IF ( missingbarcode ) %] > <fieldset id="barcode_fieldset"> >- <label for="barcode_fieldset">Select the host record to link[% IF ( bibliotitle ) %] to <i>[% bibliotitle | html %]</i>[% END %]</label> >+ <label for="barcode_fieldset"> >+ [% IF (bibliotitle ) %] >+ Select the host record to link to '[% bibliotitle | html %]' >+ [% ELSE %] >+ Select the host record to link >+ [% END %] >+ </label> > <div class="hint">Enter item barcode:</div> > <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> > </fieldset> >-- >2.17.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 25443
:
105309
|
105315
|
105316
|
106517
|
106518