summaryrefslogtreecommitdiff
path: root/alot/widgets/thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/widgets/thread.py')
-rw-r--r--alot/widgets/thread.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py
index 53708f68..8f52eda7 100644
--- a/alot/widgets/thread.py
+++ b/alot/widgets/thread.py
@@ -151,7 +151,12 @@ class MessageWidget(urwid.WidgetWrap):
lines.append((key, dvalue))
elif key.lower() == 'tags':
logging.debug('want tags header')
- values = self.message.get_tags()
+ values = []
+ for t in self.message.get_tags():
+ tagrep = settings.get_tagstring_representation(t)
+ if t is not tagrep['translated']:
+ t = '%s (%s)' % (tagrep['translated'], t)
+ values.append(t)
lines.append((key, ', '.join(values)))
key_att = settings.get_theming_attribute('thread', 'header_key')