theme-check icon indicating copy to clipboard operation
theme-check copied to clipboard

Add line numbers to JSON offenses

Open macournoyer opened this issue 5 years ago • 0 comments

It would be awesome if offenses found in JSON pointed to the exact line number.

Current situation:

sections/main-collection.liquid:98: suggestion: MatchingSchemaTranslations: settings.center_align_text.label missing translations for cs, da, de, es, fi, fr, it, ja, ko, nb, nl, pl, pt-BR, pt-PT, sv, th, tr, vi, zh-CN, zh-TW.
	{% schema %}
	   ^^^^^^^

locales/tr.json: suggestion: MatchingTranslations: Extra translation keys: general.search, sections.page_template, sections.footer.currency_label, sections.footer.language_label.

Ideal situation:

sections/main-collection.liquid:299: suggestion: MatchingSchemaTranslations: settings.center_align_text.label missing translations for cs, da, de, es, fi, fr, it, ja, ko, nb, nl, pl, pt-BR, pt-PT, sv, th, tr, vi, zh-CN, zh-TW.
	"label": {
	 ^^^^^^^^^

locales/tr.json:9: suggestion: MatchingTranslations: general.search is not in the default locale
	"search": {
	^^^^^^^^^^^

macournoyer avatar Dec 10 '20 17:12 macournoyer