In opac-memberentry.tt, the following parts lead to translaiton errors because of sentence splitting by tags: <strong>The entered <a href="#borrower_cardnumber">card number</a> is the wrong length.</strong> <strong>The entered <a href="#borrower_cardnumber">card number</a> is already in use.</strong>
Created attachment 51718 [details] [review] Bug 16560: Translatability: Issues with "The entered " in opac-memberentry.tt This patch fixes two splitted sentences to avoid translation issues: The entered <a href="#borrower_cardnumber">card number</a> is the wrong length. The entered <a href="#borrower_cardnumber">card number</a> is already in use. To test: Apply patch and verify that html in the 2 that are changed is correct and that they are not splitted by a-tags. Note: I could not figure out under which conditions this code displays in the OPAC self registration form.
Created attachment 51896 [details] [review] Bug 16560: Translatability: Issues with "The entered " in opac-memberentry.tt This patch fixes two splitted sentences to avoid translation issues: The entered <a href="#borrower_cardnumber">card number</a> is the wrong length. The entered <a href="#borrower_cardnumber">card number</a> is already in use. To test: Apply patch and verify that html in the 2 that are changed is correct and that they are not splitted by a-tags. Note: I could not figure out under which conditions this code displays in the OPAC self registration form. Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Created attachment 52245 [details] [review] Bug 16560: Translatability: Issues with "The entered " in opac-memberentry.tt This patch fixes two splitted sentences to avoid translation issues: The entered <a href="#borrower_cardnumber">card number</a> is the wrong length. The entered <a href="#borrower_cardnumber">card number</a> is already in use. To test: Apply patch and verify that html in the 2 that are changed is correct and that they are not splitted by a-tags. Note: I could not figure out under which conditions this code displays in the OPAC self registration form. Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 16.11, thanks Marc!
Pushed in 16.05. Will be in 16.05.01.
Not needed in 3.22.x