From 943fd491327eae61e0bb0f961dcde9ba5ce21b6b Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 2 Apr 2012 16:39:20 +0000 Subject: @getCertificate: create help pages (German and English version) git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1057 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUI.java | 4 +++- .../src/main/java/at/gv/egiz/bku/gui/GetCertificateGUIFacade.java | 2 ++ .../main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties | 2 +- .../resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) (limited to 'BKUGuiExt') diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUI.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUI.java index 513aa241..b6331b49 100644 --- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUI.java +++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUI.java @@ -76,7 +76,9 @@ public class GetCertificateGUI extends CardMgmtGUI implements mainPanel.removeAll(); buttonPanel.removeAll(); - + + helpListener.setHelpTopic(HELP_GETCERT); + titleLabel.setText(getMessage(TITLE_GETCERTIFICATE)); getSimCertButton = new JButton(); diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUIFacade.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUIFacade.java index 2b1d6188..7a62de2a 100644 --- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUIFacade.java +++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetCertificateGUIFacade.java @@ -33,6 +33,8 @@ import java.io.File; public interface GetCertificateGUIFacade extends BKUGUIFacade { + public static final String HELP_GETCERT = "help.get.certificate"; + public static final String BUTTON_SIM_CERT = "button.simple.certificate"; public static final String BUTTON_QUAL_CERT = "button.qualified.certificate"; public static final String FILE_TYPE_NAME = "file.certificate"; diff --git a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties index 9d15c8a0..b51e2fdd 100644 --- a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties +++ b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties @@ -29,7 +29,7 @@ title.activate.success=Success title.change.success=Success title.unblock.success=Success title.identity=Identity Link -title.certificate.save=Save certificate +title.certificate.save=Save certificate title.get.certificate=Save certificates title.hardwareinfo = Hardware Information diff --git a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties index a2da3d33..7e03282c 100644 --- a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties +++ b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages_de.properties @@ -36,7 +36,7 @@ identity.button=Abbrechen identity.firstname=Vorname: identity.dateofbirth=Geburtsdatum: identity.lastname=Nachname: -title.certificate.save=Zertifikat speichern +title.certificate.save=Zertifikat speichern title.get.certificate=Zertifikate speichern # removed message.* prefix to reuse keys as help keys -- cgit v1.2.3