Issue 10247

Title
Improve translation handling for plain text templates
Priority
feature
Status
chatting
Nosy list
edbo, reviewbot
Assigned to
edbo
Keywords
review

Created on 2021-04-03.17:35:01 by edbo, last changed 1 week ago by reviewbot.

Messages

Author: [hidden] (edbo)
Date: 2021-04-03.17:35:01

Follow-up on https://discuss.tryton.org/t/using-latex-with-tryton/3937/22:

Now it will be a good improvement for Tryton if the Report and Translation used the proper mechanism for plain text.

The current plain text templates doesn't use the gettext translation mechanism to extract translatable messages, so the whole template is added to be translated.

Add the gettext method so strings which have to be translated have to be explicitly 'marked' with _( <translatable string> )

History
Date User Action Args
2021-04-08 11:54:36reviewbotsetmessages: + msg66175
2021-04-07 20:48:47reviewbotsetmessages: + msg66159
2021-04-06 12:50:38reviewbotsetmessages: + msg66125
2021-04-03 18:12:13reviewbotsetmessages: + msg66049
nosy: + reviewbot
status: unread -> chatting
2021-04-03 18:12:12reviewbotsetkeyword: + review
reviews: 345741002
2021-04-03 17:35:01edbocreate