Sha256: 4bc741cabfd9eb15bcfd294c222293d9d757ea0cb9f6300184247304076cc19e

Contents?: true

Size: 726 Bytes

Versions: 1

Compression:

Stored size: 726 Bytes

Contents

copy_static_file 'config/locales/pt-BR.yml'
copy_static_file 'config/locales/app.pt-BR.yml'

git add: 'config/locales/*.yml'
git_commit 'Add pt-BR locale files.'

time_zone_config = <<TIME_ZONE

    config.time_zone = 'Brasilia'
TIME_ZONE

inject_into_file 'config/application.rb', time_zone_config, { after: "# config.time_zone = 'Central Time (US & Canada)'", verbose: false }

locale_config = <<LOCALE

    config.i18n.enforce_available_locales = true
    config.i18n.default_locale = :"pt-BR"
    config.i18n.locale = :"pt-BR"
LOCALE

inject_into_file 'config/application.rb', locale_config, { after: "# config.i18n.default_locale = :de", verbose: false }

git add: 'config/application.rb'
git_commit 'Add locale config.'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pah-0.0.14 lib/pah/partials/_locale.rb