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> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
6250c2dc15
commit
d53b58cab8
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue