[Schmitzm-commits] r1954 - in trunk/schmitzm-core/src/main: java/de/schmitzm/swing resources/de/schmitzm/swing/resource/locales

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Mon Apr 16 13:31:48 CEST 2012


Author: mojays
Date: 2012-04-16 13:31:48 +0200 (Mon, 16 Apr 2012)
New Revision: 1954

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ProxySettingsPanel.java
   trunk/schmitzm-core/src/main/resources/de/schmitzm/swing/resource/locales/SwingResourceBundle.properties
   trunk/schmitzm-core/src/main/resources/de/schmitzm/swing/resource/locales/SwingResourceBundle_de.properties
Log:
ProxySettingsPanel: Internationalization

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ProxySettingsPanel.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ProxySettingsPanel.java	2012-04-16 11:23:36 UTC (rev 1953)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/ProxySettingsPanel.java	2012-04-16 11:31:48 UTC (rev 1954)
@@ -58,18 +58,18 @@
   public ProxySettingsPanel()  {
     super( new MigLayout("wrap 2","[]20[grow]","[top]") );
     
-    proxyUsed = new SelectionInputOption.Radio<Boolean>(null, false, new Boolean[] {false,true}, false, new String[] {"Direct internet connection","Use following proxy settings"} );
+    proxyUsed = new SelectionInputOption.Radio<Boolean>(null, false, new Boolean[] {false,true}, false, new String[] {SwingUtil.R("ProxySettingsPanel.proxy.disabled"),SwingUtil.R("ProxySettingsPanel.proxy.enabled")} );
     proxyUsed.addInputOptionListener( new InputOptionAdapter() {
       @Override
       public <E> void optionChanged(InputOption<E> inputOption, E oldValue, E newValue) {
         updateComponentsEnabled();
       }
     });
-    proxyTypeCaption = new JLabel("Type of proxy server:");
+    proxyTypeCaption = new JLabel(SwingUtil.R("ProxySettingsPanel.proxy.type")+":");
     proxyType = new SelectionInputOption.Combo<Proxy.Type>(null, true, new Proxy.Type[] {Proxy.Type.HTTP, Proxy.Type.SOCKS}, Proxy.Type.HTTP, new String[] {"HTTP","SOCKS"} );
-    proxyHostCaption = new JLabel("Proxy server host:");
+    proxyHostCaption = new JLabel(SwingUtil.R("ProxySettingsPanel.proxy.host")+":");
     proxyHost = new ManualInputOption.Text(null,false);
-    proxyPortCaption = new JLabel("Port on proxy server:");
+    proxyPortCaption = new JLabel(SwingUtil.R("ProxySettingsPanel.proxy.port")+":");
     proxyPort = new ManualInputOption.Integer(null,false,0);
     
     add(proxyUsed,"span 2");

Modified: trunk/schmitzm-core/src/main/resources/de/schmitzm/swing/resource/locales/SwingResourceBundle.properties
===================================================================
--- trunk/schmitzm-core/src/main/resources/de/schmitzm/swing/resource/locales/SwingResourceBundle.properties	2012-04-16 11:23:36 UTC (rev 1953)
+++ trunk/schmitzm-core/src/main/resources/de/schmitzm/swing/resource/locales/SwingResourceBundle.properties	2012-04-16 11:31:48 UTC (rev 1954)
@@ -296,3 +296,9 @@
 InfoDialog.Contact=Contact
 
 WebFilesChooserPanel.InetNotAvailable=No internet connection available!
+
+ProxySettingsPanel.proxy.disabled=Direct internet connection
+ProxySettingsPanel.proxy.enabled=Use following proxy settings
+ProxySettingsPanel.proxy.type=Type of proxy server
+ProxySettingsPanel.proxy.host=Proxy server host
+ProxySettingsPanel.proxy.port=Port on proxy server

Modified: trunk/schmitzm-core/src/main/resources/de/schmitzm/swing/resource/locales/SwingResourceBundle_de.properties
===================================================================
--- trunk/schmitzm-core/src/main/resources/de/schmitzm/swing/resource/locales/SwingResourceBundle_de.properties	2012-04-16 11:23:36 UTC (rev 1953)
+++ trunk/schmitzm-core/src/main/resources/de/schmitzm/swing/resource/locales/SwingResourceBundle_de.properties	2012-04-16 11:31:48 UTC (rev 1954)
@@ -269,3 +269,9 @@
 InfoDialog.Contact=Kontakt
 
 WebFilesChooserPanel.InetNotAvailable=Keine Internet-Verbindung verfügbar!
+
+ProxySettingsPanel.proxy.disabled=Direkte Internet-Verbindung (ohne Proxy)
+ProxySettingsPanel.proxy.enabled=Die folgenden Proxy-Einstellungen verwenden
+ProxySettingsPanel.proxy.type=Art des Proxy-Servers
+ProxySettingsPanel.proxy.host=Hostname/IP des Proxy-Servers
+ProxySettingsPanel.proxy.port=Port des Proxy-Servers



More information about the Schmitzm-commits mailing list