mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
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:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user