aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog18
-rw-r--r--netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java8
-rw-r--r--netx/net/sourceforge/jnlp/resources/Messages.properties3
-rw-r--r--netx/net/sourceforge/jnlp/resources/Messages_cs.properties2
-rw-r--r--netx/net/sourceforge/jnlp/resources/Messages_de.properties5
-rw-r--r--netx/net/sourceforge/jnlp/resources/Messages_pl.properties3
6 files changed, 34 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 3fedfca..183c555 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2013-09-11 Jacob Wisor <[email protected]>
+
+ * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
+ Made temporary files location JFileChooser open at the currently specified location
+ Made temporary files location JFileChooser display a helpful title
+ Removed misleading "All Files" file filter from JFileChooser
+ * netx/net/sourceforge/jnlp/resources/Messages.properties
+ Added new message to resources for JFileChooser's choose button
+ * netx/net/sourceforge/jnlp/resources/Messages_cs.properties
+ Added new message to resources for JFileChooser's choose button
+ Fixed a few inconsistent messages in resource files
+ * netx/net/sourceforge/jnlp/resources/Messages_de.properties
+ Added new message to resources for JFileChooser's choose button
+ Fixed a few inconsistent messages in resource files
+ * netx/net/sourceforge/jnlp/resources/Messages_pl.properties
+ Added new message to resources for JFileChooser's choose button
+ Fixed a few inconsistent messages in resource files
+
2013-09-09 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/JNLPFile.java
diff --git a/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java b/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
index a946595..f42ed08 100644
--- a/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
+++ b/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
@@ -109,10 +109,12 @@ public class TemporaryInternetFilesPanel extends NamedBorderPanel implements Cha
bLocation.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
- JFileChooser fileChooser = new JFileChooser();
+ JFileChooser fileChooser = new JFileChooser(location.getText());
fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
fileChooser.setFileHidingEnabled(false);
- if (fileChooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {
+ fileChooser.setAcceptAllFileFilterUsed(false);
+ fileChooser.setDialogTitle(Translator.R("TIFPLocationLabel"));
+ if (fileChooser.showDialog(null, Translator.R("TIFPFileChooserChooseButton")) == JFileChooser.APPROVE_OPTION) {
// Check if we have permission to write to that location.
String result = fileChooser.getSelectedFile().getAbsolutePath();
File dirLocation = new File(result);
@@ -242,4 +244,4 @@ public class TemporaryInternetFilesPanel extends NamedBorderPanel implements Cha
config.setProperty(properties[2], spCacheSize.getValue().toString());
}
-}
+} \ No newline at end of file
diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx/net/sourceforge/jnlp/resources/Messages.properties
index d99a717..fbe194f 100644
--- a/netx/net/sourceforge/jnlp/resources/Messages.properties
+++ b/netx/net/sourceforge/jnlp/resources/Messages.properties
@@ -291,7 +291,7 @@ CVRemoveConfirmTitle=Confirmation - Remove Certificate?
CVUser=User
CVSystem=System
-#KeyStores: see KeyStores.java
+# KeyStores: see KeyStores.java
KS=KeyStore
KSCerts=Trusted Certificates
KSJsseCerts=Trusted JSSE Certificates
@@ -461,6 +461,7 @@ TIFPMax=Max
TIFPCacheSize=Set the amount of disk space for storing temporary files
TIFPDeleteFiles=Delete files
TIFPViewFiles=View files...
+TIFPFileChooserChooseButton=Choose
# Control Panel - Cache Viewer
CVCPDialogTitle=Cache Viewer
diff --git a/netx/net/sourceforge/jnlp/resources/Messages_cs.properties b/netx/net/sourceforge/jnlp/resources/Messages_cs.properties
index fa29e67..411377e 100644
--- a/netx/net/sourceforge/jnlp/resources/Messages_cs.properties
+++ b/netx/net/sourceforge/jnlp/resources/Messages_cs.properties
@@ -278,6 +278,7 @@ CVRemoveConfirmTitle=Potvrzen\u00ed odstran\u011bn\u00ed certifik\u00e1tu
CVUser=U\u017eivatel
CVSystem=Syst\u00e9m
+# KeyStores: see KeyStores.java
KS=\u00dalo\u017ei\u0161t\u011b kl\u00ed\u010d\u016f
KSCerts=D\u016fv\u011bryhodn\u00e9 certifik\u00e1ty
KSJsseCerts=D\u016fv\u011bryhodn\u00e9 certifik\u00e1ty JSSE
@@ -447,6 +448,7 @@ TIFPMax=Maxim\u00e1ln\u00ed
TIFPCacheSize=Nastavte velikost m\u00edsta na disku ur\u010den\u00e9ho pro do\u010dasn\u00e9 soubory.
TIFPDeleteFiles=Smazat soubory
TIFPViewFiles=Zobrazit soubory...
+TIFPFileChooserChooseButton=Vybrat
# Control Panel - Cache Viewer
CVCPDialogTitle=Prohl\u00ed\u017ee\u010d vyrovn\u00e1vac\u00ed pam\u011bti
diff --git a/netx/net/sourceforge/jnlp/resources/Messages_de.properties b/netx/net/sourceforge/jnlp/resources/Messages_de.properties
index 492efd0..ba1f30c 100644
--- a/netx/net/sourceforge/jnlp/resources/Messages_de.properties
+++ b/netx/net/sourceforge/jnlp/resources/Messages_de.properties
@@ -193,9 +193,10 @@ BOVerbose=Ausf\u00fchrliche Ausgabe aktivieren.
BOAbout=Zeigt eine Beispielanwendung.
BONosecurity=Deaktiviert die sichere Laufzeitumgebung.
BONoupdate=Deaktiviert die Pr\u00fcfung nach Aktualisierungen.
-BOHeadless=Deaktiviert Herunterladefenster, andere Benutzeroberfl\u00e4chen.
+BOHeadless=Deaktiviert Herunterladefenster und andere Benutzeroberfl\u00e4chen.
BOStrict=Aktiviert die strikte Pr\u00fcfung des JNLP-Dateiformats.
BOViewer=Zeigt die Ansicht der vertrauensw\u00fcrdigen Zertifikate.
+BOXml=Verwendet einen strikten XML-Parser f\u00fcr die JNLP-Datei.
BXnofork=Keine weitere JVM erstellen.
BXclearcache=Den JNLP-Anwendungszwischenspeicher s\u00e4ubern.
BXignoreheaders=Die Pr\u00fcfung der Metadaten von Jar-Dateien auslassen.
@@ -285,6 +286,7 @@ CVRemoveConfirmTitle=Zertifikat entfernen
CVUser=Benutzer
CVSystem=System
+# KeyStores: see KeyStores.java
KS=Schl\u00fcsselspeicher
KSCerts=Vertrauensw\u00fcrdige Zertifikate
KSJsseCerts=Vertrauensw\u00fcrdige JSSE Zertifikate
@@ -454,6 +456,7 @@ TIFPMax=Maximal
TIFPCacheSize=Menge des Plattenplatzes zur Speicherung tempor\u00e4rer Dateien
TIFPDeleteFiles=Dateien l\u00f6schen
TIFPViewFiles=Dateien anzeigen...
+TIFPFileChooserChooseButton=Ausw\u00e4hlen
# Control Panel - Cache Viewer
CVCPDialogTitle=Zwischenspeicheranzeige
diff --git a/netx/net/sourceforge/jnlp/resources/Messages_pl.properties b/netx/net/sourceforge/jnlp/resources/Messages_pl.properties
index ab8714b..e54f4a8 100644
--- a/netx/net/sourceforge/jnlp/resources/Messages_pl.properties
+++ b/netx/net/sourceforge/jnlp/resources/Messages_pl.properties
@@ -196,6 +196,7 @@ BONoupdate=Wy\u0142\u0105cza sprawdzanie dost\u0119pno\u015bci aktualizacji
BOHeadless=Wy\u0142\u0105cza okno pobierania i inne interfejsy graficzne
BOStrict=W\u0142\u0105cza \u015bcis\u0142e sprawdzanie format pliku JNLP
BOViewer=Pokazuje podgl\u0105d zaufanych certyfikat\u00f3w
+BOXml=Stosuje \u015bcis\u0142y analizator sk\u0142adniowy XML do analizy pliku JNLP
BXnofork=Nie tw\u00f3rz nast\u0119pnej JVM
BXclearcache=Wyczy\u015b\u0107 pami\u0119\u0107 podr\u0119czn\u0105 aplikacji JNLP
BXignoreheaders=Pomijaj weryfikacj\u0119 nag\u0142\u00f3wk\u00f3w plik\u00f3w jar
@@ -285,6 +286,7 @@ CVRemoveConfirmTitle=Zatwierdzanie usuni\u0119cia certyfikatu
CVUser=U\u017cytkownik
CVSystem=System
+# KeyStores: see KeyStores.java
KS=Baza kluczy
KSCerts=Zaufane certyfikaty
KSJsseCerts=Zaufane certyfikaty JSSE
@@ -454,6 +456,7 @@ TIFPMax=Maksymalny
TIFPCacheSize=Nastaw wielko\u015b\u0107 miejsca na dysku do sk\u0142adowania plik\u00f3w tymczasowych
TIFPDeleteFiles=Usu\u0144 pliki
TIFPViewFiles=Przegl\u0105daj pliki...
+TIFPFileChooserChooseButton=Wybierz
# Control Panel - Cache Viewer
CVCPDialogTitle=Podgl\u0105d pami\u0119ci podr\u0119cznej