'biblios' is not a term users understand, we should use 'record' or 'records' like in the staff interface.
Created attachment 131285 [details] [review] Bug 30191: Authority search result list in the OPAC should use 'record' instead of 'biblios' This patch updates the OPAC authority search results page so that it uses the term "record" instead of "biblio." The patch also changes how the template outputs the count of records so that it is correctly pluralized, e.g. "1 record" vs. "2 records." To test, apply the patch and perform an authority search in the OPAC. In the search results, confirm that the last table header reads "Records." The information in that column should be correct, using the word record or records.
Test ok. For the translation (for exemple in french) : can we distinguish 0 records / 2 (or more) records ? In french, we don't the plural when there is none.
Yes, it technically possibly now to do singular/plural and we already do in some places like the circ dashboard on the OPAC start page when you are logged in.
(In reply to Katrin Fischer from comment #3) > Yes, it technically possibly now to do singular/plural and we already do in > some places like the circ dashboard on the OPAC start page when you are > logged in. So can we imagine having 3 different strings here to fit the behaviour of different languages : - '0 records' which will be '0 notice' in french - '1 record' which will be '1 notice' - '2 records' which will be '2 notices' ? Is it the same problematic in German Cait ?
I believe that the translation tools take care of this. At least there is some configuration about plural forms for each language in administration: French language Number of plurals: 2 Plural equation: (n > 2) German language Number of plurals: 2 Plural equation: (n != 1) In German we use the same for 0 and more than 1, so that makes sense: 0 Datensätze 1 Datensatz 2 Datensätze https://translate.koha-community.org/fr/21.11/translate/fr-FR-messages.po#search=checkouts&sfields=source,target
Oh, Slovenian: Number of plurals: 4 Plural equation: (n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3) And pootle indeed offers 4 input fields: https://translate.koha-community.org/sl/21.11/translate/#search=checkouts&sfields=source,target&unit=21107590&offset=0
Created attachment 133418 [details] [review] Bug 30191: Authority search result list in the OPAC should use 'record' instead of 'biblios' This patch updates the OPAC authority search results page so that it uses the term "record" instead of "biblio." The patch also changes how the template outputs the count of records so that it is correctly pluralized, e.g. "1 record" vs. "2 records." To test, apply the patch and perform an authority search in the OPAC. In the search results, confirm that the last table header reads "Records." The information in that column should be correct, using the word record or records. Signed-off-by: David Nind <david@davidnind.com>
Created attachment 133728 [details] [review] Bug 30191: Authority search result list in the OPAC should use 'record' instead of 'biblios' This patch updates the OPAC authority search results page so that it uses the term "record" instead of "biblio." The patch also changes how the template outputs the count of records so that it is correctly pluralized, e.g. "1 record" vs. "2 records." To test, apply the patch and perform an authority search in the OPAC. In the search results, confirm that the last table header reads "Records." The information in that column should be correct, using the word record or records. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 22.05, thanks to everybody involved [U+1F984]
Pushed to 21.11.x for 21.11.06
Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed.