fixed missing translation function and title for attachments link