[Koha-bugs] [Bug 9745] Don't nuke translated permissions with changes introduced in bug 9382

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 4 23:52:05 CET 2013


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

--- Comment #1 from Liz Rea <liz at catalyst.net.nz> ---
Created attachment 15868
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15868&action=edit
Bug 9745 - don't nuke translated strings in permissions on DB upgrade

To test:

(this is best done by someone who has a database with translated strings for
user permissions - I'm looking towards Katrin. :))

Get a 3.6-3.8 era database loaded as test data - also please use a low value
test database.
Translate or change the strings in the database for the user permissions that
follow

in mysql client (for those who didn't install with a different language that
has translated files at install time) -

update userflags set flagdesc="Translated text 1" where flag
IN('catalogue','editauthorities','reports','management','serials','updatecharges','circulate','parameters','borrowers','tools','staffaccess','edit_patrons');
(you will notice that this changes all of the permission labels in the
interface to "translated text 1" for the affected permission flags. This is why
I don't want you to use a high value test database.)

Update that to master + this patch - your "translations" should be intact.

Blow that database away, and make a brand new one 3.6-3.8 era with the english
database definitions. Run the update again with this patch, the strings should
be updated correctly.

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


More information about the Koha-bugs mailing list