xf_phantom
Well-known member
In XenForo_BbCode_Formatter_Base::renderTagAttach "View attachment" is hardcoded.
If i get now a email from the board, because of a reply in a watched thread, the attachment link text will be in english, even if the user uses another language.
The phrase exists already ( view_attachment_x ) you'll just have to use it in renderTagAttach![Stick out tongue :P :P](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
PHP:
if (!$this->_view)
{
return '<a href="' . XenForo_Link::buildPublicLink('full:attachments', array('attachment_id' => $id)) . '">View attachment ' . $id . '</a>';
}
If i get now a email from the board, because of a reply in a watched thread, the attachment link text will be in english, even if the user uses another language.
The phrase exists already ( view_attachment_x ) you'll just have to use it in renderTagAttach
![Stick out tongue :P :P](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)