Returns the translate permissions for the current entity and bundle.
protected function getTranslatePermission() {
$info = entity_get_info($this->entityType);
if (!empty($info['permission_granularity'])) {
return $info['permission_granularity'] == 'bundle' ? "translate {$this->bundle} {$this->entityType}" : "translate {$this->entityType}";
}
}