<commit_before>{{! Modal to show embedded video }}

<div class="modal caption-modal" tabindex="-1" role="dialog" aria-labelledby="caption-modal-title" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="caption-modal-title">{{title}}</h3>
  </div>
  <div class="modal-body">
    <textarea>
      {{content}}
    </textarea>
  </div>
  <div class="modal-footer">
    <div class="btn-toolbar">

      <form action="http://translate.google.com" method="POST" target="_blank" class="pull-left">
        <input type="hidden" name="text" value="{{content}}" />
        <input type="hidden" name="sl" value="auto" />
        <button type="submit" class="btn ctrl-translate" title="translate"><i class="icon-globe"></i> View Translated</button>
      </form>
      
      {{#approveHref}}
      <div class="btn-group">
        <a href="{{approveHref}}" class="btn btn-success ctrl-approve">Approve</a>
      </div>
      {{/approveHref}}

      <div class="btn-group">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
      </div>
    </div>
  </div>
</div><commit_msg>bug fix: for google translate<commit_after>{{! Modal to show embedded video }}

<div class="modal caption-modal" tabindex="-1" role="dialog" aria-labelledby="caption-modal-title" aria-hidden="true">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="caption-modal-title">{{title}}</h3>
  </div>
  <div class="modal-body">
    <textarea>
      {{content}}
    </textarea>
  </div>
  <div class="modal-footer">
    <div class="btn-toolbar">

      <form action="https://translate.google.com" method="POST" target="_blank" class="pull-left">
        <input type="hidden" name="text" value="{{content}}" />
        <input type="hidden" name="sl" value="auto" />
        <button type="submit" class="btn ctrl-translate" title="translate"><i class="icon-globe"></i> View Translated</button>
      </form>

      {{#approveHref}}
      <div class="btn-group">
        <a href="{{approveHref}}" class="btn btn-success ctrl-approve">Approve</a>
      </div>
      {{/approveHref}}

      <div class="btn-group">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
      </div>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.20783007080383173, 'fraction_numerical': 0.0024989587671803417, 'mean_word_length': 3.592734225621415, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3417644', 'n_tokens_mistral': 794, 'n_tokens_neox': 770, 'n_words': 153}