projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make delete and clone buttons project specific
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
gui
/
MainWindow.java
diff --git
a/src/net/pterodactylus/jsite/gui/MainWindow.java
b/src/net/pterodactylus/jsite/gui/MainWindow.java
index
7c2795f
..
843eaa1
100644
(file)
--- a/
src/net/pterodactylus/jsite/gui/MainWindow.java
+++ b/
src/net/pterodactylus/jsite/gui/MainWindow.java
@@
-478,8
+478,6
@@
public class MainWindow extends JFrame implements WindowListener, I18nable, Prop
swingInterface.getQuitAction().updateI18n();
swingInterface.getAddNodeAction().updateI18n();
swingInterface.getAddProjectAction().updateI18n();
swingInterface.getQuitAction().updateI18n();
swingInterface.getAddNodeAction().updateI18n();
swingInterface.getAddProjectAction().updateI18n();
- swingInterface.getCloneProjectAction().updateI18n();
- swingInterface.getDeleteProjectAction().updateI18n();
swingInterface.getHelpAboutAction().updateI18n();
jSiteMenu.updateI18n();
nodeMenu.updateI18n();
swingInterface.getHelpAboutAction().updateI18n();
jSiteMenu.updateI18n();
nodeMenu.updateI18n();
@@
-490,6
+488,10
@@
public class MainWindow extends JFrame implements WindowListener, I18nable, Prop
swingInterface.getNodeEditAction(node).updateI18n();
swingInterface.getNodeDeleteAction(node).updateI18n();
}
swingInterface.getNodeEditAction(node).updateI18n();
swingInterface.getNodeDeleteAction(node).updateI18n();
}
+ for (Project project: swingInterface.getProjects()) {
+ swingInterface.getCloneProjectAction(project).updateI18n();
+ swingInterface.getDeleteProjectAction(project).updateI18n();
+ }
for (I18nAction languageAction: swingInterface.getLanguageActions()) {
languageAction.updateI18n();
}
for (I18nAction languageAction: swingInterface.getLanguageActions()) {
languageAction.updateI18n();
}