summaryrefslogtreecommitdiffstats
path: root/src/Gui/ABRTExceptions.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-08-26 10:43:34 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-08-26 10:43:34 +0200
commita88dce13d510622dee05e93efb46ff4ec5b72935 (patch)
tree5159e913ad91b70bb7c57946f4092bd69330f1d9 /src/Gui/ABRTExceptions.py
parent7b6c533525e26cc3408865f1c90c71882384cf76 (diff)
downloadabrt-a88dce13d510622dee05e93efb46ff4ec5b72935.tar.gz
abrt-a88dce13d510622dee05e93efb46ff4ec5b72935.tar.xz
abrt-a88dce13d510622dee05e93efb46ff4ec5b72935.zip
GUI: added support for gettext (+part of czech translation)
Diffstat (limited to 'src/Gui/ABRTExceptions.py')
-rw-r--r--src/Gui/ABRTExceptions.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Gui/ABRTExceptions.py b/src/Gui/ABRTExceptions.py
index 5f759dd..9b1aa32 100644
--- a/src/Gui/ABRTExceptions.py
+++ b/src/Gui/ABRTExceptions.py
@@ -1,6 +1,14 @@
+from abrt_utils import _
class IsRunning(Exception):
def __init__(self):
- self.what = "Another client is already running, trying to wake it."
+ self.what = _("Another client is already running, trying to wake it.")
+ def __str__(self):
+ return self.what
+
+class WrongData(Exception):
+ def __init__(self):
+ self.what = _("Got unexpected data from daemon (is the database properly updated?).")
+
def __str__(self):
return self.what