| Summary: | Small coding errors in the Brazilian Portuguese translations | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Steven F. Schmieder <steven.schmieder> |
| Component: | translate.koha-community.org | Assignee: | Bugs List <koha-bugs> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | trivial | ||
| Priority: | P5 - low | ||
| Version: | 22.11 | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Crowdfunding committed: | 0 |
| Crowdfunding contact: | Patch complexity: | --- | |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: | file with corrected code snippets | ||
Hi Steven, problems in translations need to be corrected on translate.koha-community.org. The translated files are not shipped, but generated from the po files when a language is installed. I have found this and fixed it in pt-BR several times: ? q = um: fixed to: ?q=an: For an example see: https://translate.koha-community.org/pt_BR/22.11/translate/pt-BR-marc-MARC21.po#unit=26448634 |
Created attachment 144711 [details] file with corrected code snippets Several of files in the ../pt-Br/xslt subdirectories contain coding errors, one of which will return no result when it should. Specifically the code snippet in question found several places is "? q = um:". It should be "?q=an:" There are several similar trivial errors. I have corrected these errors in three files and uploaded one of them for comparison. /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/pt-BR/xslt/MARC21slimUtils.xsl at lines 441 and 492 /usr/share/koha/misc/translator.po/pt-Br-marc-MARC21.po at line 1984 /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-BR/xslt/MARC21slimUtils.xsl at lines 478 and 529 Steven