Sha256: d3431334c6e228f05a7ea9160d335d94d8e16f2ed6535963a9929470678ce55c
Contents?: true
Size: 331 Bytes
Versions: 19
Compression:
Stored size: 331 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)") end end end
Version data entries
19 entries across 19 versions & 1 rubygems