[Koha-bugs] [Bug 12222] New: members-update.tt has a giant hash variable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 9 09:59:25 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12222

            Bug ID: 12222
           Summary: members-update.tt has a giant hash variable
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pasi.kallinen at pttk.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr

members-update.tt has a giant hash variable that contains the borrowers
database table fields, and their clear-text counterparts. This shows up in the
po-files as one giant msgid, which is really ugly and unwieldy:

msgid ""
"%s %s [%% SET field_display_names = { surname => \"Surname\" firstname => "
"\"First name\" title => \"Title\" othernames => \"Other names\" initials => "
"\"Initials\" streetnumber => \"Street number\" streettype => \"Street type\" "
"address => \"Address\" address2 => \"Address 2\" city => \"City\" state => "
 etc. for 20 more lines.


This should probably be split into a separate tt include, and changed so only
the translatable strings are picked up for translation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list