From d66e112e8fb98e9911b285afe1c52c89b7475d9f Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 23 Nov 2014 21:11:55 +0100 Subject: [PATCH] [SIGNED-OFF] Bug 13147: Update German web installer files for 3.18 - Adds translations for new permissions - Adds ISO code to the sample currencies - Removes a comment line about branchrelations from sample_libraries (en) To test: - Run the German web installer with all sample data selected - Verify it runs without problems - If you speak German - verify the translations make sense Signed-off-by: Owen Leonard No errors from the web installer. I verified that all the changes I saw in the diff appeared correctly in the permissions. Currencies all appeared to be correct after installation. Translations appeared to be very German-looking. Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/de-DE/mandatory/userpermissions.sql | 8 ++++---- installer/data/mysql/de-DE/optional/parameters.sql | 10 +++++----- installer/data/mysql/en/optional/sample_libraries.sql | 1 - 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/installer/data/mysql/de-DE/mandatory/userpermissions.sql b/installer/data/mysql/de-DE/mandatory/userpermissions.sql index a47151f..ef67f1a 100644 --- a/installer/data/mysql/de-DE/mandatory/userpermissions.sql +++ b/installer/data/mysql/de-DE/mandatory/userpermissions.sql @@ -11,8 +11,8 @@ INSERT INTO permissions (module_bit, code, description) VALUES ( 9, 'edit_catalogue', 'Katalogdaten bearbeiten (Titel- und Exemplardaten ändern)'), ( 9, 'fast_cataloging', 'Schnellaufnahmen anlegen'), ( 9, 'edit_items', 'Exemplare bearbeiten'), - ( 9, 'edit_items_restricted', 'Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)'), - ( 9, 'delete_all_items', 'Delete all items at once'), + ( 9, 'edit_items_restricted', 'Begrenze die Bearbeitung von Exemplaren auf die in SubfieldsToAllowForRestrictedEditing festgelegten Unterfelder (edit_items ist weiterhin erforderlich)'), + ( 9, 'delete_all_items', 'Alle Exemplare auf einmal löschen'), (10, 'writeoff', 'Gebühren erlassen'), (10, 'remaining_permissions', 'Verbleibende Berechtigungen für die Verwaltung von Gebühren'), (11, 'vendors_manage', 'Lieferanten verwalten'), @@ -45,7 +45,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES (13, 'batch_upload_patron_images', 'Benutzerfotos einzeln oder im Stapel hochladen'), (13, 'schedule_tasks', 'Aufgabenplaner verwenden'), (13, 'items_batchmod', 'Stapelbearbeitung von Exemplaren durchführen'), - (13, 'items_batchmod_restricted', 'Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)'), + (13, 'items_batchmod_restricted', 'Begrenze die Stapelbearbeitung von Exemplaren auf die in SubfieldsToAllowForRestrictedBachmod festgelegten Unterfelder (items_batchmod ist weiterhin erforderlich)'), (13, 'items_batchdel', 'Stapellöschung von Exemplaren durchführen'), (13, 'manage_csv_profiles', 'CSV-Profile für Export verwalten'), (13, 'moderate_tags', 'Von Benutzern vergebene Tags moderieren'), @@ -53,7 +53,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES (13, 'upload_local_cover_images', 'Eigene Coverbilder hochladen'), (13, 'manage_patron_lists', 'Benutzerlisten anlegen, bearbeiten und löschen'), (13, 'marc_modification_templates', 'Templates für MARC-Modifikationen verwalten'), - (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'), + (13, 'records_batchdel', 'Stapellöschung von Datensätzen (Titel und Normdaten)'), (15, 'check_expiration', 'Ablauf eines Abonnements prüfen'), (15, 'claim_serials', 'Fehlende Hefte reklamieren'), (15, 'create_subscription', 'Neue Abonnements anlegen'), diff --git a/installer/data/mysql/de-DE/optional/parameters.sql b/installer/data/mysql/de-DE/optional/parameters.sql index e5e8dcc..57d139d 100644 --- a/installer/data/mysql/de-DE/optional/parameters.sql +++ b/installer/data/mysql/de-DE/optional/parameters.sql @@ -1,6 +1,6 @@ -INSERT INTO `currency` (currency, rate, symbol, active) VALUES -('USD', 1.3112, '$', 0), -('GBP', 0.8548, '£', 0), -('CAD', 1.3290, '$', 0), -('EUR', 1.0000, '€', 1); +INSERT INTO `currency` (currency, isocode, rate, symbol, active) VALUES +('USD', 'USD', 1.3112, '$', 0), +('GBP', 'GBP', 0.8548, '£', 0), +('CAD', 'CAD', 1.3290, '$', 0), +('EUR', 'EUR', 1.0000, '€', 1); diff --git a/installer/data/mysql/en/optional/sample_libraries.sql b/installer/data/mysql/en/optional/sample_libraries.sql index a2fa52e..cfbe0b1 100644 --- a/installer/data/mysql/en/optional/sample_libraries.sql +++ b/installer/data/mysql/en/optional/sample_libraries.sql @@ -16,4 +16,3 @@ INSERT INTO branches ( `branchcode`,`branchname`,`branchaddress1`) VALUES ('UPL','Union','Chestnut Hollow') ; --- INSERT INTO branchrelations ( `branchcode`,`categorycode`) VALUES -- 1.9.1