r13435 - Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets

"Matt Barkau" <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: rmattb
Date: Tue Jan 25 05:23:14 2011
New Revision: 13435

Modified:
   Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/keyword.pt
Log:
i18n for help text in separate hidden dom elements.  Refs #11017.

Modified: Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/keyword.pt
==============================================================================
--- Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/keyword.pt	(original)
+++ Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/keyword.pt	Tue Jan 25 05:23:14 2011
@@ -42,7 +42,7 @@
                                         Select from existing tags. 
                                     </span>
                                 </dt>
-                                <span id="existingTagsHelp" class="formHelp">
+                                <span id="existingTagsHelp" class="formHelp" i18n:translate="label_existingTagsHelp">
                                     Use Control/Command/Shift keys to select multiple tags.
                                     <tal:comment tal:replace="nothing">
                                         Type-to-skip functionality with javascipt enabled 
@@ -74,8 +74,8 @@
                             <tal:comment tal:replace="nothing">
                                 These spans are hidden by css, and used by the JavaScript called below.
                             </tal:comment>
-                            <span id="noTagsSelected">No tags currently selected.</span>
-                            <span id="oneOrMoreTagsSelected">% tags currently selected.</span>
+                            <span id="noTagsSelected" i18n:translate="label_noTagsSelected">No tags currently selected.</span>
+                            <span id="oneOrMoreTagsSelected" i18n:translate="label_oneOrMoreTagsSelected">% tags currently selected.</span>
                             <tal:comment tal:replace="nothing">
                                 Call js to modify this widget with both a scrollbar and checkboxes.
                                 There may be a better place to put this js call; 

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.