Ignore:
Timestamp:
07/18/06 12:47:02 (13 years ago)
Author:
tarmo
Message:

All strings in ZPTs are now i18n'd. Refs #524, spent 90m,
30m remaining. Need to fix i18n:domains still.

File:
1 edited

Legend:

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

    r450 r469  
    1717    </a> 
    1818    <ul tal:condition="isMember"> 
    19         <li><a href="" tal:attributes="href string:$blogurl/change_coverimage">Change cover image</a></li> 
     19        <li><a href="" i18n:translate="link_change_cover_image" tal:attributes="href string:$blogurl/change_coverimage">Change cover image</a></li> 
    2020    </ul> 
    2121</div> 
     
    2424    <div class="portlet-title"> 
    2525    <img src="transparent.png" alt="" class="smallicon" /> 
    26     Actions 
     26    <tal:block i18n:translate="heading_actions">Actions</tal:block> 
    2727    </div> 
    2828    <ul tal:condition="isMember"> 
    29         <li><a href="#" tal:attributes="href string:$blogurl/createObject?type_name=BlogPost">New post</a></li> 
     29        <li><a href="#" i18n:translate="link_new_post" tal:attributes="href string:$blogurl/createObject?type_name=BlogPost">New post</a></li> 
    3030         
    3131        <li tal:condition="python: isAuthor or isManager"> 
    32            <a href="" tal:attributes="href string:${here_url}/edit">Edit this post</a> 
     32           <a href="" i18n:translate="link_edit_post" tal:attributes="href string:${here_url}/edit">Edit this post</a> 
    3333        </li>         
    3434        <li tal:condition="python: (isAuthor or isManager) and wf_state!='hidden'"> 
    35            <a href="" tal:attributes="href string:${here_url}/delete_post">Delete this post</a> 
     35           <a href="" i18n:translate="link_delete_post" tal:attributes="href string:${here_url}/delete_post">Delete this post</a> 
    3636        </li> 
    3737        <li tal:condition="python: (isAuthor or isManager) and wf_state=='hidden'" > 
    38            <a href="" tal:attributes="href string:${here_url}/undelete_post">Undelete post</a> 
     38           <a href="" i18n:translate="link_undelete_post" tal:attributes="href string:${here_url}/undelete_post">Undelete post</a> 
    3939        </li> 
    40         <li><a href="" tal:attributes="href string:$blogurl/edit">Edit group information</a></li> 
    41         <li><a href="TODO">Edit categories</a></li> 
    42         <li><a href="TODO">Edit blogroll</a></li> 
    43         <li><a href="" tal:attributes="href string:$blogurl/leave_group">Leave group</a></li> 
     40        <li><a href="" i18n:translate="link_edit_group_info" tal:attributes="href string:$blogurl/edit">Edit group information</a></li> 
     41        <li><a i18n:translate="link_edit_categories" href="TODO">Edit categories</a></li> 
     42        <li><a i18n:translate="link_edit_blogroll" href="TODO">Edit blogroll</a></li> 
     43        <li><a href="" i18n:translate="link_leave_group" tal:attributes="href string:$blogurl/leave_group">Leave group</a></li> 
    4444    </ul> 
    4545    <ul tal:condition="python: not isMember and not isAnon"> 
    46         <li><a href="#" tal:attributes="href string:$blogurl/join_group">Join this group</a></li> 
     46        <li><a href="#" i18n:translate="link_join_group" tal:attributes="href string:$blogurl/join_group">Join this group</a></li> 
    4747    </ul> 
    4848    <ul tal:condition="isAnon"> 
    49         <li><a href="#" tal:attributes="href string:$blogurl/join_form">Join this group</a></li> 
     49        <li><a href="#" i18n:translate="link_join_group" tal:attributes="href string:$blogurl/join_form">Join this group</a></li> 
    5050    </ul> 
    5151</div> 
     
    5454    <div class="portlet-title"> 
    5555    <img src="transparent.png" alt="" class="smallicon" /> 
    56     Archives 
     56    <tal:block i18n:translate="heading_archives">Archives</tal:block> 
    5757    </div> 
    5858    <ul> 
    59         <li><a href="TODO">July 2006</li> 
    60         <li><a href="TODO">June 2006</li> 
    61         <li><a href="TODO">May 2006</li> 
     59        <li><a href="TODO">July 2006</a></li> 
     60        <li><a href="TODO">June 2006</a></li> 
     61        <li><a href="TODO">May 2006</a></li> 
    6262    </ul> 
    6363</div> 
     
    6666    <div class="portlet-title"> 
    6767    <img src="transparent.png" alt="" class="smallicon" /> 
    68     Categories 
     68    <tal:block i18n:translate="heading_categories">Categories</tal:block> 
    6969    </div> 
    7070    <ul> 
    71         <li><a href="TODO">Blog posts</li> 
    72         <li><a href="TODO">Collaboration proposals</li> 
     71        <li><a i18n:translate="link_blog_posts" href="TODO">Blog posts</a></li> 
     72        <li><a i18n:translate="link_collaboration_proposals" href="TODO">Collaboration proposals</a></li> 
    7373    </ul> 
    7474</div> 
     
    7777    <div class="portlet-title"> 
    7878    <img src="transparent.png" alt="" class="smallicon" /> 
    79     Members 
     79    <tal:block i18n:translate="heading_members">Members</tal:block> 
    8080    </div> 
    8181 
     
    8383        groupmembers group/getGroupMemberIds; 
    8484        n_mem python:len(groupmembers)"> 
    85         <tal:listing condition="python: n_mem<400" repeat="memberid groupmembers"> 
     85        <tal:listing condition="python: n_mem&lt;400" repeat="memberid groupmembers"> 
    8686             <li tal:define="member python:mtool.getHomeFolder(memberid); 
    8787                 membername member/NiceName | nothing; 
    8888                 member_url member/absolute_url | nothing"> 
    89                  <a href="#" tal:attributes="href member_url" tal:content="membername"> name </a> 
     89                 <a href="#" tal:attributes="href member_url" tal:content="membername">PLACEHOLDER</a> 
    9090             </li> 
    9191        </tal:listing> 
    9292        <tal:toomuch condition="python: n_mem>399"> 
    9393             <li> 
    94                  <a href="#" tal:attributes="href list_members" tal:content="python: '%s members in this group' % n_mem"> n members </a>             
     94                 <a href="#" i18n:translate="link_n_members_in_group" tal:attributes="href list_members"><tal:block i18n:name="amount" tal:replace="n_mem"/>members in this group</a> 
    9595             </li> 
    9696        </tal:toomuch> 
     
    101101    <div class="portlet-title"> 
    102102    <img src="transparent.png" alt="" class="smallicon" /> 
    103     Blogroll 
     103    <tal:block i18n:translate="heading_blogroll">Blogroll</tal:block> 
    104104    </div> 
    105105 
     
    110110    <div class="portlet-title"> 
    111111    <img src="transparent.png" alt="" class="smallicon" /> 
    112     RSS feeds 
     112    <tal:block i18n:translate="heading_rss_feeds">RSS feeds</tal:block> 
    113113    </div> 
    114114    <ul> 
    115         <li><a href="TODO">Posts</li> 
    116         <li><a href="TODO">Comments</li> 
     115        <li><a i18n:translate="link_posts" href="TODO">Posts</a></li> 
     116        <li><a i18n:translate="link_comments" href="TODO">Comments</a></li> 
    117117    </ul> 
    118118</div> 
Note: See TracChangeset for help on using the changeset viewer.