]> gitweb.fperrin.net Git - DictionaryPC.git/blobdiff - src/com/hughes/android/dictionary/engine/DictionaryBuilderMain.java
Update URL format and parsing, fix FR handling.
[DictionaryPC.git] / src / com / hughes / android / dictionary / engine / DictionaryBuilderMain.java
index cfa80661d91bc46ac7a07ec2cbe14bb241812ca2..9f41c83344bd8b6d03d36becebc2998b6b8d1386 100644 (file)
@@ -47,8 +47,6 @@ public class DictionaryBuilderMain extends TestCase {
       {"DE", "EN" },
       {"DE", "IT" },
 
-      /*
-
       {"AR", "DE" },
       {"AR", "ES" },
       {"AR", "FR" },
@@ -136,8 +134,6 @@ public class DictionaryBuilderMain extends TestCase {
       {"FA", "SV" },  // Persian, Swedish, by request.
       {"NL", "PL" },  // Dutch, Polish, by request.
       
-      */
-
   };
 
 
@@ -319,7 +315,9 @@ public class DictionaryBuilderMain extends TestCase {
     allPairs.addAll(Arrays.asList(nonEnPairs));
     // Add all the EN-XX pairs.
     for (final String isoCode : WiktionaryLangs.isoCodeToEnWikiName.keySet()) {
-      allPairs.add(new String[] {"EN", isoCode});
+      if (!isoCode.equals("EN")) {
+          allPairs.add(new String[] {"EN", isoCode});
+      }
     }