From 9b35c25cf224dcb5ed536c31586e2239debd2347 Mon Sep 17 00:00:00 2001 From: spleenftw Date: Thu, 4 Jun 2026 12:19:30 +0200 Subject: [PATCH] Refactor language and metadata files to unify plugin name and description structure --- languages/en.json | 6 ++++-- metadata.json | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/languages/en.json b/languages/en.json index 78f3da0..594dad4 100644 --- a/languages/en.json +++ b/languages/en.json @@ -1,4 +1,6 @@ { - "plugin-name": "Table of Contents", - "plugin-description": "Sticky ToC sidebar (desktop) and floating drawer (mobile) generated from the article's h2/h3/h4 headings." + "plugin-data": { + "name": "Table of Contents", + "description": "Sticky ToC sidebar (desktop) and floating drawer (mobile) built from the article's h2/h3/h4 headings." + } } diff --git a/metadata.json b/metadata.json index 18aee20..8df07c8 100644 --- a/metadata.json +++ b/metadata.json @@ -1,10 +1,11 @@ { + "name": "Table of Contents", + "description": "Sticky ToC sidebar (desktop) and floating drawer (mobile) built from the article's h2/h3/h4 headings.", "author": "spleenftw", "email": "", "website": "https://github.com/spleenftw/bludit-toc", "version": "1.0.0", "releaseDate": "2026-06-04", "license": "MIT", - "compatible": "3.22.0", - "notes": "Sticky Table of Contents sidebar (desktop) and floating drawer (mobile) built from the article's h2/h3/h4 headings." + "compatible": "3.22.0" }