Changeset 7d34d4ffacf09610371600a457c2d8f42536c47d

Show
Ignore:
Timestamp:
07/17/10 02:40:12 (7 weeks ago)
Author:
Jim Garrison <jim@…>
Children:
3f7b105bc6d036a16a13373a01da10f691e34ec4
Parents:
c817a67fa31ee814e28c681a3d8710221e6f3f68
git-committer:
Jim Garrison <jim@jimgarrison.org> / 2010-07-16T23:40:12Z-0700
Message:

marked a few strings for translation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ductus/modules/picture_choice/templates/picture_choice/lesson.html

    rfd13464 r7d34d4f  
    11{% extends "picture_choice/choice.html" %} 
     2{% load i18n %} 
    23{% load urn %} 
    34{% load jsonize %} 
     
    4041{{ block.super }} 
    4142</div> 
    42 <p class="pcl_frame_count">Frame <span id="frame_number">1</span> of {{ frames|length }} 
    43 (<span id="pcl_correct_count">0</span> correct, <span id="pcl_incorrect_count">0</span> incorrect).</p> 
     43<p class="pcl_frame_count"> 
     44{% with '<span id="frame_number">1</span>' as current_frame %} 
     45{% with frames|length as number_of_frames %} 
     46{% blocktrans %}Frame {{ current_frame }} of {{ number_of_frames }}{% endblocktrans %} 
     47{% endwith %} 
     48{% endwith %} 
     49{% with '<span id="pcl_correct_count">0</span>' as correct_count %} 
     50{% with '<span id="pcl_incorrect_count">0</span>' as incorrect_count %} 
     51{% blocktrans %}({{ correct_count }} correct, {{ incorrect_count }} incorrect).{% endblocktrans %} 
     52{% endwith %} 
     53{% endwith %} 
     54</p> 
    4455{% endblock %}