diff --git a/resources/languages/resources.properties b/resources/languages/resources.properties index 211d07d5f..72562eb61 100644 --- a/resources/languages/resources.properties +++ b/resources/languages/resources.properties @@ -720,6 +720,7 @@ identity cannot
be automatically verified. \ Do you want to continue connecting?

\ For more information, click "Show Certificate". service.gui.CONTINUE_ANYWAY=Continue anyway +service.gui.CERT_INFO_CHAIN=Certificate Chain: service.gui.CERT_INFO_ISSUED_TO=Issued To service.gui.CERT_INFO_CN=Common Name: service.gui.CERT_INFO_O=Organization: diff --git a/src/net/java/sip/communicator/plugin/desktoputil/X509CertificatePanel.java b/src/net/java/sip/communicator/plugin/desktoputil/X509CertificatePanel.java index 6558bb914..6d5bacf8f 100644 --- a/src/net/java/sip/communicator/plugin/desktoputil/X509CertificatePanel.java +++ b/src/net/java/sip/communicator/plugin/desktoputil/X509CertificatePanel.java @@ -33,6 +33,9 @@ public class X509CertificatePanel private final JEditorPane infoTextPane = new JEditorPane(); + private final ResourceManagementService R + = DesktopUtilActivator.getResources(); + /** * Constructs a X509 certificate panel from a single certificate. * If a chain is available instead use the second constructor. @@ -57,9 +60,9 @@ public X509CertificatePanel(java.util.List certificates) // Certificate chain list TransparentPanel topPanel = new TransparentPanel(new BorderLayout()); - topPanel.add(new JLabel( - "Certificate chain:"), - BorderLayout.NORTH); + topPanel.add(new JLabel("" + + R.getI18NString("service.gui.CERT_INFO_CHAIN") + + ""), BorderLayout.NORTH); DefaultMutableTreeNode top = new DefaultMutableTreeNode(); DefaultMutableTreeNode previous = top; @@ -139,7 +142,6 @@ public void valueChanged(TreeSelectionEvent e) { private String toString(X509Certificate certificate) { final StringBuilder sb = new StringBuilder(); - ResourceManagementService R = DesktopUtilActivator.getResources(); X500Principal issuer = certificate.getIssuerX500Principal(); X500Principal subject = certificate.getSubjectX500Principal();