<commit_before><template>
    <div v-if="errors" class="errors">
      <div v-for="error in errors" class="error">
        {{error.message}}
      </div>
    </div>
</template>

<script>
  export default {
    name: "BtrzErrors",
    props: {
      errors: {
        type: Object
      }
    }
  }
</script><commit_msg>Now btrz-error can receive either the lexicon key or the message string to display<commit_after><template>
    <div v-if="errors" class="errors">
      <div v-for="error in errors" class="error">
        {{ $t(error.message) || error.message }}
      </div>
    </div>
</template>

<script>
  export default {
    name: "BtrzErrors",
    props: {
      errors: {
        type: Object
      }
    }
  }
</script>
{'fraction_non_alphanumeric': 0.16027397260273973, 'fraction_numerical': 0.0, 'mean_word_length': 2.3227272727272728, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '5405481', 'n_tokens_mistral': 245, 'n_tokens_neox': 243, 'n_words': 59}