<commit_before>module OrgsHelper

  DEFAULT_EMAIL = '%{organisation_email}'.freeze

  # Tooltip string for Org feedback form.
  #
  # @param org [Org] The current Org we're updating feedback form for.
  # @return [String] The tooltip message
  def tooltip_for_org_feedback_form(org)
    output = <<~TEXT
      Someone will respond to your request within 48 hours. If you have
      questions pertaining to this action please contact us at
      %{email}.
    TEXT
    email = org.contact_email.present? ? org.contact_email : DEFAULT_EMAIL
    _(output % { email: email })
  end

end<commit_msg>Fix how strings are wrapped in translation helper<commit_after>module OrgsHelper
  # frozen_string_literal: true

  DEFAULT_EMAIL = '%{organisation_email}'

  # Tooltip string for Org feedback form.
  #
  # @param org [Org] The current Org we're updating feedback form for.
  # @return [String] The tooltip message
  def tooltip_for_org_feedback_form(org)
    email = org.contact_email.presence || DEFAULT_EMAIL
    _("Someone will respond to your request within 48 hours. If you have \
    questions pertaining to this action please contact us at %{email}") % {
      email: email
    }
  end
end
{'fraction_non_alphanumeric': 0.0764063811922754, 'fraction_numerical': 0.0033585222502099076, 'mean_word_length': 3.65625, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '2819844', 'n_tokens_mistral': 362, 'n_tokens_neox': 344, 'n_words': 127}