Bug 32486 - Small coding errors in the Brazilian Portuguese translations
Summary: Small coding errors in the Brazilian Portuguese translations
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: translate.koha-community.org (show other bugs)
Version: 22.11
Hardware: All All
: P5 - low trivial (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-18 17:05 UTC by Steven F. Schmieder
Modified: 2023-12-28 20:43 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
file with corrected code snippets (21.23 KB, text/xml)
2022-12-18 17:05 UTC, Steven F. Schmieder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven F. Schmieder 2022-12-18 17:05:08 UTC
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
Comment 1 Katrin Fischer 2022-12-18 22:32:22 UTC
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