From b5d37c7d21a61b1b2d19b0c10017a79619ba4b5e Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Wed, 24 Nov 2010 10:55:50 -0500 Subject: internationalize a missed string in certificate viewer 2010-11-24 Omair Majid * netx/net/sourceforge/jnlp/resources/Messages.properties: Add CVCertificateType. * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: Use CVCertificateType instead of hardcoded string. --- ChangeLog | 7 +++++++ netx/net/sourceforge/jnlp/resources/Messages.properties | 1 + netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index be5d26b..c41f4fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-11-24 Omair Majid + + * 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 * netx/net/sourceforge/jnlp/SecurityDesc.java: Add grantAwtPermissions. 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()); -- cgit v1.2.3