root/releases/bedework-3.7/deployment/resources/xsl/de_DE/default/errors.xsl

Revision 3194 (checked in by johnsa, 2 years ago)

web clients: internationalize bedework-common libraries
https://issues.jasig.org/browse/BWK-33

  • Property svn:mime-type set to text/plain
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Licensed to Jasig under one or more contributor license
4     agreements. See the NOTICE file distributed with this work
5     for additional information regarding copyright ownership.
6     Jasig licenses this file to you under the Apache License,
7     Version 2.0 (the "License"); you may not use this file
8     except in compliance with the License. You may obtain a
9     copy of the License at:
10    
11     http://www.apache.org/licenses/LICENSE-2.0
12    
13     Unless required by applicable law or agreed to in writing,
14     software distributed under the License is distributed on
15     an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16     KIND, either express or implied. See the License for the
17     specific language governing permissions and limitations
18     under the License.
19 -->
20 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
21   <!-- Apart from the exception - trapped first, these are in alphabetic order of
22        error code. -->
23   <xsl:template match="error">
24     <xsl:choose>
25       <xsl:when test="id='org.bedework.client.error.exc'"><!-- trap exceptions first -->
26         An exception occurred: <em><xsl:value-of select="param"/></em>
27       </xsl:when>
28       <xsl:when test="id='edu.rpi.sss.util.error.exc'">
29         An exception occurred: <em><xsl:value-of select="param"/></em>
30       </xsl:when>
31       <xsl:when test="id='org.bedework.exception.norecurrenceinstances'">
32         Event or task has no recurrence instances: <em><xsl:value-of select="param"/></em>
33       </xsl:when>
34
35       <!-- client.error messages generally do not quite constitute validation errors
36            which mostly involve changing a field content.
37            Usually when we flag a data error here, it is due to a bug in the xsl -->
38
39       <xsl:when test="id='org.bedework.client.error.admingroupassignedcs'">
40         Error: admin group is assigned to: <em><xsl:value-of select="param"/></em>
41       </xsl:when>
42       <xsl:when test="id='org.bedework.client.error.alreadymember'">
43         Error: already a member: <em><xsl:value-of select="param"/></em>
44       </xsl:when>
45       <xsl:when test="id='org.bedework.client.error.badinterval'">
46         Error: bad interval.
47       </xsl:when>
48       <xsl:when test="id='org.bedework.client.error.badintervalunit'">
49         Error: bad interval unit.
50       </xsl:when>
51       <xsl:when test="id='org.bedework.client.error.badrequest'">
52         Error: Bad request.
53       </xsl:when>
54       <xsl:when test="id='org.bedework.client.error.badschedulewhat'">
55         Error: Bad scheduling what parameter.
56       </xsl:when>
57       <xsl:when test="id='org.bedework.error.scheduling.baddestinationcalendar'">
58         Error: You must set a destination calendar
59       </xsl:when>
60       <xsl:when test="id='org.bedework.client.error.calsuitenotadded'">
61         Error: calendar suite not added.
62       </xsl:when>
63       <xsl:when test="id='org.bedework.client.error.cannotchangecalmode'">
64         Forbidden: you are not allowed to change the mode of the non-empty
65         collection <em><xsl:value-of select="param"/></em>.
66       </xsl:when>
67       <xsl:when test="id='org.bedework.client.error.cannotdeletehome'">
68         Forbidden: you are not allowed to delete your calendar home.
69         <em><xsl:value-of select="param"/></em>.
70       </xsl:when>
71       <xsl:when test="id='org.bedework.client.error.cannotmovehome'">
72         Forbidden: you are not allowed to move your calendar home. */
73         <em><xsl:value-of select="param"/></em>.
74       </xsl:when>
75       <xsl:when test="id='org.bedework.client.error.choosegroupsuppressed'">
76         Error: choose group is suppressed.  You cannot perform that action at this time.
77       </xsl:when>
78       <xsl:when test="id='org.bedework.client.error.duplicatecategory'">
79         Cannot add: the category already exists.
80       </xsl:when>
81       <xsl:when test="id='org.bedework.client.error.duplicatecontact'">
82         Cannot add: the contact already exists.
83       </xsl:when>
84       <xsl:when test="id='org.bedework.client.error.duplicategroup'">
85         Error: duplicate group.  <em><xsl:value-of select="param"/></em> already exists.
86       </xsl:when>
87       <xsl:when test="id='org.bedework.client.error.duplicatelocation'">
88         Cannot add: the location already exists.
89       </xsl:when>
90       <xsl:when test="id='org.bedework.client.error.duplicateuid'">
91           Duplicate uid: this event already exists in this calendar.
92       </xsl:when>
93       <xsl:when test="id='org.bedework.client.error.failed.overrides'">
94           Error: there were <xsl:value-of select="param"/> failed overrides.
95       </xsl:when>
96       <xsl:when test="id='org.bedework.client.error.mail.norecipient'">
97         Error: the email has no recipient.
98       </xsl:when>
99       <xsl:when test="id='org.bedework.client.error.missingcalendarpath'">
100         Error: missing calendar path.
101       </xsl:when>
102       <xsl:when test="id='org.bedework.client.error.missingeventkeyfields'">
103         Error: missing event key fields
104       </xsl:when>
105       <xsl:when test="id='org.bedework.client.error.missingfilename'">
106           You must supply a file name (required).
107       </xsl:when>
108       <xsl:when test="id='org.bedework.client.error.missingrequestpar'">
109           Missing request parameter: <em><xsl:value-of select="param"/></em>.
110       </xsl:when>
111       <xsl:when test="id='org.bedework.client.error.missingschedulewhat'">
112         Error: Missing scheduling what parameter.
113       </xsl:when>
114       <xsl:when test="id='org.bedework.client.error.multipleevents'">
115         System Error: Multiple events when one expected.
116       </xsl:when>
117       <xsl:when test="id='org.bedework.client.error.noaccess'">
118         Error: no access.
119       </xsl:when>
120       <xsl:when test="id='org.bedework.client.error.nocalsuiteaccess'">
121         Error: no access to calendar suite for group <em><xsl:value-of select="param"/></em>.
122       </xsl:when>
123       <xsl:when test="id='org.bedework.client.error.nodefaultview'">
124           No default view defined
125       </xsl:when>
126       <xsl:when test="id='org.bedework.client.error.norecurrenceinstances'">
127           There are no instances for this recurring event.
128       </xsl:when>
129       <xsl:when test="id='org.bedework.client.error.noschedulingaccess'">
130           You cannot schedule events with user <em><xsl:value-of select="param"/></em>.
131       </xsl:when>
132       <xsl:when test="id='org.bedework.client.error.ongrouppath'">
133         Error: group may not be added to itself.
134       </xsl:when>
135       <xsl:when test="id='org.bedework.client.error.onlyfrominbox'">
136         You can only respond from your inbox.
137       </xsl:when>
138       <xsl:when test="id='org.bedework.client.error.onlytoinbox'">
139         You can only reply to an inbox.
140       </xsl:when>
141       <xsl:when test="id='org.bedework.client.error.referenced.calendar'">
142         Cannot delete: the calendar is not empty.
143       </xsl:when>
144       <xsl:when test="id='org.bedework.client.error.referenced.category'">
145         Cannot delete: the category is referenced by events or collections.
146       </xsl:when>
147       <xsl:when test="id='org.bedework.client.error.referenced.contact'">
148         Cannot delete: the contact is referenced by events.
149       </xsl:when>
150       <xsl:when test="id='org.bedework.client.error.referenced.location'">
151         Cannot delete: the location is referenced by events.
152       </xsl:when>
153       <xsl:when test="id='org.bedework.client.error.referenced.subscription'">
154         Cannot delete: the subscription is included in view <em><xsl:value-of select="param"/></em>.<br/>
155         You must remove the subscription from this view before deleting.
156       </xsl:when>
157       <xsl:when test="id='org.bedework.error.timezones.readerror'">
158         Timzone error: could not read file.
159       </xsl:when>
160       <!-- things we cannot find -->
161       <xsl:when test="id='org.bedework.client.error.unknown.attendee'">
162           Unknown attendee <em><xsl:value-of select="param"/></em>
163       </xsl:when>
164       <xsl:when test="id='org.bedework.client.error.unknown.calendar'">
165         Not found: there is no calendar with the path <em><xsl:value-of select="param"/></em>.
166       </xsl:when>
167       <xsl:when test="id='org.bedework.client.error.unknown.calendarsuite'">
168         There is no calendar suite with the name <em><xsl:value-of select="param"/></em>.
169       </xsl:when>
170       <xsl:when test="id='org.bedework.client.error.unknown.calendartype'">
171         System error: there is no calendar with the type <em><xsl:value-of select="param"/></em>.
172       </xsl:when>
173       <xsl:when test="id='org.bedework.client.error.unknown.category'">
174         Not found: there is no category with the keyword <em><xsl:value-of select="param"/></em>.
175       </xsl:when>
176       <xsl:when test="id='org.bedework.client.error.unknown.contact'">
177         Not found: there is no contact <em><xsl:value-of select="param"/></em>.
178       </xsl:when>
179       <xsl:when test="id='org.bedework.client.error.unknown.event'">
180           Event <xsl:value-of select="param"/> does not exist.
181       </xsl:when>
182       <xsl:when test="id='org.bedework.client.error.unknown.group'">
183         Error: unknown group:  <em><xsl:value-of select="param"/></em>.
184       </xsl:when>
185       <xsl:when test="id='org.bedework.client.error.unknown.location'">
186         Not found: there is no location identified by the id <em><xsl:value-of select="param"/></em>.
187       </xsl:when>
188       <xsl:when test="id='org.bedework.client.error.unknown.subscription'">
189         Not found: there is no user identified by the name <em><xsl:value-of select="param"/></em>.
190       </xsl:when>
191       <xsl:when test="id='org.bedework.client.error.unknown.user'">
192         Not found: the user <em><xsl:value-of select="param"/></em> was not found.
193       </xsl:when>
194       <xsl:when test="id='org.bedework.client.error.unknown.userid'">
195         Not found: there is no user identified by the id <em><xsl:value-of select="param"/></em>.
196       </xsl:when>
197       <xsl:when test="id='org.bedework.client.error.unknown.view'">
198         Not found: there is no view identified by the name <em><xsl:value-of select="param"/></em>.
199       </xsl:when>
200
201       <xsl:when test="id='org.bedework.client.error.viewnotadded'">
202         Error: the view was not added.
203       </xsl:when>
204
205       <!-- icalendar translation errors -->
206       <xsl:when test="id='org.bedework.exception.ical.noguid'">
207         An event must have a UID property.
208       </xsl:when>
209
210       <!-- Validation errors mostly dealing with incorrect or missing field values
211            that are explicitly under user control -->
212
213       <xsl:when test="id='org.bedework.validation.error.expectoneattendee'">
214         You must supply exactly one attendee.
215       </xsl:when>
216       <xsl:when test="id='org.bedework.validation.error.invalid.how'">
217         Error: bad ACL request (bad how setting).
218       </xsl:when>
219       <xsl:when test="id='org.bedework.validation.error.invalid.whotype'">
220         Error: bad who type (user or group).
221       </xsl:when>
222       <xsl:when test="id='org.bedework.validation.error.invalid.attendee'">
223           The attendee uri is invalid
224       </xsl:when>
225       <xsl:when test="id='org.bedework.validation.error.invalid.date'">
226           Bad or out-of-range date.
227       </xsl:when>
228       <xsl:when test="id='org.bedework.validation.error.invalid.duration'">
229         <em>Invalid duration</em> - you may not have a zero-length duration
230         for an all day event.
231       </xsl:when>
232       <xsl:when test="id='org.bedework.validation.error.invalid.endtype'">
233         The endtype <em><xsl:value-of select="param"/></em> is invalid.
234       </xsl:when>
235       <xsl:when test="id='org.bedework.validation.error.invalid.organizer'">
236           The organizer uri is invalid
237       </xsl:when>
238       <xsl:when test="id='org.bedework.validation.error.invalid.invalidschedulingobject'">
239           Cannot change this into a scheduling message
240       </xsl:when>
241       <xsl:when test="id='org.bedework.validation.error.invalid.prefendtype'">
242         The preferred endtype <em><xsl:value-of select="param"/></em> is invalid.
243       </xsl:when>
244       <xsl:when test="id='org.bedework.validation.error.invalid.prefusermode'">
245         The preferred user mode <em><xsl:value-of select="param"/></em> is invalid.
246       </xsl:when>
247       <xsl:when test="id='org.bedework.validation.error.invalid.prefworkdayend'">
248         Error: invalid working days end: <em><xsl:value-of select="param"/></em>
249       </xsl:when>
250       <xsl:when test="id='org.bedework.validation.error.invalid.prefworkdays'">
251         Error: invalid working days: start after end
252       </xsl:when>
253       <xsl:when test="id='org.bedework.validation.error.invalid.prefworkdaystart'">
254         Error: invalid working days start: <em><xsl:value-of select="param"/></em>
255       </xsl:when>
256       <xsl:when test="id='org.bedework.validation.error.invalid.recipient'">
257           The recipient uri is invalid
258       </xsl:when>
259       <xsl:when test="id='org.bedework.validation.error.invalid.recurcount'">
260         Error: bad value for recurrence count: <em><xsl:value-of select="param"/></em>
261       </xsl:when>
262       <xsl:when test="id='org.bedework.validation.error.invalid.recurcountanduntil'">
263         Error: Cannot specify count and until for recurrence
264       </xsl:when>
265       <xsl:when test="id='org.bedework.validation.error.invalid.recurinterval'">
266         Error: bad value for recurrence interval: <em><xsl:value-of select="param"/></em>
267       </xsl:when>
268       <xsl:when test="id='org.bedework.validation.error.invalid.recurrule'">
269         Error: bad recurrence rule: <em><xsl:value-of select="param"/></em>
270       </xsl:when>
271       <xsl:when test="id='org.bedework.validation.error.invalid.recuruntil'">
272         Error: bad value for recurrence until: <em><xsl:value-of select="param"/></em>
273       </xsl:when>
274       <xsl:when test="id='org.bedework.validation.error.cannot.change.method'">
275         Error: you cannot change scheduling method
276       </xsl:when>
277       <xsl:when test="id='org.bedework.validation.error.insubmissionscalendar'">
278         To publish this event, you must move it to a public calendar.  Please select a different calendar.
279       </xsl:when>
280
281       <!-- Scheduling error codes are defined in CalfacadeException -->
282
283       <xsl:when test="id='org.bedework.error.scheduling.attendeeaccessdisallowed'">
284          Error: Access is disallowed to one or more attendees.
285       </xsl:when>
286
287       <xsl:when test="id='org.bedework.error.scheduling.badttendees'">
288          Error: Attendee bad
289       </xsl:when>
290
291       <xsl:when test="id='org.bedework.error.scheduling.badmethod'">
292         Error: bad scheduling method (should be request or publish).
293       </xsl:when>
294
295       <xsl:when test="id='org.bedework.error.scheduling.badresponsemethod'">
296         Error: bad scheduling method for response (should be request or publish).
297       </xsl:when>
298
299       <xsl:when test="id='org.bedework.error.scheduling.badsourcecalendar'">
300          Error: event is not in inbox
301       </xsl:when>
302
303       <xsl:when test="id='org.bedework.error.scheduling.duplicateuid'">
304          Error: Duplicate uid found in the target calendar
305       </xsl:when>
306
307       <xsl:when test="id='org.bedework.error.scheduling.expectoneattendee'">
308          Error: Expected exactly one attendee for reply
309       </xsl:when>
310
311       <xsl:when test="id='org.bedework.error.scheduling.invalidpartstatus'">
312         Error: bad scheduling participation status
313       </xsl:when>
314
315       <xsl:when test="id='org.bedework.error.scheduling.multipleevents'">
316          Error: Multiple events were found in the target calendar
317       </xsl:when>
318
319       <xsl:when test="id='org.bedework.error.scheduling.noattendees'">
320          Error: Entity required attendees but had none.
321       </xsl:when>
322
323       <xsl:when test="id='org.bedework.error.scheduling.noOriginator'">
324          Error: Entity required originator but had none.
325       </xsl:when>
326
327       <xsl:when test="id='org.bedework.error.scheduling.norecipients'">
328          Error: Entity required recipients but had none.
329       </xsl:when>
330
331       <xsl:when test="id='org.bedework.error.scheduling.notattendee'">
332          Error: You are not an attendee of this meeting.
333       </xsl:when>
334
335       <xsl:when test="id='org.bedework.error.scheduling.unknownattendee'">
336          Error: Attendee for reply not in event.
337       </xsl:when>
338
339       <xsl:when test="id='org.bedework.error.scheduling.unknownevent'">
340         Error: Unknown event - organizer possibly deleted it?
341       </xsl:when>
342
343       <!--         End of scheduling            -->
344
345       <!--             Filters            -->
346
347       <xsl:when test="id='org.bedework.client.error.badfilter'">
348         Error: invalid filter definition: <em><xsl:value-of select="param"/></em>
349       </xsl:when>
350       <xsl:when test="id='org.bedework.client.error.badvpath'">
351         Error: bad virtual path: <em><xsl:value-of select="param"/></em>
352       </xsl:when>
353       <xsl:when test="id='org.bedework.client.error.unknown.filter'">
354         Error: unknown filter:  <em><xsl:value-of select="param"/></em>.
355       </xsl:when>
356       <xsl:when test="id='org.bedework.exception.filter.unexpected.eof'">
357         Filter error: Unexpected eof while parsing
358       </xsl:when>
359       <xsl:when test="id='org.bedework.exception.filter.expected.word'">
360         Filter error: expected a word found <em><xsl:value-of select="param"/></em>.
361       </xsl:when>
362       <xsl:when test="id='org.bedework.exception.filter.expected.openparen'">
363         Filter error: expected open paren
364       </xsl:when>
365       <xsl:when test="id='org.bedework.exception.filter.mixedlogicaloperators'">
366         Filter error: Cannot mix logical operators
367       </xsl:when>
368       <xsl:when test="id='org.bedework.exception.unknown.property'">
369         Filter error: unknown property <em><xsl:value-of select="param"/></em>.
370       </xsl:when>
371       <xsl:when test="id='org.bedework.exception.filter.badproperty'">
372         Filter error: Bad property value <em><xsl:value-of select="param"/></em>.
373       </xsl:when>
374       <xsl:when test="id='org.bedework.exception.filter.badoperator'">
375         Filter error: Bad operator <em><xsl:value-of select="param"/></em>.
376       </xsl:when>
377       <xsl:when test="id='org.bedework.exception.filter.syntax'">
378         Filter error: Syntax error
379       </xsl:when>
380       <xsl:when test="id='org.bedework.exception.filter.typeneedsand'">
381         Filter error: Type requires andop
382       </xsl:when>
383       <xsl:when test="id='org.bedework.exception.filter.badtype'">
384         Filter error: Bad type value <em><xsl:value-of select="param"/></em>.
385       </xsl:when>
386       <xsl:when test="id='org.bedework.exception.filter.typefirst'">
387         Filter error: Type must come first
388       </xsl:when>
389
390       <!--         End of filters            -->
391
392       <!-- Other error codes defined in CalfacadeException -->
393
394       <xsl:when test="id='org.bedework.exception.duplicatecalendar'">
395          Error: Duplicate calendar: <em><xsl:value-of select="param"/></em>
396       </xsl:when>
397
398       <xsl:when test="id='org.bedework.validation.error.invalid.status'">
399         Error: Invalid status: <em><xsl:value-of select="param"/></em>
400       </xsl:when>
401       <xsl:when test="id='org.bedework.validation.error.invalid.transparency'">
402         Error: Invalid transparency: <em><xsl:value-of select="param"/></em>
403       </xsl:when>
404       <xsl:when test="id='org.bedework.validation.error.invalid.user'">
405         Error: Invalid user: <em><xsl:value-of select="param"/></em>
406       </xsl:when>
407
408       <xsl:when test="id='org.bedework.validation.error.missinghow'">
409         Error: missing how.
410       </xsl:when>
411
412       <xsl:when test="id='org.bedework.validation.error.missingwho'">
413         Error: missing who (principal name).
414       </xsl:when>
415
416       <xsl:when test="id='org.bedework.validation.error.missingaddress'">
417         Your information is incomplete: please supply an address.
418       </xsl:when>
419
420       <xsl:when test="id='org.bedework.validation.error.missingcalendar'">
421         Your information is incomplete: please supply a calendar.
422       </xsl:when>
423
424       <xsl:when test="id='org.bedework.validation.error.missingtopicalarea'">
425         Your information is incomplete: please supply at least one topical area.
426       </xsl:when>
427
428       <xsl:when test="id='org.bedework.validation.error.missingcalendarpath'">
429         Your information is incomplete: please supply a calendar path.
430       </xsl:when>
431
432       <xsl:when test="id='org.bedework.validation.error.missingcalsuitecalendar'">
433         Your information is incomplete: please supply a root calendar path.
434       </xsl:when>
435
436       <xsl:when test="id='org.bedework.validation.error.missingcategorykeyword'">
437         Your information is incomplete: please supply a category keyword.
438       </xsl:when>
439
440       <xsl:when test="id='org.bedework.validation.error.missingcontact'">
441         Your information is incomplete: please supply a contact.
442       </xsl:when>
443
444       <xsl:when test="id='org.bedework.validation.error.missingcontactname'">
445         You must enter a contact <em>name</em>.
446       </xsl:when>
447
448       <xsl:when test="id='org.bedework.validation.error.missingdescription'">
449         Your information is incomplete: please supply a description.
450       </xsl:when>
451
452       <xsl:when test="id='org.bedework.validation.error.missingeventowner'">
453         Your information is incomplete: please supply an event owner.
454       </xsl:when>
455
456       <xsl:when test="id='org.bedework.validation.error.missingfilterdef'">
457         Your information is incomplete: please supply a filter definition.
458       </xsl:when>
459
460       <xsl:when test="id='org.bedework.validation.error.missinggroupname'">
461         Your information is incomplete: please supply a group name.
462       </xsl:when>
463
464       <xsl:when test="id='org.bedework.validation.error.missinggroupowner'">
465         Your information is incomplete: please supply a group owner.
466       </xsl:when>
467
468       <xsl:when test="id='org.bedework.validation.error.missinglocation'">
469         Your information is incomplete: please supply a location.
470       </xsl:when>
471
472       <xsl:when test="id='org.bedework.validation.error.missingname'">
473         Your information is incomplete: please supply a name.
474       </xsl:when>
475
476       <xsl:when test="id='org.bedework.validation.error.missingorganizer'">
477         Your event is missing the organizer
478       </xsl:when>
479
480       <xsl:when test="id='org.bedework.validation.error.missingoriginator'">
481         Your event is missing the originator
482       </xsl:when>
483
484       <xsl:when test="id='org.bedework.validation.error.missingrecipients'">
485         You must supply a recipient.
486       </xsl:when>
487
488       <xsl:when test="id='org.bedework.validation.error.missingsubscriptionid'">
489         Your information is incomplete: please supply a subscription id.
490       </xsl:when>
491
492       <xsl:when test="id='org.bedework.exception.duplicatesubscription'">
493         Error: duplicate subscription.
494       </xsl:when>
495
496       <xsl:when test="id='org.bedework.validation.error.missingtitle'">
497         Your information is incomplete: please supply a title.
498       </xsl:when>
499
500       <xsl:when test="id='org.bedework.validation.error.missingsuburi'">
501         Your information is incomplete: please supply a uri for the subscription.
502       </xsl:when>
503
504       <xsl:when test="id='org.bedework.validation.error.startafterend'">
505         The <em>end date</em> occurs before the <em>start date</em>.
506       </xsl:when>
507
508       <xsl:when test="id='org.bedework.validation.error.toolong.description'">
509         Your description is too long.  Please limit your entry to
510           characters.  You may also wish to
511           point the event entry at a supplemental web page by entering a <em>URL</em>.
512       </xsl:when>
513
514       <xsl:when test="id='org.bedework.validation.error.toolong.name'">
515         Your name is too long.  Please limit your entry to
516       </xsl:when>
517
518       <xsl:when test="id='org.bedework.validation.error.toolong.summary'">
519         Your summary is too long.  Please limit your entry to
520           characters.  You may also wish to
521           point the event entry at a supplemental web page by entering a <em>URL</em>.
522       </xsl:when>
523       <xsl:otherwise>
524         <xsl:value-of select="id"/> = <xsl:value-of select="param"/>
525       </xsl:otherwise>
526     </xsl:choose>
527   </xsl:template>
528 </xsl:stylesheet>
529
Note: See TracBrowser for help on using the browser.