Ignore:
Timestamp:
31 Oct 2015, 06:36:51 (9 years ago)
Author:
Henrik Bettermann
Message:

Give the names to the dynamic part of pagetemplates.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt

    r13365 r13366  
    3939    <p i18n:translate="">
    4040      <strong>Congratulations!</strong> You have been offered provisional
    41       admission into the <span tal:replace="view/entry_session"></span>
    42       Academic Session of <span tal:replace="layout/getAppTitle"></span>.
     41      admission into the <span  i18n:name="entry_session" tal:replace="view/entry_session"></span>
     42      Academic Session of <span  i18n:name="app_title" tal:replace="layout/getAppTitle"></span>.
    4343    </p>
    4444    <span tal:condition="view/course_admitted">
     
    7070    <p i18n:translate="">
    7171      Your student record has already been created for you. Your new
    72       user name (= student id) is: <strong><span tal:replace="view/student_id">STUDENT_ID</span></strong>.
    73       Your initial password is: <strong><span tal:replace="view/password">PASSWORD</span></strong>.
    74       Please proceed to the <a tal:attributes="href python: view.url(layout.site, 'login')">login form</a>,
     72      user name (= student id) is: <strong><span  i18n:name="student_id"
     73      tal:replace="view/student_id">STUDENT_ID</span></strong>.
     74      Your initial password is: <strong><span  i18n:name="password"
     75      tal:replace="view/password">PASSWORD</span></strong>.
     76      Please proceed to the <a  i18n:name="login_url"
     77      tal:attributes="href python: view.url(layout.site, 'login')">login form</a>,
    7578      enter your new login credentials and change your password immediately after login.
    7679    </p>
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/prefillcontainer.pt

    r13232 r13366  
    1515    <br />
    1616    <label i18n:translate="">
    17      Pre-fill '<span tal:replace="context/code">CODE</span>' container with
     17     Pre-fill '<span  i18n:name="code" tal:replace="context/code">CODE</span>' container with
    1818    </label>
    1919    <select id="number" name="number" class="form-control half">
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/processorsoverview.pt

    r12959 r13366  
    1414             tal:attributes="href python: '#collapse' + importer['name'];
    1515                             aria-controls python: 'collapse' + importer['name']"
    16              aria-expanded="false"
    17              i18n:translate="">
     16             aria-expanded="false">
    1817            <span tal:replace="importer/title">TITLE</span>
    1918          </a>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/source.pt

    r12998 r13366  
    77                         href viewlet/hash_collapse;
    88                         aria-controls viewlet/collapse"
    9          aria-expanded="false"
    10          i18n:translate="">
     9         aria-expanded="false">
    1110        <span tal:replace="viewlet/title">TITLE</span>
    1211      </a>
  • main/waeup.kofa/trunk/src/waeup/kofa/locales/waeup.kofa.pot

    r13364 r13366  
    1515msgstr ""
    1616"Project-Id-Version: Development/Unknown\n"
    17 "POT-Creation-Date: Fri Oct 30 09:09:11 2015\n"
     17"POT-Creation-Date: Sat Oct 31 07:35:57 2015\n"
    1818"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1919"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    629629msgstr ""
    630630
    631 #: waeup/kofa/applicants/browser.py:1387
     631#: waeup/kofa/applicants/browser.py:1389
    632632msgid "Data Exports"
    633633msgstr ""
     
    638638msgstr ""
    639639
    640 #: waeup/kofa/applicants/browser.py:1400
     640#: waeup/kofa/applicants/browser.py:1402
    641641#: waeup/kofa/browser/pages.py:1789
    642642#: waeup/kofa/students/browser.py:3128
     
    644644msgstr ""
    645645
    646 #: waeup/kofa/applicants/browser.py:1415
     646#: waeup/kofa/applicants/browser.py:1417
    647647#: waeup/kofa/browser/pages.py:272
    648648msgid "Currently, exporters cannot be started due to high system load. Please try again later."
    649649msgstr ""
    650650
    651 #: waeup/kofa/applicants/browser.py:1430
     651#: waeup/kofa/applicants/browser.py:1432
    652652msgid "Export started."
    653653msgstr ""
     
    921921
    922922#: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:42
    923 msgid "<strong>Congratulations!</strong> You have been offered provisional admission into the ${DYNAMIC_CONTENT} Academic Session of ${DYNAMIC_CONTENT}."
     923msgid "<strong>Congratulations!</strong> You have been offered provisional admission into the ${entry_session} Academic Session of ${app_title}."
    924924msgstr ""
    925925
     
    928928msgstr ""
    929929
    930 #: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:70
    931 msgid "Your student record has already been created for you. Please login and check your new student credentials."
    932 msgstr ""
    933 
    934 #: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:77
     930#: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:76
     931msgid "Your student record has already been created for you. Your new user name (= student id) is: <strong>${student_id}</strong>. Your initial password is: <strong>${password}</strong>. Please proceed to the ${login_url}, enter your new login credentials and change your password immediately after login."
     932msgstr ""
     933
     934#: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:83
    935935msgid "Sorry, you have not been offered admission."
    936936msgstr ""
    937937
    938 #: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:83
     938#: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:89
    939939msgid "Your submitted application is being processed."
    940940msgstr ""
    941941
    942 #: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:89
     942#: waeup/kofa/applicants/browser_templates/applicantcheckstatus.pt:95
    943943msgid "You have not yet submitted your application."
    944944msgstr ""
     
    10521052
    10531053#: waeup/kofa/applicants/browser_templates/prefillcontainer.pt:17
    1054 msgid "Pre-fill '${DYNAMIC_CONTENT}' container with"
     1054msgid "Pre-fill '${code}' container with"
    10551055msgstr ""
    10561056
     
    11211121#: waeup/kofa/students/interfaces.py:615
    11221122#: waeup/kofa/university/interfaces.py:165
    1123 #: waeup/kofa/browser/templates/source.pt:24
     1123#: waeup/kofa/browser/templates/source.pt:23
    11241124msgid "Title"
    11251125msgstr ""
     
    25482548msgstr ""
    25492549
     2550#: waeup/kofa/browser/templates/processorsoverview.pt:29
     2551msgid "Processor"
     2552msgstr ""
     2553
    25502554#: waeup/kofa/browser/templates/processorsoverview.pt:30
    2551 msgid "Processor"
     2555msgid "Required Schema Fields"
    25522556msgstr ""
    25532557
    25542558#: waeup/kofa/browser/templates/processorsoverview.pt:31
    2555 msgid "Required Schema Fields"
     2559msgid "Optional Schema Fields"
    25562560msgstr ""
    25572561
    25582562#: waeup/kofa/browser/templates/processorsoverview.pt:32
    2559 msgid "Optional Schema Fields"
    2560 msgstr ""
    2561 
    2562 #: waeup/kofa/browser/templates/processorsoverview.pt:33
    25632563msgid "Non-Schema Fields"
    25642564msgstr ""
    25652565
    2566 #: waeup/kofa/browser/templates/processorsoverview.pt:40
     2566#: waeup/kofa/browser/templates/processorsoverview.pt:39
    25672567msgid "Download CSV File Template"
    25682568msgstr ""
    25692569
    2570 #: waeup/kofa/browser/templates/processorsoverview.pt:85
     2570#: waeup/kofa/browser/templates/processorsoverview.pt:84
    25712571msgid "Close"
    25722572msgstr ""
     
    25882588msgstr ""
    25892589
    2590 #: waeup/kofa/browser/templates/source.pt:11
    2591 msgid "${DYNAMIC_CONTENT}"
    2592 msgstr ""
    2593 
    2594 #: waeup/kofa/browser/templates/source.pt:23
     2590#: waeup/kofa/browser/templates/source.pt:22
    25952591msgid "Value"
    25962592msgstr ""
     
    54165412#: waeup/kofa/students/reports/browser_templates/levelreportgeneratorpage.pt:2
    54175413msgid "Please pick the department, session and level for which the report should be generated. The report will be processed and then made available for you to view/download."
    5418 msgstr ""
    5419 
    5420 #: waeup/kofa/students/reports/browser_templates/levelreportgeneratorpage.pt:27
    5421 #: waeup/kofa/students/reports/browser_templates/levelreportgeneratorpage.pt:39
    5422 #: waeup/kofa/students/reports/browser_templates/studentstatisticsreportgeneratorpage.pt:37
    5423 #: waeup/kofa/students/reports/browser_templates/studentstatisticsreportgeneratorpage.pt:48
    5424 msgid "<option value=\"${DYNAMIC_CONTENT}\"> ${DYNAMIC_CONTENT} </option>"
    54255414msgstr ""
    54265415
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/browser_templates/levelreportgeneratorpage.pt

    r11254 r13366  
    2020  <label for="session">Academic Session</label>
    2121  <div class="input">
    22     <select name="session" i18n:translate="" class="form-control half">
     22    <select name="session" class="form-control half">
    2323      <span tal:repeat="items view/sessions" tal:omit-tag="">
    2424        <option
     
    3232  <br />
    3333  <label for="session">Level</label>
    34   <select name="level" i18n:translate="" class="form-control half">
     34  <select name="level" class="form-control half">
    3535    <span tal:repeat="items view/levels" tal:omit-tag="">
    3636      <option
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/browser_templates/studentstatisticsreportgeneratorpage.pt

    r12897 r13366  
    3030  <br />
    3131  <label for="session">Academic Session</label>
    32   <select name="session" i18n:translate="" class="form-control half">
     32  <select name="session" class="form-control half">
    3333    <span tal:repeat="items view/sessions" tal:omit-tag="">
    3434      <option
     
    4141  <br />
    4242  <label for="level">Current Level</label>
    43   <select name="level" i18n:translate="" class="form-control half">
     43  <select name="level" class="form-control half">
    4444    <span tal:repeat="items view/levels" tal:omit-tag="">
    4545      <option
Note: See TracChangeset for help on using the changeset viewer.