Changeset 497


Ignore:
Timestamp:
07/20/06 12:44:03 (13 years ago)
Author:
tarmo
Message:

Apparently if you have i18n:name on a tag, you can't also
i18n:translate it, since PTS will fail to do it properly
if the strings are not translated (which is the case in
english, since it uses the default strings). Fixes #537,
spent 30m. There might still be some files with this kind
of problem - fix when you find.

Location:
trunk/skins/lemill
Files:
5 edited

Legend:

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

    r477 r497  
    1010 
    1111<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> 
     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 <span i18n:name="previouspage"><a i18n:translate="text_previous_page" href="javascript:history.back()">previous page</a></span>.</p> 
    1313</div> 
    1414 
  • trunk/skins/lemill/collection_add.cpt

    r493 r497  
    1212        <metal:main define-macro="main"> 
    1313        <tal:isFolder tal:condition="python:not mtool.getHomeFolder()" i18n:translate="text_no_home_folder"> 
    14         You don't seem to have a home folder. Please <a i18n:name="login" i18n:translate="text_login" href="" tal:attributes="href string:$portal_url/login_form">log in</a> if you haven't done so. 
     14        You don't seem to have a home folder. Please <span i18n:name="login"><a i18n:translate="text_login" href="" tal:attributes="href string:$portal_url/login_form">log in</a></span> if you haven't done so. 
    1515        </tal:isFolder> 
    1616        <tal:isFolder tal:condition="python:mtool.getHomeFolder()"> 
  • trunk/skins/lemill/collections_list.pt

    r477 r497  
    1414<h1 i18n:translate="heading_collections">Collections</h1> 
    1515           
    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> 
     16<p i18n:translate="text_found_n_collections">Found <span i18n:name="amount" tal:replace="python:len(collections)"></span> collection(s)<span i18n:name="that_match" tal:condition="exists:request/obj_id"><tal:block i18n:translate="snippet_that_contain_resource"> that contain the requested resource</tal:block><span>:</p> 
    1717 
    1818<div tal:repeat="collection collections"> 
  • trunk/skins/lemill/lemill_content_add.pt

    r493 r497  
    2222            </ul> 
    2323 
    24             <p i18n:translate="text_feeling_lost">Feel a little bit lost? You can <a i18n:name="go_back" i18n:translate="text_go_back" href="../content">go back</a> to the previous page.</p> 
     24            <p i18n:translate="text_feeling_lost">Feel a little bit lost? You can <span i18n:name="go_back"><a i18n:translate="text_go_back" href="../content">go back</a></span> to the previous page.</p> 
    2525 
    2626            </div> 
  • trunk/skins/lemill/wysiwym.pt

    r493 r497  
    119119                <div id="show_guide"> 
    120120                <p i18n:translate="text_formatting_guide">LeMill uses simple syntax to format your text. Check the 
    121                 <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> 
     121                <span i18n:name="guide"><a i18n:translate="heading_formatting_guide" href="javascript:show_div('guide');hide_div('show_guide');">Formatting guide</a></span> to easily make bold, italic, lists and more.</p> 
    122122                </div> 
    123123     
Note: See TracChangeset for help on using the changeset viewer.