<commit_before><% if contacts.present? %>
<% contacts.each do |contact| %>
  <div class="organisation__contact-section <%= "organisation__contact-section--border-top" if local_assigns[:border] %>" <%= "lang=#{contact[:locale]}" if contact[:locale] %>>
    <%= render "govuk_publishing_components/components/heading", {
      text: contact[:title],
      padding: true,
      heading_level: 3,
      font_size: 19,
    } %>

    <div class="govuk-grid-row">
      <% if contact[:post_addresses].any? %>
        <address class="govuk-grid-column-one-half organisation__margin-bottom organisation__address">
          <% contact[:post_addresses].each do |post| %>
            <%= post.html_safe %>
          <% end %>
        </address>
      <% end %>

      <% if contact[:email_addresses].any? || contact[:links].any? || contact[:phone_numbers].any?  %>
        <div class="<%= contact[:post_addresses].any? ? "govuk-grid-column-one-half" : "govuk-grid-column-two-thirds" %>">
          <% if contact[:email_addresses].any? %>
            <div class="organisation__margin-bottom">
              <p <%= "lang=en" if contact[:locale] != "en" %>><%= t('organisations.contact.email', locale: :en) %></p>
              <% contact[:email_addresses].each do |email| %>
                <p><%= email.html_safe %></p>
              <% end %>
            </div>
          <% end %>

          <% if contact[:links].any? %>
            <div class="organisation__margin-bottom">
              <% contact[:links].each do |link| %>
                <p><%= link.html_safe %></p>
              <% end %><commit_msg>Display correct translation for "email"<commit_after><% if contacts.present? %>
<% contacts.each do |contact| %>
  <div class="organisation__contact-section <%= "organisation__contact-section--border-top" if local_assigns[:border] %>" <%= "lang=#{contact[:locale]}" if contact[:locale] %>>
    <%= render "govuk_publishing_components/components/heading", {
      text: contact[:title],
      padding: true,
      heading_level: 3,
      font_size: 19,
    } %>

    <div class="govuk-grid-row">
      <% if contact[:post_addresses].any? %>
        <address class="govuk-grid-column-one-half organisation__margin-bottom organisation__address">
          <% contact[:post_addresses].each do |post| %>
            <%= post.html_safe %>
          <% end %>
        </address>
      <% end %>

      <% if contact[:email_addresses].any? || contact[:links].any? || contact[:phone_numbers].any?  %>
        <div class="<%= contact[:post_addresses].any? ? "govuk-grid-column-one-half" : "govuk-grid-column-two-thirds" %>">
          <% if contact[:email_addresses].any? %>
            <div class="organisation__margin-bottom">
              <% if I18n.exists?('organisations.contact.email', contact[:locale]) %>
                <p><%= t('organisations.contact.email') %></p>
              <% else %>
                <p lang="en"><%= t('organisations.contact.email') %></p>
              <% end %>

              <% contact[:email_addresses].each do |email| %>
                <p><%= email.html_safe %></p>
              <% end %>
            </div>
          <% end %>

          <% if contact[:links].any? %>
            <div class="organisation__margin-bottom">
              <% contact[:links].each do |link| %>
                <p><%= link.html_safe %></p>
              <% end %>
{'fraction_non_alphanumeric': 0.18712930011862397, 'fraction_numerical': 0.002372479240806643, 'mean_word_length': 2.4139676113360324, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 82, 'https://': 0, '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': '4614981', 'n_tokens_mistral': 1096, 'n_tokens_neox': 980, 'n_words': 169}