Edgewall Software

Changes between Initial Version and Version 1 of Ticket #13181


Ignore:
Timestamp:
Jul 20, 2019, 7:31:13 AM (5 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13181 – Description

    initial v1  
    1111
    1212The 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 {{{#!diff
    15 diff --git a/trac/wiki/formatter.py b/trac/wiki/formatter.py
    16 index 5d81618e3..177be1945 100644
    17 --- a/trac/wiki/formatter.py
    18 +++ b/trac/wiki/formatter.py
    19 @@ -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 = name
    27              return (url, title)
    28 }}}