Skip to content

Commit

Permalink
Fixed #135
Browse files Browse the repository at this point in the history
  • Loading branch information
LMH01 committed Mar 9, 2023
1 parent 6b738fd commit bf2601c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- Fixed #129 - NOTFORSALE and ONLYMOBILE parameters are now read correctly when publishers are imported
- Fixed #132 - Genre import: Good/bad gameplay features, and good themes where not imported correctly
- Fixed #133 - Licence import/export: Release year was not read properly
- Fixed #135 - It could happen that too many data entries where written to the german theme file when themes where imported
- Hardware import/export: ONLY_STATIONARY and ONLY_HANDHELD parameters where not properly read
- Hardware Feature: need internet was not applied when hardware feature was added
- Hardware Feature import/export: NEEDINTERNET parameter was not properly read
Expand Down
1 change: 1 addition & 0 deletions docs/changelog_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Bug fixes
- Fixed #132 - Genre import: Good/bad gameplay features, and good themes where not imported correctly
- Fixed #133 - Licence import/export: Release year was not read properly
- Fixed #135 - It could happen that too many data entries where written to the german theme file when themes where imported
- Theme import: When multiple themes where imported simultaneously they where all written in the same line in the german theme file

## [v4.9.0-beta6]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,11 @@ public AbstractBaseContent constructContentFromName(String name) throws ModProce
String line = getLineByName(name);
Map<String, String> translations = new HashMap<>();
for (String string : TranslationManager.TRANSLATION_KEYS) {
translations.put(string, this.translations.get(string).get(getContentIdByName(name)));
if (string.equals("GE")) {
translations.put(string, this.getReplacedLine(this.translations.get(string).get(getContentIdByName(name))));
} else {
translations.put(string, this.translations.get(string).get(getContentIdByName(name)));
}
}
ArrayList<Integer> genres = new ArrayList<>();
int violenceLevel = 0;
Expand Down

0 comments on commit bf2601c

Please sign in to comment.