[Patches] [PATCH] Bug 6530: Item Due notice label displaying as 'unknown'

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Mon Nov 21 12:45:31 NZDT 2011


From: Katrin Fischer <Katrin.Fischer.83 at web.de>
Date: Sun, 20 Nov 2011 22:31:47 +0100
Subject: [PATCH] Bug 6530: Item Due notice label displaying as 'unknown'

Some of the translated sql files still had 'Item_DUE' instead
of 'Item_Due' causing the staff interface to display 'unknown'
instead of the correct description.

To test:
- Do a new installation, using German, French, Polish, Russian or Ukrainian sample files.
- Actived EnhancedMessagingPreferences
- Create a new patron category and check message descriptions display correctly

http://bugs.koha-community.org/show_bug.cgi?id=6350
---
 .../sample_notices_message_attributes.sql          |    2 +-
 .../sample_notices_message_attributes.sql          |    2 +-
 .../sample_notices_message_attributes.sql          |    2 +-
 .../sample_notices_message_attributes.sql          |    2 +-
 .../sample_notices_message_attributes.sql          |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/installer/data/mysql/de-DE/mandatory/sample_notices_message_attributes.sql b/installer/data/mysql/de-DE/mandatory/sample_notices_message_attributes.sql
index b505486..b078106 100644
--- a/installer/data/mysql/de-DE/mandatory/sample_notices_message_attributes.sql
+++ b/installer/data/mysql/de-DE/mandatory/sample_notices_message_attributes.sql
@@ -1,7 +1,7 @@
 insert into `message_attributes`
 (`message_attribute_id`, message_name, `takes_days`)
 values
-(1, 'Item_DUE', 0),
+(1, 'Item_Due', 0),
 (2, 'Advance_Notice', 1),
 (4, 'Hold_Filled', 0),
 (5, 'Item_Check_in', 0),
diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices_message_attributes.sql b/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices_message_attributes.sql
index 8e919e9..a7a6032 100644
--- a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices_message_attributes.sql
+++ b/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices_message_attributes.sql
@@ -1,7 +1,7 @@
 insert into `message_attributes`
 (`message_attribute_id`, message_name, `takes_days`)
 values
-(1, 'Item_DUE', 0),
+(1, 'Item_Due', 0),
 (2, 'Advance_Notice', 1),
 (4, 'Hold_Filled', 0),
 (5, 'Item_Check_in', 0),
diff --git a/installer/data/mysql/pl-PL/mandatory/sample_notices_message_attributes.sql b/installer/data/mysql/pl-PL/mandatory/sample_notices_message_attributes.sql
index 8e919e9..a7a6032 100644
--- a/installer/data/mysql/pl-PL/mandatory/sample_notices_message_attributes.sql
+++ b/installer/data/mysql/pl-PL/mandatory/sample_notices_message_attributes.sql
@@ -1,7 +1,7 @@
 insert into `message_attributes`
 (`message_attribute_id`, message_name, `takes_days`)
 values
-(1, 'Item_DUE', 0),
+(1, 'Item_Due', 0),
 (2, 'Advance_Notice', 1),
 (4, 'Hold_Filled', 0),
 (5, 'Item_Check_in', 0),
diff --git a/installer/data/mysql/ru-RU/mandatory/sample_notices_message_attributes.sql b/installer/data/mysql/ru-RU/mandatory/sample_notices_message_attributes.sql
index c9d9bd1..94c7897 100644
--- a/installer/data/mysql/ru-RU/mandatory/sample_notices_message_attributes.sql
+++ b/installer/data/mysql/ru-RU/mandatory/sample_notices_message_attributes.sql
@@ -3,7 +3,7 @@ truncate message_attributes;
 insert into `message_attributes`
 (`message_attribute_id`, message_name, `takes_days`)
 values
-(1, 'Item_DUE',                    0),
+(1, 'Item_Due',                    0),
 (2, 'Advance_Notice',              1),
 (4, 'Hold_Filled',                 0),
 (5, 'Item_Check_in',               0),
diff --git a/installer/data/mysql/uk-UA/mandatory/sample_notices_message_attributes.sql b/installer/data/mysql/uk-UA/mandatory/sample_notices_message_attributes.sql
index 75e2793..53eeeac 100644
--- a/installer/data/mysql/uk-UA/mandatory/sample_notices_message_attributes.sql
+++ b/installer/data/mysql/uk-UA/mandatory/sample_notices_message_attributes.sql
@@ -3,7 +3,7 @@ truncate message_attributes;
 insert into `message_attributes`
 (`message_attribute_id`, `message_name`, `takes_days`)
 values
-(1, 'Item_DUE'              , 0),
+(1, 'Item_Due'              , 0),
 (2, 'Advance_Notice'        , 1),
 (4, 'Hold_Filled'           , 0),
 (5, 'Item_Check_in'         , 0),
-- 
1.7.5.4


More information about the Patches mailing list