[open-ils-commits] r10826 - branches/acq-experiment/Open-ILS/src/sql/Pg

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 13 18:00:53 EDT 2008


Author: erickson
Date: 2008-10-13 18:00:48 -0400 (Mon, 13 Oct 2008)
New Revision: 10826

Modified:
   branches/acq-experiment/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
updated oils_i18n_gettext calls .. missing params

Modified: branches/acq-experiment/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- branches/acq-experiment/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2008-10-13 16:42:24 UTC (rev 10825)
+++ branches/acq-experiment/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2008-10-13 22:00:48 UTC (rev 10826)
@@ -1123,34 +1123,36 @@
 INSERT INTO permission.perm_list VALUES 
     (151, 'DELETE_CONTAINER_ITEM', oils_i18n_gettext(151, 'Allow a user to delete an item out of another user''s container', 'ppl', 'description'));
 INSERT INTO permission.perm_list VALUES 
-    (153, 'CREATE_FUNDING_SOURCE', oils_i18n_gettext('Allow a user to create a new funding source')),
-    (154, 'DELETE_FUNDING_SOURCE', oils_i18n_gettext('Allow a user to delete a funding source')),
-    (155, 'VIEW_FUNDING_SOURCE', oils_i18n_gettext('Allow a user to view a funding source')),
-    (156, 'UPDATE_FUNDING_SOURCE', oils_i18n_gettext('Allow a user to update a funding source')),
-    (157, 'CREATE_FUND', oils_i18n_gettext('Allow a user to create a new fund')),
-    (158, 'DELETE_FUND', oils_i18n_gettext('Allow a user to delete a fund')),
-    (159, 'VIEW_FUND', oils_i18n_gettext('Allow a user to view a fund')),
-    (160, 'UPDATE_FUND', oils_i18n_gettext('Allow a user to update a fund')),
-    (161, 'CREATE_FUND_ALLOCATION', oils_i18n_gettext('Allow a user to create a new fund allocation')),
-    (162, 'DELETE_FUND_ALLOCATION', oils_i18n_gettext('Allow a user to delete a fund allocation')),
-    (163, 'VIEW_FUND_ALLOCATION', oils_i18n_gettext('Allow a user to view a fund allocation')),
-    (164, 'UPDATE_FUND_ALLOCATION', oils_i18n_gettext('Allow a user to update a fund allocation')),
-    (165, 'GENERAL_ACQ', oils_i18n_gettext('Lowest level permission required to access the ACQ interface')),
-    (166, 'CREATE_PROVIDER', oils_i18n_gettext('Allow a user to create a new provider')),
-    (167, 'DELETE_PROVIDER', oils_i18n_gettext('Allow a user to delate a provider')),
-    (168, 'VIEW_PROVIDER', oils_i18n_gettext('Allow a user to view a provider')),
-    (169, 'UPDATE_PROVIDER', oils_i18n_gettext('Allow a user to update a provider')),
-    (170, 'ADMIN_FUNDING_SOURCE', oils_i18n_gettext('Allow a user to create/view/update/delete a funding source')),
-    (171, 'ADMIN_FUND', oils_i18n_gettext('Allow a user to create/view/update/delete a fund')),
-    (172, 'MANAGE_FUNDING_SOURCE', oils_i18n_gettext('Allow a user to view/credit/debit a funding source')),
-    (173, 'MANAGE_FUND', oils_i18n_gettext('Allow a user to view/credit/debit a fund')),
-    (174, 'CREATE_PICKLIST', oils_i18n_gettext('Allows a user to create a picklist')),
-    (175, 'ADMIN_PROVIDER', oils_i18n_gettext('Allow a user to create/view/update/delete a provider')),
-    (176, 'MANAGE_PROVIDER', oils_i18n_gettext('Allow a user to view and purchase from a provider')),
-    (177, 'VIEW_PICKLIST', oils_i18n_gettext('Allow a user to view another users picklist'));
+    (153, 'CREATE_FUNDING_SOURCE', oils_i18n_gettext(153, 'Allow a user to create a new funding source', 'ppl', 'description')),
+    (154, 'DELETE_FUNDING_SOURCE', oils_i18n_gettext(154, 'Allow a user to delete a funding source', 'ppl', 'description')),
+    (155, 'VIEW_FUNDING_SOURCE', oils_i18n_gettext(155, 'Allow a user to view a funding source', 'ppl', 'description')),
+    (156, 'UPDATE_FUNDING_SOURCE', oils_i18n_gettext(156, 'Allow a user to update a funding source', 'ppl', 'description')),
+    (157, 'CREATE_FUND', oils_i18n_gettext(157, 'Allow a user to create a new fund', 'ppl', 'description')),
+    (158, 'DELETE_FUND', oils_i18n_gettext(158, 'Allow a user to delete a fund', 'ppl', 'description')),
+    (159, 'VIEW_FUND', oils_i18n_gettext(159, 'Allow a user to view a fund', 'ppl', 'description')),
+    (160, 'UPDATE_FUND', oils_i18n_gettext(160, 'Allow a user to update a fund', 'ppl', 'description')),
+    (161, 'CREATE_FUND_ALLOCATION', oils_i18n_gettext(161, 'Allow a user to create a new fund allocation', 'ppl', 'description')),
+    (162, 'DELETE_FUND_ALLOCATION', oils_i18n_gettext(162, 'Allow a user to delete a fund allocation', 'ppl', 'description')),
+    (163, 'VIEW_FUND_ALLOCATION', oils_i18n_gettext(163, 'Allow a user to view a fund allocation', 'ppl', 'description')),
+    (164, 'UPDATE_FUND_ALLOCATION', oils_i18n_gettext(164, 'Allow a user to update a fund allocation', 'ppl', 'description')),
+    (165, 'GENERAL_ACQ', oils_i18n_gettext(165, 'Lowest level permission required to access the ACQ interface', 'ppl', 'description')),
+    (166, 'CREATE_PROVIDER', oils_i18n_gettext(166, 'Allow a user to create a new provider', 'ppl', 'description')),
+    (167, 'DELETE_PROVIDER', oils_i18n_gettext(167, 'Allow a user to delate a provider', 'ppl', 'description')),
+    (168, 'VIEW_PROVIDER', oils_i18n_gettext(168, 'Allow a user to view a provider', 'ppl', 'description')),
+    (169, 'UPDATE_PROVIDER', oils_i18n_gettext(169, 'Allow a user to update a provider', 'ppl', 'description')),
+    (170, 'ADMIN_FUNDING_SOURCE', oils_i18n_gettext(170, 'Allow a user to create/view/update/delete a funding source', 'ppl', 'description')),
+    (171, 'ADMIN_FUND', oils_i18n_gettext(171, 'Allow a user to create/view/update/delete a fund', 'ppl', 'description')),
+    (172, 'MANAGE_FUNDING_SOURCE', oils_i18n_gettext(172, 'Allow a user to view/credit/debit a funding source', 'ppl', 'description')),
+    (173, 'MANAGE_FUND', oils_i18n_gettext(173, 'Allow a user to view/credit/debit a fund', 'ppl', 'description')),
+    (174, 'CREATE_PICKLIST', oils_i18n_gettext(174, 'Allows a user to create a picklist', 'ppl', 'description')),
+    (175, 'ADMIN_PROVIDER', oils_i18n_gettext(175, 'Allow a user to create/view/update/delete a provider', 'ppl', 'description')),
+    (176, 'MANAGE_PROVIDER', oils_i18n_gettext(176, 'Allow a user to view and purchase from a provider', 'ppl', 'description')),
+    (177, 'VIEW_PICKLIST', oils_i18n_gettext(177, 'Allow a user to view another users picklist', 'ppl', 'description')),
     (152, 'ASSIGN_WORK_ORG_UNIT', oils_i18n_gettext(152, 'Allow a staff member to define where another staff member has their permissions', 'ppl', 'description'));
 INSERT INTO permission.perm_list VALUES 
