Roundup Tracker - Issues

Message7466

Author marcus.priesch
Recipients marcus.priesch
Date 2022-04-26.13:02:11
Message-id <1650978131.36.0.430122873849.issue2551199@roundup.psfhosted.org>
In-reply-to
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
History
Date User Action Args
2022-04-26 13:02:11marcus.prieschsetrecipients: + marcus.priesch
2022-04-26 13:02:11marcus.prieschsetmessageid: <1650978131.36.0.430122873849.issue2551199@roundup.psfhosted.org>
2022-04-26 13:02:11marcus.prieschlinkissue2551199 messages
2022-04-26 13:02:11marcus.prieschcreate