Sha256: ebffa73b43806398b1e077579fc890fd123be9f8dfd23ee8cf422a7fb9e46da6
Contents?: true
Size: 599 Bytes
Versions: 6
Compression:
Stored size: 599 Bytes
Contents
puts "Adding locale... ".magenta time_zone_config = <<TIME_ZONE config.time_zone = 'Brasilia' TIME_ZONE in_root do inject_into_file 'config/application.rb', time_zone_config, { after: "# config.time_zone = 'Central Time (US & Canada)'", verbose: false } end locale_config = <<LOCALE config.i18n.default_locale = :"pt-BR" config.i18n.locale = :"pt-BR" LOCALE in_root do inject_into_file 'config/application.rb', locale_config, { after: "# config.i18n.default_locale = :de", verbose: false } end git :add => 'config/application.rb' git :commit => "-qm 'Adding locale config.'"
Version data entries
6 entries across 6 versions & 1 rubygems