Changeset 477


Ignore:
Timestamp:
07/18/06 17:18:06 (13 years ago)
Author:
tarmo
Message:

Improvements and optimizations to i18n strings.
Closes #524, spent 2h.

Location:
trunk/skins
Files:
1 deleted
33 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/TODO.pt

    r469 r477  
    99<div metal:fill-slot="main"> 
    1010 
    11 <h1 i18n:translate="">Sorry... we are still working on LeMill</h1> 
    12  
    13 <p i18n:translate="">You have reached a page that do not exist yet. We are still working on LeMill and 
    14 this feature will be added in next versions.</p> 
    15  
    16 <p i18n:translate="">For now you have to go back to <a i18n:name="previouspage" href="javascript:history.back()">previous page</a>.</p> 
    17  
     11<h1 i18n:translate="heading_todo">Sorry... we are still working on LeMill</h1> 
     12<p i18n:translate="text_todo">You have reached a page that do not exist yet. We are still working on LeMill and this feature will be added in next versions. For now you have to go back to <a i18n:name="previouspage" i18n:translate="text_previous_page" href="javascript:history.back()">previous page</a>.</p> 
    1813</div> 
    1914 
  • trunk/skins/lemill/base_metadata.cpt

    r473 r477  
    6363                      tal:omit-tag="">Item type</span> 
    6464            </span> 
    65             (2) 
    6665        </span> 
    6766    </h1> 
  • trunk/skins/lemill/collections_list.pt

    r460 r477  
    1414<h1 i18n:translate="heading_collections">Collections</h1> 
    1515           
    16 <p i18n:translate="">Found <span i18n:name="amount" tal:replace="python:len(collections)"></span> collection(s):</p> 
     16<p i18n:translate="text_found_n_collections">Found <span i18n:name="amount" tal:replace="python:len(collections)"></span> collection(s)<tal:block i18n:name="that_match" i18n:translate="snippet_that_contain_resource" tal:condition="exists:request/obj_id"> that contain the requested resource</tal:block>:</p> 
    1717 
    18 <div i18n:translate="" tal:condition="exists:request/obj_id">That contain specific material</div> 
    1918<div tal:repeat="collection collections"> 
    2019    <p><a href="" 
    2120        tal:attributes="href collection/absolute_url" 
    2221        tal:content="collection/Title"></a><br /> 
    23     <tal:block i18n:translate="">Contains <span i18n:name="amount" tal:replace="collection/getItemCount"></span> item(s)</tal:block><br /> 
     22    <tal:block i18n:translate="text_contains_n_items">Contains <span i18n:name="amount" tal:replace="collection/getItemCount"></span> item(s)</tal:block><br /> 
    2423    <span tal:content="collection/Description"></span></p> 
    2524</div> 
  • trunk/skins/lemill/document_byline.pt

    r470 r477  
    11<div metal:define-macro="byline" 
    2      i18n:domain="lemill" 
     2     i18n:domain="plone" 
    33     tal:condition="python: site_properties.allowAnonymousViewAbout or not isAnon" 
    44     tal:define="creators here/getAuthors | nothing;"> 
     
    1515 
    1616        <tal:name tal:condition="python:creators and wf_state!='draft'"> 
    17           <span i18n:translate="label_by_author">by</span> 
    18       <tal:block tal:repeat="creator creators"> 
     17          <tal:block i18n:domain="lemill" i18n:translate="label_by_authors">by 
     18      <tal:block i18n:name="authors" tal:repeat="creator creators"> 
    1919           <a href="#" 
    2020             tal:define="author python:here.getMember(creator)" 
     
    2525            PLACEHOLDER</a><tal:block tal:condition="not:repeat/creator/end">,</tal:block> 
    2626          </tal:block> 
     27    </tal:block> 
    2728 
    2829          &mdash; 
     
    3031        </tal:name> 
    3132 
    32         <span i18n:translate="box_last_modified"> 
     33        <tal:block i18n:domain="lemill" i18n:translate="text_last_modified_at"> 
    3334        last modified 
    34         </span> 
    35         <span tal:replace="python:here.toLocalizedTime(here.ModificationDate(),long_format=1)"> 
    36         August 16, 2001 at 23:35:59 
    37         </span> 
     35        <tal:block i18n:name="timestamp" tal:replace="python:here.toLocalizedTime(here.ModificationDate(),long_format=1)"> 
     36        August 16, 2001 at 23:35:59</tal:block> 
     37        </tal:block> 
    3838 
    3939        <span class="state-expired" 
  • trunk/skins/lemill/footer.pt

    r474 r477  
    22      i18n:domain="lemill"> 
    33<body> 
    4  
    5 <div metal:define-macro="portal_footer" i18n:domain="lemill"> 
     4<div metal:define-macro="portal_footer"> 
    65<table id="tb-portal-footer" summary="Footer" width="760"  border="0" align="center" cellpadding="4" cellspacing="0"> 
    76    <tr> 
     
    98        <p> 
    109    <span i18n:translate="description_copyright" tal:omit-tag=""> 
    11     <span i18n:name="plonecms"> 
    12         <a href="http://lemill.org" i18n:translate="label_plone_cms">LeMill</a> 
     10    <span i18n:name="lemill"> 
     11        <a href="http://lemill.org">LeMill</a> 
    1312    </span> 
    1413    is Copyright 
    1514    <acronym title="Copyright" i18n:name="copyright" i18n:attributes="title title_copyright;">&copy;</acronym> 
    16     2005-<span i18n:name="current_year"  
    17                tal:define="now modules/DateTime/DateTime"  
     15    2005-<span i18n:name="current_year" 
     16               tal:define="now modules/DateTime/DateTime" 
    1817               tal:content="now/year" /> 
    19     by the  
    20     <span i18n:name="plonefoundation">The LeMill Team.</span> 
     18    by the 
     19    <span i18n:name="lemill_team">LeMill Team</span>. 
    2120    </span> 
    22  
    23     <span i18n:translate="description_license"> 
     21    <span i18n:domain="plone" i18n:translate="description_license"> 
    2422    Distributed under the  
    2523        <span i18n:name="license"> 
     
    2826    </span> 
    2927</p> 
    30             <p><a i18n:translate="label_xhtml" href="http://validator.w3.org/check/referer">XHTML</a> - <a i18n:translate="label_css" href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></p> 
     28<p i18n:translate="description_validity">This page is valid <a i18n:name="xhtml" href="http://validator.w3.org/check/referer">XHTML</a> and <a i18n:name="css" href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></p> 
    3129        </td> 
    3230    </tr> 
     
    3533</div> 
    3634 
    37 </body> 
    38 </html> 
     35</body></html> 
  • trunk/skins/lemill/global_contentmenu.pt

    r470 r477  
    11<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" 
    2       i18n:domain="lemill"> 
     2      i18n:domain="plone"> 
    33 
    44<body> 
  • trunk/skins/lemill/group_create.cpt

    r473 r477  
    5252                <br/> 
    5353                <label for="description" i18n:translate="label_description">Description</label> 
    54                 <div class="formHelp" id="description_help" i18n:translate="description_help">Short declaration of purpose for this group</div> 
     54                <div class="formHelp" id="description_help" i18n:translate="description_help">Short declaration of purpose for the group</div> 
    5555                <textarea name="description" id="description" rows="6" cols="35"  
    5656                        tal:attributes="tabindex tabindex/next"></textarea> 
    5757                <br/> 
    5858                <label for="tags" i18n:translate="label_tags">Tags</label> 
    59                 <div class="formHelp" id="tags_help" i18n:translate="tags_help">Tags are keywords that help other people to find this group. You can add and modify them later. Separate tags with comma. Example: 'math, drawing'</div> 
     59                <div class="formHelp" id="tags_help" i18n:translate="help_group_tags_create">Tags are keywords that help other people find this group. You can add and modify them later. Separate tags with comma. Example: 'math, drawing'.</div> 
    6060                <input type="text" 
    6161                    name="tags" 
     
    7474                  name="form.button.Submit" 
    7575                  value="Create" 
    76                   i18n:attributes="value label_save;" 
     76                  i18n:attributes="value label_create;" 
    7777                  tal:attributes="tabindex tabindex/next" 
    7878                  /> 
  • trunk/skins/lemill/group_create_edit_script.cpy

    r315 r477  
    1111 
    1212REQUEST=context.REQUEST 
    13 msg = 'No change has been done.' 
     13msg = context.translate('No change has been done.') 
    1414userName = context.portal_membership.getAuthenticatedMember().getUserName() 
    1515 
     
    2323else: 
    2424    group=context.portal_groups.getGroupById(groupname) 
    25     msg = 'Changes saved.' 
     25    msg = context.translate('Changes saved.') 
    2626 
    2727processed={} 
     
    3535        try: 
    3636            group.addMember(userName) 
    37             msg = msg + "You are now member in this group." 
     37            msg = msg + context.translate("You are now member in this group.") 
    3838        except: 
    3939            #probably this is just admin trying to put himself into a group, but couldn't be found from plone's acl_users. 
  • trunk/skins/lemill/group_edit.cpt

    r473 r477  
    6060                <br />                
    6161                <label for="tags" i18n:translate="label_tags">Tags</label> 
    62                 <div class="formHelp" id="tags_help" i18n:translate="tags_help">Tags are keywords that help other people to find this group. Separate tags with commas.</div> 
     62                <div class="formHelp" id="tags_help" i18n:translate="help_group_tags">Tags are keywords that help other people find this group. Separate tags with commas.</div> 
    6363                <textarea name="tags" id="tags" rows="6" cols="35"  
    6464                        tal:attributes="tabindex tabindex/next" tal:content="grouptags"></textarea> 
  • trunk/skins/lemill/history_view.cpt

    r473 r477  
    66 
    77    <div metal:fill-slot="main" style="width:100%" i18n:domain="lemill"> 
    8         <h1 class="documentFirstHeading"><tal:block tal:content="object_title">PLACEHOLDER</tal:block> - <tal:block i18n:translate="">All versions</tal:block> 
     8        <h1 class="documentFirstHeading" i18n:translate="heading_all_versions">All versions for <tal:block i18n:name="title" tal:content="object_title">PLACEHOLDER</tal:block> 
    99        </h1> 
    1010 
  • trunk/skins/lemill/imageselection.pt

    r470 r477  
    3737                                tal:attributes="value item;" 
    3838                                                tal:content="python:context.getImageName(vocab.getValue(item))" 
    39                                 i18n:translate="" 
    4039                                /> 
    4140                    </select> 
  • trunk/skins/lemill/join_form.cpt

    r474 r477  
    22      lang="en" 
    33      metal:use-macro="here/main_template/macros/master" 
    4       i18n:domain="lemill"> 
     4      i18n:domain="plone"> 
    55 
    66<head> 
  • trunk/skins/lemill/lemill_ask_publish.pt

    r469 r477  
    108108<h1 i18n:translate="heading_publishing_material">Step 4: Publishing material</h1> 
    109109 
    110 <p i18n:translate=" "> 
     110<p i18n:translate="text_material_in_draft_mode"> 
    111111This material is currently in draft mode. This means that your name is not yet shown  
    112112to others and this material is also less visible in search results. If you think this material  
  • trunk/skins/lemill/lemill_choose_template.pt

    r469 r477  
    88            <h1 i18n:translate="heading_choose_template">Step 2: Choose a template</h1> 
    99             
    10             <p i18n:translate="">We offer you a selection of templates that you can use for 
    11             creating your learning material online.</p> 
     10            <p i18n:translate="text_offer_templates">We offer you a selection of templates that you can use for creating your learning material online.</p> 
    1211 
    1312            <tal:def define="templates context/getTemplates"> 
  • trunk/skins/lemill/lemill_community_view.pt

    r460 r477  
    114114                       </span> 
    115115                   </tal:modified>     
    116                    <tal:block i18n:translate="">In 
     116                   <tal:block i18n:translate="text_group_author_wrote">In 
    117117                   <a i18n:name="groupname" href="#" tal:attributes="href group/absolute_url" tal:content="group/title">group</a> 
    118118                   <a i18n:name="username" href="#" tal:attributes="href poster/absolute_url" tal:content="poster/NiceName">name</a> wrote:</tal:block><br/> 
     
    149149                   </span> 
    150150               </tal:modified> 
    151                <tal:block i18n:translate=""><a href="#" i18n:name="username" tal:attributes="href poster/absolute_url" tal:content="poster/NiceName">name</a> from  
     151               <tal:block i18n:translate="text_user_from_group_wrote"><a href="#" i18n:name="username" tal:attributes="href poster/absolute_url" tal:content="poster/NiceName">name</a> from  
    152152               <a i18n:name="groupname" href="#" tal:attributes="href group/absolute_url" tal:content="group/title">group</a> wrote:</tal:block><br /> 
    153153              </div> 
  • trunk/skins/lemill/lemill_search_form.pt

    r470 r477  
    22      lang="en" 
    33      metal:use-macro="here/main_template/macros/master" 
    4       i18n:domain="lemill"> 
     4      i18n:domain="plone"> 
    55 
    66<metal:head fill-slot="top_slot" 
  • trunk/skins/lemill/lemill_search_results.pt

    r470 r477  
    2525                 use_view_action site_properties/typesUseViewActionInListings;"> 
    2626 
    27     <h1 i18n:translate="heading_search_results">Local Search results</h1> 
     27    <h1 i18n:translate="heading_local_search_results">Local Search results</h1> 
    2828    <form action="lemill_search_results" 
    2929          method="get" 
     
    6666    </div> 
    6767     
    68     <p i18n:translate="search_results_advanced"> 
     68    <p i18n:translate="text_search_results_advanced"> 
    6969    Did you not find what you were looking for? Try the 
    7070    <span i18n:name="advanced_search"> 
    7171    <a href="" 
    72        i18n:translate="search_results_advanced_link" 
     72       i18n:translate="link_search_results_advanced" 
    7373       tal:attributes="href string:$portal_url/lemill_search_form">Advanced Search</a> 
    7474    </span> 
    75     or the <a href="#">Portal search</a> for more precise search options. 
     75    or the <a i18n:translate="link_portal_search" i18n:name="portal_search" href="#">Portal search</a> for more precise search options. 
    7676    </p> 
    7777     
  • trunk/skins/lemill/login_success.pt

    r470 r477  
    22      lang="en" 
    33      metal:use-macro="here/main_template/macros/master" 
    4       i18n:domain="lemill"> 
     4      i18n:domain="plone"> 
    55 
    66<head> 
     
    3434        </p> 
    3535 
    36         <p i18n:translate="description_newbie_pointers"> 
     36        <p i18n:domain="lemill" i18n:translate="description_newbie_pointers"> 
    3737          You might want to head over to 
    3838          <span i18n:name="your_folder"> 
     
    4343          </span> 
    4444          , or 
    45           <span i18n:name="set_up_your_preferences"> 
     45          <span i18n:domain="plone" i18n:name="set_up_your_preferences"> 
    4646             <a href="" 
    4747                i18n:translate="description_newbie_pointers_preferences_link" 
  • trunk/skins/lemill/member_view.pt

    r469 r477  
    4141            <a href="" 
    4242               tal:attributes="href string:${portal_url}/plone_memberprefs_panel" 
    43                i18n:translate="label_edit">Manage this LeMill site</a> 
     43               i18n:translate="link_manage_site">Manage this LeMill site</a> 
    4444          </li> 
    4545          <li> 
     
    4747            <a href="" 
    4848               tal:attributes="href string: ${portal_url}/password_form" 
    49                i18n:translate="label_view">Change password</a> 
     49               i18n:translate="link_change_password">Change password</a> 
    5050          </li> 
    5151          <li> 
     
    5353            <a href="" 
    5454               tal:attributes="href string:${portal_url}/personalize_form" 
    55                i18n:translate="label_edit">Edit your information</a> 
     55               i18n:translate="link_edit_member">Edit your information</a> 
    5656          </li> 
    5757        </ul> 
     
    111111            <div tal:condition="not:isAnon" tal:omit-tag=""> 
    112112                <span tal:condition="email" tal:omit-tag=""> 
    113                     <p i18n:translate="email">E-mail: 
     113                    <p><tal:block i18n:translate="email">E-mail</tal:block>: 
    114114                        <a tal:attributes="href python:'mailto:' + email" tal:content="email">email</a> 
    115115                     </p> 
    116116                </span> 
    117117                <span tal:condition="phone" tal:omit-tag=""> 
    118                     <p i18n:translate="label_phone">Phone: <b tal:replace="phone"/></p> 
     118                    <p><tal:block i18n:translate="label_phone">Phone</tal:block>: <b tal:replace="phone"/></p> 
    119119                </span> 
    120120                <span tal:condition="mobile" tal:omit-tag=""> 
    121                     <p i18n:translate="label_mobile"  
    122                         tal:define="sms python:test(mobile.startswith('*SMS*'),True, False); 
    123                             mobile python:test(mobile.startswith('*SMS*'), mobile[5:], mobile)">Mobile: <b tal:replace="mobile"/>  
    124                             <b tal:condition="sms" tal:omit-tag="">(You may SMS me.)</b> 
     121                    <p tal:define="sms python:test(mobile.startswith('*SMS*'),True, False); 
     122                            mobile python:test(mobile.startswith('*SMS*'), mobile[5:], mobile)"><tal:block i18n:translate="label_mobile">Mobile</tal:block>: <b tal:replace="mobile"/>  
     123                            <b tal:condition="sms" i18n:translate="label_sms_allowed" tal:omit-tag="">(You may SMS me.)</b> 
    125124                     </p> 
    126125                </span> 
     
    128127 
    129128                <span tal:condition="python:messenger1 or messenger2 or messenger3" tal:omit-tag=""> 
    130                     <p i18n:translate="label_messenger">Messengers:<br /> 
     129                    <p><tal:block i18n:translate="label_messenger">Messengers</tal:block>:<br /> 
    131130                        <span tal:condition="messenger1" tal:omit-tag=""> 
    132131                            <a tal:attributes="href messenger1" tal:content="messenger1" href="messenger">messenger1</a><br /> 
     
    141140                </span> 
    142141                <span tal:condition="home_page" tal:omit-tag=""> 
    143                     <p i18n:translate="label_home_page">Homepage: 
     142                    <p><tal:block i18n:translate="label_home_page">Homepage</tal:block>: 
    144143                        <a href="#" tal:attributes="href home_page" 
    145144                            i18n:translate="label_author_external_home_page">Author's external home page&hellip;</a> 
     
    148147 
    149148                <span tal:condition="python: location_country and location_country!='No country specified'" tal:omit-tag=""> 
    150                     <p i18n:translate="label_country">Country: 
     149                    <p><tal:block i18n:translate="label_country">Country</tal:block>: 
    151150                        <a href="#" tal:attributes="href string:$here_url/search?SearchableText=${location_country}&amp;portal_type=MemberFolder" tal:content="location_country">Country</a> 
    152151                    </p> 
     
    154153 
    155154                <span tal:condition="location_area" tal:omit-tag=""> 
    156                     <p i18n:translate="label_area">Area: 
     155                    <p><tal:block i18n:translate="label_area">Area</tal:block>: 
    157156                        <a href="#" tal:attributes="href string:$here_url/search?SearchableText=${location_area}&amp;portal_type=MemberFolder" tal:content="location_area">Area</a> 
    158157                    </p> 
     
    160159 
    161160                <span tal:condition="language_skills" tal:omit-tag=""> 
    162                     <p><tal:block i18n:translate="label_language_skills">Preferred languages:</tal:block> 
     161                    <p><tal:block i18n:translate="label_language_skills">Preferred languages</tal:block>: 
    163162                        <span tal:repeat="languagename language_skills" tal:omit-tag=""> 
    164163                           <a href="#" tal:attributes="href string:$here_url/search?getLanguage_skills=${languagename}&amp;portal_type=MemberFolder" tal:content="python:here.script_getPrettyLanguage(languagename)">PLACEHOLDER</a> 
     
    169168 
    170169                <span tal:condition="skills" tal:omit-tag=""> 
    171                     <p><tal:block i18n:translate="label_skills">Skills:</tal:block> 
     170                    <p><tal:block i18n:translate="label_skills">Skills</tal:block>: 
    172171                        <span tal:repeat="skill skills" tal:omit-tag=""> 
    173172                           <a href="#" tal:attributes="href string:$here_url/search?getTags=${skill}&amp;portal_type=MemberFolder" tal:content="skill">PLACEHOLDER</a> 
     
    178177 
    179178                <span tal:condition="interests" tal:omit-tag=""> 
    180                     <p><tal:block i18n:translate="label_interests">Interests:</tal:block> 
     179                    <p><tal:block i18n:translate="label_interests">Interests</tal:block>: 
    181180                        <span tal:repeat="interest interests" tal:omit-tag=""> 
    182181                           <a href="#" tal:attributes="href string:$here_url/search?getTags=${interest}&amp;portal_type=MemberFolder" tal:content="interest">PLACEHOLDER</a> 
     
    187186 
    188187                <span tal:condition="biography" tal:omit-tag=""> 
    189                     <p><tal:block i18n:translate="label_biography">Biography:</tal:block> 
     188                    <p><tal:block i18n:translate="label_biography">Biography</tal:block>: 
    190189                        <span tal:replace="biography" />  
    191190                    </p> 
     
    193192 
    194193                <span tal:condition="activity_score" tal:omit-tag=""> 
    195                     <p><tal:block i18n:translate="label_activity_score">Activity score:</tal:block> 
     194                    <p><tal:block i18n:translate="label_activity_score">Activity score</tal:block>: 
    196195                        <span tal:replace="activity_score" />  
    197196                    </p> 
     
    201200            </div> 
    202201            <div tal:condition="isAnon" tal:omit-tag=""> 
    203                 <p i18n:translate="label_not_logged_in"> 
    204                     If you want to see these informations, you should log in! 
     202                <p i18n:translate="label_not_logged_in_to_see_info"> 
     203                    If you want to see this information, you should log in! 
    205204                </p> 
    206205            </div> 
     
    216215                <a href="" tal:condition="python: content_n>0" 
    217216                   tal:attributes="href string:$here_url/my_works" 
    218                    i18n:translate="go_to_search_author_content"> 
     217                   i18n:translate="link_search_author_content"> 
    219218                    All resources created by  
    220                     <span tal:content="python: '%s (%s)' % (nicename, content_n)">name(amount)</span> 
     219                    <span i18n:name="author" tal:content="python: '%s (%s)' % (nicename, content_n)">name(amount)</span> 
    221220                </a> 
    222221                <br /> 
    223222                <a href="" tal:condition="python: collections_n>0" 
    224223                    tal:attributes="href string:$portal_url/community/${thismember}/collections" 
    225                     i18n:translate="go_to_users_collections"> 
     224                    i18n:translate="link_user_collections"> 
    226225                    Collections created by  
    227                     <span tal:content="python: '%s (%s)' % (nicename, collections_n)">name(amount)</span> 
     226                    <span i18n:name="author" tal:content="python: '%s (%s)' % (nicename, collections_n)">name(amount)</span> 
    228227                </a> 
    229228                <br /> 
    230229                <a href="" tal:condition="python: stories_n>0" 
    231230                    tal:attributes="href string:$portal_url/community/${thismember}/stories" 
    232                     i18n:translate="go_to_users_story"> 
     231                    i18n:translate="link_user_stories"> 
    233232                    Stories created by  
    234                     <span tal:content="python: '%s (%s)' % (nicename, stories_n)">name(amount)</span> 
     233                    <span i18n:name="author" tal:content="python: '%s (%s)' % (nicename, stories_n)">name(amount)</span> 
    235234                </a> 
    236235 
  • trunk/skins/lemill/mobilewidget.pt

    r470 r477  
    4646                    value value; 
    4747                    " /> 
    48              <span i18n:translate="sms_allowed"> You may SMS me:</span>   
     48             <span i18n:translate="sms_allowed"> You may SMS me</span>: 
    4949                  <input class="noborder" 
    5050                     type="checkbox" 
  • trunk/skins/lemill/personalize_form.cpt

    r473 r477  
    4242               class="link-parent" 
    4343               tal:attributes="href memberfolder/absolute_url" 
    44                i18n:translate="label_up_to_preferences"> 
     44               i18n:translate="label_up_to_my_page"> 
    4545               Back to My Page 
    4646           </a> 
     
    7777                           > 
    7878                           <option value="#" 
    79                            i18n:translate="" 
    8079                           tal:repeat="skin container/portal_skins/getSkinSelections" 
    8180                           tal:attributes="value skin; 
    8281                           selected python:test(skincurrent==skin, 'selected', None);" 
    8382                           tal:content="skin" 
    84                            >dummy skin</option> 
     83                           >PLACEHOLDER</option> 
    8584                       </select> 
    8685                   </div> 
  • trunk/skins/lemill/piece_edit.cpt

    r473 r477  
    5959                    tal:omit-tag="">Item type</span> 
    6060          </span> 
    61           (2) 
    6261      </span> 
    6362  </h1> 
  • trunk/skins/lemill/piece_view.pt

    r469 r477  
    2626    </tal:block> 
    2727    <tal:block tal:condition="not:context/isImage"> 
    28     <p><tal:block i18n:translate="label_download">Download:</tal:block> <metal:fieldMacro use-macro="python:here.widget('file',mode='view')"/></p> 
    29     <p><tal:block i18n:translate="label_description">Description:</tal:block> <tal:block tal:content="context/getDescription">PLACEHOLDER</tal:block></p> 
     28    <p><tal:block i18n:translate="label_download">Download</tal:block>: <metal:fieldMacro use-macro="python:here.widget('file',mode='view')"/></p> 
     29    <p><tal:block i18n:translate="label_description">Description</tal:block>: <tal:block tal:content="context/getDescription">PLACEHOLDER</tal:block></p> 
    3030    </tal:block> 
    3131 
    32     <p><tal:block i18n:translate="label_tags">Tags:</tal:block> 
     32    <p><tal:block i18n:translate="label_tags">Tags</tal:block>: 
    3333    <metal:fieldMacro use-macro="python:here.widget('tags',mode='view')"/> 
    3434    </p> 
    35     <p tal:condition="not:context/isImage"><tal:block i18n:translate="label_language">Language:</tal:block> 
     35    <p tal:condition="not:context/isImage"><tal:block i18n:translate="label_language">Language</tal:block>: 
    3636    <metal:fieldMacro use-macro="python:here.widget('language',mode='view')"/> 
    3737    </p> 
  • trunk/skins/lemill/portlet_add_community.pt

    r460 r477  
    3131        </ul> 
    3232     
    33         <span i18n:translate="" tal:condition="not:groups"> 
     33        <span i18n:translate="text_not_member_of_groups" tal:condition="not:groups"> 
    3434        Not member in any groups 
    3535        </span> 
  • trunk/skins/lemill/portlet_login.pt

    r470 r477  
    11<html xmlns:tal="http://xml.zope.org/namespaces/tal" 
    22      xmlns:metal="http://xml.zope.org/namespaces/metal" 
    3       i18n:domain="lemill"> 
     3      i18n:domain="plone"> 
    44<body tal:define="Iterator python:modules['Products.CMFPlone'].IndexIterator; 
    55                  tabindex python:Iterator()"> 
  • trunk/skins/lemill/portlet_related_stories.pt

    r469 r477  
    1313   
    1414            <dd class="portletItem"> 
    15             <div tal:repeat="rel related" i18n:translate=""> 
     15            <div tal:repeat="rel related" i18n:translate="link_title_by_creator"> 
    1616                <a i18n:name="title" href="rel/getURL" tal:attributes="href rel/getURL" tal:content="rel/Title" style="display:inline"></a> 
    1717                by 
  • trunk/skins/lemill/prefs_lemill_search_form.cpt

    r473 r477  
    4646 
    4747        <fieldset> 
    48             <legend i18n:translate="legend_remote_lemilles">Remote lemilles</legend> 
     48            <legend i18n:translate="legend_remote_lemilles">Remote LeMilles</legend> 
    4949     
    5050            <div class="field" 
  • trunk/skins/lemill/related_stories.pt

    r460 r477  
    77        <fieldset tal:define="results context/find_related_stories; 
    88        datetime python:modules['DateTime'].DateTime" tal:condition="results"> 
    9         <legend i18n:translate="">Related Activities</legend> 
     9        <legend i18n:translate="legend_related_activities">Related Activities</legend> 
    1010        <tal:block repeat="result results"> 
    11         <div style="display:block" i18n:translate=""> 
     11        <div style="display:block" i18n:translate="text_title_by_author_at"> 
    1212            <a i18n:name="title" tal:attributes="href result/getURL" tal:content="result/Title">PLACEHOLDER</a> 
    1313            by 
  • trunk/skins/lemill/resource_list_macro.pt

    r475 r477  
    55 
    66 <metal:tag_macro define-macro="show_tags"> 
    7              <div><tal:block i18n:translate="label_tags">Tags:</tal:block> 
     7             <div><tal:block i18n:translate="label_tags">Tags</tal:block>: 
    88                 <tal:block tal:repeat="tag python:tags[:20]"  tal:omit-tag=""> 
    99                    <a href="#" tal:attributes="href string:$portal_url/search?getTags=${tag}" tal:content="tag">PLACEHOLDER</a> 
     
    4949         </h4> 
    5050          <span tal:condition="location_country"  tal:omit-tag=""> 
    51              <div i18n:translate="label_country">Country: 
     51             <tal:block i18n:translate="label_country">Country</tal:block>: 
    5252                 <a href="#" tal:attributes="href string:$portal_url/search?getLocation_country=${location_country}" tal:content="location_country">Country</a> 
    53              </div> 
    5453         </span> 
    5554 
    5655         <span tal:condition="location_area"  tal:omit-tag=""> 
    57              <div i18n:translate="label_area"  tal:omit-tag="">Area: 
     56             <tal:block i18n:translate="label_area">Area</tal:block>: 
    5857                 <a href="#" tal:attributes="href string:$portal_url/search?getLocation_area=${location_area}" tal:content="location_area">Area</a> 
    59              </div> 
    6058         </span> 
    6159         
     
    6563 
    6664         <span tal:condition="language_skills"  tal:omit-tag=""> 
    67              <p i18n:translate="label_language_skills">Preferred languages: 
     65             <p><tal:block i18n:translate="label_language_skills">Preferred languages</tal:block>: 
    6866                 <span tal:repeat="languagename language_skills" tal:omit-tag=""> 
    6967                    <a href="#" tal:attributes="href string:$portal_url/search?getLanguage_skills=${languagename}" tal:content="python:here.script_getPrettyLanguage(languagename)">Language</a> 
     
    136134         <div tal:condition="showAuthor" tal:omit-tag="">Author: <span tal:replace="creator_nicename"></span></div> 
    137135         <span metal:use-macro="here/resource_list_macro/macros/show_tags"/> 
    138          <div><tal:block i18n:translate="label_language">Language:</tal:block> <span tal:replace="python:here.script_getPrettyLanguage(lang)"></span></div> 
     136         <div><tal:block i18n:translate="label_language">Language</tal:block>: <span tal:replace="python:here.script_getPrettyLanguage(lang)"></span></div> 
    139137     </td> 
    140138 </metal:inside_table> 
  • trunk/skins/lemill/usermacro.pt

    r470 r477  
    3030    <br /> 
    3131    <h2 i18n:translate="heading_contact_information"> 
    32          Contact informations 
     32         Contact information 
    3333    </h2> 
    3434    <br/> 
     
    3737                      user_homepage python:context.lemill_usertool.getHomepage(user_id);"> 
    3838        <span tal:condition="user_email"> 
    39             <p i18n:translate="label_email">E-mail: 
     39            <p><tal:block i18n:translate="label_email">E-mail</tal:block>: 
    4040                <a tal:attributes="href python:'mailto:' + user_email" tal:content="user_email">user_email</a> 
    4141            </p> 
    4242        </span> 
    4343        <span tal:condition="user_skype"> 
    44             <p i18n:translate="label_skype">Skype: 
     44            <p><tal:block i18n:translate="label_skype">Skype</tal:block>: 
    4545                <a tal:attributes="href python:'skype:' + user_skype" tal:content="user_skype" href="skype">user_skype</a> 
    4646            </p> 
    4747        </span> 
    4848        <span tal:condition="user_homepage"> 
    49             <p i18n:translate="label_homepage">Homepage: 
     49            <p><tal:block i18n:translate="label_homepage">Homepage</tal:block>: 
    5050                <a href="#" tal:attributes="href user_homepage" 
    5151                    i18n:translate="label_author_external_home_page">Author's external home page&hellip;</a> 
  • trunk/skins/lemill/widget_imageselector.pt

    r470 r477  
    4848                            slide_desc slide/getDescription | string:"> 
    4949                <div id="slideCounterDiv"> 
    50                     <span i18n:translate="">Slide</span> 
     50                    <span i18n:translate="label_slide">Slide</span> 
    5151                    <span id="slideNumber" tal:content="python:n+1">#</span> 
    5252                </div> 
     
    6060                                        style python:test(slide_id!=0, 'display:none', '')"> 
    6161                    <div> 
    62                         <div id="pres-text" i18n:translate="">Upload an image...</div> 
     62                        <div id="pres-text" i18n:translate="label_upload_image">Upload an image...</div> 
    6363                        <div style="height:5px" class="visualClear">&nbsp;</div> 
    6464                        <br /> 
     
    8787                    <div style="height:50px" class="visualClear">&nbsp;</div> 
    8888                    <div> 
    89                         <div id="pres-text" i18n:translate="">... or search from pieces: </div> 
     89                        <div id="pres-text" i18n:translate="label_or_search_from_pieces">... or search from pieces: </div> 
    9090                        <div style="height:5px" class="visualClear">&nbsp;</div> 
    9191                        <br /> 
     
    109109                </div> 
    110110                <div id="presentation-caption-div"> 
    111                     <span tal:omit-tag="" i18n:translate="">Caption for slide:</span> 
     111                    <span tal:omit-tag="" i18n:translate="label_slide_caption">Caption for slide:</span> 
    112112                    <div class="visualClear" style="height:1px"></div> 
    113113                    <textarea name="presentation-caption-n" id="presentation-caption-n" 
     
    124124        <td style="width:200px"> 
    125125            <div id="presentation-search-results"> 
    126                 <b i18n:translate="">Search results</b> 
     126                <b i18n:translate="heading_search_results">Search results</b> 
    127127                <div id="presentation-search-results-body"> 
    128128                    search results here! 
  • trunk/skins/lemill/wysiwym.pt

    r470 r477  
    6666                <div id="show_guide"> 
    6767                <p i18n:translate="text_formatting_guide">LeMill uses simple syntax to format your text. Check the 
    68                 <a i18n:name="guide" i18n:translate="heading_formatting_guide" href="javascript:show_div('guide');hide_div('show_guide');">formatting guide</a> to easily make bold, italic, lists and more.</p> 
     68                <a i18n:name="guide" i18n:translate="heading_formatting_guide" href="javascript:show_div('guide');hide_div('show_guide');">Formatting guide</a> to easily make bold, italic, lists and more.</p> 
    6969                </div> 
    7070     
     
    116116 
    117117            <fieldset tal:condition="append_only"> 
    118               <legend i18n:translate="" 
    119                       tal:define="label widget/label" 
    120                       tal:content="string:HISTORY: ${label}"> 
    121                 label 
     118              <legend i18n:translate="legend_history_of">HISTORY: 
     119                      <tal:block i18n:name="label" tal:content="widget/label"/> 
    122120              </legend> 
    123               <span i18n:translate="" 
     121              <span  
    124122                    tal:condition="python:(content_length &lt; 333)" 
    125123                    tal:content="structure accessor">content</span> 
    126                     <textarea readonly="readonly" i18n:translate="" 
     124                    <textarea readonly="readonly"  
    127125                              tal:condition="python:(content_length &gt;= 333)" 
    128126                              tal:content="content" 
  • trunk/skins/lemill/wysiwym_visual.pt

    r469 r477  
    8282 
    8383            <fieldset tal:condition="append_only"> 
    84               <legend i18n:translate="" 
    85                       tal:define="label widget/label" 
    86                       tal:content="string:HISTORY: ${label}"> 
    87                 PLACEHOLDER 
     84              <legend i18n:translate="label_history_of">HISTORY:  
     85               <tal:block i18n:name="title" tal:define="label widget/label" 
     86                      tal:content="string:HISTORY: ${label}"/> 
    8887              </legend> 
    89               <span i18n:translate="" 
     88              <span 
    9089                    tal:condition="python:(content_length &lt; 333)" 
    9190                    tal:content="structure accessor"></span> 
     
    122121            </option> 
    123122            <option tal:repeat="item mimetypes" 
    124             i18n:translate="" 
    125123                    tal:content="python:here.lookupMime(item)" 
    126124                    tal:attributes="value item; 
  • trunk/skins/lemill_eun/main_template.pt

    r470 r477  
    66      xml:lang="en" 
    77      lang="en" 
     8      i18n:domain="lemill" 
    89      tal:attributes="lang language; 
    910                      xml:lang language"> 
Note: See TracChangeset for help on using the changeset viewer.