Bug 30307

Summary: 21.11 files contain strings from master (Recalls)
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: I18N/L10NAssignee: Bernardo Gonzalez Kriegel <bgkriegel>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: blocker    
Priority: P5 - low CC: andreas.jonsson, f.demians, fridolin.somers, jonathan.druart, kyle, martin.renvoize, tomascohen
Version: 21.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2022-03-17 10:11:00 UTC
This morning there were new strings to translate, but something seems to have gone wrong with the updates for the 21.11 version.

The files contain strings from the just pushed Recalls feature that should not be there:

https://translate.koha-community.org/da/21.11/translate/#search=Recall&sfields=source,target&soptions=exact&unit=21570911&offset=0

https://translate.koha-community.org/da/21.11/translate/#search=Recall&sfields=source,target&soptions=exact&unit=21570914&offset=0

Maybe files have been generated against master instead of the 21.11 branch?

We need to fix this urgently or we might create issues where strings that don't match in the lower version appear untranslated.
Comment 1 Jonathan Druart 2022-03-17 10:27:59 UTC
I've noticed that update-koha.log contained "branch '21.11' set up to track 'origin/master'"

I edited /srv/scripts/update-koha.sh and replaced 
MASTER="21.11"
with
MASTER="22.05"

Script is now running for 21.11
 % /srv/scripts/update-koha.sh 21.11 | tee  update-koha.log
Comment 2 Katrin Fischer 2022-03-17 22:23:11 UTC
I confirmed that the regenerated files were correct. Should we close this then?
Comment 3 Katrin Fischer 2022-04-13 15:35:28 UTC
*** Bug 30530 has been marked as a duplicate of this bug. ***