Summary: | Missing spaces in member-alt-contact-style.inc make some strings appearing twice in po | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Templates | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | andrew, fridolin.somers, victor |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.05.00,20.11.06,20.05.12
|
|
Circulation function: | |||
Attachments: |
Bug 27232: Add missing space between : and </label> in member-alt-contact-style.inc
Bug 27232: Add missing space between : and </label> in member-alt-contact-style.inc Bug 27232: Add missing space between : and </label> in member-alt-contact-style.inc |
Description
Jonathan Druart
2020-12-14 13:43:36 UTC
Created attachment 114383 [details] [review] Bug 27232: Add missing space between : and </label> in member-alt-contact-style.inc It caused the strings to appear twice in the po file Test plan: Apply this patch and regenerate the PO for a given language. Notice that the string "%s State: " only appears once in the PO file There is also <span class="label">Surname: </span> in moremember.tt : https://git.koha-community.org/Koha-community/Koha/src/commit/ec1979a385cb35228d39d139d7c0bd8c685dd4a2/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt#L638 Creating : msgid "Surname: " So maybe better add a span in other places : <span>Surname: </span></label> It removes the %s which is not a real PO var, it must not be moved. What do you think ? Yes good idea, but feeling lazy to add the missing span tags. Feel free to follow-up :) Created attachment 119638 [details] [review] Bug 27232: Add missing space between : and </label> in member-alt-contact-style.inc It caused the strings to appear twice in the po file Test plan: Apply this patch and regenerate the PO for a given language. Notice that the string "%s State: " only appears once in the PO file Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 119805 [details] [review] Bug 27232: Add missing space between : and </label> in member-alt-contact-style.inc It caused the strings to appear twice in the po file Test plan: Apply this patch and regenerate the PO for a given language. Notice that the string "%s State: " only appears once in the PO file Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Pushed to master for 21.05, thanks to everybody involved! Pushed to 20.11.x for 20.11.06 Pushed to 20.05.x for 20.05.12 Not backported to oldoldstable (19.11.x). Feel free to ask if it's needed. |