]> gitweb.fperrin.net Git - DictionaryPC.git/commitdiff
Fix splitting of Greek/Ancient Greek.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 16 Dec 2015 21:51:03 +0000 (22:51 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 16 Dec 2015 21:51:03 +0000 (22:51 +0100)
src/com/hughes/android/dictionary/engine/WiktionarySplitter.java
src/com/hughes/android/dictionary/parser/wiktionary/WiktionaryLangs.java

index 42f7a724d478eab03bf6fd3546b1b00f8642e347..a5dfebc88203a51321928272635f4cfd9a0571c5 100644 (file)
@@ -218,6 +218,7 @@ public class WiktionarySplitter extends org.xml.sax.helpers.DefaultHandler {
           }
           
           text = text.substring(end);
+          break;
         }
       }
     }
index 68269ecf64e08da9a8934c48c66d4a21a68da586..5c039e861ea6373c8bd95bddea12c38165a17e4a 100644 (file)
@@ -48,8 +48,8 @@ public class WiktionaryLangs {
     isoCodeToEnWikiName.put("FI", "Finnish");
     isoCodeToEnWikiName.put("FR", "French");
     isoCodeToEnWikiName.put("DE", "German");
-    isoCodeToEnWikiName.put("EL", "Greek");
     isoCodeToEnWikiName.put("grc", "Ancient Greek");
+    isoCodeToEnWikiName.put("EL", "Greek");
     isoCodeToEnWikiName.put("haw", "Hawaiian");
     isoCodeToEnWikiName.put("HE", "Hebrew");
     isoCodeToEnWikiName.put("HI", "Hindi");
@@ -67,8 +67,8 @@ public class WiktionaryLangs {
     isoCodeToEnWikiName.put("KO", "Korean");
     isoCodeToEnWikiName.put("KU", "Kurdish");
     isoCodeToEnWikiName.put("LO", "Lao");
-    isoCodeToEnWikiName.put("MS", "Malay$");
     isoCodeToEnWikiName.put("ML", "Malayalam");
+    isoCodeToEnWikiName.put("MS", "Malay");
     isoCodeToEnWikiName.put("MI", "Maori");
     isoCodeToEnWikiName.put("MN", "Mongolian");
     isoCodeToEnWikiName.put("NE", "Nepali");