From 147a40bff998ceb23fae7abf21d0af63b4ebda61 Mon Sep 17 00:00:00 2001 From: Steffen Schaumburg Date: Fri, 17 Dec 2010 19:13:33 +0100 Subject: [PATCH] gettextify warning --- pyfpdb/GuiSessionViewer.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pyfpdb/GuiSessionViewer.py b/pyfpdb/GuiSessionViewer.py index 6f0fd269..903c7fd1 100644 --- a/pyfpdb/GuiSessionViewer.py +++ b/pyfpdb/GuiSessionViewer.py @@ -157,15 +157,10 @@ class GuiSessionViewer (threading.Thread): # make sure Hand column is not displayed #[x for x in self.columns if x[0] == 'hand'][0][1] = False if DEBUG == False: - warning_string = """ -Session Viewer is proof of concept code only, and contains many bugs. - -Feel free to use the viewer, but there is no guarantee that the data is accurate. - -If you are interested in developing the code further please contact us via the usual channels. - -Thankyou -""" + warning_string = _("Session Viewer is proof of concept code only, and contains many bugs.\n") + warning_string += _("Feel free to use the viewer, but there is no guarantee that the data is accurate.\n") + warning_string += _("If you are interested in developing the code further please contact us via the usual channels.\n") + warning_string += _("Thankyou") self.warning_box(warning_string) def warning_box(self, str, diatitle=_("FPDB WARNING")):