Changeset 0ca8eb in indico


Ignore:
Timestamp:
06/24/11 14:31:50 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
5811d4
Parents:
1144eb
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (06/17/11 10:55:36)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (06/24/11 14:31:50)
Message:

[FIX] Add missing i18n on poster design page

Location:
indico/MaKaC/webinterface/tpls
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/tpls/ConfModifBadgeDesign.tpl

    r7f7fcd r0ca8eb  
    514514      <tr> 
    515515        <td class="titleCellTD"> 
    516           <span class="titleCellFormat"> ${ _("Background")}<br><small>( ${ _("picture file in jpeg, png or gif")})</small></span> 
     516          <span class="titleCellFormat"> ${ _("Background")}<br><small>(${ _("picture file in jpeg, png or gif")})</small></span> 
    517517        </td> 
    518518        <form id="bgForm" action="${ saveBackgroundURL }" method="POST" enctype="multipart/form-data" target="uploadTarget"> 
     
    607607          </table> 
    608608 
    609           <input id="snap_checkbox" type="checkbox"/><label for="snap_checkbox">Snap to grid</label> 
     609          <input id="snap_checkbox" type="checkbox"/><label for="snap_checkbox">${ _("Snap to grid")}</label> 
    610610 
    611611        </td> 
     
    744744            <option value="Left"> ${ _("Left")}</option> 
    745745            <option value="Right"> ${ _("Right")}</option> 
    746             <option value="Center"> ${ _("Center")}</option><br> 
     746            <option value="Center"> ${ _("Center")}</option> 
    747747            <option value="Justified"> ${ _("Justified")}</option> 
    748748          </select> 
     
    761761        </td> 
    762762        <td> 
    763           <input id="fixed_text_field" size="30" name="Element Size"> 
     763          <input id="fixed_text_field" size="30" name="Element Size" disabled="disabled"> 
    764764        </td> 
    765765        <td> 
    766           <input class="btn attrButton" value="${ _("Change")}" type="button" data-attr="text" id="changeText"> 
     766          <input class="btn attrButton" value="${ _("Change")}" type="button" data-attr="text" id="changeText" disabled="disabled"> 
    767767        </td> 
    768768        <td></td> 
  • indico/MaKaC/webinterface/tpls/ConfModifPosterDesign.tpl

    r1144eb r0ca8eb  
    588588      <tr> 
    589589        <td class="titleCellTD"> 
    590           <span class="titleCellFormat">Name</span> 
     590          <span class="titleCellFormat">${_("Name")}</span> 
    591591        </td> 
    592592        <td colspan="5"> 
     
    596596      <tr> 
    597597        <td class="titleCellTD"> 
    598           <span class="titleCellFormat">Background</span> 
     598          <span class="titleCellFormat">${_("Background")}</span> 
    599599        </td> 
    600600        <form id="bgForm" action="${ saveBackgroundURL }" method="POST" enctype="multipart/form-data" target="uploadTarget"> 
    601601        <td height="20px" NOWRAP align="left" colspan="3"> 
    602602          <input name="file" size="58" type="file"> 
    603           <input class="btn" value="Send File" type="submit"> 
    604           <input class="btn" type="button" value="Remove background" id="removeBackground"> 
     603          <input class="btn" value="${_("Send File")}" type="submit"> 
     604          <input class="btn" type="button" value="${_("Remove background")}" id="removeBackground"> 
    605605        </td> 
    606606        <td width="100%" align="left" colspan="4"> 
     
    615615                <tr><td> 
    616616                          <input checked type="radio" id="bgPosStretch" name ='bgPosition' value="Stretch"> 
    617                           <label>Stretch</label> 
     617                          <label>${_("Stretch")}</label> 
    618618                    </td> 
    619619                    <td> 
    620620                        <input type='radio' id="bgPosCenter" name ='bgPosition' value="Center"> 
    621                         <label>Center</label> 
     621                        <label>${_("Center")}</label> 
    622622                </td></tr> 
    623623              </tbody> 
     
    629629      <tr> 
    630630        <td class="titleCellTD" NOWRAP> 
    631           <span class="titleCellFormat">Poster Width (cm)&nbsp;</span> 
     631          <span class="titleCellFormat">${_("Poster Width (cm)")}&nbsp;</span> 
    632632        </td> 
    633633        <td> 
     
    635635        </td> 
    636636        <td class="titleCellTD" NOWRAP> 
    637           <span class="titleCellFormat">Poster Height (cm)&nbsp;</span> 
     637          <span class="titleCellFormat">${_("Poster Height (cm)")}&nbsp;</span> 
    638638        </td> 
    639639        <td> 
    640640          <input id="poster_height" name="Poster Height" size="5"> 
    641           <input class="btn" value="Change" type="button" id="changeTemplateSize"> 
     641          <input class="btn" value="${ _("Change")}" type="button" id="changeTemplateSize"> 
    642642        </td> 
    643643      </tr> 
     
    654654 
    655655        <td width="200" rowspan="2" valign="top"> <!-- Width attribute necessary so that the template design space doesn't move depending on selection text--> 
    656           <span class="titleCellFormat">Elements</span> 
     656          <span class="titleCellFormat">${_("Elements")}</span> 
    657657 
    658658          <br/><br/> 
    659659 
    660           <input name="insertButton" id="insertButton" class="btn" value="Insert" type="button"> 
    661           <input name="removeButton" id="removeButton" class="btn" value="Remove" type="button" disabled="disabled"> 
     660          <input name="insertButton" id="insertButton" class="btn" value="${ _("Insert")}" type="button"> 
     661          <input name="removeButton" id="removeButton" class="btn" value="${ _("Remove")}" type="button" disabled="disabled"> 
    662662 
    663663          <br/><br/> 
     
    670670          <br/> 
    671671 
    672           Selection: <span id="selection_text"></span> 
     672          ${ _("Selection")}: <span id="selection_text"></span> 
    673673          <br/><br/> 
    674674 
    675           Position: 
     675          ${ _("Position")}: 
    676676          <br/> 
    677677 
     
    681681                <td></td> 
    682682                <td align="center"> 
    683                   <input name="Move Template Element Top Button" class="btn moveButton" value="Top" type="button" data-direction="top"> 
     683                  <input name="Move Template Element Top Button" class="btn moveButton" value="${ _("Top")}" type="button" data-direction="top"> 
    684684                </td> 
    685685                <td></td> 
     
    687687              <tr> 
    688688                <td align="center"> 
    689                   <input name="Move Template Element Left Button" class="btn moveButton" value="Left" type="button" data-direction="left"> 
     689                  <input name="Move Template Element Left Button" class="btn moveButton" value="${ _("Left")}" type="button" data-direction="left"> 
    690690                </td> 
    691691                <td align="center"> 
    692                   <input name="Move Template Element Center Button" class="btn moveButton" value="Center" type="button" data-direction="center"> 
     692                  <input name="Move Template Element Center Button" class="btn moveButton" value="${ _("Center")}" type="button" data-direction="center"> 
    693693                </td> 
    694694                <td align="center"> 
    695                   <input name="Move Template Element Right Button" class="btn moveButton" value="Right" type="button" data-direction="right"> 
     695                  <input name="Move Template Element Right Button" class="btn moveButton" value="${ _("Right")}" type="button" data-direction="right"> 
    696696                </td> 
    697697              </tr> 
     
    699699                <td></td> 
    700700                <td align="center"> 
    701                   <input name="Move Template Element Bottom Button" class="btn moveButton" value="Bottom" type="button" data-direction="bottom"> 
     701                  <input name="Move Template Element Bottom Button" class="btn moveButton" value="${ _("Bottom")}" type="button" data-direction="bottom"> 
    702702                </td> 
    703703                <td></td> 
     
    707707          </table> 
    708708 
    709           <input id="snap_checkbox" type="checkbox"/><label for="snap_checkbox">Snap to grid</label> 
     709          <input id="snap_checkbox" type="checkbox"/><label for="snap_checkbox">${ _("Snap to grid")}</label> 
    710710 
    711711        </td> 
     
    745745 
    746746      <tr> 
    747         <td colspan="3" rowspan="1" class="titleCellFormat">Attributes</td> 
     747        <td colspan="3" rowspan="1" class="titleCellFormat">${ _("Attributes")}</td> 
    748748        <td></td> 
    749749        <td></td> 
     
    753753 
    754754       <td class="titleCellTD"> 
    755           <span class="titleCellFormat">Font&nbsp;</span> 
     755          <span class="titleCellFormat">${ _("Font")}&nbsp;</span> 
    756756       </td> 
    757757 
    758758        <td colspan="2"> 
    759759          <select id='font_selector' name="Template Element Font" class="attrSelect" data-attr="font"> 
    760             <optgroup label="Normal Fonts"> 
     760            <optgroup label="${ _('Normal Fonts') }"> 
    761761              <option>Times New Roman</option> 
    762762              <option>Courier</option> 
    763763              <option>Sans</option> 
    764764            </optgroup> 
    765             <optgroup label="Special Character Fonts"> 
     765            <optgroup label="${ _('Special Character Fonts') }"> 
    766766              <option>LinuxLibertine</option> 
    767767              <option>Kochi-Mincho</option> 
     
    774774 
    775775        <td class="titleCellTD"> 
    776           <span class="titleCellFormat">Color&nbsp;</span> 
     776          <span class="titleCellFormat">${ _("Color")}&nbsp;</span> 
    777777        </td> 
    778778 
    779779        <td width="100%"> 
    780780          <select id='color_selector' name="Template Element Color" class="attrSelect" data-attr="color"> 
    781             <option>black</option> 
    782             <option>red</option> 
    783             <option>blue</option> 
    784             <option>green</option> 
    785             <option>yellow</option> 
    786             <option>brown</option> 
    787             <option>gold</option> 
    788             <option>pink</option> 
    789             <option>gray</option> 
    790             <option>white</option> 
     781            <option value="black"> ${ _("black")}</option> 
     782            <option value="red"> ${ _("red")}</option> 
     783            <option value="blue"> ${ _("blue")}</option> 
     784            <option value="green"> ${ _("green")}</option> 
     785            <option value="yellow"> ${ _("yellow")}</option> 
     786            <option value="brown"> ${ _("brown")}</option> 
     787            <option value="gold"> ${ _("gold")}</option> 
     788            <option value="pink"> ${ _("pink")}</option> 
     789            <option value="gray"> ${ _("gray")}</option> 
     790            <option value="white"> ${ _("white")}</option> 
    791791          </select> 
    792792        </td> 
     
    797797 
    798798        <td class="titleCellTD"> 
    799           <span class="titleCellFormat">Style&nbsp;</span> 
     799          <span class="titleCellFormat">${ _("Style")}&nbsp;</span> 
    800800        </td> 
    801801 
    802802        <td colspan="2"> 
    803803          <select id='style_selector' name="Template Element Style" class="attrSelect" data-attr="style"> 
    804             <option value="normal">Normal</option> 
    805             <option value="bold">Bold</option> 
    806             <option value="italic">Italic</option> 
    807             <option value="bold_italic">Bold &amp; Italic</option> 
     804            <option value="normal"> ${ _("Normal")}</option> 
     805            <option value="bold"> ${ _("Bold")}</option> 
     806            <option value="italic"> ${ _("Italic")}</option> 
     807            <option value="bold_italic"> ${ _("Bold &amp; Italic")}</option> 
    808808          </select> 
    809809        </td> 
    810810 
    811811        <td class="titleCellTD"> 
    812           <span class="titleCellFormat">Size&nbsp;</span> 
     812          <span class="titleCellFormat"> ${ _("Size")}&nbsp;</span> 
    813813        </td> 
    814814 
     
    840840      <tr> 
    841841        <td class="titleCellTD"> 
    842           <span class="titleCellFormat">Alignment&nbsp;</span> 
     842          <span class="titleCellFormat">${ _("Alignment")}&nbsp;</span> 
    843843        </td> 
    844844        <td colspan="2"> 
    845845          <select id='alignment_selector' name="Template Element Alignment" class="attrSelect" data-attr="alignment"> 
    846             <!-- Note: the text of the options is used directly in the style attribute of the items --> 
    847             <option>Left</option> 
    848             <option>Right</option> 
    849             <option>Center</option><br> 
    850             <option>Justified</option> 
     846            <!-- Note: the value of the options is used directly in the style attribute of the items --> 
     847            <option value="Left"> ${ _("Left")}</option> 
     848            <option value="Right"> ${ _("Right")}</option> 
     849            <option value="Center"> ${ _("Center")}</option> 
     850            <option value="Justified"> ${ _("Justified")}</option> 
    851851          </select> 
    852852        </td> 
    853853        <td class="titleCellTD"> 
    854           <span class="titleCellFormat">Width (cm)&nbsp;</span> 
     854          <span class="titleCellFormat">${ _("Width (cm)")}&nbsp;</span> 
    855855        </td> 
    856856        <td width="100%"> 
     
    861861      <tr> 
    862862        <td class="titleCellTD" NOWRAP> 
    863           <span class="titleCellFormat">Text (for Fixed Text)&nbsp;</span> 
     863          <span class="titleCellFormat">${ _("Text (for Fixed Text)")}&nbsp;</span> 
    864864        </td> 
    865865        <td> 
    866           <input id="fixed_text_field" size="30" name="Element Size"> 
     866          <input id="fixed_text_field" size="30" name="Element Size" disabled="disabled"> 
    867867        </td> 
    868868        <td> 
    869           <input class="btn attrButton" id="changeText" value="Change" type="button" data-attr="text" /> 
     869          <input class="btn attrButton" id="changeText" value="${ _("Change")}" type="button" data-attr="text" disabled="disabled" /> 
    870870        </td> 
    871871        <td></td> 
     
    879879      <tr> 
    880880        <td colspan="4" align="center" width="100%"> 
    881           <input class="btn" name="Save Template Button" value="Save" type="button" id="saveButton"> 
    882           <input class="btn" name="Cancel Button" value="Cancel" type="button" onclick="location.href='${ cancelURL }'"> 
     881          <input class="btn" name="Save Template Button" value="${ _("Save")}" type="button" id="saveButton"> 
     882          <input class="btn" name="Cancel Button" value="${ _("Cancel")}" type="button" onclick="location.href='${cancelURL}'"> 
    883883        </td> 
    884884      </tr> 
Note: See TracChangeset for help on using the changeset viewer.