[open-ils-commits] [GIT] Evergreen ILS branch master updated. 777798d9e99977c35604e99f14f20217276af32a

Evergreen Git git at git.evergreen-ils.org
Thu Sep 12 16:33:38 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  777798d9e99977c35604e99f14f20217276af32a (commit)
      from  75817fabba07f84ca7f12f282b328f02a1f7be10 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 777798d9e99977c35604e99f14f20217276af32a
Author: Pasi Kallinen <pasi.kallinen at pttk.fi>
Date:   Tue Jun 11 09:57:19 2013 +0300

    Allow translation of acq.cancel_reason texts.
    
    Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml
index 861d107..f639fc0 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -7860,8 +7860,8 @@ SELECT  usr,
 		<fields oils_persist:primary="id" oils_persist:sequence="acq.cancel_reason_id_seq">
 			<field reporter:label="ID" name="id" reporter:datatype="id" reporter:selector='label'/>
 			<field reporter:label="Using Library" name="org_unit" reporter:datatype="org_unit"/>
-			<field reporter:label="Label" name="label" reporter:datatype="text"/>
-			<field reporter:label="Description" name="description" reporter:datatype="text"/>
+			<field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
+			<field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
 			<field reporter:label="Keep Debits?" name="keep_debits" reporter:datatype="bool"/>
 		</fields>
 		<links>
diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
index 1ceb535..5a0d7ba 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -9082,27 +9082,38 @@ INSERT INTO acq.invoice_method (code,name) VALUES ('EDI',oils_i18n_gettext('EDI'
 INSERT INTO acq.invoice_method (code,name) VALUES ('PPR',oils_i18n_gettext('PPR', 'Paper', 'acqit', 'name'));
 
 INSERT INTO acq.cancel_reason ( id, org_unit, label, description ) VALUES (
-    1, 1, 'invalid_isbn', oils_i18n_gettext( 1, 'ISBN is unrecognizable', 'acqcr', 'label' ));
+    1, 1, oils_i18n_gettext(1,'invalid_isbn', 'acqcr', 'label'), oils_i18n_gettext( 1, 'ISBN is unrecognizable', 'acqcr', 'description' ));
 INSERT INTO acq.cancel_reason ( id, org_unit, label, description ) VALUES (
-    2, 1, 'postpone', oils_i18n_gettext( 2, 'Title has been postponed', 'acqcr', 'label' ));
+    2, 1, oils_i18n_gettext(2,'postpone', 'acqcr', 'label'), oils_i18n_gettext( 2, 'Title has been postponed', 'acqcr', 'description' ));
 INSERT INTO acq.cancel_reason ( id, org_unit, label, description, keep_debits ) VALUES (
-    3, 1, 'delivered_but_lost',
-	oils_i18n_gettext( 2, 'Delivered but not received; presumed lost', 'acqcr', 'label' ), TRUE );
+    3, 1, oils_i18n_gettext(3, 'delivered_but_lost', 'acqcr', 'label'),
+	oils_i18n_gettext( 3, 'Delivered but not received; presumed lost', 'acqcr', 'description' ), TRUE );
 
 INSERT INTO acq.cancel_reason (keep_debits, id, org_unit, label, description) VALUES 
-('f',(  2+1000), 1, 'Deleted',   'The information is to be or has been deleted.'),
-('t',(  3+1000), 1, 'Changed',   'The information is to be or has been changed.'),
-('t',(  4+1000), 1, 'No action',                  'This line item is not affected by the actual message.'),
-('t',(  5+1000), 1, 'Accepted without amendment', 'This line item is entirely accepted by the seller.'),
-('f',(  7+1000), 1, 'Not accepted',               'This line item is not accepted by the seller.'),
-('f',( 10+1000), 1, 'Not found',   'This line item is not found in the referenced message.'),
-('t',( 24+1000), 1, 'Accepted with amendment, no confirmation required', 'Accepted with changes which require no confirmation.');
+('f',(  2+1000), 1, oils_i18n_gettext(1002, 'Deleted', 'acqcr', 'label'),
+	oils_i18n_gettext(1002, 'The information is to be or has been deleted.', 'acqcr', 'description')),
+('t',(  3+1000), 1, oils_i18n_gettext(1003, 'Changed', 'acqcr', 'label'),
+	oils_i18n_gettext(1003, 'The information is to be or has been changed.', 'acqcr', 'description')),
+('t',(  4+1000), 1, oils_i18n_gettext(1004, 'No action', 'acqcr', 'label'),
+	oils_i18n_gettext(1004, 'This line item is not affected by the actual message.', 'acqcr', 'description')),
+('t',(  5+1000), 1, oils_i18n_gettext(1005, 'Accepted without amendment', 'acqcr', 'label'),
+	oils_i18n_gettext(1005, 'This line item is entirely accepted by the seller.', 'acqcr', 'description')),
+('f',(  7+1000), 1, oils_i18n_gettext(1007, 'Not accepted', 'acqcr', 'label'),
+	oils_i18n_gettext(1007, 'This line item is not accepted by the seller.', 'acqcr', 'description')),
+('f',( 10+1000), 1, oils_i18n_gettext(1010, 'Not found', 'acqcr', 'label'),
+       oils_i18n_gettext(1010, 'This line item is not found in the referenced message.', 'acqcr', 'description')),
+('t',( 24+1000), 1, oils_i18n_gettext(1024, 'Accepted with amendment, no confirmation required', 'acqcr', 'label'),
+       oils_i18n_gettext(1024, 'Accepted with changes which require no confirmation.', 'acqcr', 'description'));
 
 INSERT INTO acq.cancel_reason (org_unit, keep_debits, id, label, description) VALUES 
-(1, 't', 1211, 'Split quantity', 'Part of the whole quantity.'),
-(1, 't', 1221, 'Ordered quantity', '[6024] The quantity which has been ordered.'),
-(1, 't', 1246, 'Pieces delivered', 'Number of pieces actually received at the final destination.'),
-(1, 't', 1283, 'Backorder quantity', 'The quantity of goods that is on back-order.');
+(1, 't', 1211, oils_i18n_gettext(1211, 'Split quantity', 'acqcr', 'label'),
+    oils_i18n_gettext(1211, 'Part of the whole quantity.', 'acqcr', 'description')),
+(1, 't', 1221, oils_i18n_gettext(1221, 'Ordered quantity', 'acqcr', 'label'),
+    oils_i18n_gettext(1221, '[6024] The quantity which has been ordered.', 'acqcr', 'description')),
+(1, 't', 1246, oils_i18n_gettext(1246, 'Pieces delivered', 'acqcr', 'label'),
+    oils_i18n_gettext(1246, 'Number of pieces actually received at the final destination.', 'acqcr', 'description')),
+(1, 't', 1283, oils_i18n_gettext(1283, 'Backorder quantity', 'acqcr', 'label'),
+    oils_i18n_gettext(1283, 'The quantity of goods that is on back-order.', 'acqcr', 'description'));
 
 INSERT INTO config.global_flag (name, label, enabled)
     VALUES (

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/examples/fm_IDL.xml                 |    4 +-
 Open-ILS/src/sql/Pg/950.data.seed-values.sql |   41 ++++++++++++++++---------
 2 files changed, 28 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list