]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/Language.java
Picking back up in the middle of a major refactoring of the UI, tyring
[Dictionary.git] / src / com / hughes / android / dictionary / engine / Language.java
index 27e6ad30b4e3b8e7f5576359747b01cfa951f5ad..8f84de08e670cce3ff9a69be8ee73363b87e1a9e 100644 (file)
@@ -39,8 +39,10 @@ public class Language {
     private LanguageResources(final String englishName, int nameId) {\r
       this(englishName, nameId, 0);\r
     }\r
-}\r
+  }\r
 \r
+  // Useful:\r
+  // http://www.loc.gov/standards/iso639-2/php/code_list.php\r
   public static final Map<String,LanguageResources> isoCodeToResources = new LinkedHashMap<String,LanguageResources>();\r
   static {\r
     isoCodeToResources.put("AF", new LanguageResources("Afrikaans", R.string.AF));\r
@@ -97,7 +99,7 @@ public class Language {
     isoCodeToResources.put("SA", new LanguageResources("Sanskrit", R.string.SA));\r
     isoCodeToResources.put("SR", new LanguageResources("Serbian", R.string.SR));\r
     isoCodeToResources.put("SK", new LanguageResources("Slovak", R.string.SK));\r
-    isoCodeToResources.put("SK", new LanguageResources("Slovenian", R.string.SL));\r
+    isoCodeToResources.put("SL", new LanguageResources("Slovenian", R.string.SL));\r
     isoCodeToResources.put("SO", new LanguageResources("Somali", R.string.SO));\r
     isoCodeToResources.put("ES", new LanguageResources("Spanish", R.string.ES));\r
     isoCodeToResources.put("SW", new LanguageResources("Swahili", R.string.SW));\r