Neutral wording in comments and README

This commit is contained in:
2026-09-25 17:50:35 +02:00
parent 90463cbcbd
commit 74677a1b63
2 changed files with 11 additions and 11 deletions
+10 -10
View File
@@ -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);