<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:py="http://genshi.edgewall.org/">
<xi:include href="linktoolmaster.xhtml"/>
<head>
<body>
<h1>No associated reserves items.</h1>
<div py:if="extsite.is_currentish()">
- <p>There are no reserves materials associated with this course
- site. As an instructor, you can choose one of the following
- options:</p>
+ <p>There are no reserves materials associated with this course site. As an instructor, you can choose one of the following options:</p>
<ol>
<li>
<div><b>Link this course site to one of my current reserves list</b></div>
</li>
-->
</ol>
- <p>Or, you can just <a href="${ROOT}/browse/">browse the reserves</a>.</p>
+ <p i18n:msg="browse">Or, you can just <a href="${ROOT}/browse/">browse the reserves</a>.</p>
</div>
<div py:if="not extsite.is_currentish()"
py:with="t=extsite.term_obj or 'unknown'; c=extsite.coursecode or 'unknown'">
- <p>There are no reserves materials associated with this course
- site.</p> <p>You can create reserves lists for course sites
- associated with a current or future term. But this site is
- associated with the term "${t}" and the course "${c}" — so
- a reserves list cannot be created.</p>
+ <p>There are no reserves materials associated with this course site.</p>
+ <p i18n:msg="term,course">You can create reserves lists for course sites associated with a current or future term. But this site is associated with the term "${t}" and the course "${c}" — so a reserves list cannot be created.</p>
<p><a href="${ROOT}/browse/">Browse the reserves</a></p>
</div>
</body>
</script>
</head>
<body>
-<h1>Welcome</h1>
+<h1>Welcome!</h1>
${repr(list(related_sites))}
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:py="http://genshi.edgewall.org/">
<xi:include href="linktoolmaster.xhtml"/>
<head>
</head>
<body>
<h1>Cannot create site...</h1>
- <p>Sorry, but your site's course code (${coursecode or 'unknown'})
- and/or term code (${termcode or 'unknown'}) do not match any known
- codes in the reserves system.</p>
- <p>
+ <p i18n:msg="course,term">Sorry, but your site's course code (${coursecode or 'unknown'}) and/or term code (${termcode or 'unknown'}) do not match any known codes in the reserves system.</p> <p>
<a href="https://clew.uwindsor.ca/xsl-portal/site/${request.session['clew-site']}/">
Go back
</a>
<xi:include href="linktoolmaster.xhtml"/>
<head/>
<body>
- <h1 style="padding-top: 1em;">Please choose a set of reserves materials</h1>
- <p>There is more than one set of reserves materials related to this
- site. Please choose from the list below:</p>
+ <h1 style="padding-top: 1em;">Please choose a set of reserves materials.</h1>
+ <p>There is more than one set of reserves materials related to this site. Please choose from the list below:</p>
<ul>
<li py:for="site in related_sites"
style="margin-bottom: 1em;"><a href="${site.site_url()}">${site}</a></li>
<body>
<h1>${title}</h1>
<form action="." method="POST">
- <p>UWin ID to impersonate:</p>
+ <p>User ID to impersonate:</p>
<p><input type="text" name="userid"/></p>
<p><input type="submit" value="${_('Impersonate')}"/></p>
</form>
?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:py="http://genshi.edgewall.org/">
<xi:include href="master.xhtml"/>
<head>
</head>
<body>
<h1>${title}</h1>
- <div py:if="user.is_anonymous()">
- (Note: some reserve materials may require you
- to <a href="${ROOT}${settings.LOGIN_URL}?next=${ROOT}/">log in</a>)
+ <div py:if="user.is_anonymous()" i18n:msg="log_in">
+ (Note: some reserve materials may require you to <a href="${ROOT}${settings.LOGIN_URL}?next=${ROOT}/">log in</a>)
</div>
<img py:def="lock(condition=True)"
?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
+ xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:xi="http://www.w3.org/2001/XInclude"
py:strip="">
<span py:if="_circmod == 'RESERVE 7 DAY'">7 Day Loan</span>
</div>
<div class="callnumber"><span py:if="_avail > 0">Ask for: </span><span class="standout">${_callno}</span></div>
- <div py:if="_dueinfo">NEXT DUE: ${_dueinfo}</div>
+ <div py:if="_dueinfo" i18n:msg="due_info" i18n:comment="The next copy is due back:">NEXT DUE: ${_dueinfo}</div>
</div>
<div py:if="not valid" class="unavailable">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:py="http://genshi.edgewall.org/"
py:strip="True">
<?python
<tr><th>Title of document</th><td><input type="text" name="title" value="${item.title}"/></td></tr>
<tr><th>Title of source</th><td><input type="text" name="source_title" value="${item.source_title}"/></td></tr>
<tr py:for="n, author in enumerate(authors)">
- <th>Author #${n+1}</th><td><input type="text" name="author${n+1}" value="${author}"/></td>
+ <th i18n:msg="num">Author #${n+1}</th><td><input type="text" name="author${n+1}" value="${author}"/></td>
</tr>
<tr><th>Publisher</th><td><input type="text" name="publisher" value="${item.publisher}"/></td></tr>
<tr><th>Published</th><td><input type="text" name="published" value="${item.published}"/></td></tr>
?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:py="http://genshi.edgewall.org/">
<xi:include href="../master.xhtml"/>
<xi:include href="../paginate.xhtml"/>
</form>
<div py:def="page_control" py:if="results">
<p>
- ${start}–${min(numhits, start+limit-1)} of ${numhits} results.
+ <span i18n:msg="first,last,total">${start}–${min(numhits, start+limit-1)} of ${numhits} results.</span>
<span py:if="start-limit>0">
- <a href=".?query=${query}&start=${start-limit}&limit=${limit}">Previous ${limit}</a>
+ <a href=".?query=${query}&start=${start-limit}&limit=${limit}" i18n:msg="count">Previous ${limit}</a>
•
</span>
<span py:if="start+limit<numhits">
- <a href=".?query=${query}&start=${start+limit}&limit=${limit}">Next ${limit}</a>
+ <a href=".?query=${query}&start=${start+limit}&limit=${limit}" i18n:msg="count">Next ${limit}</a>
</span>
</p>
</div>
enctype="multipart/form-data">
<table class="metadata_table">
${common_table(item)}
- <tr><th>File</th><td><input type="file" name="file"/></td></tr>
+ <tr><th>Electronic file</th><td><input type="file" name="file"/></td></tr>
</table>
<p><input type="submit" value="${_('Upload file and Create item')}"/>
${go_back_link()}
<h2>Replace file contents</h2>
<form action="." method="POST" enctype="multipart/form-data">
<table class="metadata_table">
- <tr><th>File</th><td><input type="file" name="file"/></td></tr>
+ <tr><th>Electronic file</th><td><input type="file" name="file"/></td></tr>
</table>
<p><input type="submit" value="${_('Upload new file contents')}"/></p>
?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:py="http://genshi.edgewall.org/">
<xi:include href="../master.xhtml"/>
<xi:include href="../components/site.xhtml"/>
${nested_title(parent_item)}
${offer_to_delete(item)}
<div py:if="not is_edit" style="float:right;">
- <a href="javascript:void($('#refworks,.metadata_table').toggle());">Import RIS</a>
+ <a href="javascript:void($('#refworks,.metadata_table').toggle());" i18n:comment="Refworks Import Format">Import RIS</a>
</div>
<h2>${title}</h2>
title="${_avail} of ${_desk} copies available at reserves desk; ${_lib} total copies in library system">
<th>Call Number (take this to the counter)</th>
<td>
- <div class="${_avail > 0 and 'available' or 'unavailable'}" py:if="_dueinfo">DUE: ${_dueinfo}</div>
+ <div class="${_avail > 0 and 'available' or 'unavailable'}" py:if="_dueinfo" i18n:msg="duedate">DUE: ${_dueinfo}</div>
<div class="callnumber ${_avail > 0 and 'available' or 'unavailable'}">${_callno}</div>
<div py:if="_circmod">
<span py:if="_circmod == 'RSV2'">2 Hour Loan</span>
</div>
<div id="ask_to_download_panel">
<p py:if="custom_declaration" py:content="custom_declaration"/>
- <p py:if="not custom_declaration">By pressing the 'Request' button
- below, I am requesting a digital copy of a reading (chapter, article)
- for my own private study and research use. I agree that I will not
- reproduce, redistribute or transmit a copy of the reading in any
- format.</p>
+ <p py:if="not custom_declaration">By pressing the 'Request' button below, I am requesting a digital copy of a reading (chapter, article) for my own private study and research use. I agree that I will not reproduce, redistribute or transmit a copy of the reading in any format.</p>
<p><a class="bigdownload" href="javascript:askToDownload();"><button onclick="askToDownload();">Request to download this document</button></a></p>
</div>
<div id="downloadpanel">
<p><a class="bigdownload" href="${item.item_download_url()}"><button onclick="location='${item.item_download_url()}';">Click here to download the document.</button></a></p>
- <p>Document type: ${item.fileobj_mimetype}. Size: ${item.fileobj.size} bytes.</p>
+ <p i18n:msg="type,bytes">Document type: ${item.fileobj_mimetype}. Size: ${item.fileobj.size} bytes.</p>
</div>
</div>
</head>
<body>
<h1>${title}</h1>
- <p>Your instructor may have provided you with an Invitation Code,
- which will give you access to your course's reserves. Enter the
- invitation code below to continue. Note that not all courses require
- an invitation code; contact your instructor or the library staff for
- more information.</p>
+ <p>Your instructor may have provided you with an Invitation Code, which will give you access to your course's reserves. Enter the invitation code below to continue. Note that not all courses require an invitation code; contact your instructor or the library staff for more information.</p>
<div class="errors" py:if="error">${error}</div>
<form action="." method="POST">
<table class="metadata_table">
${site_banner(site)}
<h2>${title}</h2>
- <p>If you choose to join this site, it will be added to your "My
- Reserves" list.</p>
+ <p>If you choose to join this site, it will be added to your "My Reserves" list.</p>
<form action="." method="POST">
<p><input type="submit" value="${_('Yes, join this site')}"/> ${go_back_link()}</p>
</form>