Changeset 1942


Ignore:
Timestamp:
08/16/07 16:02:44 (12 years ago)
Author:
tarmo
Message:

Fixes to i18n stuff (removing manager-only UI from i18n).

Location:
trunk/skins/lemill
Files:
3 edited

Legend:

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

    r1860 r1942  
    2525      </div> 
    2626 
    27     <h1 i18n:translate="heading_manager_convert_resource">LeMill managers: Convert resource</h1> 
     27    <h1>LeMill managers: Convert resource</h1> 
    2828 
    2929     <form name="convert" 
     
    3434 
    3535 
    36         <h2 i18n:translate="heading_convert_this_resource_to"> 
    37         Convert '<a href="" i18n:name="title" tal:content="here/Title" tal:attributes="href here/absolute_url"/>' to...</h2> 
     36        <h2> 
     37        Convert '<a href="" tal:content="here/Title" tal:attributes="href here/absolute_url"/>' to...</h2> 
    3838        <input type="hidden" tal:attributes="value trial_run" name="trial_run" /> 
    3939        <input type="hidden" tal:attributes="value from_obj_id" name="from_obj_id" /> 
    4040        <input type="hidden" tal:attributes="value to_obj_type" name="to_obj_type" tal:condition="to_obj_type" /> 
    41         <h2 tal:condition="to_obj_type" tal:content="to_obj_type" i18n:translate="" /> 
     41        <h2 tal:condition="to_obj_type" tal:content="to_obj_type" /> 
    4242        <select tal:condition="not:to_obj_type" name="to_obj_type"> 
    43             <option value="MultimediaMaterial" i18n:translate="" tal:condition="python:here.portal_type!='MultimediaMaterial'">Multimedia Material</option> 
    44             <option value="LeMillReference" i18n:translate="" tal:condition="python:here.portal_type!='LeMillReference'">Reference</option> 
    45             <option value="Activity" i18n:translate="" tal:condition="python:here.portal_type!='Activity'">Method</option> 
    46             <option value="Tool" i18n:translate="" tal:condition="python:here.portal_type!='Tool'">Tool</option> 
     43            <option value="MultimediaMaterial" tal:condition="python:here.portal_type!='MultimediaMaterial'">Multimedia Material</option> 
     44            <option value="LeMillReference" tal:condition="python:here.portal_type!='LeMillReference'">Reference</option> 
     45            <option value="Activity" tal:condition="python:here.portal_type!='Activity'">Method</option> 
     46            <option value="Tool" tal:condition="python:here.portal_type!='Tool'">Tool</option> 
    4747        </select> 
    4848 
     
    5252                  type="submit" 
    5353                  name="form.button.test_conversion" 
    54                   value="Test conversion" i18n:domain="lemill" 
    55                   i18n:attributes="value label_test_conversion;" 
     54                  value="Test conversion" 
    5655                  tal:attributes="tabindex tabindex/next" 
    5756                  tal:condition="python: trial_run and trial_run!='False'" 
     
    6059                  type="submit" 
    6160                  name="form.button.convert" 
    62                   value="Convert resource" i18n:domain="lemill" 
    63                   i18n:attributes="value label_convert_resource;" 
     61                  value="Convert resource" 
    6462                  tal:attributes="tabindex tabindex/next" 
    6563                  tal:condition="python: not trial_run or trial_run=='False'" 
  • trunk/skins/lemill/manage_translations.pt

    r1930 r1942  
    110110 
    111111        <tal:cond condition="python:translations and mother"> 
    112         <h>This resource belongs to a group of translations:</h2> 
     112        <h2>This resource belongs to a group of translations:</h2> 
    113113 
    114114        <legend>Source resource '<a href="" tal:content="mother/id" tal:attributes="href string:${mother/absolute_url}/manage_translations" />' (<span  tal:content="python:here.script_getPrettyLanguage(mother.Language())" />) has following translations:</legend> 
  • trunk/skins/lemill/portlet_material_actions.pt

    r1907 r1942  
    7474        </li> 
    7575        <li tal:condition="python:can_moderate and context.portal_type in ['MultimediaMaterial','LeMillReference','Tool','Activity']"> 
    76            <a href="" tal:attributes="href string:${here_url}/manage_convert" class="deleteLinkColor"><tal:block i18n:translate="Convert resource">Convert resource</tal:block>...</a> 
     76           <a href="" tal:attributes="href string:${here_url}/manage_convert" class="deleteLinkColor"><tal:block>Convert resource</tal:block>...</a> 
    7777        </li> 
    7878 
     
    110110            </tal:trans> 
    111111        </tal:notAnons> 
    112         <li tal:condition="context/amIManager"><a href="" tal:attributes="href python:'%s/manage_translations' % here_url" i18n:translate="label_manage_translations">Manage translations</a></li> 
     112        <li tal:condition="context/amIManager"><a href="" tal:attributes="href python:'%s/manage_translations' % here_url">Manage translations</a></li> 
    113113 
    114114    </ul> 
Note: See TracChangeset for help on using the changeset viewer.