Uploaded image for project: 'JSword'
  1. JSword
  2. JS-251 Fix all Language problems
  3. JS-192

Typo preventing localisation of languages in iso639.properties

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7
    • Component/s: o.c.common.util
    • Labels:
      None
    • Environment:

      All

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              dmsmith DM Smith
              Reporter:
              mjdenham Martin Denham
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: