From 74677a1b637cb0559288b454d88c7ac0926e5596 Mon Sep 17 00:00:00 2001 From: Procuria Date: Fri, 25 Sep 2026 17:50:35 +0200 Subject: [PATCH] Neutral wording in comments and README --- README.md | 2 +- modq-helper-zenith.user.js | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 20692c0..3b4a098 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Tampermonkey userscript for Zenith (znth.cx). It checks a torrent page against t The script runs on `https://znth.cx/torrents/*`. Tampermonkey checks for updates on its own. To force a check: Tampermonkey menu > Utilities > Check for userscript updates. -If the DarkPeers Mod Queue Helper is installed, disable it. Both scripts use the same settings key. +If another Mod Queue Helper script is installed, disable it. They share the same settings key. ## What it checks diff --git a/modq-helper-zenith.user.js b/modq-helper-zenith.user.js index fae1e3d..3889c43 100644 --- a/modq-helper-zenith.user.js +++ b/modq-helper-zenith.user.js @@ -1243,7 +1243,7 @@ const Settings = { audioTags: true, subtitleRequirement: true, screenshots: true, bannedGroup: true, encodeCompliance: true, upscaleDetection: true, containerFormat: true, packUniformity: true, resolutionTypeMatch: true, - /* DarkPeers checks */ + /* Inherited checks (dpk) */ nogroup: true, unknownLanguage: true, extraneousFiles: true, categoryTypeMismatch: true, suspicion: true, bannedFilename: true, singleFileFolder: true, missingEpisodes: true, dpTitle: true, @@ -2882,7 +2882,7 @@ k.resolutionTypeMatch = function (e, n) { /* ======================================================================== - * DARKPEERS CHECKS — Additional quality-gate checks for DarkPeers + * INHERITED CHECKS: additional quality-gate checks (dpk) * Feature-gated: only executed when instanceConfig.features.dpChecks * ======================================================================== */ @@ -3420,7 +3420,7 @@ const zk = { }, applySeverityPolicy(results) { - // Zenith 1.5: English subtitles are not required: reword the inherited DP requirement + // Zenith 1.5: English subtitles are not required, so reword the inherited requirement const sub = results.subtitleRequirement; if (sub && (sub.status === "fail" || sub.status === "warn")) { results.subtitleRequirement = { ...sub, message: "No English subtitles: optional on Zenith (1.5); include retail English subs if they exist" }; @@ -3482,7 +3482,7 @@ const zk = { }; /* ======================================================================== - * TITLE VALIDATOR — Template-based title validation for DarkPeers + * TITLE VALIDATOR: template-based title validation * Feature-gated: only executed when instanceConfig.features.dpTitleValidation * ======================================================================== */ @@ -3538,7 +3538,7 @@ const TitleValidator = { const order = g.titleElementOrder.fullDiscRemux; const isTV = /S\d{2}/i.test(title); - // Check required elements — year optional for TV per DP rules + // Check required elements; year is optional for TV (naming guide) const required = ["resolution", "source", "group"]; for (const req of required) { const found = elements.find(e => e.type === req); @@ -3613,7 +3613,7 @@ const TitleValidator = { const order = g.titleElementOrder.encodeWeb; const isTV = /S\d{2}/i.test(title); - // Check required elements — year is optional for TV per DP rules + // Check required elements; year is optional for TV (naming guide) const required = ["resolution", "source", "vcodec", "group"]; for (const req of required) { const found = elements.find(e => e.type === req); @@ -3875,7 +3875,7 @@ const Integrations = { srrdb: { /** - * _normalizeForSrrdb — Convert a DP torrent title into scene-style format. + * _normalizeForSrrdb: convert a torrent title into scene-style format. * SRRDB expects dot-separated scene names with specific formatting. */ _normalizeForSrrdb(name) { @@ -3892,7 +3892,7 @@ const Integrations = { * search — look up a release name on SRRDB. * Strategy: try exact match first (r: prefix), then fall back to general * keyword search if exact match fails. This handles the common case where - * the DP torrent title differs slightly from the scene release name. + * the torrent title differs slightly from the scene release name. */ async search(releaseName) { if (!releaseName) return { found: false, release: null, error: "No release name provided" }; @@ -4063,7 +4063,7 @@ const RenameDetector = { /** * _stripAka — Remove "AKA ..." portion from a title name. - * DP naming convention includes "Name AKA Original" but folders/filenames + * The naming convention includes "Name AKA Original" but folders/filenames * never include the AKA part, causing Jaccard mismatch. Strip it before * comparing titleNames. */ @@ -5323,7 +5323,7 @@ function main() { console.log("[ModQ Helper] Check results:", results); - // DarkPeers-derived checks (gated by features) + // Inherited checks (gated by features) const dpFeatures = instanceConfig.features || {}; if (dpFeatures.dpChecks) { results.nogroup = dpk.nogroupCheck(data.torrentName, data.mediaInfoFilename, data.fileStructure);