root/releases/bedework-3.7/deployment/webuser/webapp/resources/demoskins/de_DE/localeSettings.xsl

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

personal client: prepare scheduling tab for internationalization

  • Property svn:mime-type set to text/plain
Line 
1 <!--
2     Licensed to Jasig under one or more contributor license
3     agreements. See the NOTICE file distributed with this work
4     for additional information regarding copyright ownership.
5     Jasig licenses this file to you under the Apache License,
6     Version 2.0 (the "License"); you may not use this file
7     except in compliance with the License. You may obtain a
8     copy of the License at:
9    
10     http://www.apache.org/licenses/LICENSE-2.0
11    
12     Unless required by applicable law or agreed to in writing,
13     software distributed under the License is distributed on
14     an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15     KIND, either express or implied. See the License for the
16     specific language governing permissions and limitations
17     under the License.
18 -->
19 <xsl:stylesheet
20   version="1.0"
21   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22   xmlns="http://www.w3.org/1999/xhtml">
23
24   <!-- LOCALE SETTINGS -->
25   <!-- A place for javascript strings and locale specific javascript overrides -->
26
27   <!-- Set up the datepicker defaults -->
28   <!-- For futher configuration, see http://docs.jquery.com/UI/Datepicker -->
29   <xsl:template name="jqueryDatepickerDefaults">
30    
31     <!-- pull in the localization strings and defaults. -->
32     <script type="text/javascript" src="/bedework-common/javascript/jquery/lang-datepicker/jquery.ui.datepicker-de.js">&#160;</script>
33
34     <!-- Bedework datepicker defaults.  You can include further overrides to regionalization here. -->
35     <script type="text/javascript">
36       <xsl:comment>
37       $.datepicker.setDefaults({
38         constrainInput: true,
39         dateFormat: "yy-mm-dd",
40         showOn: "both",
41         buttonImage: "<xsl:value-of select='$resourcesRoot'/>/images/calIcon.gif",
42         buttonImageOnly: true,
43         gotoCurrent: true,
44         duration: ""
45       });
46       </xsl:comment>
47     </script>
48    
49   </xsl:template>
50    
51   <!-- Declare the JavaScript scheduling strings. -->
52   <!-- These are for display and can be translated. -->
53   <xsl:template name="bedeworkSchedulingStrings">
54     <script type="text/javascript">
55                         var bwAttendeeDispRoleChair = "chair";
56                         var bwAttendeeDispRoleRequired = "required participant";
57                         var bwAttendeeDispRoleOptional = "optional participant";
58                         var bwAttendeeDispRoleNonParticipant = "non-participant";
59                         var bwAttendeeDispStatusNeedsAction = "needs action";
60                         var bwAttendeeDispStatusAccepted = "accepted";
61                         var bwAttendeeDispStatusDeclined = "declined";
62                         var bwAttendeeDispStatusTentative = "tentative";
63                         var bwAttendeeDispStatusDelegated = "delegated";
64                         var bwAttendeeDispStatusCompleted = "completed";
65                         var bwAttendeeDispStatusInProcess = "in-process";
66                         var bwAttendeeDispTypePerson = "person";
67                         var bwAttendeeDispTypeLocation = "location";
68                         var bwAttendeeDispTypeResource = "resource";
69                        
70                         var bwAttendeeDispGridAllAttendees = "Alle Teilnehmer";
71                        
72                         var bwFreeBusyDispTypeBusy = "BUSY";
73                         var bwFreeBusyDispTypeTentative = "TENTATIVE";
74                         var bwAddAttendeeDisp = "add attendee...";
75                         var bwAddDisp = "add";
76                         var bwAttendeeExistsDisp = "attendee exists";
77                         var bwAddAttendeeRoleDisp = "Role:";
78                         var bwAddAttendeeTypeDisp = "Type:";
79                         var bwAddAttendeeBookDisp = "Book:";
80                         var bwEventSubmitMeetingDisp = "send";
81                         var bwEventSubmitDisp = "save";
82                        
83                         var bwReqParticipantDisp = "required";
84                         var bwOptParticipantDisp = "optional";
85                         var bwChairDisp = "chair";
86                        
87                         var bwErrorAttendees = "Error: attendees not returned";
88      
89     </script>
90   </xsl:template>
91  
92   <!-- Declare the JavaScript access control strings. -->
93   <!-- These are for display and can be translated. -->
94   <xsl:template name="bedeworkAccessStrings">
95     <script type="text/javascript">
96     </script>
97   </xsl:template>
98  
99 </xsl:stylesheet>
Note: See TracBrowser for help on using the browser.