[jboss-cvs] jboss-seam/examples/wiki/view/themes/default ...

Christian Bauer christian at hibernate.org
Fri Oct 12 12:31:27 EDT 2007


  User: cbauer  
  Date: 07/10/12 12:31:27

  Modified:    examples/wiki/view/themes/default  template.xhtml
  Log:
  Internationalized almost all strings
  
  Revision  Changes    Path
  1.38      +7 -4      jboss-seam/examples/wiki/view/themes/default/template.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: template.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/themes/default/template.xhtml,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -b -r1.37 -r1.38
  --- template.xhtml	1 Oct 2007 19:08:08 -0000	1.37
  +++ template.xhtml	12 Oct 2007 16:31:27 -0000	1.38
  @@ -66,7 +66,7 @@
   
           var fadeInPopupDialog = function(hash) {
               hash.w.fadeIn('fast',function(){ hash.o.show(); });
  -            jQuery(".closeDialog", hash.w).attr("accesskey", "C"); // Dynamically assign accesskey to .closeDialog buttons
  +            jQuery(".closeDialog", hash.w).attr("accesskey", "#{messages['lacewiki.button.Cancel.accesskey']}"); // Dynamically assign accesskey to .closeDialog buttons
           };
   
           var fadeOutPopupDialog = function(hash) { hash.w.fadeOut('fast',function(){ hash.o.remove(); }); };
  @@ -224,8 +224,11 @@
                                    styleClass="workspaceSwitcherCombobox">
                       <f:selectItems value="#{switcher.selectItems}"/>
                   </h:selectOneMenu>
  -                <h:commandLink action="#{switcher.select}" accesskey="W"
  -                             styleClass="linkNavigation">Switch <u>W</u>orkspace</h:commandLink>
  +                <h:commandLink action="#{switcher.select}"
  +                               accesskey="#{messages['lacewiki.button.SwitchWorkspace.accesskey']}"
  +                             styleClass="linkNavigation">
  +                    <h:outputText escape="false" value="#{messages['lacewiki.button.SwitchWorkspace']}"/>
  +                </h:commandLink>
   
               </h:form><ui:insert name="controlTwo"/></div>
       </s:div>
  @@ -242,7 +245,7 @@
                   <s:div styleClass="feeds">
                       <h:outputLink value="#{facesContext.externalContext.request.contextPath}/servlets/feeds/atom.seam?feedId=#{wikiRoot.feed.id}">
                           <h:graphicImage value="/themes/#{wikiPreferences.themeName}/img/icon.atom.gif" width="18" height="18"/>
  -                        <span class="feedText">Subscribe to site</span>
  +                        <span class="feedText">#{messages['lacewiki.button.SiteFeed']}</span>
                       </h:outputLink>
                   </s:div>
               </ui:define>
  
  
  



More information about the jboss-cvs-commits mailing list