Edgewall Software

Changes between Initial Version and Version 5 of Ticket #11427


Ignore:
Timestamp:
Jan 8, 2014, 9:20:41 PM (10 years ago)
Author:
Ryan J Ollos
Comment:

I've modified the patch to add an entry for each implementation that is not found:

Configuration Error

Cannot find an implementation of the IPermissionPolicy interface named MissingPermPolicyOne. Please check that the Component is enabled or update the option [trac] permission_policies in trac.ini.

Cannot find an implementation of the IPermissionPolicy interface named MissingPermPolicyTwo. Please check that the Component is enabled or update the option [trac] permission_policies in trac.ini.

TracGuide — The Trac User and Administration Guide

The resulting diff of the pot file is:

  • trac/locale/messages.pot

    diff --git a/trac/locale/messages.pot b/trac/locale/messages.pot
    index cc09b90..05a70ca 100644
    a b msgstr ""  
    454454msgid "File '%(name)s' exists"
    455455msgstr ""
    456456
    457 #: trac/config.py:44
     457#: trac/config.py:45
    458458msgid "Configuration Error"
    459459msgstr ""
    460460
    461 #: trac/config.py:48
     461#: trac/config.py:49
    462462msgid "Look in the Trac log for more information."
    463463msgstr ""
    464464
    465 #: trac/config.py:273
     465#: trac/config.py:274
    466466#, python-format
    467467msgid "Error reading '%(file)s', make sure it is readable."
    468468msgstr ""
    469469
    470 #: trac/config.py:430
     470#: trac/config.py:431
    471471#, python-format
    472472msgid "[%(section)s] %(entry)s: expected integer, got %(value)s"
    473473msgstr ""
    474474
    475 #: trac/config.py:448
     475#: trac/config.py:449
    476476#, python-format
    477477msgid "[%(section)s] %(entry)s: expected float, got %(value)s"
    478478msgstr ""
    479479
    480 #: trac/config.py:621
     480#: trac/config.py:622
    481481msgid "Setting attribute is not allowed."
    482482msgstr ""
    483483
    484 #: trac/config.py:701
     484#: trac/config.py:702
    485485#, python-format
    486486msgid "[%(section)s] %(entry)s: expected one of (%(choices)s), got %(value)s"
    487487msgstr ""
    488488
    489 #: trac/config.py:734
     489#: trac/config.py:741 trac/config.py:778
    490490#, python-format
    491491msgid ""
    492 "Cannot find an implementation of the \"%(interface)s\" interface named "
    493 "\"%(implementation)s\".  Please update the option %(section)s.%(name)s in"
    494 " trac.ini."
     492"Cannot find an implementation of the %(interface)s interface named "
     493"%(implementation)s. Please check that the Component is enabled or update "
     494"the option %(option)s in trac.ini."
    495495msgstr ""
    496496
    497 #: trac/config.py:772
    498 #, python-format
    499 msgid ""
    500 "Cannot find implementation(s) of the \"%(interface)s\" interface named "
    501 "\"%(implementation)s\".  Please update the option %(section)s.%(name)s in"
    502 " trac.ini."
    503 msgstr ""
    504 
    505 #: trac/config.py:813 trac/config.py:826
     497#: trac/config.py:822 trac/config.py:835
    506498#, python-format
    507499msgid "Option '%(option)s' doesn't exist in section '%(section)s'"
    508500msgstr ""

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11427

    • Property Owner set to Ryan J Ollos
    • Property Status newclosed
    • Property Resolutionfixed
    • Property Milestone 1.0.31.0.2
  • Ticket #11427 – Release Notes

    initial v5  
     1Improved hint in error messages from `ExtensionsOption` and `OrderedExtensionsOption`.