<commit_before><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="error">
    <xsl:choose>
      <xsl:when test="id='edu.rpi.sss.util.error.exc'">
          <p>An exception occurred: <em><xsl:value-of select="param"/></em></p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.exc'">
          <p>An exception occurred: <em><xsl:value-of select="param"/></em></p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.nosuchevent'">
          <p>Event <xsl:value-of select="param"/> does not exist.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.baddates'">
          <p>Improperly formatted date(s): <em><xsl:value-of select="param"/></em></p>
      </xsl:when>
      <xsl:when test="id='org.bedework.validation.error.event.startafterend'">
          <p>Please correct your dates: the end date/time is before the start date/time.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.noaccess'">
          <p>You have insufficient access <xsl:value-of select="param"/>.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.badhow'">
          <p>Incorrect access controls.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.validation.error.notitle'">
          <p>Please supply a title for your event (required).</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.missingcalendarid'">
          <p>Missing event's calendar id (required).</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.missingcalendarpath'">
          <p>Missing calendar path (required).</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.duplicate.guid'">
          <p>Duplicate guid: this event already exists in your calendar.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.unknowncalendar'">
          <p>Unknown calendar.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.usernotfound'">
          <p>User not found.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.location.referenced'">
          <p>Location is in use.  It cannot be deleted while referenced by an event.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.mail.norecipient'">
          <p>You must supply a recipient.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.unknown.timezone'">
          <p>Unknown timezone <em><xsl:value-of select="param"/></em></p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.subscription.reffed'">
          <p>Cannot remove: the subscription is referenced by View "<em><xsl:value-of select="param"/></em>"</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.exception.duplicatesubscription'">
          <p>A subscription by that name already exists.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.nodefaultview'">
          <p>No default view defined</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.unimplemented'">
          <p>The feature you requested is currently unimplemented.</p>
      </xsl:when>
      <xsl:otherwise><commit_msg>added user preference error message to messages.xsl<commit_after><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="error">
    <xsl:choose>
      <xsl:when test="id='edu.rpi.sss.util.error.exc'">
          <p>An exception occurred: <em><xsl:value-of select="param"/></em></p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.exc'">
          <p>An exception occurred: <em><xsl:value-of select="param"/></em></p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.nosuchevent'">
          <p>Event <xsl:value-of select="param"/> does not exist.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.baddates'">
          <p>Improperly formatted date(s): <em><xsl:value-of select="param"/></em></p>
      </xsl:when>
      <xsl:when test="id='org.bedework.validation.error.event.startafterend'">
          <p>Please correct your dates: the end date/time is before the start date/time.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.noaccess'">
          <p>You have insufficient access <xsl:value-of select="param"/>.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.badhow'">
          <p>Incorrect access controls.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.validation.error.notitle'">
          <p>Please supply a title for your event (required).</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.missingcalendarid'">
          <p>Missing event's calendar id (required).</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.missingcalendarpath'">
          <p>Missing calendar path (required).</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.duplicate.guid'">
          <p>Duplicate guid: this event already exists in your calendar.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.unknowncalendar'">
          <p>Unknown calendar.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.usernotfound'">
          <p>User not found.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.location.referenced'">
          <p>Location is in use.  It cannot be deleted while referenced by an event.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.mail.norecipient'">
          <p>You must supply a recipient.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.unknown.timezone'">
          <p>Unknown timezone <em><xsl:value-of select="param"/></em></p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.subscription.reffed'">
          <p>Cannot remove: the subscription is referenced by View "<em><xsl:value-of select="param"/></em>"</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.exception.duplicatesubscription'">
          <p>A subscription by that name already exists.</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.nodefaultview'">
          <p>No default view defined</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.badPref'">
          <p>Bad setting for preference: "<em><xsl:value-of select="param"/></em>"</p>
      </xsl:when>
      <xsl:when test="id='org.bedework.client.error.unimplemented'">
          <p>The feature you requested is currently unimplemented.</p>
      </xsl:when>
      <xsl:otherwise>
{'fraction_non_alphanumeric': 0.1839941262848752, 'fraction_numerical': 0.002936857562408223, 'mean_word_length': 3.049346016646849, 'pattern_counts': {'":': 0, '<': 214, '<?xml version=': 2, '>': 214, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '262608', 'n_tokens_mistral': 2423, 'n_tokens_neox': 2247, 'n_words': 402}