X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fgui%2FSwingInterface.java;h=45e98ac1e75dae7784d499b864e6b0fd794cb0bd;hb=8f4514995d6a8bc65b04b8062738faf334c8a189;hp=3652388494d6076bd8855086269b8bcced504d57;hpb=7a6a3c1c08be242d176b141f261e25b16fee84aa;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/gui/SwingInterface.java b/src/net/pterodactylus/jsite/gui/SwingInterface.java index 3652388..45e98ac 100644 --- a/src/net/pterodactylus/jsite/gui/SwingInterface.java +++ b/src/net/pterodactylus/jsite/gui/SwingInterface.java @@ -818,7 +818,9 @@ public class SwingInterface implements CoreListener, LoggingListener { */ private void addProject() { try { - Project project = core.createProject("New Project"); + Project project = core.createProject(); + project.setName(I18n.get("")); /* TODO - i18n */ + project.setDescription(I18n.get("")); /* TODO - i18n */ System.out.println("private: " + project.getPrivateKey() + ", public: " + project.getPublicKey()); mainWindow.addProject(project); } catch (NoNodeException nne1) {