lightnovelwp & novelDeGlace update (#851)
* lightnovelwp: - template accepte version increments - daotranslate update url * novel de glace: - fix date parsing failing for single digit day value
This commit is contained in:
@@ -8,6 +8,7 @@ import { Filters } from "@libs/filterInputs";
|
||||
interface LightNovelWPOptions {
|
||||
reverseChapters?: boolean;
|
||||
lang?: string;
|
||||
versionIncrements?: number;
|
||||
}
|
||||
|
||||
export interface LightNovelWPMetadata {
|
||||
@@ -32,7 +33,8 @@ class LightNovelWPPlugin implements Plugin.PluginBase {
|
||||
this.name = metadata.sourceName;
|
||||
this.icon = `multisrc/lightnovelwp/${metadata.id}.png`;
|
||||
this.site = metadata.sourceSite;
|
||||
this.version = "1.0.4";
|
||||
const versionIncrements = metadata.options?.versionIncrements || 0;
|
||||
this.version = `1.0.${4 + versionIncrements}`;
|
||||
this.options = metadata.options;
|
||||
this.filters = metadata.filters satisfies Filters;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user