mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
* Added some import corrections for txt import.
This commit is contained in:
parent
c674509843
commit
7f4f3253bd
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue