Changes between Initial Version and Version 1 of Ticket #13181
- Timestamp:
- Jul 20, 2019, 7:31:13 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13181 – Description
initial v1 11 11 12 12 The tooltip for an InterTrac link to t.e.o displays as "Trac project trac". I'd like to change it to "The Trac Project". 13 14 {{{#!diff15 diff --git a/trac/wiki/formatter.py b/trac/wiki/formatter.py16 index 5d81618e3..177be1945 10064417 --- a/trac/wiki/formatter.py18 +++ b/trac/wiki/formatter.py19 @@ -711,6 +711,8 @@ class Formatter(object):20 url = '%s/intertrac/%s' % (url, unicode_quote(target))21 if target:22 title = _('%(target)s in %(name)s', target=target, name=name)23 + elif ns == 'trac':24 + title = _('The Trac Project')25 else:26 title = name27 return (url, title)28 }}}