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

Frédéric Demians <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|[email protected]          |[email protected]

--- Comment #1 from Frédéric Demians <[email protected]> ---
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.
_______________________________________________
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/

Reply via email to