Message8482
This is a second try to provide a default implementation of localReplace that can be
overridden using the extension method.
I define __localReplace(message) in TemplatingUtils.
In __getattr__ I look up the name in self.client.instance.templating_utils. If it is not
found, check to see if the name is 'localReplace'. If so, return self.__localReplace.
This allows a fallback for _localReplace so we can add it in the right places in the templates.
But it doesn't support overriding existing TemplatingUtils methods.
See: add_localReplace_to_all_templates2.diff |
|
| Date |
User |
Action |
Args |
| 2026-08-03 02:16:33 | rouilj | set | messageid: <1785723393.8.0.875063191833.issue2550930@roundup-tracker.org> |
| 2026-08-03 02:16:33 | rouilj | set | recipients:
+ rouilj, ber, ThomasAH |
| 2026-08-03 02:16:33 | rouilj | link | issue2550930 messages |
| 2026-08-03 02:16:33 | rouilj | create | |
|