public-market/spree_batch_api

View on GitHub
config/locales/en.yml

Summary

Maintainability
Test Coverage
# Sample localization file for English. Add more files in this directory for other locales.
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.

en:
  properties:
    isbn: ISBN
    author: Author
    published_at: Published
    music_format: Record Format
    vinyl_speed: Type
    music_label: Record Label
    music_label_number: Catalog Number

  actions:
    spree:
      inventory:
        providers:
          incorrect_validation_schema: Incorrect validation schema

          default_variant_provider:
            metadata_not_found: Metadata for given identifier not found

          books:
            variant_provider:
              metadata_not_found: Unknown ISBN found

          music:
            variant_provider:
              option_values:
                vinyl_condition:
                  'SS': 'Like New — Still Sealed'
                  'M-': 'Like New — Mint Condition'
                  'VG+': "Like New — Very Good 'Plus'"
                  'VG': "Used — Very Good"
                  'VG-': "Used — Very Good 'Minus'"
                  'G+': "Used — Good 'Plus'"

        csv_import_action:
          invalid_csv:
            default: CSV file is invalid
        json_import_action:
          empty_payload: Empty JSON payload
          invalid_json:
            default: "Payload JSON is invalid"
            hash: "Root of JSON should be an object"
            schema: 'JSON schema is invalid: %{messages}'
        upload_file_action:
          unsupported_format: File format is not supported
          unsupported_product_type: Provided product type is not supported

  workers:
    spree:
      import_inventory_item_worker:
        invalid_item: 'Item %{index} invalid: %{messages}'
        unsupported_variant_provider: 'Variant provider %{provider} for product type %{product_type} not found'