Changeset 1653
- Timestamp:
- 02/24/08 13:36:11 (3 months ago)
- Files:
-
- trunk/app/helpers/application_helper.rb (modified) (1 diff)
- trunk/app/views/articles/archives.html.erb (modified) (1 diff)
- trunk/db/schema_version (modified) (1 diff)
- trunk/lang/fr_FR.rb (modified) (1 diff)
- trunk/lib/tasks/release.rake (modified) (1 diff)
- trunk/themes/scribbish/views/articles/_article.html.erb (modified) (1 diff)
- trunk/themes/standard_issue/views/articles/_article.html.erb (modified) (1 diff)
- trunk/vendor/plugins/static_sidebar/lib/static_sidebar.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/app/helpers/application_helper.rb
r1637 r1653 27 27 # The '5 comments' link from the bottom of articles 28 28 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') 30 30 end 31 31 trunk/app/views/articles/archives.html.erb
r1552 r1653 10 10 currentmonth = article.published_at.month 11 11 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> 13 13 <% end -%> 14 14 <div class="archivepost"> 15 15 <%= article.published_at.mday %> - 16 16 <%= link_to_permalink(article,h(article.title)) %> 17 <% if !article.categories.empty? %> posted in17 <% if !article.categories.empty? %> <%= _("posted in") %> 18 18 <%= article.categories.collect {|c| link_to_permalink c,c.name }.join(", ") -%> 19 19 <% end -%> trunk/db/schema_version
r1615 r1653 1 6 21 66 trunk/lang/fr_FR.rb
r1650 r1653 612 612 l.store "No comments", "Pas de commentaires" 613 613 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" 614 618 end trunk/lib/tasks/release.rake
r1625 r1653 2 2 require 'rake/contrib/rubyforgepublisher' 3 3 4 PKG_VERSION = "5.0. 2"4 PKG_VERSION = "5.0.3" 5 5 PKG_NAME = "typo" 6 6 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" trunk/themes/scribbish/views/articles/_article.html.erb
r1650 r1653 27 27 <%= content_tag(:li, category_links(article), :class => 'categories') unless article.categories.empty? %> 28 28 <%= content_tag(:li, tag_links(article), :class => 'tags') unless article.tags.empty? %> 29 <li> Meta29 <li><%= _("Meta") %> 30 30 <%= trackbacks_link(article) << ',' if article.allow_pings? %> 31 31 <%= comments_link(article) << ',' if article.allow_comments? %> trunk/themes/standard_issue/views/articles/_article.html.erb
r1649 r1653 30 30 <p class="links"> 31 31 <%= 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') %> 33 33 </p> 34 34 <% end %> trunk/vendor/plugins/static_sidebar/lib/static_sidebar.rb
r1375 r1653 2 2 DEFAULT_TEXT = %q{ 3 3 <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> 8 5 <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> 10 7 <li><a href="http://planettypo.com" title="PlanetTypo">PlanetTypo</a></li> 11 8 <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>13 9 </ul> 14 10 }
