Sha256: 6fda0c2807091cb9b2b6ca3331028764c63223d6e80fc4c0016048993f5466f3

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

require 'i18n'

en = {
  starting:                    'Starting',
  capified:                    'Capified',
  starting:                    'Starting',
  start:                       'Start',
  update:                      'Update',
  finalize:                    'Finalise',
  finishing:                   'Finishing',
  finished:                    'Finished',
  stage_not_set:               'Stage not set, please call something such as `cap production deploy`, where production is a stage you have defined.',
  written_file:                'create %{file}',
  question:                    'Please enter %{key}: |%{default_value}|',
  keeping_releases:            'Keeping %{keep_releases} of %{releases} deployed releases on %{host}',
  no_old_releases:             'No old releases (keeping newest %{keep_releases}) on %{host}',
  linked_file_does_not_exist:  'linked file %{file} does not exist on %{host}',
  mirror_exists:               "The repository mirror is at %{at}",
  revision_log_message:        'Branch %{branch} (at %{sha}) deployed as release %{release} by %{user}',
  rollback_log_message:        '%{user} rolled back to release %{release}',
  deploy_failed:               'The deploy has failed with an error: %{ex}',
  console: {
    welcome:  'capistrano console - enter command to execute on %{stage}',
    bye:      'bye'
  },
  error: {
    user: {
      does_not_exist:  'User %{user} does not exists',
      cannot_switch:   'Cannot switch to user %{user}'
    }
  }
}

I18n.backend.store_translations(:en, { capistrano: en })

if I18n.respond_to?(:enforce_available_locales=)
  I18n.enforce_available_locales = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-3.1.0 lib/capistrano/i18n.rb