Skip to content

Commit 4e13f23

Browse files
committed
Fixes #2803 (custom role set name is not shown)
1 parent b9d1904 commit 4e13f23

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • ganttproject/src/main/java/net/sourceforge/ganttproject/gui/projectwizard

ganttproject/src/main/java/net/sourceforge/ganttproject/gui/projectwizard/I18N.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ String[] getDayNames() {
6666
final String[] myDayNames;
6767

6868
public String getRoleSetDisplayName(RoleSet roleSet) {
69-
return GanttLanguage.getInstance().getText("roleSet." + roleSet.getName() + ".displayName");
69+
var localizedName = GanttLanguage.getInstance().getText("roleSet." + roleSet.getName() + ".displayName");
70+
return (localizedName == null) ? roleSet.getName() : localizedName;
7071
}
7172
}

0 commit comments

Comments
 (0)