projects
/
jSite2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1c878b2
)
add error message when not connected to node
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Thu, 29 May 2008 11:32:42 +0000
(13:32 +0200)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Thu, 29 May 2008 11:32:42 +0000
(13:32 +0200)
src/net/pterodactylus/jsite/gui/SwingInterface.java
patch
|
blob
|
history
src/net/pterodactylus/jsite/i18n/jSite.properties
patch
|
blob
|
history
src/net/pterodactylus/jsite/i18n/jSite_de.properties
patch
|
blob
|
history
diff --git
a/src/net/pterodactylus/jsite/gui/SwingInterface.java
b/src/net/pterodactylus/jsite/gui/SwingInterface.java
index
eef499b
..
cf6f4e1
100644
(file)
--- a/
src/net/pterodactylus/jsite/gui/SwingInterface.java
+++ b/
src/net/pterodactylus/jsite/gui/SwingInterface.java
@@
-763,9
+763,8
@@
public class SwingInterface implements CoreListener, LoggingListener, PropertyCh
private void addProject() {
try {
core.createProject();
private void addProject() {
try {
core.createProject();
- } catch (JSiteException nne1) {
- /* TODO - add i18n */
- JOptionPane.showMessageDialog(mainWindow, I18n.get(""), I18n.get(""), JOptionPane.ERROR_MESSAGE);
+ } catch (JSiteException jse1) {
+ JOptionPane.showMessageDialog(mainWindow, I18n.get("mainWindow.error.notConnected.message"), I18n.get("mainWindow.error.notConnected.title"), JOptionPane.ERROR_MESSAGE);
} catch (IOException e) {
/* TODO - add i18n */
JOptionPane.showMessageDialog(mainWindow, I18n.get(""), I18n.get(""), JOptionPane.ERROR_MESSAGE);
} catch (IOException e) {
/* TODO - add i18n */
JOptionPane.showMessageDialog(mainWindow, I18n.get(""), I18n.get(""), JOptionPane.ERROR_MESSAGE);
diff --git
a/src/net/pterodactylus/jsite/i18n/jSite.properties
b/src/net/pterodactylus/jsite/i18n/jSite.properties
index
9f12cce
..
46af14e
100644
(file)
--- a/
src/net/pterodactylus/jsite/i18n/jSite.properties
+++ b/
src/net/pterodactylus/jsite/i18n/jSite.properties
@@
-51,6
+51,9
@@
mainWindow.error.nodeConnectionFailed.message: Connecting to node \u201c{0}\u201
mainWindow.error.hostnameUnresolvable.title: Could Not Resolve Hostname
mainWindow.error.hostnameUnresolvable.message: The hostname \u201c{0}\u201d can not be resolved!
mainWindow.error.hostnameUnresolvable.title: Could Not Resolve Hostname
mainWindow.error.hostnameUnresolvable.message: The hostname \u201c{0}\u201d can not be resolved!
+mainWindow.error.notConnected.title: Not Connected
+mainWindow.error.notConnected.message: You are not connected to a node.
+
mainWindow.question.deleteNode.title: Really Remove Node?
mainWindow.question.deleteNode.message: <html>You are about to remove the node \u201c{0}\u201d!<br>Do you want to continue?</html>
mainWindow.question.deleteNode.title: Really Remove Node?
mainWindow.question.deleteNode.message: <html>You are about to remove the node \u201c{0}\u201d!<br>Do you want to continue?</html>
@@
-194,7
+197,7
@@
projectPanel.label.basePath.name: Base Path
projectPanel.label.basePath.mnemonic: VK_B
projectPanel.basePathInformation.scanning: Scanning the base path\u2026
projectPanel.label.basePath.mnemonic: VK_B
projectPanel.basePathInformation.scanning: Scanning the base path\u2026
-projectPanel.basePathInformation.fileCount: Found {0} file{0,choice,0#s|1#|2#s}.
+projectPanel.basePathInformation.fileCount: Found {0} file{0,choice,0#s|1#|2#s}.
projectPanel.button.changeBasePath.name: Change
projectPanel.button.changeBasePath.mnemonic: VK_C
projectPanel.button.changeBasePath.name: Change
projectPanel.button.changeBasePath.mnemonic: VK_C
diff --git
a/src/net/pterodactylus/jsite/i18n/jSite_de.properties
b/src/net/pterodactylus/jsite/i18n/jSite_de.properties
index
343f8aa
..
c951efe
100644
(file)
--- a/
src/net/pterodactylus/jsite/i18n/jSite_de.properties
+++ b/
src/net/pterodactylus/jsite/i18n/jSite_de.properties
@@
-51,6
+51,9
@@
mainWindow.error.nodeConnectionFailed.message: Die Verbindung zum Node \u201e{0}
mainWindow.error.hostnameUnresolvable.title: Hostname unbekannt
mainWindow.error.hostnameUnresolvable.message: Der Hostname \u201e{0}\u201e kann nicht aufgel\u00f6st werden!
mainWindow.error.hostnameUnresolvable.title: Hostname unbekannt
mainWindow.error.hostnameUnresolvable.message: Der Hostname \u201e{0}\u201e kann nicht aufgel\u00f6st werden!
+mainWindow.error.notConnected.title: Nicht verbunden
+mainWindow.error.notConnected.message: Es besteht keine Verbindung zu einem Node!
+
mainWindow.question.deleteNode.title: Node wirklich l\u00f6schen?
mainWindow.question.deleteNode.message: Den Node \u201e{0}\u201c wirklich l\u00f6schen?
mainWindow.question.deleteNode.title: Node wirklich l\u00f6schen?
mainWindow.question.deleteNode.message: Den Node \u201e{0}\u201c wirklich l\u00f6schen?