<div class="translation-main">
  <div
    *ngIf="!translationSimpleview || (!!translationSimpleview && !!isMe)"
    class="original"
    [innerHTML]="message.sentMessageJson.original | linky"
    (contextmenu)="onContextMenuMessage($event, 'original')"
  ></div>
  <div
    *ngIf="!translationSimpleview || (!!translationSimpleview && !isMe)"
    class="translation"
    (contextmenu)="onContextMenuMessage($event, 'translation')"
  >
    <span class="language">{{ message.sentMessageJson.destLocale }}</span>
    <span [innerHTML]="message.sentMessageJson.translation | linky"> </span>
  </div>
  <div class="btn-box">
    <ul>
      <li>
        <button mat-button (click)="onClickMassDetail('O')">
          {{ 'chat.event.showMassTranslationOfOriginal' | translate }}
        </button>
      </li>
      <li>
        <button mat-button (click)="onClickMassDetail('T')">
          <span class="language">{{ message.sentMessageJson.destLocale }}</span>
          {{ 'chat.event.showMassTranslationOfTranslated' | translate }}
        </button>
      </li>
    </ul>
  </div>
</div>
