aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/markdown.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael.franca@plataformatec.com.br>2012-10-17 10:19:31 -0300
committerRafael Mendonça França <rafael.franca@plataformatec.com.br>2012-10-17 10:19:31 -0300
commit759e797c1d677d0695885dc959d6ebaecc538252 (patch)
tree845bb9b6579cc4d5175b31acf0bbfd30c2fd7f77 /guides/rails_guides/markdown.rb
parent9eeb00976d4b0a963c58117b46b7a5c6edcacc31 (diff)
downloadrails-759e797c1d677d0695885dc959d6ebaecc538252.tar.gz
rails-759e797c1d677d0695885dc959d6ebaecc538252.tar.bz2
rails-759e797c1d677d0695885dc959d6ebaecc538252.zip
Revert "Change with start of translation in internationalization, this time with pt_br."
This reverts commit 09682e9e7328b1c1466ae87af08f1785a0b5d7e3. Conflicts: guides/source/en/association_basics.md REASON: Translation work can not be done in the docrails repository
Diffstat (limited to 'guides/rails_guides/markdown.rb')
-rw-r--r--guides/rails_guides/markdown.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/guides/rails_guides/markdown.rb b/guides/rails_guides/markdown.rb
index 343e74f776..650489e6cb 100644
--- a/guides/rails_guides/markdown.rb
+++ b/guides/rails_guides/markdown.rb
@@ -120,7 +120,7 @@ module RailsGuides
@index = <<-INDEX.html_safe
<div id="subCol">
- <h3 class="chapter"><img src="images/chapters_icon.gif" alt="" />#{language_chapter}</h3>
+ <h3 class="chapter"><img src="images/chapters_icon.gif" alt="" />Chapters</h3>
#{@index}
</div>
INDEX
@@ -134,15 +134,6 @@ module RailsGuides
@title = "Ruby on Rails Guides"
end
end
-
- def language_chapter
- case $GUIDES_LANGUAGE
- when 'pt_br'
- 'Capitulos'
- else
- 'Chapters'
- end
- end
def node_index(hierarchy)
case hierarchy.size