[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. ca54c40a2edca081db7d6417d39ae3a3aeb697ff
Evergreen Git
git at git.evergreen-ils.org
Fri Jul 12 17:42:02 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_4 has been updated
via ca54c40a2edca081db7d6417d39ae3a3aeb697ff (commit)
from f640102acd03b0f32db264dce5bb648afe834948 (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 ca54c40a2edca081db7d6417d39ae3a3aeb697ff
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 ddb6e17..c059f66 100644
--- a/Open-ILS/src/sql/Pg/200.schema.acq.sql
+++ b/Open-ILS/src/sql/Pg/200.schema.acq.sql
@@ -910,14 +910,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 29dfef4..94dee6b 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -2521,6 +2521,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