diff --git a/pace-gui/src/pace-gui.py b/pace-gui/src/pace-gui.py index 4acad70..ff631e8 100644 --- a/pace-gui/src/pace-gui.py +++ b/pace-gui/src/pace-gui.py @@ -16,7 +16,7 @@ except: print >> sys.stderr, "Could not import pace module, please install pyPACE" sys.exit(1) -from pinpad_globals import * +from pace_gui_globals import * at_chat_strings = [ "Altersverifikation", #"Age Verification", @@ -154,8 +154,10 @@ class CertificateDescriptionWindow(MokoWindow): cvc = pace.d2i_CV_CERT(binCert) #FIXME effective_date = self.formatDate(pace.get_effective_date(cvc)) expiration_date = self.formatDate(pace.get_expiration_date(cvc)) - self.addRow(u"Gültig ab:", effective_date) - self.addRow(u"Gültig bis:", expiration_date) + validity_period = effective_date + " - " + expiration_date + #self.addRow(u"Gültig ab:", effective_date) + #self.addRow(u"Gültig bis:", expiration_date) + self.addRow(u"Gültigkeitszeitraum:", validity_period) #Display issuer Name and possibly URL and subject name and possibly URL issuerName = pace.get_issuer_name(desc) diff --git a/pace-gui/src/pace-gui-globals.py.in b/pace-gui/src/pace_gui_globals.py.in similarity index 98% rename from pace-gui/src/pace-gui-globals.py.in rename to pace-gui/src/pace_gui_globals.py.in index 4c21876..e6fce35 100644 --- a/pace-gui/src/pace-gui-globals.py.in +++ b/pace-gui/src/pace_gui_globals.py.in @@ -3,7 +3,7 @@ version = "@VERSION@" image_dir = "@prefix@/share/pixmaps" glade_dir = "@prefix@/share/" + name -STR_NO_CARD = "Keine Karte gefunden" +STR_NO_CARD = "Keine Karte\ngefunden" STR_CARD_FOUND = "Karte gefunden" ePA_ATR = "3b:84:80:01:00:00:90:00:95" diff --git a/pace-gui/src/pinpad.glade b/pace-gui/src/pinpad.glade index 67cb10c..b70651c 100644 --- a/pace-gui/src/pinpad.glade +++ b/pace-gui/src/pinpad.glade @@ -5,6 +5,7 @@ True Pinpad + False center 480 640 @@ -14,7 +15,6 @@ True - vertical True @@ -64,8 +64,9 @@ True - <span fgcolor="red" font_weight="bold" font="11">Keine Karte gefunden</span> + <span fgcolor="red" font="12">Kein Ausweis</span> True + center 4 @@ -243,6 +244,8 @@ + False + False 5 @@ -265,7 +268,6 @@ True - vertical True