[jsword-devel] [JIRA] Created: (JS-192) Typo preventing localisation of languages in iso639.properties

Martin Denham (JIRA) jira at crosswire.org
Fri May 20 10:50:50 MST 2011


Typo preventing localisation of languages in iso639.properties
--------------------------------------------------------------

                 Key: JS-192
                 URL: http://www.crosswire.org/bugs/browse/JS-192
             Project: JSword
          Issue Type: Bug
          Components: o.c.common.util
    Affects Versions: 1.6.1
         Environment: All
            Reporter: Martin Denham
            Assignee: Martin Denham


The following code in Languages.java seems to have a typo.  The second assignment should be to allLangs:

    private static/* final */ResourceBundle commonLangs;
    private static/* final */ResourceBundle allLangs;
    static {
        try {
            commonLangs = ResourceBundle.getBundle("iso639", Locale.getDefault(), CWClassLoader.instance());
        } catch (MissingResourceException e) {
            assert false;
        }
        try {
            commonLangs = ResourceBundle.getBundle("iso639full", Locale.getDefault(), CWClassLoader.instance());
        } catch (MissingResourceException e) {
            assert false;
        }
    }

I will make this simple fix and check it in.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jsword-devel mailing list