aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/generator.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/generator.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/generator.rb')
-rw-r--r--guides/rails_guides/generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/generator.rb b/guides/rails_guides/generator.rb
index aaeae38531..3b124ef236 100644
--- a/guides/rails_guides/generator.rb
+++ b/guides/rails_guides/generator.rb
@@ -85,7 +85,7 @@ module RailsGuides
@all = ENV['ALL'] == '1'
@kindle = ENV['KINDLE'] == '1'
@version = ENV['RAILS_VERSION'] || `git rev-parse --short HEAD`.chomp
- @lang = $GUIDES_LANGUAGE = ENV['GUIDES_LANGUAGE'] || 'en'
+ @lang = ENV['GUIDES_LANGUAGE']
end
def register_kindle_mime_types