diff options
-rw-r--r-- | frontend/gtk-list.xml | 4 | ||||
-rw-r--r-- | pyfirstaidkit/reporting.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/frontend/gtk-list.xml b/frontend/gtk-list.xml index 427652f..0a71aee 100644 --- a/frontend/gtk-list.xml +++ b/frontend/gtk-list.xml @@ -66,7 +66,7 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="ok_button"> - <property name="label" translatable="yes">OK</property> + <property name="label" translatable="yes">Save and continue</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -81,7 +81,7 @@ </child> <child> <object class="GtkButton" id="cancel_button"> - <property name="label" translatable="yes">Cancel</property> + <property name="label" translatable="yes">Use defaults and continue</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> diff --git a/pyfirstaidkit/reporting.py b/pyfirstaidkit/reporting.py index 21a4b45..ea133a1 100644 --- a/pyfirstaidkit/reporting.py +++ b/pyfirstaidkit/reporting.py @@ -20,6 +20,7 @@ import logging import thread import weakref import re +import time from errors import * @@ -87,7 +88,7 @@ class ConfigQuestion(Question): self.title = title self.description = description self.items = map(lambda x: (x[0], x[1], x[2], x[3], - re.compile("^"+x[4]+"$"), x[5]), items) + re.compile("^("+x[4]+")$"), x[5]), items) class ChoiceQuestion(Question): """A question that offers multiple options. |