From 51f9333695094ecd88bd74a7d29c1cfb357d1e71 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Thu, 19 Apr 2012 21:22:01 +0200 Subject: [PATCH] Bug 7984 [SIGNED-OFF] - Fix the upload_local_cover_images permission upload_local_cover_images is needed to use the new, cool local covers feature This patch - adds upload_local_cover_images to installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql from whch it was missing, making it impossible to use the local covers feature in an nb-NO installation - translates the text of the preference for de-DE (thanks to cait, drojf and mveron for the translation) Signed-off-by: Jared Camins-Esakov Signed-off-by: Marc Veron I did no fresh installs, however I - had a look at the files before and after applying the patch - carefully checked the syntax - tested with MySQL by removing the entry in the table 'permissions' double checked that now the entry in Staff client was one and then did an insert with the sql snippets. In DE-de the translated entry translation appeared as expected. Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- installer/data/mysql/de-DE/mandatory/userpermissions.sql | 2 +- installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/de-DE/mandatory/userpermissions.sql b/installer/data/mysql/de-DE/mandatory/userpermissions.sql index 2302273e49..c14f0fdf31 100644 --- a/installer/data/mysql/de-DE/mandatory/userpermissions.sql +++ b/installer/data/mysql/de-DE/mandatory/userpermissions.sql @@ -36,7 +36,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES (13, 'manage_csv_profiles', 'CSV-Profile für Export verwalten'), (13, 'moderate_tags', 'Von Benutzern vergebene Tags moderieren'), (13, 'rotating_collections', 'Wandernde Sammlungen verwalten'), - (13, 'upload_local_cover_images', 'Upload local cover images'), + (13, 'upload_local_cover_images', 'Eigene Coverbilder hochladen'), (15, 'check_expiration', 'Ablauf eines Abonnements prüfen'), (15, 'claim_serials', 'Fehlende Hefte reklamieren'), (15, 'create_subscription', 'Neues Abonnement anlegen'), diff --git a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql b/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql index 24f081e6f2..2897c4efc0 100644 --- a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql +++ b/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql @@ -57,6 +57,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES (13, 'manage_csv_profiles', 'Administrere CSV eksportprofiler'), (13, 'moderate_tags', 'Behandle tagger fra lånere'), (13, 'rotating_collections', 'Administrere roterende samlinger'), + (13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'), (15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'), (15, 'claim_serials', 'Purre manglende tidsskrifthefter'), (15, 'create_subscription', 'Opprette abonnementer'), -- 2.39.5