Changeset 1653

Show
Ignore:
Timestamp:
02/24/08 13:36:11 (3 months ago)
Author:
neuro
Message:

Adds some more localization

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/helpers/application_helper.rb

    r1637 r1653  
    2727  # The '5 comments' link from the bottom of articles 
    2828  def comments_link(article) 
    29     link_to_permalink(article,pluralize(article.published_comments.size, 'comment'),'comments') 
     29    link_to_permalink(article,pluralize(article.published_comments.size, _('comment')),'comments') 
    3030  end 
    3131 
  • trunk/app/views/articles/archives.html.erb

    r1552 r1653  
    1010         currentmonth = article.published_at.month 
    1111         currentyear = article.published_at.year -%> 
    12           <h3 class="archivemonth"><%= Date::MONTHNAMES[article.published_at.month] %> <%= article.published_at.year %></h3> 
     12          <h3 class="archivemonth"><%= _(Date::MONTHNAMES[article.published_at.month]) %> <%= article.published_at.year %></h3> 
    1313           <% end -%> 
    1414  <div class="archivepost"> 
    1515  <%= article.published_at.mday %> - 
    1616  <%= link_to_permalink(article,h(article.title)) %> 
    17   <% if !article.categories.empty? %> posted in 
     17  <% if !article.categories.empty? %> <%= _("posted in") %> 
    1818  <%= article.categories.collect {|c| link_to_permalink c,c.name }.join(", ") -%> 
    1919  <% end -%> 
  • trunk/db/schema_version

    r1615 r1653  
    1 62 
     166 
  • trunk/lang/fr_FR.rb

    r1650 r1653  
    612612  l.store "No comments", "Pas de commentaires" 
    613613  l.store "From", "De" 
     614  l.store "Meta", "Méta" 
     615  l.store "comment", "commentaire" 
     616  l.store "comments", "commentaires" 
     617  l.store "posted in", "publié dans" 
    614618end 
  • trunk/lib/tasks/release.rake

    r1625 r1653  
    22require 'rake/contrib/rubyforgepublisher' 
    33 
    4 PKG_VERSION = "5.0.2
     4PKG_VERSION = "5.0.3
    55PKG_NAME = "typo" 
    66PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
  • trunk/themes/scribbish/views/articles/_article.html.erb

    r1650 r1653  
    2727    <%= content_tag(:li, category_links(article), :class => 'categories') unless article.categories.empty? %> 
    2828    <%= content_tag(:li, tag_links(article), :class => 'tags') unless article.tags.empty? %> 
    29     <li>Meta 
     29    <li><%= _("Meta") %> 
    3030      <%= trackbacks_link(article) << ',' if article.allow_pings? %> 
    3131      <%= comments_link(article) << ',' if article.allow_comments? %> 
  • trunk/themes/standard_issue/views/articles/_article.html.erb

    r1649 r1653  
    3030                <p class="links"> 
    3131                        <%= link_to_permalink(article, _("Read full article"), nil, 'more') if controller.action_name != 'permalink' %> 
    32                         <%= link_to_permalink(article,pluralize(article.published_comments.size, 'comment'),'comments', 'comments') %> 
     32                        <%= link_to_permalink(article,pluralize(article.published_comments.size, _('comment')),'comments', 'comments') %> 
    3333                </p> 
    3434                <% end %> 
  • trunk/vendor/plugins/static_sidebar/lib/static_sidebar.rb

    r1375 r1653  
    22  DEFAULT_TEXT = %q{ 
    33<ul> 
    4   <li><a href="http://www.typosphere.org" title="Typo">Typo</a></li> 
    5   <li><a href="http://blog.leetsoft.com" title="too-biased">too-biased</a></li> 
    6   <li><a href="http://blog.remor.com/" title="seth hall">Seth Hall</a></li> 
    7   <li><a href="http://scottstuff.net" title="Scottstuff">scottstuff.net</a></li> 
     4  <li><a href="http://www.typosphere.org" title="Typo">Typosphere</a></li> 
    85  <li><a href="http://www.bofh.org.uk" title="Just a Summary">Just A Summary</a></li> 
    9   <li><a href="http://nubyonrails.com" title="Topfunky">Topfunky</a></li> 
     6  <li><a href="http://fredericdevillamil.com" title="Frédéric de Villamil">Ergonomie, Rails et Architecture de l'information web</a></li> 
    107  <li><a href="http://planettypo.com" title="PlanetTypo">PlanetTypo</a></li> 
    118  <li><a href="http://typoforums.org" title="Typo Forums">Typo Forums</a></li> 
    12   <li><a href="http://fredericdevillamil.com" title="Frédéric de Villamil">Frédéric de Villamil</a></li> 
    139</ul> 
    1410}