[open-ils-commits] r17878 - branches/rel_2_0/Open-ILS/src/sql/Pg (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 21 15:09:02 EDT 2010


Author: scottmk
Date: 2010-09-21 15:08:57 -0400 (Tue, 21 Sep 2010)
New Revision: 17878

Modified:
   branches/rel_2_0/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
Log:
Replace some changes that had inadvertently been deleted

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql


Modified: branches/rel_2_0/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql	2010-09-21 19:08:54 UTC (rev 17877)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql	2010-09-21 19:08:57 UTC (rev 17878)
@@ -1266,7 +1266,7 @@
 
 ( 'circ.hold_stalling.soft',
   'Holds: Soft stalling interval',
-  'How long to wait before allowing remote items to be opportunisticaly captured for a hold.  Example "5 days"',
+  'How long to wait before allowing remote items to be opportunistically captured for a hold.  Example "5 days"',
   'interval' ),
 
 ( 'circ.hold_stalling_hard',
@@ -1296,12 +1296,12 @@
 
 ( 'circ.item_checkout_history.max',
   'Maximum previous checkouts displayed',
-  'This is maximum number of previous circulations the staff client will display when investigating item details',
+  'This is the maximum number of previous circulations the staff client will display when investigating item details',
   'integer' ),
 
 ( 'circ.reshelving_complete.interval',
   'Change reshelving status interval',
-  'Amount of time to wait before changing an item from "reshelving" status to "available".  Examples "1 day", "6 hours"',
+  'Amount of time to wait before changing an item from "reshelving" status to "available".  Examples: "1 day", "6 hours"',
   'interval' ),
 
 ( 'circ.holds.default_estimated_wait_interval',
@@ -1316,7 +1316,7 @@
 
 ( 'circ.selfcheck.patron_login_timeout',
   'Selfcheck: Patron Login Timeout (in seconds)',
-  'Number of seconds of inactivity before the patron is logged out of the selfcheck interfacer',
+  'Number of seconds of inactivity before the patron is logged out of the selfcheck interface',
   'integer' ),
 
 ( 'circ.selfcheck.alert.popup',
@@ -1845,7 +1845,7 @@
     VALUES (
         'circ.holds.uncancel.reset_request_time',
         'Holds: Reset request time on un-cancel',
-        'When a holds is uncanceled, reset the request time to push it to the end of the queue',
+        'When a hold is uncanceled, reset the request time to push it to the end of the queue',
         'bool'
     );
 
@@ -2168,7 +2168,7 @@
             'label'),
         oils_i18n_gettext(
             'circ.missing_pieces.copy_status',
-            'This is the Item Status to use for items that have been marked or scanned as having Missing Pieces.  In absense of this setting, the Damaged status is used.',
+            'This is the Item Status to use for items that have been marked or scanned as having Missing Pieces.  In the absence of this setting, the Damaged status is used.',
             'coust',
             'description'),
         'link',
@@ -2449,13 +2449,13 @@
 INSERT INTO action_trigger.hook (key,core_type,description) VALUES (
     'hold_request.cancel.expire_holds_shelf',
     'ahr',
-    'A hold is cancelled becuase it was on the holds shelf too long'
+    'A hold is cancelled because it was on the holds shelf too long'
 );
 
 INSERT INTO action_trigger.hook (key,core_type,description) VALUES (
     'hold_request.cancel.staff',
     'ahr',
-    'A hold is cancelled becuase it was cancelled by staff'
+    'A hold is cancelled because it was cancelled by staff'
 );
 
 INSERT INTO action_trigger.hook (key,core_type,description) VALUES (
@@ -2512,7 +2512,7 @@
   
 INSERT INTO action_trigger.validator (module,description) VALUES ('MinPassiveTargetAge','Check that the target is old enough to be used by this event -- requires a min_target_age interval parameter, and accepts an optional target_age_field to specify what time to use for offsetting');
 
-INSERT INTO action_trigger.reactor (module,description) VALUES ('ApplyPatronPenalty','Applies the conifigured penalty to a patron.  Required named environment variables are "user", which refers to the user object, and "context_org", which refers to the org_unit object that acts as the focus for the penalty.');
+INSERT INTO action_trigger.reactor (module,description) VALUES ('ApplyPatronPenalty','Applies the configured penalty to a patron.  Required named environment variables are "user", which refers to the user object, and "context_org", which refers to the org_unit object that acts as the focus for the penalty.');
 
 INSERT INTO action_trigger.hook (
         key,
@@ -2623,7 +2623,7 @@
 
 You requested hold(s) on the following item(s), but unfortunately
 we have not been able to fulfill your request after a considerable
-length of time.  If you would still like to recieve these items,
+length of time.  If you would still like to receive these items,
 no action is required.
 
 [% FOR hold IN target %]
@@ -3408,7 +3408,7 @@
   [% END %]
   <tr>
     <td/><td/><td/><td/>
-    <td>Sub Total</td>
+    <td>Subtotal</td>
     <td>[% subtotal %]</td>
   </tr>
   </tbody>
@@ -4619,6 +4619,16 @@
         (35, 'pickup_lib')
 ;
 
+INSERT INTO action_trigger.validator (module, description) VALUES ( 
+    'HoldIsCancelled', 
+    oils_i18n_gettext( 
+        'HoldIsCancelled', 
+        'Check whether a hold request is cancelled.', 
+        'atval', 
+        'description' 
+    ) 
+);
+
 -- Create the query schema, and the tables and views therein
 
 DROP SCHEMA IF EXISTS sql CASCADE;
@@ -12718,7 +12728,7 @@
 INSERT INTO acq.invoice_item_type (code,name) VALUES ('SHP',oils_i18n_gettext('SHP', 'Shipping Charge', 'aiit', 'name'));
 INSERT INTO acq.invoice_item_type (code,name) VALUES ('HND',oils_i18n_gettext('HND', 'Handling Charge', 'aiit', 'name'));
 INSERT INTO acq.invoice_item_type (code,name) VALUES ('ITM',oils_i18n_gettext('ITM', 'Non-library Item', 'aiit', 'name'));
-INSERT INTO acq.invoice_item_type (code,name) VALUES ('SUB',oils_i18n_gettext('SUB', 'Searial Subscription', 'aiit', 'name'));
+INSERT INTO acq.invoice_item_type (code,name) VALUES ('SUB',oils_i18n_gettext('SUB', 'Serial Subscription', 'aiit', 'name'));
 
 CREATE TABLE acq.po_item (
 	id              SERIAL      PRIMARY KEY,
@@ -15036,7 +15046,7 @@
 
 INSERT INTO config.index_normalizer (name, description, func, param_count) VALUES (
 	'Replace',
-	'Replace all occurances of first parameter in the string with the second parameter.',
+	'Replace all occurences of first parameter in the string with the second parameter.',
 	'replace',
 	2
 );



More information about the open-ils-commits mailing list