Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 authored and Chris Haggan committed Apr 15, 2022
1 parent 9a59b14 commit 25f318d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private ObservableValue<String> modCell(CellDataFeatures<Game, String> param) {
.map(Entry::getValue)
.collect(Collectors.toList());
if (simModCount > 2) {
return new SimpleStringProperty(i18n.get("game.mods.twoAndMore", modNames.get(0), modNames.size()));
return new SimpleStringProperty(i18n.get("game.mods.twoAndMore", modNames.get(0), modNames.get(1), modNames.size() - 2));
}
return new SimpleStringProperty(Joiner.on(i18n.get("textSeparator")).join(modNames));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private ObservableValue<String> modCell(CellDataFeatures<Game, String> param) {
.map(Entry::getValue)
.collect(Collectors.toList());
if (simModCount > 2) {
return new SimpleStringProperty(i18n.get("game.mods.twoAndMore", modNames.get(0), modNames.size()));
return new SimpleStringProperty(i18n.get("game.mods.twoAndMore", modNames.get(0), modNames.get(1), simMods.size() - 2));
}
return new SimpleStringProperty(Joiner.on(i18n.get("textSeparator")).join(modNames));
}
Expand Down

0 comments on commit 25f318d

Please sign in to comment.