Changeset 2526

Show
Ignore:
Timestamp:
12/22/09 00:19:52
Author:
johnsa
Message:

public client: further work on internationalization

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/strings.xsl

    r2518 r2526  
    102102  <xsl:variable name="bwStr-SgEv-Start">Start:</xsl:variable> 
    103103  <xsl:variable name="bwStr-SgEv-End">End:</xsl:variable> 
     104  <xsl:variable name="bwStr-SgEv-DueBy">Due By</xsl:variable> 
    104105  <xsl:variable name="bwStr-SgEv-AddToMyCalendar">add to my calendar</xsl:variable> 
    105106  <xsl:variable name="bwStr-SgEv-AddEventToMyCalendar">Add to MyCalendar</xsl:variable> 
     
    138139  <xsl:variable name="bwStr-LsVw-NoTitle">no title</xsl:variable> 
    139140  <xsl:variable name="bwStr-LsVw-Contact">Contact:</xsl:variable> 
     141  <xsl:variable name="bwStr-LsVw-DispEventsForCal">Displaying Events for Calendar</xsl:variable> 
     142  <xsl:variable name="bwStr-LsVw-DispEventsForView">Displaying Events for View</xsl:variable> 
     143  <xsl:variable name="bwStr-LsVw-ShowAll">(show all)</xsl:variable> 
     144  <xsl:variable name="bwStr-LsVw-TopicalArea">Topical Areas:</xsl:variable> 
     145  <xsl:variable name="bwStr-LsVw-Location">Location:</xsl:variable> 
     146  <xsl:variable name="bwStr-LsVw-Cost">Cost:</xsl:variable> 
     147  <xsl:variable name="bwStr-LsVw-Description">Description:</xsl:variable> 
     148  <xsl:variable name="bwStr-LsVw-Link">Link:</xsl:variable> 
    140149 
    141150  <!--  xsl:template match="events" mode="eventList" --> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/deadlines.xsl

    r2518 r2526  
    5454          <xsl:copy-of select="$bwStr-SgEv-NoTitle" /> 
    5555        </xsl:if> 
    56       </a> 
    57       , Due By 
     56      </a>, <xsl:copy-of select="$bwStr-SgEv-DueBy" /> 
    5857      <xsl:text> </xsl:text> 
    5958      <xsl:value-of select="end/shortdate" /> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/eventList.xsl

    r2517 r2526  
    1717          <tr> 
    1818            <td class="eventFilterInfo" colspan="3"> 
    19               Displaying Events for Calendar 
     19              <xsl:copy-of select="$bwStr-LsVw-DispEventsForCal"/> 
    2020              <span class="displayFilterName"> 
    2121                <xsl:call-template name="substring-afterLastInstanceOf"> 
     
    2424                </xsl:call-template> 
    2525              </span><xsl:text> </xsl:text> 
    26               <a id="allView" href="{$setSelection}">(show all)</a></td> 
     26              <a id="allView" href="{$setSelection}"><xsl:copy-of select="$bwStr-LsVw-ShowAll"/></a></td> 
    2727          </tr> 
    2828        </xsl:when> 
     
    3030          <tr> 
    3131            <td class="eventFilterInfo" colspan="3"> 
    32               Displaying Events for View 
     32              <xsl:copy-of select="$bwStr-LsVw-DispEventsForView"/> 
    3333              <span class="displayFilterName"> 
    3434                <xsl:value-of select="/bedework/selectionState/view/name"/> 
    3535              </span><xsl:text> </xsl:text> 
    36             <a id="allView" href="setSelection.do?b=de{$allGroupsAppVar}">(show all)</a></td> 
     36            <a id="allView" href="setSelection.do?b=de{$allGroupsAppVar}"><xsl:copy-of select="$bwStr-LsVw-ShowAll"/></a></td> 
    3737          </tr> 
    3838        </xsl:when> 
     
    187187 
    188188            <a href="http://www.google.com/calendar/event?action=TEMPLATE&amp;dates={$gStartdate}/{$gEnddate}&amp;text={$gText}&amp;details={$gDetails}&amp;location={$gLocation}"> 
    189               <img title="Add to Google Calendar" src="{$resourcesRoot}/images/gcal_small.gif" alt="Add to Google Calendar"/> 
     189              <img title="{$bwStr-SgEv-AddToGoogleCalendar}" src="{$resourcesRoot}/images/gcal_small.gif" alt="Add to Google Calendar"/> 
    190190            </a> 
    191191            <xsl:choose> 
    192192              <xsl:when test="string-length($recurrenceId)"> 
    193                 <a href="http://www.facebook.com/share.php?u=http://calendar.duke.edu/feed/event/cal/html/Public/{$recurrenceId}/{$guidEsc}"><img title="Add to Facebook" src="{$resourcesRoot}/images/Facebook_Badge_small.gif" alt="Add to Facebook"/></a> 
     193                <a href="http://www.facebook.com/share.php?u=http://calendar.duke.edu/feed/event/cal/html/Public/{$recurrenceId}/{$guidEsc}" title="{$bwStr-SgEv-AddToFacebook}"> 
     194                  <img title="Add to Facebook" src="{$resourcesRoot}/images/Facebook_Badge_small.gif" alt="{$bwStr-SgEv-AddToFacebook}"/> 
     195                </a> 
    194196              </xsl:when> 
    195197              <xsl:otherwise> 
    196                 <a href="http://www.facebook.com/share.php?u=http://calendar.duke.edu/feed/event/cal/html/Public/0/{$guidEsc}"><img title="Add to Facebook" src="{$resourcesRoot}/images/Facebook_Badge_small.gif" alt="Add to Facebook"/></a> 
     198                <a href="http://www.facebook.com/share.php?u=http://calendar.duke.edu/feed/event/cal/html/Public/0/{$guidEsc}" title="{$bwStr-SgEv-AddToFacebook}"> 
     199                  <img title="Add to Facebook" src="{$resourcesRoot}/images/Facebook_Badge_small.gif" alt="{$bwStr-SgEv-AddToFacebook}"/> 
     200                </a> 
    197201              </xsl:otherwise> 
    198202            </xsl:choose> 
     
    201205            </a> 
    202206            <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    203             <a href="{$export}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download .ics file for import to other calendars"> 
    204               <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" alt="Download event                       as ical - for Outlook, PDAs, iCal,                       and other desktop                       calendars"/> 
     207            <a href="{$export}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="{$bwStr-SgEv-Download}"> 
     208              <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" alt="{$bwStr-SgEv-Download}"/> 
    205209            </a> 
    206210          </span> 
     
    221225            <xsl:if test="location/address != ''"> 
    222226              <li> 
    223                 Location:<xsl:text> </xsl:text> 
     227                <xsl:copy-of select="$bwStr-LsVw-Location"/><xsl:text> </xsl:text> 
    224228                <xsl:value-of select="location/address"/> 
    225229                <xsl:if test="location/subaddress != ''"> 
     
    231235            <xsl:if test="cost!=''"> 
    232236              <li> 
    233                 Cost:<xsl:text> </xsl:text> 
     237                <xsl:copy-of select="$bwStr-LsVw-Cost"/><xsl:text> </xsl:text> 
    234238                <xsl:value-of select="cost"/> 
    235239              </li> 
     
    244248 
    245249            <li> 
    246               Description:<xsl:text> </xsl:text> 
     250              <xsl:copy-of select="$bwStr-LsVw-Description"/><xsl:text> </xsl:text> 
    247251              <xsl:value-of select="description"/> 
    248252            </li> 
     
    250254            <xsl:if test="link != ''"> 
    251255              <li> 
    252                 Link:<xsl:text> </xsl:text> 
     256                <xsl:copy-of select="$bwStr-LsVw-Link"/><xsl:text> </xsl:text> 
    253257                <a> 
    254258                  <xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute> 
     
    260264            <xsl:if test="xproperties/X-BEDEWORK-ALIAS"> 
    261265              <li> 
    262                 Topical Areas:<xsl:text> </xsl:text> 
     266                <xsl:copy-of select="$bwStr-LsVw-TopicalArea"/><xsl:text> </xsl:text> 
    263267                <span class="eventSubscription"> 
    264268                  <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 
     
    277281 
    278282            <li> 
    279               Location:<xsl:text> </xsl:text> 
     283              <xsl:copy-of select="$bwStr-LsVw-Location"/><xsl:text> </xsl:text> 
    280284              <xsl:value-of select="location/address" /> 
    281285            </li> 
     
    283287            <xsl:if test="xproperties/X-BEDEWORK-ALIAS"> 
    284288              <li> 
    285                 Topical Areas:<xsl:text> </xsl:text> 
     289                <xsl:copy-of select="$bwStr-TopicalArea"/><xsl:text> </xsl:text> 
    286290                <span class="eventSubscription"> 
    287291                  <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/groups.xsl

    r2511 r2526  
    33  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
    44  xmlns="http://www.w3.org/1999/xhtml"> 
     5 
     6  <!-- not in use --> 
    57 
    68  <!-- Groups List -->