From e99718faf8d0d03121344d77eaa6480bdb9f7513 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 11 Feb 2010 12:43:26 +0000 Subject: [PATCH] Display type of navigation in status on no active object svn: r14313 --- src/DisplayState.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DisplayState.py b/src/DisplayState.py index 96f6a54e0..7047d5a7a 100644 --- a/src/DisplayState.py +++ b/src/DisplayState.py @@ -485,7 +485,8 @@ class DisplayState(gen.utils.Callback): name = '%s (%s)' % (name, msg.strip()) if not name: - name = _('No active object') + name = _('No active %(navigation_type)s') % {"navigation_type": + _(nav_type.lower())} self.status.push(self.status_id, name) process_pending_events()