ts() fixes for labels in case activity popup, + minor fixes to code format.

In other words: when viewing a case, and clicking on an activity of the case, it loads the activity in a popup. However, the subject/creator/medium/etc field labels were not translated.