[kupfer: 35/53] ui: Tweak names for set as default and forget context actions
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 35/53] ui: Tweak names for set as default and forget context actions
- Date: Thu, 24 Mar 2011 16:33:29 +0000 (UTC)
commit 37066400d70eb2a3fc3dfc7ca7c806411de73a4e
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Thu Mar 24 17:22:38 2011 +0100
ui: Tweak names for set as default and forget context actions
kupfer/ui/browser.py | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/kupfer/ui/browser.py b/kupfer/ui/browser.py
index 569e112..b04dbf2 100644
--- a/kupfer/ui/browser.py
+++ b/kupfer/ui/browser.py
@@ -1381,16 +1381,17 @@ class Interface (gobject.GObject):
if self.get_can_enter_text_mode():
yield (_("Toggle Text Mode"), self.toggle_text_mode_quick)
if self.action.get_match_state() == State.Match:
- match = self.action.get_current()
- # TRANS: Remember = Make the action '%s' default
- yield (_('Remember "%s" for this Object') % unicode(match),
- self.mark_as_default)
+ smatch = self.search.get_current()
+ amatch = self.action.get_current()
+ yield (_('Make "%(action)s" Default for "%(object)s"') % {
+ 'action': unicode(amatch),
+ 'object': unicode(smatch),
+ }, self.mark_as_default)
if has_match:
if self.data_controller.get_object_has_affinity(data.SourcePane):
match = self.search.get_current()
- # TRANS: Affinity= learned and/or configured bonus rank
- # TRANS: when matching it in search
- yield (_('Forget Affinity for "%s"') % unicode(match),
+ # TRANS: Removing learned and/or configured bonus search score
+ yield (_('Forget About "%s"') % unicode(match),
self.erase_affinity_for_first_pane)
if has_match:
yield (_("Reset All"), self.reset_all)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]