<commit_before>.project[itemscope itemtype="http://schema.org/CreativeWork" class=(custom_class if defined?(custom_class))]
  meta[itemprop="dateCreated" content=project.created_at.to_date]
  - if project.expired?
    .status_image
      = link_to project_path(project) do
        - if project.successful?
          = image_tag "successful.#{I18n.locale}.png"
        - elsif project.waiting_confirmation?
          = image_tag "waiting_confirmation.#{I18n.locale}.png"
        - else
          = image_tag "not_successful.#{I18n.locale}.png"
  .box
    p.black_box= project.category.name
    .cover
      = link_to project do
        = image_tag project.display_image, :itemprop => 'image'
    .project_content
      h4= link_to project, :itemprop => 'url' do
        span[itemprop="name"]= project.name
      p.author
        = t('.by')
        |&nbsp;
        span[itemprop="author"]= project.user.name
      p.description[itemprop="description"]= truncate(project.headline, :length => 140)
      p.where[itemprop="contentLocation"]
        - unless project.user.address_city.blank?
          = project.user.address_city
          - unless project.user.address_state.blank?
            | /
            = project.user.address_state
    .info_bar
      .status_bar
        .progress style="width: #{project.display_progress}%;"
      ul
        li
          - if project.in_time?
            h6= "#{project.time_to_go[:time]} #{project.time_to_go[:unit]}"
            p= "#{project.remaining_text}"
          - else
            h6= project.display_status
            p= project.display_expires_at
        li
          h6= "#{project.display_pledged}"
          p= "#{t('projects.project.backed')}"

        li
          h6= "#{project.progress}%"
          p= "#{t('projects.project.reached')}"<commit_msg>translated display text in project box<commit_after>.project[itemscope itemtype="http://schema.org/CreativeWork" class=(custom_class if defined?(custom_class))]
  meta[itemprop="dateCreated" content=project.created_at.to_date]
  - if project.expired?
    .status_image
      = link_to project_path(project) do
        - if project.successful?
          = image_tag "successful.#{I18n.locale}.png"
        - elsif project.waiting_confirmation?
          = image_tag "waiting_confirmation.#{I18n.locale}.png"
        - else
          = image_tag "not_successful.#{I18n.locale}.png"
  .box
    p.black_box= project.category.name
    .cover
      = link_to project do
        = image_tag project.display_image, :itemprop => 'image'
    .project_content
      h4= link_to project, :itemprop => 'url' do
        span[itemprop="name"]= project.name
      p.author
        = t('.by')
        |&nbsp;
        span[itemprop="author"]= project.user.name
      p.description[itemprop="description"]= truncate(project.headline, :length => 140)
      p.where[itemprop="contentLocation"]
        - unless project.user.address_city.blank?
          = project.user.address_city
          - unless project.user.address_state.blank?
            | /
            = project.user.address_state
    .info_bar
      .status_bar
        .progress style="width: #{project.display_progress}%;"
      ul
        li
          - if project.in_time?
            h6= "#{project.time_to_go[:time]} #{project.time_to_go[:unit]}"
            p= "#{project.remaining_text}"
          - else
            h6= I18n.t("project.display_status.#{project.display_status}")
            p= project.display_expires_at
        li
          h6= "#{project.display_pledged}"
          p= "#{t('projects.project.backed')}"

        li
          h6= "#{project.progress}%"
          p= "#{t('projects.project.reached')}"
{'fraction_non_alphanumeric': 0.1327891156462585, 'fraction_numerical': 0.00816326530612245, 'mean_word_length': 2.369385884509624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6323630', 'n_tokens_mistral': 1152, 'n_tokens_neox': 1153, 'n_words': 182}