http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10041
Bernardo Gonzalez Kriegel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Bernardo Gonzalez Kriegel <[email protected]> --- Testing. 1) -i|u|r without lang code dies with (shift: can't shift that many) perhaps check if langcode and die with a graceful message. Unless you try to mimic what translate script do without lang code, install/update/remove all langs. 2) List all. There are 2 files with "opac" in name (prog|ccsr), so you report twice. Perhaps using $(ls $PO_DIR *-i-opac-t-prog-v-3006000.po)? 3) Install. Could test if all lang files are present? (staf|opac|ccsr|pref) only to report any missing, and then proceed (translate script will complain anyway). 4) Remove ok. Sysprefs language and opaclanguages could reference a removed lang but I think it's harmless. 5) Update. The message if you try to install again a lang is misleading. update option in 'misc/translator/translate' script is not to update translated files but to update translation files (PO). So, if your update is to re-install, do so (install) silently. Or change the message to reflect what you are really doing and allow a re-install. Or remove update option. No koha-qa errors. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
