* Added some import corrections for txt import.

This commit is contained in:
LevelX2 2014-10-31 09:44:45 +01:00
parent c674509843
commit 7f4f3253bd

View file

@ -80,7 +80,10 @@ public class TxtDeckImporter extends DeckImporter {
}
String lineNum = line.substring(0, delim).trim();
String lineName = line.substring(delim).replace("","\'").trim();
lineName = lineName.replace("&","//");
lineName = lineName.replace("&","//").replace("Æ", "AE").replace("ö", "ö");
if (lineName.contains("//") && !lineName.contains(" // ")) {
lineName = lineName.replace("//"," // ");
}
if (IGNORE_NAMES.contains(lineName)) {
return;
}