<commit_before>{{#modal-dialog action="close" opening='opening' closing='closing'}}
  <div class="modal-header">
    <button type="button" class="close" {{action 'close'}}>&times;</button>
    <h3>{{t "Premium Voices" key='premium_voices'}}</h3>
  </div>
  <div class="modal-body">
    <div class="row">
      <div class="col-sm-12">
        <p>{{t "CoughDrop offers a set of additional voices for paid users on Android and iOS. Listen to the voice samples to find the voice that will work best for you. You can download up to %{available} premium voices for use on your devices." available=model.user.premium_voices.allowed key='premium_voices_select'}}</p>
        {{#unless premium_available}}
          <p class="text-info">{{t "Premium voices are only available to paid users, and currently only work on the iOS and Android apps. If you would like to install a premium voice during your free trial, please let us know." key='premium_only_available_paid'}}</p>
        {{else if voice_error}}
          <p class='text-danger'>{{voice_error}}</p>
        {{/unless}}
        <table class="table table-hover">
          <thead>
            <tr>
              <th>{{t "Voice" key='voice'}}</th>
              <th>{{t "Details" key='gender'}}</th>
              <th colspan="2">{{t "Preview" key='preview'}}</th>
            </tr>
          </thead>
          <tbody>
            {{#each voices as |voice|}}
              <tr class={{if voice.active "voice_pad" "voice_pad text-muted"}}>
                <td>
                  {{#if voice.claimed}}
                    <span class="glyphicon glyphicon-asterisk"></span>&nbsp;
                  {{/if}}
                  {{ voice.name }} - 
                  {{locale voice.locale}}
                </td>
                <td>
                  {{#if voice.adult}}
                    {{t "Adult" key='adult'}}
                  {{else if voice.teen}}
                    {{t "Teen" key='teen'}}<commit_msg>clearer messages on premium voices page when not downloadable<commit_after>{{#modal-dialog action="close" opening='opening' closing='closing'}}
  <div class="modal-header">
    <button type="button" class="close" {{action 'close'}}>&times;</button>
    <h3>{{t "Premium Voices" key='premium_voices'}}</h3>
  </div>
  <div class="modal-body">
    <div class="row">
      <div class="col-sm-12">
        <p>{{t "CoughDrop offers a set of additional voices for paid users on Android and iOS. Listen to the voice samples to find the voice that will work best for you. You can download up to %{available} premium voices for use on your devices." available=model.user.premium_voices.allowed key='premium_voices_select'}}</p>
        {{#unless premium_available}}
          {{#if app_state.currentUser.full_premium}}
            <p class="text-info">{{t "Premium voices are only available on the iOS, Android and Amazon apps. Please install from the app store and try again." key='premium_only_available_mobile'}}</p>
          {{else}}
            <p class="text-info">{{t "Premium voices are available to paid users. If you would like to install a premium voice during your free trial, please reach out to us and let us know." key='premium_only_available_paid'}}</p>
          {{/if}}
        {{else if voice_error}}
          <p class='text-danger'>{{voice_error}}</p>
        {{/unless}}
        <table class="table table-hover">
          <thead>
            <tr>
              <th>{{t "Voice" key='voice'}}</th>
              <th>{{t "Details" key='gender'}}</th>
              <th colspan="2">{{t "Preview" key='preview'}}</th>
            </tr>
          </thead>
          <tbody>
            {{#each voices as |voice|}}
              <tr class={{if voice.active "voice_pad" "voice_pad text-muted"}}>
                <td>
                  {{#if voice.claimed}}
                    <span class="glyphicon glyphicon-asterisk"></span>&nbsp;
                  {{/if}}
                  {{ voice.name }} -
                  {{locale voice.locale}}
                </td>
                <td>
                  {{#if voice.adult}}
                    {{t "Adult" key='adult'}}
                  {{else if voice.teen}}
                    {{t "Teen" key='teen'}}
{'fraction_non_alphanumeric': 0.15242165242165243, 'fraction_numerical': 0.0023741690408357074, 'mean_word_length': 2.1463778939507097, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5991625', 'n_tokens_mistral': 1261, 'n_tokens_neox': 1167, 'n_words': 357}