Sha256: 26d8ae97cb8f090cd6b98e0ba2d3facda319eab0792c6b9c7aae82656b97a4fa
Contents?: true
Size: 409 Bytes
Versions: 11
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true module ThemeCheck class DefaultLocale < JsonCheck severity :suggestion category :translation doc docs_url(__FILE__) def on_end return if @theme.default_locale_json add_offense("Default translation file not found (for example locales/en.default.json)") do |corrector| corrector.create_default_locale_json(@theme) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems