Add localization to mail header in webgui
Hello,
I would like to suggest changing the strings that are displayed for single messages in the webgui. When viewing a mail in the webgui then there is always Subject:
, From:
, To:
, Date:
, displayed regardless of the set language. Since these strings already have localizations in the language files, it would be very easy to change this behaviour.
As far as I have seen, those strings com from webui/model/search/message.php
. Those strings are then used in webui/view/theme/default/templates/message/view.tpl
. So I would suggest that in the function extract_message
only the real subject, from, etc. values are beeing saved. The display strings like Subject:
could just be prefixed in view.tpl where we could then easily just use the localized strings.
Thanks
Martin
Comments (4)
-
repo owner -
reporter Thank you, highly appreciated
-
repo owner Either get the latest master branch or apply this commit: https://bitbucket.org/jsuto/piler/commits/d84307f2d8ef5605ddcdca459ee2dc744440412a
-
repo owner - changed status to resolved
Btw. the 'cc' string is not translated, so it stays as 'Cc' for now.
- Log in to comment
OK, I’l fix it soon.