aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2010-11-24 10:55:50 -0500
committerOmair Majid <[email protected]>2010-11-24 10:55:50 -0500
commitb5d37c7d21a61b1b2d19b0c10017a79619ba4b5e (patch)
tree0d59251512b13e55f83f56aceea2a6991d5a3961
parent94d10d5d7e572975be0a7405a2b1b553e562e6fa (diff)
internationalize a missed string in certificate viewer
2010-11-24 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Add CVCertificateType. * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: Use CVCertificateType instead of hardcoded string.
-rw-r--r--ChangeLog7
-rw-r--r--netx/net/sourceforge/jnlp/resources/Messages.properties1
-rw-r--r--netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index be5d26b..c41f4fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2010-11-24 Omair Majid <[email protected]>
+ * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
+ CVCertificateType.
+ * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: Use
+ CVCertificateType instead of hardcoded string.
+
+2010-11-24 Omair Majid <[email protected]>
+
* netx/net/sourceforge/jnlp/SecurityDesc.java: Add grantAwtPermissions.
(SecurityDesc): Set grantAwtPermissions.
(getSandboxPermissions): Use grantAwtPermissions to determine whether to
diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx/net/sourceforge/jnlp/resources/Messages.properties
index 2da05ce..0f55bca 100644
--- a/netx/net/sourceforge/jnlp/resources/Messages.properties
+++ b/netx/net/sourceforge/jnlp/resources/Messages.properties
@@ -214,6 +214,7 @@ SValidity=Validity
# Certificate Viewer
CVCertificateViewer=Certificates
+CVCertificateType=Certificate Type
CVDetails=Details
CVExport=Export
CVImport=Import
diff --git a/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java b/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
index d07e741..f309b02 100644
--- a/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
+++ b/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
@@ -157,7 +157,7 @@ public class CertificatePane extends JPanel {
JPanel certificateTypePanel = new JPanel(new BorderLayout());
certificateTypePanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
- JLabel certificateTypeLabel = new JLabel("Certificate Type:");
+ JLabel certificateTypeLabel = new JLabel(R("CVCertificateType"));
certificateTypeCombo = new JComboBox(certificateTypes);
certificateTypeCombo.addActionListener(new CertificateTypeListener());