summaryrefslogtreecommitdiff
path: root/portato/plugins/resume_loop.py
diff options
context:
space:
mode:
authornecoro <>2007-08-05 04:11:46 +0000
committernecoro <>2007-08-05 04:11:46 +0000
commit8fe46a012d17eaa874abf63b9be93c6f11b8df97 (patch)
tree517e994fa610586e83d297997a4865f7b3b86af4 /portato/plugins/resume_loop.py
parent0087f656a2d9fe962d874ae73f5759dbfc09f634 (diff)
downloadportato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.gz
portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.bz2
portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.zip
i18n support and german translations
Diffstat (limited to 'portato/plugins/resume_loop.py')
-rw-r--r--portato/plugins/resume_loop.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/portato/plugins/resume_loop.py b/portato/plugins/resume_loop.py
index b33f4c7..c4191a8 100644
--- a/portato/plugins/resume_loop.py
+++ b/portato/plugins/resume_loop.py
@@ -12,6 +12,7 @@
import pty, time
from subprocess import Popen, STDOUT
+from gettext import lgettext as _
from portato.backend import system
from portato.helper import debug, warning
@@ -26,7 +27,7 @@ def set_data (*args, **kwargs):
def resume_loop (retcode, *args, **kwargs):
if retcode is None:
- warning("Resume-loop called while process is still running!")
+ warning(_("Resume-loop called while process is still running!"))
elif retcode == 0:
# everything ok - ignore
#pass