better title for single message window depending on if we're sending or receiving

This commit is contained in:
Yann Leboulanger 2006-08-01 10:41:45 +00:00
parent ebb01e96ec
commit 29ed784cd2
1 changed files with 4 additions and 1 deletions

View File

@ -1411,7 +1411,10 @@ class SingleMessageWindow:
def prepare_widgets_for(self, action):
if len(gajim.connections) > 1:
title = _('Single Message in account %s') % self.account
if action == 'send':
title = _('Single Message using account %s') % self.account
else:
title = _('Single Message in account %s') % self.account
else:
title = _('Single Message')