Added helptexts for some access rights of the eID-function

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@228 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
oepen
2010-07-20 18:21:22 +00:00
parent 843ac1b4fa
commit ffb643d3f6
2 changed files with 18 additions and 16 deletions

View File

@@ -38,7 +38,7 @@ class MokoWindow(gtk.Window):
self.connect("destroy", gtk.main_quit) self.connect("destroy", gtk.main_quit)
#Display resolution of OpenMoko minus height of the SHR toolbar #Display resolution of OpenMoko minus height of the SHR toolbar
self.set_size_request(480, 640) self.set_size_request(480, 586)
#self.set_resizable(False) #self.set_resizable(False)
#Main VBox, which consists of the title, the body, and the buttons #Main VBox, which consists of the title, the body, and the buttons
@@ -111,7 +111,9 @@ class MsgBox(gtk.Dialog):
super(MsgBox, self).__init__(title="Foo", parent=parent, flags=flags) super(MsgBox, self).__init__(title="Foo", parent=parent, flags=flags)
self.set_size_request(240, 120) #Dialog will be resized to screen width no matter what. Therefore we
#use the whole width from the beginning to avoid being resized
self.set_size_request(480, 160)
hbox_top = gtk.HBox() hbox_top = gtk.HBox()
lbl = gtk.Label(msg) lbl = gtk.Label(msg)
@@ -124,12 +126,12 @@ class MsgBox(gtk.Dialog):
hbox_top.pack_start(img, False, False) hbox_top.pack_start(img, False, False)
hbox_top.pack_start(lbl, True, True) hbox_top.pack_start(lbl, True, True)
self.vbox.pack_start(hbox_top) self.vbox.pack_start(hbox_top)
self.vbox.pack_start(gtk.HSeparator()) #self.vbox.pack_start(gtk.HSeparator())
hbox_bottom = gtk.HBox() hbox_bottom = gtk.HBox()
spacer = gtk.Label("") spacer = gtk.Label("")
spacer.set_size_request(170, 20) spacer.set_size_request(380, 25)
hbox_bottom.pack_start(spacer, False, False) hbox_bottom.pack_start(spacer, False, False)
hbox_bottom.pack_start(btn) hbox_bottom.pack_start(btn, True, True)
self.vbox.pack_start(hbox_bottom) self.vbox.pack_start(hbox_bottom)
#hbox.pack_start(vbox) #hbox.pack_start(vbox)
#self.add(hbox) #self.add(hbox)

View File

@@ -16,17 +16,17 @@ FILE_CARD_FOUND = image_dir + "/apply.png"
ePA_ATR = "3b:84:80:01:00:00:90:00:95" ePA_ATR = "3b:84:80:01:00:00:90:00:95"
#The following strings are used as help texts for eID access rights #The following strings are used as help texts for eID access rights
DOC_AGE_VERIFICATION = "foo" DOC_AGE_VERIFICATION = u"Die Altersverifikation erlaubt die Überprüfung, ob ein Nutzer alt genug ist um einen Dienst zu nutzen, ohne sein Geburtsdatum zu übertragen"
DOC_COMMUNITY_ID_VERIFICATION = "foo" DOC_COMMUNITY_ID_VERIFICATION = u"Die Wohnort Verifikation erlaubt die Überprüfung, ob ein Nutzer in einem bestimmten Gebiet wohnt, ohne seine tatsächliche Adresse zu übertragen"
DOC_RESTRICTED_ID = "foo" DOC_RESTRICTED_ID = u"Die Pseudonymfunktion macht einen Nutzer für den Dienstanbieter wiedererkennbar, ohne weitere Daten von ihm zu erfassen"
DOC_PRIVILEGED_TERMINAL = "foo" DOC_PRIVILEGED_TERMINAL = u"Ein privilegiertes Terminal darf auf den Kartenindividuellen Schlüssel des Ausweis zugreifen"
DOC_CAN_ALLOWED = "foo" DOC_CAN_ALLOWED = u"Das Terminal darf die Funktionen des Ausweises mit der CAN nutzen"
DOC_PIN_MANAGMENT = "foo" DOC_PIN_MANAGMENT = u"Das Terminal darf die eID-Funktion (de-)aktivieren und eine neue eID-PIN setzen"
DOC_INSTALL_CERTIFICATE = "foo" DOC_INSTALL_CERTIFICATE = u"Der Dienstanbieter darf ein Zertifikat im Ausweis installieren"
DOC_INSTALL_QC = "foo" DOC_INSTALL_QC = u"Der Dienstanbieter darf ein qualifiziertes Zertifikat im Ausweis installieren"
DOC_DOCUMENT_TYPE = "foo" DOC_DOCUMENT_TYPE = u"Der Dienstanbieter darf den Dokumenttyp (z.B. Personalausweis oder Aufenthaltstitel) auslesen"
DOC_STATE = "foo" DOC_STATE = u"Der Dienstanbieter darf die Staatzugehörigkeit des Ausweisinhabers lesen"
DOC_EXPIRY_DATE = "foo" DOC_EXPIRY_DATE = u"Der Dienstanbieter darf das Ablaufdatum des Ausweises auslesen"
IMAGES = { IMAGES = {
"apply": image_dir + "/apply.png", "apply": image_dir + "/apply.png",