Skip to content

Commit

Permalink
Fix two small text issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mmyers committed Jun 17, 2024
1 parent 59e79e5 commit b613249
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EU3_Scenario_Editor/src/editor/EditorUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -2311,7 +2311,7 @@ public TitleFilterAction(TitleMode.TitleType type) {

private class DeJureTitleFilterAction extends FilterAction {
public DeJureTitleFilterAction(DeJureTitleMode.TitleType type) {
super(type.getName() + " Titles", new DeJureTitleMode(mapPanel, type));
super("De Jure " + type.getName() + " Titles", new DeJureTitleMode(mapPanel, type));
putValue(SHORT_DESCRIPTION, type.getName() + " Titles");
}
}
Expand Down
3 changes: 2 additions & 1 deletion EU3_Scenario_Editor/src/editor/mapmode/ProvCultureMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public String getTooltipExtraText(final Province current) {
final String cultureGroupTag = Utilities.getCultureGroup(cultureTag);
java.awt.Color c = Utilities.getCultureColor(cultureTag);
String ret = "Culture: " + cultureTag + " (" + cultureText + ")<br>";
ret += "Group: " + cultureGroupTag + " (" + Text.getText(cultureGroupTag) + ")<br>";
if (cultureGroupTag != null)
ret += "Group: " + cultureGroupTag + " (" + Text.getText(cultureGroupTag) + ")<br>";
ret += "Color: " + c.getRed() + " " + c.getGreen() + " " + c.getBlue();
return ret;
}
Expand Down

0 comments on commit b613249

Please sign in to comment.