-    (178, 'DELETE_RECORD', oils_i18n_gettext('Allow a staff member to directly remove a bibliographic record'));
+    (178, 'DELETE_RECORD', oils_i18n_gettext(178, 'Allow a staff member to directly remove a bibliographic record', 'ppl', 'description'));
+INSERT INTO permission.perm_list VALUES 
+    (179, 'ADMIN_CURRENCY_TYPE', oils_i18n_gettext(179, 'Allow a user to create/view/update/delete a currency_type', 'ppl', 'description'));
 
 SELECT SETVAL('permission.perm_list_id_seq'::TEXT, (SELECT MAX(id) FROM permission.perm_list));
 
@@ -1231,8 +1233,6 @@
 INSERT INTO permission.perm_list (code) VALUES ('UPDATE_VR_FORMAT');
 INSERT INTO permission.perm_list (code) VALUES ('UPDATE_XML_TRANSFORM');
 INSERT INTO permission.perm_list (code) VALUES ('MERGE_BIB_RECORDS');
-INSERT INTO permission.perm_list (code, description) VALUES ('ADMIN_CURRENCY_TYPE', 
-    oils_i18n_gettext('Allow a user to create/view/update/delete a currency_type'));
 INSERT INTO permission.perm_list (code) VALUES ('UPDATE_PICKUP_LIB_FROM_HOLDS_SHELF');
 
 



More information about the open-ils-commits mailing list