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

Martin Denham (JIRA) jira at crosswire.org
Fri Jun 3 11:25:28 MST 2011


    [ http://www.crosswire.org/bugs/browse/JS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15971#comment-15971 ] 

Martin Denham commented on JS-192:
----------------------------------

...I also meant to say that I have reverted the fix.

> 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: DM Smith
>             Fix For: 1.6.1
>
>
> 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