Changed delimiter from # to | (reminder texts fixed).

Python script now downloads the big json file from scryfall.
Updated spanish and deutsch translations
This commit is contained in:
Peter
2019-07-31 17:57:47 +02:00
parent 00899ff4ce
commit e4f41903d4
4 changed files with 36560 additions and 36556 deletions

View File

@@ -22,7 +22,7 @@ public class CardTranslation {
try (LineReader translationFile = new LineReader(new FileInputStream(ForgeConstants.LANG_DIR + filename), Charsets.UTF_8)) {
for (String line : translationFile.readLines()) {
String[] matches = line.split("#");
String[] matches = line.split("\\|");
if (matches.length >= 2) {
translatednames.put(matches[0], matches[1]);
}