Added pt-br Locale
This commit is contained in:
		@@ -28,7 +28,7 @@ module Thingspeak
 | 
			
		||||
 | 
			
		||||
    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
 | 
			
		||||
    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
 | 
			
		||||
    # config.i18n.default_locale = :de
 | 
			
		||||
    config.i18n.default_locale = :en
 | 
			
		||||
 | 
			
		||||
    # JavaScript files you want as :defaults (application.js is always included).
 | 
			
		||||
    # config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,6 @@
 | 
			
		||||
# allow updates via HTTP GET by setting this to true;
 | 
			
		||||
# set to false to only allow updates via HTTP POST
 | 
			
		||||
GET_SUPPORT = true
 | 
			
		||||
GET_SUPPORT = true
 | 
			
		||||
 | 
			
		||||
# allow only these additional locales (use downcase, easier to parse)
 | 
			
		||||
ALLOWED_LOCALES = ['pt-br']
 | 
			
		||||
@@ -123,6 +123,7 @@ en:
 | 
			
		||||
  email: "Email"
 | 
			
		||||
  email_form_add: "Add Email"
 | 
			
		||||
  featured_channels: "Featured Channels"
 | 
			
		||||
  features: "Features"
 | 
			
		||||
  field: "Field"
 | 
			
		||||
  footer: "This is the footer message."
 | 
			
		||||
  forgot: "Forgot your password?"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user