Bugfix: Fixed invalid naming of pace-gui-globals
Minor layout modifications git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@196 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -16,7 +16,7 @@ except:
|
|||||||
print >> sys.stderr, "Could not import pace module, please install pyPACE"
|
print >> sys.stderr, "Could not import pace module, please install pyPACE"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
from pinpad_globals import *
|
from pace_gui_globals import *
|
||||||
|
|
||||||
at_chat_strings = [
|
at_chat_strings = [
|
||||||
"Altersverifikation", #"Age Verification",
|
"Altersverifikation", #"Age Verification",
|
||||||
@@ -154,8 +154,10 @@ class CertificateDescriptionWindow(MokoWindow):
|
|||||||
cvc = pace.d2i_CV_CERT(binCert) #FIXME
|
cvc = pace.d2i_CV_CERT(binCert) #FIXME
|
||||||
effective_date = self.formatDate(pace.get_effective_date(cvc))
|
effective_date = self.formatDate(pace.get_effective_date(cvc))
|
||||||
expiration_date = self.formatDate(pace.get_expiration_date(cvc))
|
expiration_date = self.formatDate(pace.get_expiration_date(cvc))
|
||||||
self.addRow(u"Gültig ab:", effective_date)
|
validity_period = effective_date + " - " + expiration_date
|
||||||
self.addRow(u"Gültig bis:", 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
|
#Display issuer Name and possibly URL and subject name and possibly URL
|
||||||
issuerName = pace.get_issuer_name(desc)
|
issuerName = pace.get_issuer_name(desc)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ version = "@VERSION@"
|
|||||||
image_dir = "@prefix@/share/pixmaps"
|
image_dir = "@prefix@/share/pixmaps"
|
||||||
glade_dir = "@prefix@/share/" + name
|
glade_dir = "@prefix@/share/" + name
|
||||||
|
|
||||||
STR_NO_CARD = "<span fgcolor=\"red\" font_weight=\"bold\" font=\"11\">Keine Karte gefunden</span>"
|
STR_NO_CARD = "<span fgcolor=\"red\" font_weight=\"bold\" font=\"11\">Keine Karte\ngefunden</span>"
|
||||||
STR_CARD_FOUND = "<span fgcolor=\"green\" font_weight=\"bold\" font=\"11\">Karte gefunden</span>"
|
STR_CARD_FOUND = "<span fgcolor=\"green\" font_weight=\"bold\" font=\"11\">Karte gefunden</span>"
|
||||||
ePA_ATR = "3b:84:80:01:00:00:90:00:95"
|
ePA_ATR = "3b:84:80:01:00:00:90:00:95"
|
||||||
|
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
<object class="GtkWindow" id="MainWindow">
|
<object class="GtkWindow" id="MainWindow">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="title" translatable="yes">Pinpad</property>
|
<property name="title" translatable="yes">Pinpad</property>
|
||||||
|
<property name="resizable">False</property>
|
||||||
<property name="window_position">center</property>
|
<property name="window_position">center</property>
|
||||||
<property name="default_width">480</property>
|
<property name="default_width">480</property>
|
||||||
<property name="default_height">640</property>
|
<property name="default_height">640</property>
|
||||||
@@ -14,7 +15,6 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkVBox" id="vbox1">
|
<object class="GtkVBox" id="vbox1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="lblInstruction">
|
<object class="GtkLabel" id="lblInstruction">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@@ -64,8 +64,9 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="lbl_cardStatus">
|
<object class="GtkLabel" id="lbl_cardStatus">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="label" translatable="yes"><span fgcolor="red" font_weight="bold" font="11">Keine Karte gefunden</span></property>
|
<property name="label" translatable="yes"><span fgcolor="red" font="12">Kein Ausweis</span></property>
|
||||||
<property name="use_markup">True</property>
|
<property name="use_markup">True</property>
|
||||||
|
<property name="justify">center</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="position">4</property>
|
<property name="position">4</property>
|
||||||
@@ -243,6 +244,8 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">False</property>
|
||||||
<property name="position">5</property>
|
<property name="position">5</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
@@ -265,7 +268,6 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkVBox" id="vbox2">
|
<object class="GtkVBox" id="vbox2">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="lblCaption">
|
<object class="GtkLabel" id="lblCaption">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user