http://bugzilla.wpkg.org/show_bug.cgi?id=206

--- Comment #5 from Stefan Pendl <pendl2mega...@yahoo.de>  ---
The following seems to fix it the crash:

    for (var i=0; i < variableNodes.length; i++) {
        // var variableLCID =
trimLeadingZeroes(trim(variableNodes[i].getAttribute("lcid")));
        var variableLCID = variableNodes[i].getAttribute("lcid"); // <<---
        dinfo("LCID: " + variableLCID);
        if (variableLCID != null && variableLCID != getLocale()) {
            // Variable is set only for specific LCID which does not match the
current system.
            // Skip to next variable
            continue;
        }

In addition this seems to not handle multiple LCIDs like specified by the
message strings in the config.xml file.

One needs to specify multiple German LCIDs for instance.

---
Stefan

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to