[issue2551199] remove translationService from templating.py
Marcus Priesch <[email protected]> Tue, 26 Apr 2022 13:02:11 +0000
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from Marcus Priesch: working on issue2551184 i found the following: translationService is only used in cgi.form_parser.py as fallback (which i dont know when this can happen, because client always has self.gettext and self.ngettext - but maybe i am wrong - maybe during tests ?) could be better to remove it from templating.py and replace it by TranslationService.get_translation() see attached patch regards, marcus ---------- components: Web interface files: templating_form_parser.patch keywords: patch messages: 7466 nosy: marcus.priesch severity: normal status: new title: remove translationService from templating.py type: rfe versions: devel _________________________________________________ Roundup tracker <[email protected]> <https://issues.roundup-tracker.org/issue2551199> _________________________________________________