Sha256: fa86a0274e2574f577fc2e3b81565cdaf711b76b1a4335dea573de48459b9e0e

Contents?: true

Size: 484 Bytes

Versions: 5

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true

module I18nJS
  class CLI
    class CheckCommand < LintTranslationsCommand
      command_name "check"
      description "Check for missing translations based on the default " \
                  "locale (DEPRECATED: Use `i18n lint:translations` instead)"

      def command
        ui.stderr_print "=> WARNING: `i18n check` has been deprecated in " \
                        "favor of `i18n lint:translations`"
        super
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
i18n-js-4.2.3 lib/i18n-js/cli/check_command.rb
i18n-js-4.2.2 lib/i18n-js/cli/check_command.rb
i18n-js-4.2.1 lib/i18n-js/cli/check_command.rb
i18n-js-4.2.0 lib/i18n-js/cli/check_command.rb
i18n-js-4.1.0 lib/i18n-js/cli/check_command.rb