[Koha-bugs] [Bug 11396] SQL translated files not in phase with original 'en' version

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 16 08:02:11 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11396

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|gmcharlt at gmail.com          |frederic at tamil.fr

--- Comment #1 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 23560
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23560&action=edit
Proposed patch

Bug 11396 Test translated SQL installer files

Identify missing/supernumeray SQL INSERT in translated SQL files. It
would help to avoid inconsitency between master 'en' SQL files and
translated version.

Several SQL files are tested:

- user flags
- user permission
- biblio framework
- authorities framework

biblio/authorities framework are in the code, but not yet enabled.

To test on master:

(1) prove -v xt/db_translate.t
(2) You can see that fr-FR/1-Obligatoire/userflags.sql is missing one
    user flag: 17-staff access.
(3) Edit fr-FR/1-Obligatoire/userflags.sql. Add this line:
    INSERT INTO `userflags` VALUES(17,'staffaccess','Autorisation de
    modifier les permissions des autres utilisateurs',0);
(4) prove -v xt/db_translate.t
    No more test failing.
(5) Edit de-DE/mandatory/userpermissions.sql. Suppress line 2.
(6) Run the test: you get a new test fail

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list