Ticket #9204 (new enhancement)

Opened 2 years ago

Last modified 6 months ago

Make messages translatable too

Reported by: hasienda Assigned to: hasienda
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords: i18n
Cc: doki_pen, rjollos Trac Release: 0.11

Description

This plugin has basic i18n for the web-UI, but we should work towards translated announcements as well.

And because there is no Request object on sent time, that could tell about user language preferences, this has to be configured in user settings beforehand.

Attachments

Change History

11/08/12 01:45:35 changed by hasienda

(In [12312]) TracAnnouncer: Update AccountManagerPlugin messaging support, refs #7759, #7977, #8740, #8927, #9090 and #9204.

This long-standing regression is fixed now, while associated message templates are rather bare-bone ones yet and formatting could be improved significantly.

11/09/12 01:17:52 changed by hasienda

(In [12325]) TracAnnouncer: Fix generator, that was broken by [12309], refs #7759, #7976, #7977, #8740, #8927, #9090 and #9204.

And the same bad filter code even got replicated in [12312]. Sorry for not checking compiler errors earlier. Finally I discovered an UnboundLocalError for resource_id hidden behind the first error. Obviously unit tests are a blessing and needed here too.

11/09/12 23:38:00 changed by hasienda

(In [12331]) TracAnnouncer: Really fix filter now, refs #7759, #7976, #7977, #8740, #8927, #9090 and #9204.

Complete the change from [12325] to get expected behavior, or filters would be applied undesirably.

11/11/12 23:37:41 changed by hasienda

(In [12342]) TracAnnouncer: Add 'acct_mgr' as default for 'filter_exception_realms' option, refs #7759, #7976, #7977, #8740, #8927, #9090 and #9204.

IMHO this is required for better plugin usability, making AccountManagerPlugin notifications pass without additional configuration effort now.

Some Python doc-string tweaks and another unit test slipped in here too.

11/15/12 01:13:44 changed by rjollos

(In [12353]) Refs #7759, #7976, #7977, #8740, #8927, #9090 and #9204: Fixed minor syntax error introduced in [12342].


Add/Change #9204 (Make messages translatable too)




Change Properties
Action