Commits

Ben Bangert committed 4b6ee8e

More i18n updates

Comments (0)

Files changed (4)

kai/templates/articles/index.mako

     </div>
 </div>
 </%def>
-<%def name="title()">${parent.title()} - Blog</%def>
+<%def name="title()">${parent.title()} - ${_('Blog')}</%def>
 <%inherit file="/layout.mako" />

kai/templates/articles/new.mako

 %>
 <div class="yui-b content">
     <p>${h.link_to('< Back to all blog entries', url=url('articles'))}</p>
-    <h1>Add new blog posting</h1>
+    <h1>${_('Add new blog posting')}</h1>
     ${new_article_form(action=url('articles')) | n}
 </div>
-<%def name="title()">${parent.title()} - Blog - ${c.article.title}</%def>
+<%def name="title()">${parent.title()} - ${'Blog'} - ${c.article.title}</%def>
 <%inherit file="/layout.mako" />

kai/templates/articles/show.mako

     ${article.display_article(c.article)}
 </div>
 <%namespace name="article" file="index.mako"/>
-<%def name="title()">${parent.title()} - Blog - ${c.article.title}</%def>
+<%def name="title()">${parent.title()} - ${_('Blog')} - ${c.article.title}</%def>
 <%inherit file="/layout.mako" />
         
         Rating.all_raters,
     ])
-    
-    
-    # admin = Human(name="Admin")
-    # admin.store(db)
-    # joe = Human(name="Joe")
-    # joe.store(db)
-    # fred = Human(name="Fred Smith", username="fsmith")
-    # fred.store(db)
-    # 
-    # sample = Paste(human_id=joe.id, title="Sample 1", code="This is a sample", language="text")
-    # sample.store(db)
-    # sample2 = Paste(human_id=admin.id, title="Sample 2", code="Another sample", lanugage="text")
-    # sample2.store(db)