summaryrefslogtreecommitdiff
path: root/portato/plugins/etc_proposals.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/etc_proposals.py
parent0087f656a2d9fe962d874ae73f5759dbfc09f634 (diff)
downloadportato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.gz
portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.tar.bz2
portato-8fe46a012d17eaa874abf63b9be93c6f11b8df97.zip
i18n support and german translations
Diffstat (limited to 'portato/plugins/etc_proposals.py')
-rw-r--r--portato/plugins/etc_proposals.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/portato/plugins/etc_proposals.py b/portato/plugins/etc_proposals.py
index e6c3187..81370e0 100644
--- a/portato/plugins/etc_proposals.py
+++ b/portato/plugins/etc_proposals.py
@@ -14,6 +14,7 @@ from portato.helper import *
from portato.backend import system
from subprocess import Popen
+from gettext import lgettext as _
from etcproposals.etcproposals_lib import EtcProposals, __version__
try:
@@ -60,7 +61,7 @@ def etc_prop (*args, **kwargs):
if f:
Popen([PROG, "--fastexit"]+f)
else:
- error("Cannot start etc-proposals. No graphical frontend installed!")
+ error(_("Cannot start etc-proposals. No graphical frontend installed!"))
def etc_prop_menu (*args, **kwargs):
if am_i_root():
@@ -72,6 +73,6 @@ def etc_prop_menu (*args, **kwargs):
if f:
Popen([PROG]+f)
else:
- error("Cannot start etc-proposals. No graphical frontend installed!")
+ error(_("Cannot start etc-proposals. No graphical frontend installed!"))
else:
- error("Cannot start etc-proposals. Not root!")
+ error(_("Cannot start etc-proposals. Not root!"))