Comment 4 for bug 1078596

Revision history for this message
Pasi Kallinen (paxed) wrote :

Even more information:

In Open-ILS/web/js/dojo/fieldmapper/IDL.js, line 17 says:
    if (!fieldmapper.IDL.fmclasses) fieldmapper.IDL.fmclasses = {};
and then in line 35:
    if(!fieldmapper.IDL.fmclasses || blahblah...

That should also check fieldmapper.IDL.fmclasses.length

Doing this, translated strings in patron registration work... Except for the field labels under "User Settings" -part, which are still in english., as the User Settings labels go through different route:

In Open-ILS/src/sql/Pg/950.data.seed-values.sql, shouldn't these have oils_i18n_gettext() stuff:

INSERT INTO config.usr_setting_type (name,opac_visible,label,description,datatype) VALUES ('opac.default_pickup_location', TRUE, 'Default Hold Pickup Location', 'Default location for holds pickup', 'integer');

I haven't tried changing the db inserts.