Searching for [% in the https://translate.koha-community.org site on some language highlights some problems. I open this bug to tackle them.
Created attachment 133591 [details] [review] Bug 30587: Fix opac-tags.tt translate issues This patch addresses one specific case. To test: 1. Run: $ kshell k$ cd misc/translator k$ perl translate update es-ES 2. On your git checkout run: $ git diff | grep '\[% limit or' => FAIL: That shouldn't be translated 3. Run: $ git reset --hard HEAD 4. Apply this patch 5. Repeat 1 and 2 => SUCCESS: No attempt to translate that tag 6. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 133592 [details] [review] Bug 30587: Fix acqui/supplier.tt translate issues Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 133770 [details] [review] Bug 30587: Fix opac-tags.tt translate issues This patch addresses one specific case. To test: 1. Run: $ kshell k$ cd misc/translator k$ perl translate update es-ES 2. On your git checkout run: $ git diff | grep '\[% limit or' => FAIL: That shouldn't be translated 3. Run: $ git reset --hard HEAD 4. Apply this patch 5. Repeat 1 and 2 => SUCCESS: No attempt to translate that tag 6. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 133771 [details] [review] Bug 30587: Fix acqui/supplier.tt translate issues Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Looking here...
Created attachment 133784 [details] [review] Bug 30587: Fix opac-tags.tt translate issues This patch addresses one specific case. To test: 1. Run: $ kshell k$ cd misc/translator k$ perl translate update es-ES 2. On your git checkout run: $ git diff | grep '\[% limit or' => FAIL: That shouldn't be translated 3. Run: $ git reset --hard HEAD 4. Apply this patch 5. Repeat 1 and 2 => SUCCESS: No attempt to translate that tag 6. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 133785 [details] [review] Bug 30587: Fix acqui/supplier.tt translate issues Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 22.05, thanks to everybody involved [U+1F984]
Note: this have been backported to 21.11.x for v21.11.06
Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed.