Show the history menu item only if it exists

If the message doesn't have a translation, the history link
leads to an empty page. Now it's hidden for untranslated message
and shown for translated messages.

Change-Id: I35cd21fa7d80d3ff75d1e651178ca08cfa91c9d9
Merge "Show the history menu item only if it exists"