[kupfer] higherorder: Edit and clean up strings in plugin
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] higherorder: Edit and clean up strings in plugin
- Date: Tue, 12 Jan 2010 15:50:11 +0000 (UTC)
commit e1ca089f42abd2bc4fe3e44e4ed1fe3cd0627a83
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Tue Jan 12 16:09:10 2010 +0100
higherorder: Edit and clean up strings in plugin
kupfer/plugin/higherorder.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/kupfer/plugin/higherorder.py b/kupfer/plugin/higherorder.py
index 8ceac92..6eefa03 100644
--- a/kupfer/plugin/higherorder.py
+++ b/kupfer/plugin/higherorder.py
@@ -52,7 +52,7 @@ def _save_result(cleaf):
def __init__(self, leaf, cleaf):
Leaf.__init__(self, leaf.object, unicode(leaf))
vars(self).update(vars(leaf))
- self.name = u"Result of %s (%s)" % (unicode(cleaf), unicode(self))
+ self.name = _("Result of %s (%s)") % (cleaf, self)
self.__composed_leaf = cleaf
self.__class__.__bases__ = (leaf.__class__, Leaf)
@@ -81,10 +81,10 @@ class TakeResult (Action):
action = leaf.object[1]
return action.has_result() or action.is_factory()
def get_description(self):
- return _("Take the result of a command as part of next command")
+ return _("Take the command result as a proxy object")
class DiscardResult (Action):
- """Run ComposedLeaf without taking the result"""
+ """Run ComposedLeaf without showing the result"""
def __init__(self):
Action.__init__(self, _("Run (Discard Result)"))
@@ -99,5 +99,5 @@ class DiscardResult (Action):
action = leaf.object[1]
return action.has_result() or action.is_factory()
def get_description(self):
- return _("Run saved command without showing the result")
+ return None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]