From the koha-translate ML: #. %1$s: END #: koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style.inc:162 #, c-format msgid "%s State:" msgstr "%s Provincia:" #. For the first occurrence, #. %1$s: END #: koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style.inc:177 #: koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc:168 #, c-format msgid "%s State: " msgstr "%s Stato: " We need to add a space between ":" and "</label>" https://lists.koha-community.org/pipermail/koha-translate/2020-December/002815.html
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.