Bug 5889

Summary: Allow message names to be translatable
Product: Koha Reporter: Julian Maurice <julian.maurice>
Component: I18N/L10NAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, katrin.fischer, paul.poulain
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 5646, 26985    
Attachments: Proposed patch
Patch for 3.2.x
proposed patch fixing variable names in multiple sample files
Signed off patch

Description Julian Maurice 2011-03-17 09:39:41 UTC
Actually, message names are not translatable.
Will submit a patch that makes it possible.
Comment 1 Julian Maurice 2011-03-17 09:45:01 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2011-03-17 20:28:31 UTC
Pushed please test

NOTE: Please remember to set the statuses, it means it's far less likely for me to miss seeing a patch ready to be tested and merged
Comment 3 Julian Maurice 2011-03-23 11:08:15 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2011-04-25 17:33:33 UTC
Some of the trnaslat
Comment 5 Katrin Fischer 2011-04-25 17:34:37 UTC Comment hidden (obsolete)
Comment 6 Chris Cormack 2011-05-12 23:30:22 UTC Comment hidden (obsolete)
Comment 7 Paul Poulain 2011-08-09 14:36:39 UTC
QA comment:

Katrin/chris, I made some tests without this patch, my database contains Item_DUE in message_name column and can't see what is not working. Could you give more details ?

+ patch does not apply anymore
Auto-merging installer/data/mysql/it-IT/necessari/sample_notices_message_attributes.sql
CONFLICT (content): Merge conflict in installer/data/mysql/it-IT/necessari/sample_notices_message_attributes.sql
Comment 8 Katrin Fischer 2011-08-09 14:48:27 UTC
Hi Paul, 

first of all consistency is a good reason - the message names should be the same everywhere and in all files.

The second was display problems - I am not sure if something has changed here. In some places the name showed as Unknown because there was a case sensitive check for the message name.

I am not totally sure now where this occured, places to check are:

- patron categories: page and edit screen
- patron X > details tab: page and edit screen
- patron X's OPAC account > messaging tab
Comment 9 Paul Poulain 2011-08-30 14:57:43 UTC
katrin, thanks, I understand now.

Marking does not apply, as it does not apply anymore
Comment 10 Katrin Fischer 2012-04-01 08:12:05 UTC
Last patch is no longer needed as this is fixed in current master.