Bug 7780

Summary: fix translator tool verbosity
Product: Koha Reporter: Paul Poulain <paul.poulain>
Component: Architecture, internals, and plumbingAssignee: Paul Poulain <paul.poulain>
Status: CLOSED FIXED QA Contact: Ian Walls <koha.sekjal>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, katrin.fischer
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 7938    
Attachments: Bug 7780: make silent/verbose flag for translation installing
Bug 7780: make silent/verbose flag for translation installing
Refactored patch

Description Paul Poulain 2012-03-21 15:09:12 UTC
translator tool -in misc/translator- has parameters that should make him silent or verbose, they are not working : we always get the same verbosity.

Test plan :
* apply the patch
* launch translate update your-LANGUAGE => it should be silent (except if there is an invalid thing in your .po)
* launch translate update -v your-LANGUAGE => it should be verbose

same thing for install & create pragmas
Comment 1 Paul Poulain 2012-03-21 15:18:59 UTC Comment hidden (obsolete)
Comment 2 Katrin Fischer 2012-03-21 15:36:32 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2012-03-21 15:46:08 UTC
Hm, sign-off dependent on adding documentation about the new parameter. I missed that :)
Comment 4 Frédéric Demians 2012-03-23 09:49:45 UTC
Created attachment 8559 [details] [review]
Refactored patch
Comment 5 Jonathan Druart 2012-03-23 11:07:18 UTC
QA comments: 
Adds a verbose flag for the translate script.
Errors appear if exist.

Works as expected, mark as Passed QA.
Comment 6 Paul Poulain 2012-03-26 09:03:24 UTC
refactored patch also tested by me, work fine. Pushed
Comment 7 Jared Camins-Esakov 2012-05-09 20:03:16 UTC
This bug will be included in the Koha 3.6.5 release.