]> git.koha-community.org Git - koha.git/commit
Bug 25443: Improve translation of 'Select the record to link%s to'
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 24 May 2020 00:04:03 +0000 (02:04 +0200)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 30 Jul 2020 11:47:53 +0000 (23:47 +1200)
commitad619e2dc3e012e6b54e79ee92577f0730ba01cc
treea019cb02a7f7d341262712e3d900d7e7606ed420
parent0a1aee38b8f516f63ce6afcac710deecd7e21061
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>
(cherry picked from commit d53b58cab858f06be7f9762b16b89c8bfbce5625)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit f7b93ef9c54bd1ce662ff7147f958a6fa73369a2)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt