| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|---|
| 3 |
<xsl:template match="error"> |
|---|
| 4 |
<xsl:choose> |
|---|
| 5 |
<xsl:when test="id='edu.rpi.sss.util.error.exc'"> |
|---|
| 6 |
<p>An exception occurred: <em><xsl:value-of select="param"/></em></p> |
|---|
| 7 |
</xsl:when> |
|---|
| 8 |
<xsl:when test="id='org.bedework.client.error.exc'"> |
|---|
| 9 |
<p>An exception occurred: <em><xsl:value-of select="param"/></em></p> |
|---|
| 10 |
</xsl:when> |
|---|
| 11 |
<xsl:when test="id='org.bedework.client.error.nosuchevent'"> |
|---|
| 12 |
<p>Event <xsl:value-of select="param"/> does not exist.</p> |
|---|
| 13 |
</xsl:when> |
|---|
| 14 |
<xsl:when test="id='org.bedework.client.error.baddates'"> |
|---|
| 15 |
<p>Improperly formatted date(s): <em><xsl:value-of select="param"/></em></p> |
|---|
| 16 |
</xsl:when> |
|---|
| 17 |
<xsl:when test="id='org.bedework.client.error.baddate'"> |
|---|
| 18 |
<p>Bad or out-of-range date.</p> |
|---|
| 19 |
</xsl:when> |
|---|
| 20 |
<xsl:when test="id='org.bedework.validation.error.invalid.duration'"> |
|---|
| 21 |
<p>Invalid duration.</p> |
|---|
| 22 |
</xsl:when> |
|---|
| 23 |
<xsl:when test="id='org.bedework.validation.error.event.startafterend'"> |
|---|
| 24 |
<p>Please correct your dates: the end date/time is before the start date/time.</p> |
|---|
| 25 |
</xsl:when> |
|---|
| 26 |
<xsl:when test="id='org.bedework.client.error.noaccess'"> |
|---|
| 27 |
<p>You have insufficient access <xsl:value-of select="param"/>.</p> |
|---|
| 28 |
</xsl:when> |
|---|
| 29 |
<xsl:when test="id='org.bedework.client.error.badhow'"> |
|---|
| 30 |
<p>Incorrect access controls.</p> |
|---|
| 31 |
</xsl:when> |
|---|
| 32 |
<xsl:when test="id='org.bedework.validation.error.notitle'"> |
|---|
| 33 |
<p>Please supply a title for your event (required).</p> |
|---|
| 34 |
</xsl:when> |
|---|
| 35 |
<xsl:when test="id='org.bedework.client.error.missingcalendarid'"> |
|---|
| 36 |
<p>Missing event's calendar id (required).</p> |
|---|
| 37 |
</xsl:when> |
|---|
| 38 |
<xsl:when test="id='org.bedework.client.error.missingcalendarpath'"> |
|---|
| 39 |
<p>Missing calendar path (required).</p> |
|---|
| 40 |
</xsl:when> |
|---|
| 41 |
<xsl:when test="id='org.bedework.client.error.nosuchcalendar'"> |
|---|
| 42 |
<p>No such calendar.</p> |
|---|
| 43 |
</xsl:when> |
|---|
| 44 |
<xsl:when test="id='org.bedework.client.error.duplicate.guid'"> |
|---|
| 45 |
<p>Duplicate guid: this event already exists in your calendar.</p> |
|---|
| 46 |
</xsl:when> |
|---|
| 47 |
<xsl:when test="id='org.bedework.exception.duplicateguid'"> |
|---|
| 48 |
<p>Duplicate guid: this event already exists in your calendar.</p> |
|---|
| 49 |
</xsl:when> |
|---|
| 50 |
<xsl:when test="id='org.bedework.client.error.nofilename'"> |
|---|
| 51 |
<p>You must supply a file name (required).</p> |
|---|
| 52 |
</xsl:when> |
|---|
| 53 |
<xsl:when test="id='org.bedework.validation.error.missingfield'"> |
|---|
| 54 |
<p>You must supply the following field: <em><xsl:value-of select="param"/></em></p> |
|---|
| 55 |
</xsl:when> |
|---|
| 56 |
<xsl:when test="id='org.bedework.client.error.calendar.referenced'"> |
|---|
| 57 |
<p>Cannot delete: calendar contains events.</p> |
|---|
| 58 |
</xsl:when> |
|---|
| 59 |
<xsl:when test="id='org.bedework.client.error.unknowncalendar'"> |
|---|
| 60 |
<p>Unknown calendar.</p> |
|---|
| 61 |
</xsl:when> |
|---|
| 62 |
<xsl:when test="id='org.bedework.client.error.usernotfound'"> |
|---|
| 63 |
<p>User not found.</p> |
|---|
| 64 |
</xsl:when> |
|---|
| 65 |
<xsl:when test="id='org.bedework.client.error.location.referenced'"> |
|---|
| 66 |
<p>Location is in use. It cannot be deleted while referenced by an event.</p> |
|---|
| 67 |
</xsl:when> |
|---|
| 68 |
<xsl:when test="id='org.bedework.client.error.mail.norecipient'"> |
|---|
| 69 |
<p>You must supply a recipient.</p> |
|---|
| 70 |
</xsl:when> |
|---|
| 71 |
<xsl:when test="id='org.bedework.client.error.unknown.timezone'"> |
|---|
| 72 |
<p>Unknown timezone <em><xsl:value-of select="param"/></em></p> |
|---|
| 73 |
</xsl:when> |
|---|
| 74 |
<xsl:when test="id='org.bedework.client.error.subscription.reffed'"> |
|---|
| 75 |
<p>Cannot remove: the subscription is referenced by View "<em><xsl:value-of select="param"/></em>"</p> |
|---|
| 76 |
</xsl:when> |
|---|
| 77 |
<xsl:when test="id='org.bedework.exception.duplicatesubscription'"> |
|---|
| 78 |
<p>A subscription by that name already exists.</p> |
|---|
| 79 |
</xsl:when> |
|---|
| 80 |
<xsl:when test="id='org.bedework.client.error.nodefaultview'"> |
|---|
| 81 |
<p>No default view defined</p> |
|---|
| 82 |
</xsl:when> |
|---|
| 83 |
<xsl:when test="id='org.bedework.client.error.badPref'"> |
|---|
| 84 |
<p>Bad setting for preference: "<em><xsl:value-of select="param"/></em>"</p> |
|---|
| 85 |
</xsl:when> |
|---|
| 86 |
<xsl:when test="id='org.bedework.client.error.unimplemented'"> |
|---|
| 87 |
<p>The feature you requested is currently unimplemented.</p> |
|---|
| 88 |
</xsl:when> |
|---|
| 89 |
<xsl:otherwise> |
|---|
| 90 |
<p><xsl:value-of select="id"/> = <xsl:value-of select="param"/></p> |
|---|
| 91 |
</xsl:otherwise> |
|---|
| 92 |
</xsl:choose> |
|---|
| 93 |
</xsl:template> |
|---|
| 94 |
</xsl:stylesheet> |
|---|
| 95 |
|
|---|