'en' is not a translation and it doesn't make any sense to return it as part of the installed translations or the available ones. It becomes relevant to remove it as users upgrading their installed translations end up doing things like this to remove en from the list: for lang in $(sudo koha-translate --list | grep -v -x en) ; do sudo koha-translate --update $lang ; done And we do the same in several places too.
Created attachment 24965 [details] [review] Bug 11655: koha-translate --list shouldn't show 'en' 'en' is not a translation and it doesn't make any sense to return it as part of the installed translations or the available ones. It becomes relevant to remove it as users upgrading their installed translations end up grepping the output to remove 'en' like in: for lang in $(koha-translate --list | grep -v -x -e 'en') ; do koah-translate --update $lang done instead on simply issuing the koha-translate --list command. To test: - Run ./koha-translate --list ./koha-translate --list --available => It shouldn't return 'en' in the result list. Regards To+ Sponsored-by: Universidad Nacional de Cordoba
Created attachment 24973 [details] [review] Bug 11655: koha-translate --list shouldn't show 'en' 'en' is not a translation and it doesn't make any sense to return it as part of the installed translations or the available ones. It becomes relevant to remove it as users upgrading their installed translations end up grepping the output to remove 'en' like in: for lang in $(koha-translate --list | grep -v -x -e 'en') ; do koha-translate --update $lang done instead of simply issuing the koha-translate --list command. To test: - Run ./koha-translate --list ./koha-translate --list --available => It shouldn't return 'en' in the result list. Regards To+ Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 25018 [details] [review] Bug 11655: koha-translate --list shouldn't show 'en' 'en' is not a translation and it doesn't make any sense to return it as part of the installed translations or the available ones. It becomes relevant to remove it as users upgrading their installed translations end up grepping the output to remove 'en' like in: for lang in $(koha-translate --list | grep -v -x -e 'en') ; do koha-translate --update $lang done instead of simply issuing the koha-translate --list command. To test: - Run ./koha-translate --list ./koha-translate --list --available => It shouldn't return 'en' in the result list. Regards To+ Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Pushed to master. Thanks, Tomás!
Patch pushed to 3.14.x, will be in 3.14.06