[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. d79c74e39217d2cafa32d954bb05825afa47c07e
Evergreen Git
git at git.evergreen-ils.org
Fri Jul 12 17:42:55 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, rel_2_3 has been updated
via d79c74e39217d2cafa32d954bb05825afa47c07e (commit)
from 4bcad8a746acccd2f81879b43a5d2400d5a4c56d (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 d79c74e39217d2cafa32d954bb05825afa47c07e
Author: Pasi Kallinen <pasi.kallinen at pttk.fi>
Date: Tue Jul 2 08:34:16 2013 +0300
Move acq.user_request_type data for i18n picking
Move acq.user_request_type inserts into 950.data.seed-values.sql
so those get picked up for translation.
Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
Signed-off-by: Remington Steed <rjs7 at calvin.edu>
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
diff --git a/Open-ILS/src/sql/Pg/200.schema.acq.sql b/Open-ILS/src/sql/Pg/200.schema.acq.sql
index aad60a4..613c9d5 100644
--- a/Open-ILS/src/sql/Pg/200.schema.acq.sql
+++ b/Open-ILS/src/sql/Pg/200.schema.acq.sql
@@ -903,14 +903,6 @@ CREATE TABLE acq.user_request_type (
label TEXT NOT NULL UNIQUE -- i18n-ize
);
-INSERT INTO acq.user_request_type (id,label) VALUES (1, oils_i18n_gettext('1', 'Books', 'aurt', 'label'));
-INSERT INTO acq.user_request_type (id,label) VALUES (2, oils_i18n_gettext('2', 'Journal/Magazine & Newspaper Articles', 'aurt', 'label'));
-INSERT INTO acq.user_request_type (id,label) VALUES (3, oils_i18n_gettext('3', 'Audiobooks', 'aurt', 'label'));
-INSERT INTO acq.user_request_type (id,label) VALUES (4, oils_i18n_gettext('4', 'Music', 'aurt', 'label'));
-INSERT INTO acq.user_request_type (id,label) VALUES (5, oils_i18n_gettext('5', 'DVDs', 'aurt', 'label'));
-
-SELECT SETVAL('acq.user_request_type_id_seq'::TEXT, 6);
-
CREATE TABLE acq.user_request (
id SERIAL PRIMARY KEY,
usr INT NOT NULL REFERENCES actor.usr (id), -- requesting user
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 96bd3c7..dbb7a3b 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -2499,6 +2499,14 @@ INSERT INTO config.settings_group (name, label) VALUES
;
+INSERT INTO acq.user_request_type (id,label) VALUES (1, oils_i18n_gettext('1', 'Books', 'aurt', 'label'));
+INSERT INTO acq.user_request_type (id,label) VALUES (2, oils_i18n_gettext('2', 'Journal/Magazine & Newspaper Articles', 'aurt', 'label'));
+INSERT INTO acq.user_request_type (id,label) VALUES (3, oils_i18n_gettext('3', 'Audiobooks', 'aurt', 'label'));
+INSERT INTO acq.user_request_type (id,label) VALUES (4, oils_i18n_gettext('4', 'Music', 'aurt', 'label'));
+INSERT INTO acq.user_request_type (id,label) VALUES (5, oils_i18n_gettext('5', 'DVDs', 'aurt', 'label'));
+
+SELECT SETVAL('acq.user_request_type_id_seq'::TEXT, 6);
+
-- org_unit setting types
INSERT into config.org_unit_setting_type
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/sql/Pg/200.schema.acq.sql | 8 --------
Open-ILS/src/sql/Pg/950.data.seed-values.sql | 8 ++++++++
2 files changed, 8 insertions(+), 8 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list