Commits

Ben Bangert committed ca27476

i18n template update

Comments (0)

Files changed (2)

kai/templates/buildbot/details.mako

 <%!
 from datetime import datetime
 %>
-<div class="close"><a href="#">Close Window</a></div>
+<div class="close"><a href="#">${_('Close Window')}</a></div>
 <div id="build-details" style="cursor: default">
-    <h2>Build Steps</h2>
+    <h2>${_('Build Steps')}</h2>
     <table>
         <thead>
             <tr>
         </tbody>
     </table>
 </div>
-<div class="close"><a href="#">Close Window</a></div>
+<div class="close"><a href="#">${_('Close Window')}</a></div>

kai/templates/buildbot/index.mako

 <div class="yui-b content">
-    <h1>Buildbot Status</h1>
-    <p>Pylons source code is <strong>automatically built and tested</strong> via
+    <h1>${_('Buildbot Status')}</h1>
+    <p>${_("""Pylons source code is <strong>automatically built and tested</strong> via
         <a href="http://buildbot.net/trac">Buildbot</a> to ensure consistent
         release quality and track bugs that may occur during development (also
         known as <strong><a href="http://en.wikipedia.org/wiki/Continuous_Integration">
             Continuous integration</a></strong>). The
         latest builds are posted here automatically as they're
         completed. For those tracking the latest development tip, this can serve
-        as a useful reference when decided whether to update.</p>
+        as a useful reference when decided whether to update.""") | n}</p>
     
-    <p>In <a href="http://www.selenic.com/mercurial/">Mercurial</a>, the revision
+    <p>${_("""In <a href="http://www.selenic.com/mercurial/">Mercurial</a>, the revision
         control system (RCS) used by Pylons, the latest revision is called the
-        tip.</p>
+        tip.""")}</p>
     
-    <h2>Latest Release (${app_globals.current_version})</h2>
+    <h2>${_('Latest Release  (%s)' % app_globals.current_version)}</h2>
     ${build_table(c.releases)}
-    <div class="loadmore viewtoggle release"><a href="#">Older release builds</a></div>
+    <div class="loadmore viewtoggle release"><a href="#">${_('Older release builds')}</a></div>
     <div class="older release" style="display: none;">
         ${build_table(c.releases, start=1, limit=None, include_header=None)}
     </div>
     
     <div class="clearfix">&nbsp;</div>
     
-    <h2>Development Tip</h2>
+    <h2>${_('Development Tip')}</h2>
     ${build_table(c.dev)}
-    <div class="loadmore viewtoggle dev"><a href="#">Older tip builds</a></div>
+    <div class="loadmore viewtoggle dev"><a href="#">${_('Older tip builds')}</a></div>
     <div class="older dev" style="display: none;">
         ${build_table(c.dev, start=1, limit=None, include_header=None)}
     </div>
     
     <br /><br /><br />
     <div id="buildinfo" style="display:none; cursor: default">
-        <h1>Loading...</h1>
+        <h1>${_('Loading...')}</h1>
     </div>
 </div>
 <%def name="build_table(builds, start=0, limit=1, include_header=True)">
     % if include_header:
     <thead>
         <tr>
-            <th colspan="${len(builds)}">Build Name</th>
+            <th colspan="${len(builds)}">${_('Build Name')}</th>
         </tr>
         <tr>
             % for build in sorted(builds.keys()):
     </tbody>
 </table>
 </%def>
-<%def name="title()">${parent.title()} - Home</%def>
+<%def name="title()">${parent.title()} - ${_('Buildbot Status')}</%def>
 <%inherit file="../layout.mako" />
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.