Opened 9 years ago
Last modified 9 years ago
#11852 closed defect
Translate exception messages in tracopt.versioncontrol.git — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.3 |
Component: | plugin/git | Version: | |
Severity: | normal | Keywords: | i18n |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
There are many untranslated exception messages in the package. In general we translate exception messages everywhere, but there are a few exceptions that are not translated:
- tags/trac-1.0.2/trac/core.py@:202,206#L174
- tags/trac-1.0.2/trac/env.py@:388,390#L382
- tags/trac-1.0.2/trac/admin/console.py@:552#L530
- tags/trac-1.0.2/trac/wiki/macros.py@:648#L645
I've only grepped for TracError
s, so there may be other exception types with untranslated messages.
If the message won't be translated for good reason, it could be useful to either add a comment in the code or change the message to the more generic Internal Error and instead log the more specific message.
Note:
See TracTickets
for help on using tickets.