Bug 26418

Summary: The "description" for REFUND accountlines is not translatable
Product: Koha Reporter: Martin Renvoize <martin.renvoize>
Component: I18N/L10NAssignee: Martin Renvoize <martin.renvoize>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: f.demians, katrin.fischer, lucas, martin.renvoize, testopia
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.11.00
Bug Depends on: 23442    
Bug Blocks: 26403    
Attachments: Bug 26418: Fix translatability of REFUND credit type
Bug 26418: Fix translatability of REFUND credit type
Bug 26418: Fix translatability of REFUND credit type
Bug 26418: Fix translatability of REFUND credit type
Bug 26418: [20.05] Fix translatability of REFUND credit type

Description Martin Renvoize 2020-09-09 14:20:53 UTC
The description of REFUND type accountline credits introduced with the "issue refund" feature is not translatable.

To test:
- Make sure a language with a complete translation is installed
- Switch to the language
- Go to any user account
- Add a manual invoice
- Pay it off fully or partially
- Click on "issue refund"
- Confirm the refund
- Check the description of the line in the patron account is not translated.
Comment 1 Martin Renvoize 2020-09-09 14:35:06 UTC
Created attachment 109820 [details] [review]
Bug 26418: Fix translatability of REFUND credit type
Comment 2 Owen Leonard 2020-09-22 14:35:09 UTC
Created attachment 110559 [details] [review]
Bug 26418: Fix translatability of REFUND credit type

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Katrin Fischer 2020-09-23 20:26:12 UTC
Created attachment 110625 [details] [review]
Bug 26418: Fix translatability of REFUND credit type

The description of REFUND type accountline credits introduced with the "issue refund" feature is not translatable.

To test:
- Make sure a language with a complete translation is installed
- Switch to the language
- Go to any user account
- Add a manual invoice
- Pay it off fully or partially
- Click on "issue refund"
- Confirm the refund
- Check the description of the line in the patron account is not translated.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Katrin Fischer 2020-09-23 20:27:42 UTC
Created attachment 110626 [details] [review]
Bug 26418: Fix translatability of REFUND credit type

The description of REFUND type accountline credits introduced with the "issue refund" feature is not translatable.

To test:
- Make sure a language with a complete translation is installed
- Switch to the language
- Go to any user account
- Add a manual invoice
- Pay it off fully or partially
- Click on "issue refund"
- Confirm the refund
- Check the description of the line in the patron account is not translated.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Jonathan Druart 2020-09-28 14:12:06 UTC
Pushed to master for 20.11, thanks to everybody involved!
Comment 6 Lucas Gass 2020-10-20 13:55:20 UTC
doesn't apply clean to 20.05.x, no backport
Comment 7 Katrin Fischer 2020-10-20 13:58:52 UTC
Could we maybe get a rebase here? This is an issue visible in the OPAC and would love to see it fixed.
Comment 8 Martin Renvoize 2020-10-22 13:25:29 UTC
Created attachment 112195 [details] [review]
Bug 26418: [20.05] Fix translatability of REFUND credit type

The description of REFUND type accountline credits introduced with the "issue refund" feature is not translatable.

To test:
- Make sure a language with a complete translation is installed
- Switch to the language
- Go to any user account
- Add a manual invoice
- Pay it off fully or partially
- Click on "issue refund"
- Confirm the refund
- Check the description of the line in the patron account is not translated.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 9 Martin Renvoize 2020-10-22 13:25:54 UTC
20.05 rebased patch attached.