epubcheck-standalone-cli 5.3.0-build3 → 5.4.0-build2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/archive.d.ts +5 -2
- package/dist/archive.d.ts.map +1 -0
- package/dist/archive.js +2 -340
- package/dist/chunks/archive-DmawhYP4.js +250 -0
- package/dist/chunks/archive-DmawhYP4.js.map +1 -0
- package/dist/chunks/help-text-CvNP4Zt6.js +19 -0
- package/dist/chunks/help-text-CvNP4Zt6.js.map +1 -0
- package/dist/chunks/list-checks-data-BbnWFkVn.js +6 -0
- package/dist/chunks/list-checks-data-BbnWFkVn.js.map +1 -0
- package/dist/chunks/list-checks-locale-data-CBAyIO4k.js +17 -0
- package/dist/chunks/list-checks-locale-data-CBAyIO4k.js.map +1 -0
- package/dist/chunks/locale-messages-C7JC1hxi.js +351 -0
- package/dist/chunks/locale-messages-C7JC1hxi.js.map +1 -0
- package/dist/chunks/messages-6yMjM2Sn.js +130 -0
- package/dist/chunks/messages-6yMjM2Sn.js.map +1 -0
- package/dist/chunks/messages-Bc_tdDVv.d.ts +96 -0
- package/dist/chunks/messages-Bc_tdDVv.d.ts.map +1 -0
- package/dist/cli.d.ts +3 -1
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +598 -818
- package/dist/cli.js.map +1 -0
- package/dist/help-text.d.ts +4 -0
- package/dist/help-text.d.ts.map +1 -0
- package/dist/help-text.js +2 -12
- package/dist/list-checks-data.d.ts +4 -1
- package/dist/list-checks-data.d.ts.map +1 -0
- package/dist/list-checks-data.js +2 -11
- package/dist/list-checks-locale-data.d.ts +3 -0
- package/dist/list-checks-locale-data.d.ts.map +1 -0
- package/dist/list-checks-locale-data.js +2 -22
- package/dist/locale-messages.d.ts +4 -1
- package/dist/locale-messages.d.ts.map +1 -0
- package/dist/locale-messages.js +2 -346
- package/dist/messages.d.ts +2 -93
- package/dist/messages.js +2 -136
- package/package.json +9 -6
- package/src/archive.ts +392 -0
- package/src/cli.ts +1006 -0
- package/src/help-text.ts +27 -0
- package/src/list-checks-data.ts +11 -0
- package/src/list-checks-locale-data.ts +22 -0
- package/src/locale-messages.ts +360 -0
- package/src/messages.ts +159 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archive-DmawhYP4.js","names":[],"sources":["../../src/archive.ts"],"sourcesContent":["// Port of com.adobe.epubcheck.util.Archive for the CLI's\n// `-s`/`--save` flag: package an expanded EPUB directory into\n// `<canonical-parent>/<directory-name>.epub`, laid out the way the jar's\n// commons-compress ZipArchiveOutputStream writes it.\n//\n// Faithful to the jar's observed output (verified against the real jar):\n// - Files are collected in RAW readdir order (Java's File.listFiles order).\n// Node's fs.readdir would NOT match: libuv sorts scandir results, so this\n// walks with the promises fs.opendir (uv_fs_opendir/readdir, NOT scandir),\n// which preserves the on-disk order the jar sees -- the same raw order the old\n// opendirSync gave, since async opendir uses the identical libuv directory API.\n// - `.DS_Store`, `._DS_Store`, `Thumbs.db`, `ehthumbs.db` files and `.svn`/\n// `.git` directories are skipped (Archive.collectFiles, epubcheck issue 256).\n// - A root-level `mimetype` is moved to the front and STORED (method 0) with a\n// precomputed CRC and NO extra fields; every other entry is DEFLATED.\n// - Entry names are UTF-8 with the language-encoding flag (0x0800) set, no\n// unicode-path extra fields (setCreateUnicodeExtraFields(NEVER)).\n// - Deflated entries carry the same timestamp extra fields commons-compress\n// emits from the file's real attributes: extended-timestamp 0x5455 (local:\n// mtime/atime/birthtime seconds; central: mtime only) and NTFS 0x000a\n// (mtime/atime/birthtime as 100 ns FILETIME values).\n// - Symlinks are followed (Java's File.isFile/isDirectory semantics); an entry\n// that is neither a regular file nor a directory is skipped.\n//\n// One deliberate divergence, impossible to close from Node: the DEFLATED\n// streams differ byte-for-byte from the jar's because Node's bundled zlib and\n// the JDK's zlib produce different (both valid) output for the same input.\n// Entry order, names, methods, CRCs, sizes, and timestamps all match.\n//\n// ZIP64 (APPNOTE 6.3.x), emitted the way commons-compress's default\n// Zip64Mode.AsNeeded does on seekable output: classic 32-bit headers are used\n// until a field would actually overflow, and only then are ZIP64 structures\n// added -- per entry and at the end -- so a packaged form that needs more than\n// 4 GB of offset, a 4 GB+ entry, or 65535+ files produces a VALID archive\n// instead of throwing. The trigger crosses over when a size/offset reaches\n// 0xFFFFFFFF or the entry count reaches 0xFFFF (both overridable for tests via\n// the `createArchive` options, which default to the real limits):\n// - Per-entry ZIP64 extended-information extra field (id 0x0001), added only\n// for the entry that needs it, placed FIRST among its extra fields\n// (commons-compress's addAsFirstExtraField). The local header carries it when\n// the entry's own size overflows and always writes BOTH 8-byte sizes\n// (uncompressed then compressed); the central header carries only the values\n// that overflow, in APPNOTE order (uncompressed size, compressed size,\n// local-header offset), with the overflowing 32-bit fields set to the\n// 0xFFFFFFFF sentinel and version-needed bumped to 45.\n// - A ZIP64 end-of-central-directory record (0x06064b50, 56 bytes) + locator\n// (0x07064b50, 20 bytes) before the classic EOCD once any entry used ZIP64 or\n// the central-directory offset/size/entry-count would overflow; the classic\n// EOCD then carries 0xFFFF / 0xFFFFFFFF sentinels in the overflowing fields.\n//\n// Standard for the ZIP64 path: STRUCTURE / field placement mirrors\n// commons-compress AsNeeded, NOT byte-identical output. Byte parity above 4 GB\n// was never achievable anyway -- our DEFLATE stream already differs from the\n// JDK's (see above) -- so the goal is a valid archive whose ZIP64 layout\n// matches the jar's, verified by round-tripping through an independent\n// ZIP64-aware reader. Below the threshold NO ZIP64 structures appear, so\n// sub-4 GB packaging stays byte-identical to the pre-ZIP64 output.\n\nimport { opendir, readFile, realpath, stat, open } from \"node:fs/promises\";\nimport type { BigIntStats } from \"node:fs\";\nimport { basename, dirname, join } from \"node:path\";\nimport { crc32, deflateRaw } from \"node:zlib\";\nimport { promisify } from \"node:util\";\n\n// zlib exposes only a callback deflateRaw; promisify it so packaging runs on the\n// libuv thread pool without blocking the event loop (async law). Its output is\n// byte-identical to the old deflateRawSync -- same zlib, same default options, a\n// deterministic deflate stream -- which the save-parity structural test confirms.\nconst deflateRawAsync = promisify(deflateRaw);\n\ninterface Entry {\n /** Zip entry name (\"/\"-separated, relative to the base directory). */\n name: string;\n /** Absolute filesystem path. */\n path: string;\n}\n\nconst IGNORED_FILES = new Set([\".DS_Store\", \"._DS_Store\", \"Thumbs.db\", \"ehthumbs.db\"]);\nconst IGNORED_DIRS = new Set([\".svn\", \".git\"]);\n\n// Sentinel values written into the classic 32-bit / 16-bit fields to say \"the\n// real value lives in a ZIP64 structure\" (APPNOTE 4.3.9.2, 4.4.1.4). These are\n// ALSO the true overflow limits commons-compress uses as its AsNeeded trigger.\nconst ZIP64_MAGIC = 0xffffffff;\nconst ZIP64_MAGIC_SHORT = 0xffff;\nconst ZIP64_VERSION = 45; // version-needed-to-extract for a ZIP64 entry/record\n\n/**\n * Thresholds at which ZIP64 kicks in. They default to the real 32-bit/16-bit\n * limits (so production output is unchanged), but are overridable so the ZIP64\n * code path can be exercised on tiny inputs in tests. `size` governs the local\n * size fields, the central size/offset fields, and the central-directory\n * size/offset in the EOCD; `entries` governs the entry-count fields. A field\n * uses ZIP64 (and gets the sentinel) exactly when its value is `>= threshold`,\n * matching commons-compress's `>= ZIP64_MAGIC` / `>= ZIP64_MAGIC_SHORT`.\n */\nexport interface Zip64Thresholds {\n size?: number;\n entries?: number;\n}\n\n/**\n * ZIP64 local extended-information extra field (id 0x0001): commons-compress\n * always writes BOTH the 8-byte uncompressed and 8-byte compressed size in the\n * local extra when it adds one.\n */\nfunction zip64LocalExtra(uncompressedSize: number, compressedSize: number): Buffer {\n const b = Buffer.alloc(4 + 16);\n b.writeUInt16LE(0x0001, 0);\n b.writeUInt16LE(16, 2);\n b.writeBigUInt64LE(BigInt(uncompressedSize), 4);\n b.writeBigUInt64LE(BigInt(compressedSize), 12);\n return b;\n}\n\n/**\n * ZIP64 central extended-information extra field (id 0x0001): carries ONLY the\n * values that overflow, in the fixed APPNOTE order (uncompressed size,\n * compressed size, local-header offset), matching commons-compress's\n * getCentralDirectoryData(). The two sizes are emitted together (both or\n * neither) when either overflows; the offset is emitted when it overflows. The\n * disk-start-number never overflows here (single disk), so it is never present.\n */\nfunction zip64CentralExtra(\n needSizes: boolean,\n uncompressedSize: number,\n compressedSize: number,\n needOffset: boolean,\n offset: number,\n): Buffer {\n const dataLen = (needSizes ? 16 : 0) + (needOffset ? 8 : 0);\n const b = Buffer.alloc(4 + dataLen);\n b.writeUInt16LE(0x0001, 0);\n b.writeUInt16LE(dataLen, 2);\n let o = 4;\n if (needSizes) {\n b.writeBigUInt64LE(BigInt(uncompressedSize), o);\n b.writeBigUInt64LE(BigInt(compressedSize), o + 8);\n o += 16;\n }\n if (needOffset) {\n b.writeBigUInt64LE(BigInt(offset), o);\n }\n return b;\n}\n\n/** Archive.collectFiles: depth-first, raw readdir order, junk entries skipped. */\nasync function collectFiles(dir: string, dirName: string, out: Entry[]): Promise<void> {\n // Drain the whole directory first (for-await auto-closes the Dir on\n // completion), so only one directory handle is open at a time down the\n // recursion. `for await` reads entries via the same libuv opendir/readdir the\n // sync path used, preserving the raw (unsorted) order the jar's File.listFiles\n // sees -- the byte-order the saved zip depends on.\n const names: string[] = [];\n const d = await opendir(dir);\n for await (const ent of d) names.push(ent.name);\n for (const name of names) {\n const full = join(dir, name);\n let st;\n try {\n st = await stat(full); // follows symlinks, like java.io.File\n } catch {\n continue; // dangling symlink: neither isFile nor isDirectory to Java\n }\n if (st.isFile()) {\n if (!IGNORED_FILES.has(name)) out.push({ name: dirName + name, path: full });\n } else if (st.isDirectory()) {\n if (!IGNORED_DIRS.has(name)) await collectFiles(full, dirName + name + \"/\", out);\n }\n }\n}\n\n/** MS-DOS date+time (local time, 2 s resolution) as (date << 16) | time. */\nfunction dosDateTime(ms: number): number {\n const d = new Date(ms);\n if (d.getFullYear() < 1980) return 0x0021 << 16; // 1980-01-01 00:00:00\n const date = ((d.getFullYear() - 1980) << 9) | ((d.getMonth() + 1) << 5) | d.getDate();\n const time = (d.getHours() << 11) | (d.getMinutes() << 5) | (d.getSeconds() >> 1);\n return ((date << 16) | time) >>> 0;\n}\n\n/** Windows FILETIME (100 ns intervals since 1601-01-01) from unix nanoseconds. */\nfunction toFiletime(ns: bigint): bigint {\n return ns / 100n + 116444736000000000n;\n}\n\n/** Unix seconds as the unsigned 32-bit value the 0x5455 field stores. */\nfunction toUnixSec(ns: bigint): number {\n return Number(BigInt.asUintN(32, ns / 1000000000n));\n}\n\n/** NTFS extra field 0x000a (36 bytes): mtime, atime, creation as FILETIME. */\nfunction writeNtfsExtra(b: Buffer, off: number, st: BigIntStats): void {\n b.writeUInt16LE(0x000a, off);\n b.writeUInt16LE(32, off + 2);\n b.writeUInt32LE(0, off + 4); // reserved\n b.writeUInt16LE(0x0001, off + 8); // tag: times\n b.writeUInt16LE(24, off + 10);\n b.writeBigUInt64LE(toFiletime(st.mtimeNs), off + 12);\n b.writeBigUInt64LE(toFiletime(st.atimeNs), off + 20);\n b.writeBigUInt64LE(toFiletime(st.birthtimeNs), off + 28);\n}\n\n/** Local-header extra: 0x5455 (flags 7: mtime/atime/creation) + NTFS. */\nfunction localExtra(st: BigIntStats): Buffer {\n const b = Buffer.alloc(17 + 36);\n b.writeUInt16LE(0x5455, 0);\n b.writeUInt16LE(13, 2);\n b.writeUInt8(0x07, 4);\n b.writeUInt32LE(toUnixSec(st.mtimeNs), 5);\n b.writeUInt32LE(toUnixSec(st.atimeNs), 9);\n b.writeUInt32LE(toUnixSec(st.birthtimeNs), 13);\n writeNtfsExtra(b, 17, st);\n return b;\n}\n\n/** Central-directory extra: 0x5455 (flags 7, mtime only) + NTFS. */\nfunction centralExtra(st: BigIntStats): Buffer {\n const b = Buffer.alloc(9 + 36);\n b.writeUInt16LE(0x5455, 0);\n b.writeUInt16LE(5, 2);\n b.writeUInt8(0x07, 4);\n b.writeUInt32LE(toUnixSec(st.mtimeNs), 5);\n writeNtfsExtra(b, 9, st);\n return b;\n}\n\n/**\n * Package `baseDir` (an existing directory) into `<parent>/<name>.epub` beside\n * it, overwriting any existing file there, and return the written path. The\n * base directory is canonicalized first (Archive's makeCanonical), so a\n * symlinked input saves next to the real directory. Throws on any failure; the\n * caller maps that onto the jar's packaging-failure behavior.\n *\n * `thresholds` lets tests lower the ZIP64 trigger so the ZIP64 path runs on\n * tiny inputs; it defaults to the real 32-bit/16-bit limits, keeping production\n * output byte-identical to the pre-ZIP64 writer below 4 GB.\n */\nexport async function createArchive(\n baseDir: string,\n thresholds: Zip64Thresholds = {},\n): Promise<string> {\n const sizeThreshold = thresholds.size ?? ZIP64_MAGIC;\n const entryThreshold = thresholds.entries ?? ZIP64_MAGIC_SHORT;\n const canonical = await realpath(baseDir);\n const epubFile = join(dirname(canonical), basename(canonical) + \".epub\");\n\n const entries: Entry[] = [];\n await collectFiles(canonical, \"\", entries);\n\n // Make a root-level mimetype the first entry; only then is one STORED.\n const mimetypeIndex = entries.findIndex((e) => e.name === \"mimetype\");\n if (mimetypeIndex > -1) {\n const [m] = entries.splice(mimetypeIndex, 1);\n entries.unshift(m as Entry);\n }\n\n const fd = await open(epubFile, \"w\");\n try {\n let offset = 0;\n const central: Buffer[] = [];\n // Set once any entry emits a ZIP64 extra: it forces the ZIP64 EOCD, exactly\n // like commons-compress's hasUsedZip64 flag (independent of whether the\n // central-directory offset/size/count themselves overflow).\n let usedZip64 = false;\n\n for (let i = 0; i < entries.length; i++) {\n const e = entries[i] as Entry;\n const st = await stat(e.path, { bigint: true }); // attrs BEFORE the read, like the jar\n const data = await readFile(e.path);\n const stored = i === 0 && mimetypeIndex > -1;\n const comp = stored ? data : await deflateRawAsync(data);\n // crc32 is a synchronous pure-CPU checksum with no async equivalent\n // (async law's pure-CPU exemption); it runs on the already-in-memory buffer.\n const crc = crc32(data);\n const name = Buffer.from(e.name, \"utf8\");\n const dos = dosDateTime(Number(st.mtimeNs / 1000000n));\n const method = stored ? 0 : 8;\n\n // AsNeeded ZIP64 decision, per field. The local header carries a ZIP64\n // extra (both sizes) when the entry's own size overflows; the central\n // header additionally carries the local-header offset when THAT overflows.\n // The local header has no offset field, so an offset-only overflow leaves\n // the local header classic (version 20, real 32-bit sizes) -- exactly what\n // commons-compress does, since it only learns the offset overflow while\n // building the central header.\n const needSizes = data.length >= sizeThreshold || comp.length >= sizeThreshold;\n const needOffset = offset >= sizeThreshold;\n if (needSizes || needOffset) usedZip64 = true;\n\n const baseExtraL = stored ? Buffer.alloc(0) : localExtra(st);\n const baseExtraC = stored ? Buffer.alloc(0) : centralExtra(st);\n const extraL = needSizes\n ? Buffer.concat([zip64LocalExtra(data.length, comp.length), baseExtraL])\n : baseExtraL;\n const extraC =\n needSizes || needOffset\n ? Buffer.concat([\n zip64CentralExtra(needSizes, data.length, comp.length, needOffset, offset),\n baseExtraC,\n ])\n : baseExtraC;\n\n const classicVersion = stored ? 10 : 20;\n const localVersion = needSizes ? ZIP64_VERSION : classicVersion;\n const centralVersion = needSizes || needOffset ? ZIP64_VERSION : classicVersion;\n const lfhComp = needSizes ? ZIP64_MAGIC : comp.length;\n const lfhUncomp = needSizes ? ZIP64_MAGIC : data.length;\n\n const lfh = Buffer.alloc(30);\n lfh.writeUInt32LE(0x04034b50, 0);\n lfh.writeUInt16LE(localVersion, 4);\n lfh.writeUInt16LE(0x0800, 6); // UTF-8 names\n lfh.writeUInt16LE(method, 8);\n lfh.writeUInt32LE(dos, 10);\n lfh.writeUInt32LE(crc, 14);\n lfh.writeUInt32LE(lfhComp, 18);\n lfh.writeUInt32LE(lfhUncomp, 22);\n lfh.writeUInt16LE(name.length, 26);\n lfh.writeUInt16LE(extraL.length, 28);\n\n const cen = Buffer.alloc(46);\n cen.writeUInt32LE(0x02014b50, 0);\n cen.writeUInt16LE(20, 4); // version made by: 2.0, FAT\n cen.writeUInt16LE(centralVersion, 6);\n cen.writeUInt16LE(0x0800, 8);\n cen.writeUInt16LE(method, 10);\n cen.writeUInt32LE(dos, 12);\n cen.writeUInt32LE(crc, 16);\n cen.writeUInt32LE(needSizes ? ZIP64_MAGIC : comp.length, 20);\n cen.writeUInt32LE(needSizes ? ZIP64_MAGIC : data.length, 24);\n cen.writeUInt16LE(name.length, 28);\n cen.writeUInt16LE(extraC.length, 30);\n // comment length, disk start, internal and external attributes: all 0\n cen.writeUInt32LE(needOffset ? ZIP64_MAGIC : offset, 42);\n central.push(cen, name, extraC);\n\n await fd.write(lfh);\n await fd.write(name);\n await fd.write(extraL);\n await fd.write(comp);\n offset += lfh.length + name.length + extraL.length + comp.length;\n }\n\n const cdOffset = offset;\n let cdSize = 0;\n for (const b of central) {\n await fd.write(b);\n cdSize += b.length;\n }\n\n // ZIP64 EOCD record + locator (commons-compress writeZip64CentralDirectory):\n // written when any entry used ZIP64 or the central-directory offset/size or\n // entry count would overflow the classic 32-bit/16-bit EOCD fields.\n const eocdOffsetOverflow = cdOffset >= sizeThreshold;\n const eocdSizeOverflow = cdSize >= sizeThreshold;\n const eocdCountOverflow = entries.length >= entryThreshold;\n if (usedZip64 || eocdOffsetOverflow || eocdSizeOverflow || eocdCountOverflow) {\n const z64eocd = Buffer.alloc(56);\n z64eocd.writeUInt32LE(0x06064b50, 0);\n z64eocd.writeBigUInt64LE(44n, 4); // size of the remainder of this record (56 - 12)\n z64eocd.writeUInt16LE(ZIP64_VERSION, 12); // version made by\n z64eocd.writeUInt16LE(ZIP64_VERSION, 14); // version needed to extract\n z64eocd.writeUInt32LE(0, 16); // number of this disk\n z64eocd.writeUInt32LE(0, 20); // disk with the start of the central directory\n z64eocd.writeBigUInt64LE(BigInt(entries.length), 24); // entries on this disk\n z64eocd.writeBigUInt64LE(BigInt(entries.length), 32); // total entries\n z64eocd.writeBigUInt64LE(BigInt(cdSize), 40); // size of the central directory\n z64eocd.writeBigUInt64LE(BigInt(cdOffset), 48); // offset of the central directory\n await fd.write(z64eocd);\n\n const z64loc = Buffer.alloc(20);\n z64loc.writeUInt32LE(0x07064b50, 0);\n z64loc.writeUInt32LE(0, 4); // disk with the ZIP64 EOCD record\n z64loc.writeBigUInt64LE(BigInt(cdOffset + cdSize), 8); // offset of the ZIP64 EOCD record\n z64loc.writeUInt32LE(1, 16); // total number of disks\n await fd.write(z64loc);\n }\n\n const eocdCount = eocdCountOverflow ? ZIP64_MAGIC_SHORT : entries.length;\n const eocd = Buffer.alloc(22);\n eocd.writeUInt32LE(0x06054b50, 0);\n eocd.writeUInt16LE(eocdCount, 8);\n eocd.writeUInt16LE(eocdCount, 10);\n eocd.writeUInt32LE(eocdSizeOverflow ? ZIP64_MAGIC : cdSize, 12);\n eocd.writeUInt32LE(eocdOffsetOverflow ? ZIP64_MAGIC : cdOffset, 16);\n await fd.write(eocd);\n } finally {\n await fd.close();\n }\n return epubFile;\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EPUBCHECK_VERSION } from "epubcheck-standalone";
|
|
2
|
+
//#region src/help-text.ts
|
|
3
|
+
const HELP_OUTPUT = `EPUBCheck v${EPUBCHECK_VERSION}\n\nWhen running this tool, the first argument should be the name (with the path)\nof the file to check.\n\nTo specify a validation profile (to run checks against a specific EPUB 3 profile\nor extension specification), use the -profile option:\n\nValidation profiles supported:\n--profile default = the default validation profile\n--profile dict = validates against the EPUB Dictionaries and Glossaries specification\n--profile edupub = validates against the EDUPUB Profile\n--profile idx = validates against the EPUB Indexes specification\n--profile preview = validates against the EPUB Previews specification\n\nIf checking a non-epub file, the epub version of the file must\nbe specified using -v and the type of the file using -mode.\nThe default version is: 3.0.\n\nModes and versions supported:\n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = for Media Overlays validation\n--mode exp = for expanded EPUB archives\n\nThis tool also accepts the following options:\n--save = saves the epub created from the expanded epub\n--out <file> = output an assessment XML document file (use - to output to console)\n--xmp <file> = output an assessment XMP document file (use - to output to console)\n--json <file> = output an assessment JSON document file (use - to output to console)\n-m <file> = same as --mode\n-p <profile> = same as --profile\n-o <file> = same as --out\n-x <file> = same as --xmp\n-j <file> = same as --json\n--maxOfEachMessage NUM = limit the number of messages reported for each message-ID-and-text combination to NUM.\n This option only applies when producing a report in one of the JSON or XML formats.\n By default, if this option is not set, the report will only include a maximum of 25\n messages for each message-ID-and-text combination.\n The keyword 'unlimited' or a negative value can be used to unset the limit and include\n all the messages to the report.\n\n--failonwarnings = By default, the tool returns a 1 if errors are found in the file or 0 if no errors\n are found. Using --failonwarnings will cause the process to exit with a status of\n 1 if either warnings or errors are present and 0 only when there are no errors or warnings.\n-q, --quiet = no message on console, except errors, only in the output\n-f, --fatal = include only fatal errors in the output\n-e, --error = include only error and fatal severity messages in ouput\n-w, --warn = include fatal, error, and warn severity messages in output\n-u, --usage = include ePub feature usage information in output\n (default is OFF); if enabled, usage information will\n always be included in the output file\n--locale <locale> = output localized messages according to the provided IETF BCP 47 language tag string.\n\n-l, --listChecks [<file>] = list message ids and severity levels to the custom message file named <file>\n or the console\n-c, --customMessages [<file>] = override message severity levels as defined in the custom message file named <file>\n\n--version = displays the EPUBCheck version\n\n-h, -? or --help = displays this help message\n\n`;
|
|
4
|
+
const HELP_OUTPUT_BY_LOCALE = {
|
|
5
|
+
"da": `EPUBCheck v${EPUBCHECK_VERSION}\n\nDet første parameter, der skal sendes til dette værktøj, skal være filstien til den fil,\ndu vil kontrollere.\n\nFor at angive en valideringsprofil (og kontrollere op imod en bestemt EPUB 3 profil\neller udvidet specifikation), skal du anvende en -profil-indstilling:\n\nValideringsprofiler som understøttes:\n--profile default = standardvalideringsprofilen\n--profile dict = valideret op imod "EPUB Dictionaries and Glossaries"-specifikationen\n--profile edupub = valideret op imod "EDUPUB Profile"\n--profile idx = valideret op imod "EPUB Indexes"-specifikationen\n--profile preview = valideret op imod "EPUB Previews"-specifikationen\n\nHvis der kontrolleres en fil, som ikke er en zippet EPUB, skal EPUB versionsnummeret, som der skal kontrolleres imod, angives med parameteret -v, samt Typen af filen med parameteret --mode\nStandardversion til validering er: 3.0.\n\nModus og versioner som understøttes:\n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = til Media Overlays version 3.0\n--mode exp = til udpakkede EPUB-arkiver\n\nEPUBCheck accepterer disse ekstra muligheder:\n--save = genererer en EPUB ud fra den udpakkede mappe\n--out <file> = gemmer resultatet af validering i XML-format (brug - for at skrive til konsol)\n--xmp <file> = gemmer resultatet af valideringen i XMP-format (brug - for at skrive til konsol)\n--json <file> = gemmer resultatet af validering i JSON-format (brug - for at skrive til konsol)\n-m = synonym for --mode\n-p <profile> = synonym for --profile\n-o <file> = synonym for --out\n-x <file> = synonym for --xmp\n-j <file> = synonym for --json\n--failonwarnings = som standard afsluttes EPUBCheck med ExitCode 1 hvis der blev fundet fejl i filen, og med ExitCode 0 hvis der ikke blev fundet fejl.\n Ved brug af --failonwarnings vil EPUBCheck blive klar til afslutning\n med ExitCode 1 når der er advarsler, og ExitCode 0 ved ingen fejl eller mangler.\n-q, --quiet = kun fejl udsendes på konsollen\n-f, --fatal = brug kun fatale fejl\n-e, --error = vis kun fatale fejl og fejl\n-w, --warn = fatale fejl, fejl og advarsler\n-u, --usage = output information om brug af specifikke EPUB-funktioner \n (deaktiveret som standard); hvis aktiveret, er informationen\n altid inkluderet i outputfilen\n--locale <locale> = information af resultaterne i det givne sprog, hvis en oversættelse er tilgængelig (i henhold til IETF BCP 47-standarden).\n\n-l, --listChecks [<file>] = output af alle meddelelses-id"<file>er og fejlniveauer i en brugerdefineret fil<file>\n eller på konsollen\n-c, --customMessages [<file>] = overstyrer fejlniveauet for EPUBCheck som angivet i den brugerdefinerede fil <file>\n\n--version = viser EPUBCheck versionsnummer\n\n-h, -? eller --help = viser denne hjælp\n\n`,
|
|
6
|
+
"de": `EPUBCheck v${EPUBCHECK_VERSION}\n\nDer erste Parameter der an dieses Tool übergeben werden sollte,\nsollte der Dateipfad der zu prüfenden Datei sein.\n\nUm ein Validierungsprofil anzugeben, verwende den Parameter --profile\nValidierungsprofile können verwendet werden, um gegen ein spezielles EPUB 3-Profil\noder eine erweiterte Spezifikation zu validieren.\n\nUnterstützte Validierungsprofile:\n--profile default = Das Standard-Validierungsprofil\n--profile dict = Validiert gegen die "EPUB Dictionaries and Glossaries"-Spezifikation\n--profile edupub = Validiert gegen das "EDUPUB"-Profil\n--profile idx = Validiert gegen die "EPUB Indexes"-Spezifikation\n--profile preview = Validiert gegen die "EPUB Previews"-Spezifikation\n\nWenn eine Datei geprüft wird die kein gezipptes EPUB ist,\ndann muss die EPUB-Versionsnummer gegen die geprüft werden soll\nmit dem Parameter -v angegeben werden, sowie der Typ der Datei\nmit dem Parameter --mode\nDie Standard-Version zur Validierung ist 3.0\n\nUnterstützte Werte für die Parameter --mode und -v:\n--mode opf -v 2.0 = Für OPF-Dateien der Version 2.0\n--mode opf -v 3.0 = Für OPF-Dateien der Version 3.0\n--mode xhtml -v 2.0 = Für XHTML-Dateien der Version 2.0\n--mode xhtml -v 3.0 = Für XHTML-Dateien der Version 3.0\n--mode svg -v 2.0 = Für SVG-Dateien der Version 2.0\n--mode svg -v 3.0 = Für SVG-Dateien der Version 3.0\n--mode nav -v 3.0 = Für EPUB-Navigationsdokumente der Version 3.0\n--mode mo -v 3.0 = Für EPUB-MediaOverlays der Version 3.0\n--mode exp = Für entpackte EPUB-Archive\n\nEPUBCheck akzeptiert diese weiteren Optionen:\n--save = generiert ein EPUB aus dem entpackten Ordner\n--out <datei> = speichert das Ergebnis der Validierung im XML-Format\n--xmp <datei> = speichert das Ergebnis der Validierung im XMP-Format\n--json <datei> = speichert das Ergebnis der Validierung im JSON-Format\n-m <datei> = Synonym zu --mode\n-p <profile> = Synonym zu --profile\n-o <datei> = Synonym zu --out\n-x <datei> = Synonym zu --xmp\n-j <datei> = Synonym zu --json\n--failonwarnings = Standardmäßig wird EPUBCheck mit ExitCode 1 beendet falls Fehler im EPUB gefunden wurden\n und mit ExitCode 0, falls keine Fehler gefunden wurden. Bei Nutzung von --failonwarnings\n wird EPUBCheck auch bereits bei Auftreten von Warnungen mit ExitCode 1 beendet.\n-q, --quiet = Nur Fehler werden auf der Konsole ausgegeben\n-f, --fatal = Nur Fatale Fehler ausgeben\n-e, --error = Nur Fatale Fehler und Fehler ausgeben\n-w, --warn = Fatale Fehler, Fehler und Warnungen ausgeben\n-u, --usage = Informationen zur Nutzung bestimmter EPUB-Features ausgeben (standardmäßig deaktiviert);\n wenn aktiviert, dann werden Informationen immer auch in die Ausgabedatei aufgenommen.\n\n--locale <sprache> = Ausgabe der Ergebnisse in der angegebenen Sprache, sofern eine Übersetzung verfügbar ist\n (Angabe nach IETF BCP 47 Standard)\n\n-l, --listChecks [<datei>] = Ausgabe aller Message-ID's und Fehler-Level in eine\n benutzerdefinierte Datei <datei> oder auf der Konsole.\n-c, --customMessages [<datei>] = Überschreibt die Fehler-Level von EPUBCheck wie in der\n benutzerdefinierten Datei <datei> angegeben.\n\n--version = Zeigt die EPUBCheck-Versionsnummer an\n\n-h, -? oder --help = Zeigt diese Hilfe an\n\n`,
|
|
7
|
+
"es": `EPUBCheck v${EPUBCHECK_VERSION}\n\nPara ejecutar EPUBCheck el primer argumento debe ser el nombre (y la ruta)\ndel archivo que se valida.\n\nPara especificar un perfil de validación (ejecuta comprobaciones sobre un perfil\nEPUB 3 específico o una especificación), use la opción -profile:\n\nPerfiles de validación soportados:\n--profile default = perfil de validación por defecto\n--profile dict = valida sobre la especificación EPUB Diccionarios y Glosarios\n--profile edupub = valida sobre el perfil EDUPUB \n--profile idx = valida sobre la especificación EPUB Índices\n--profile preview = valida sobre la especificación EPUB Vistas Previas\n\nSi se valida un archivo que no sea epub, la versión epub del archivo\ndebe especificarse con -v y el tipo de archivo con -mode.\nLa versión por defecto es: 3.0.\n\nModos y versiones soportados:\n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = Para la validación de Media Overlays\n--mode exp = Para archivos EPUB expandidos\n\nEsta herramientas permite las siguientes opciones:\n--save = guarda el epub creado a partir del epub expandido\n--out <file> = extrae un fichero XML de validación\n (utilice - para salida a la consola)\n--xmp <file> = extrae un fichero XMP de validación\n (utilice - para salida a la consola)\n--json <file> = extrae un fichero JSON de validación\n (utilice - para salida a la consola)\n-m <file> = igual a --mode\n-p <profile> = igual a --profile\n-o <file> = igual a --out\n-x <file> = igual a --xmp\n-j <file> = igual a --json\n--failonwarnings = Por defecto, la herramienta devuelve 1 si se encuentran errores en el archivo o 0 si no hay errores\n Utilizar --failonwarnings provoca la detención del proceso con un resultado\n de 1 si hay errores o advertencias y 0 cuando no los hay.\n-q, --quiet = no hay mensajes en la consola; excepto errores, solo en la salida\n-f, --fatal = incluye solo errores en la salida\n-e, --error = incluye solo errores y errores graves en la salida\n-w, --warn = incluye solo errores, errores graves y advertencias en la salida\n-u, --usage = incluye información sobre el uso de ePub en la salida\n (por defecto es OFF); si está activada, la información de uso será incluida\n en el archivo de salida\n--locale <locale> = output localized messages according to the provided IETF BCP 47 language tag string.\n-l, --listChecks [<file>] = enumera los identificadores de mensaje y los niveles de gravedad en el archivo\n personalizado de mensajes <file> o en la consola\n-c, --customMessages [<file>] = sobreescribe los niveles de gravedad del mensaje según los parámetros del\n archivo personalizado de mensajes <file>\n\n--version = displays the EPUBCheck version\n\n-h, -? or --help = muestra este texto de ayuda\n\n`,
|
|
8
|
+
"fr": `EPUBCheck v${EPUBCHECK_VERSION}\n\nPour utiliser cet outil, le premier argument doit être le nom (ou le chemin) du fichier à valider.\n\nPour spécifier un profil de validation (pour effectuer les vérifications spécifiques\nà un profil ou une extension EPUB 3), utilisez l’option -profile.\n\nProfils de validation acceptés:\n--profile default = le profil de validation par défaut\n--profile dict = vérifie les règles de la spécification Dictionnaires et Glossaires EPUB\n--profile edupub = vérifie les règles du profil EDUPUB\n--profile idx = vérifie les règles de la spécification Indexes EPUB\n--profile preview = vérifie les règles de la spécification Aperçus EPUB\n\nEn cas de vérification d’un fichier simple inclus dans un EPUB, la version de la\nspécification EPUB à vérifier doit être spécifiée avec l’option -v et le type de \nfichier avec l’option -mode.\nLa version par défaut est 3.0.\n\nModes et versions acceptés: \n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = Pour une vérification des Media Overlays\n--mode exp = Pour une vérification de répertoire EPUB non-compressé\n\nCet outil accepte également les options suivantes :\n--save = sauvegarde un EPUB créé depuis un EPUB non-compressé\n--out <file> = produit un rapport de validation XML\n (utiliser - pour le produire sur la sortie standard)\n--xmp <file> = produit un rapport de validation XMP\n (utiliser - pour le produire sur la sortie standard)\n--json <file> = produit un rapport de validation JSON\n (utiliser - pour le produire sur la sortie standard)\n-m <file> = identique à --mode\n-p <profile> = identique à --profile\n-o <file> = identique à --out\n-x <file> = identique à --xmp\n-j <file> = identique à --json\n--failonwarnings = Par défaut, cet outil renvoie 1 si des erreurs sont trouvées ou 0 si le fichier\n ne contient aucune erreur. En utilisant --failonwarnings, 1 sera renvoyé également\n si des warnings ou des erreurs sont présents, et 0 ne sera renvoyés que si le fichier\n ne contient ni erreurs ni warnings.\n-q, --quiet = seuls les messages d’erreurs sont produits sur la sortie standard.\n-f, --fatal = inclure uniquement les erreurs fatales dans la sortie.\n-e, --error = inclure uniquement les erreurs et erreurs fatales dans la sortie.\n-w, --warn = inclure uniquement les erreurs, erreurs fatales, et warnings dans la sortie.\n-u, --usage = inclure les informations d’usage dans la sortie (OFF par défaut) ;\n si cette option est activée, des informations d’usage apparaitront systématiquement\n dans les rapports de validation.\n--locale <locale> = sortir des messages localisés conformément à la chaîne de balises de langue IETF BCP 47 fournie\n-l, --listChecks [<file>] = liste les identificateurs de message et les niveaux de sévérité dans le fichier\n de sortie <file> ou sur la sortie standard.\n-c, --customMessages [<file>] = remplace les niveaux de sévérité par défaut par ceux contenus\n dans le fichier <file>\n\n--version = affiche la version EPUBCheck\n\n-h, -? ou --help = affiche cette aide\n\n`,
|
|
9
|
+
"it": `EPUBCheck v${EPUBCHECK_VERSION}\n\nIl primo argomento è il percorso completo del file da controllare.\n\nPer specificare un profilo di validazione (per eseguire i controlli rispetto ad uno specifico profilo EPUB 3\no specifica dell'estensione), utilizzare l'opzione --profilo:\n\nProfili di convalida supportati:\n--profile default = il profilo di convalida predefinito\n--profile dict = convalida in base alle specifiche dei dizionari e dei glossari EPUB\n--profile edupub = convalida in base al profilo EDUPUB\n--profile idx = convalida in base alle specifiche degli indici EPUB\n--profile preview = è valida rispetto alla specifica EPUB Anteprime EPUB\n\nSe non si controlla un file EPUB, la versione EPUB deve essere specificata\nusando -v e il tipo di file usando --mode. La versione predefinita è la 3.0.\n\nTipi di controlli e corrispondenti versioni EPUB:\n--mode exp = controlla file decompressi\n--mode mo -v 3.0 = controlla Media Overlays\n--mode nav -v 3.0 = controlla Navigation Document\n--mode opf -v 2.0 = controlla file OPF\n--mode opf -v 3.0 = controlla file OPF\n--mode svg -v 2.0 = controlla file SVG\n--mode svg -v 3.0 = controlla file SVG\n--mode xhtml -v 2.0 = controlla file XHTML\n--mode xhtml -v 3.0 = controlla file XHTML\n\nArgomenti opzionali:\n--save = crea un EPUB compresso alla fine del controllo\n--out <file> = produci un documento XML coi risultati\n ('-' per l'output in console)\n--xmp <file> = produci un documento XMP coi risultati\n ('-' per l'output in console)\n--json <file> = produci un documento JSON coi risultati\n ('-' per l'output in console)\n-m <tipo> = sinonimo di --mode\n-p <profile> = same as --profile\n-o <file> = sinonimo di --out\n-x <file> = sinonimo di --xmp\n-j <file> = sinonimo di --json\n--failonwarnings = di norma, ritorna 1 se sono rilevati errori,\n e 0 altrimenti.\n Specificando --failonwarnings, sarà ritornato\n 1 in presenza di errori o potenziali errori\n e 0 altrimenti.\n-q, --quiet = non stampa messaggi in console, salvo errori\n-f, --fatal = includi solo gli errori fatali nell'output\n-e, --error = includi gli errori (fatali e non) nell'output\n-w, --warn = includi gli errori (fatali e non) e\n i potenziali errori nell'output\n-u, --usage = includi informazioni sull'uso delle\n varie specifiche EPUB nell'output;\n se abilitate, tali informazioni saranno\n sempre incluse nell'output <file>\n--locale <locale> = output localized messages according to the\n provided IETF BCP 47 language tag string.\n-l, --listChecks [<file>] = salva gli id e i livelli di errore nel\n file personalizzato <file> o stampali\n nella console (se <file> è omesso)\n-c, --customMessages [<file>] = ridefinisci i livelli di errore come\n specificato nel file personalizzato <file>\n\n--version = visualizza la versione EPUBCheck\n\n-h, -? o --help = mostra questa guida\n\n`,
|
|
10
|
+
"ja": `EPUBCheck v${EPUBCHECK_VERSION}\n\nこのツールを実行するには、最初の引数をチェックしたいファイルの(パスを含んだ)\n名前にして下さい.\n\n(特定のEPUB 3 プロファイルや拡張仕様に対してチェックするため)検証用プロファイルを\n指定するには, -profile オプションを使用します:\n\nサポートしている検証用プロファイル:\n--profile default = デフォルトの検証用プロファイルを使用します\n--profile dict = EPUB Dictionaries and Glossaries 仕様に対して検証します\n--profile edupub = EDUPUB Profile に対して検証します\n--profile idx = EPUB Indexes 仕様に対して検証します\n--profile preview = EPUB Previews 仕様に対して検証します\n\n非epubファイルを検証する際は、-v オプションでepubのバージョンを、\n-modeオプションでファイル種別を指定します.\nデフォルトのバージョン: 3.0.\n\nサポートしている mode と version:\n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = メディアオーバーレイ検証用\n--mode exp = 展開済みEPUBアーカイブ\n\n以下のオプションも受け付けます:\n--save = 展開されたepubパスから生成されたepubファイルを保存します\n--out <file> = 評価結果のXML文書ファイルを出力します (コンソールへの出力には - を使用)\n--xmp <file> = 評価結果のXMP文書ファイルを出力します (コンソールへの出力には - を使用)\n--json <file> = 評価結果のXJSON文書ファイルを出力します (コンソールへの出力には - を使用)\n-m <file> = --mode と同様\n-p <profile> = --profile と同様\n-o <file> = --out と同様\n-x <file> = --xmp と同様\n-j <file> = --json と同様\n--failonwarnings = デフォルトでは、終了ステータスコードとして、エラーが検出されれば1を、検出されなければ\n 0を返します. --failonwarnings オプションを指定すると、警告かエラーがあれば1を、警告もエラーもどちらも\n ない場合のみ0を返すようになります.\n-q, --quiet = エラー以外のメッセージをコンソールに出力しないようにします\n-f, --fatal = fatal レベルの深刻度のエラーメッセージのみを出力します\n-e, --error = fatal レベルと error レベルの深刻度のエラーメッセージのみを出力します\n-w, --warn = fatal、error、warn レベルの深刻度のエラーメッセージを出力します\n-u, --usage = epubの利用法情報も出力します\n (デフォルトは OFF です); 指定した場合、利用法情報は\n 出力ファイルに常に含まれるようになります\n--locale <locale> = 指定されたIETF BCP 47 言語タグ文字列に対応するローカライズメッセージを出力します.\n-l, --listChecks [<file>] = メッセージIDと深刻度レベルをカスタムメッセージファイル <file> または\n コンソールに出力します\n-c, --customMessages [<file>] = カスタムメッセージファイル <file> でメッセージ深刻度レベルを上書きします\n\n--version = EPUBCheckのバージョンを表示します\n\n-h, -? or --help = ヘルプメッセージを表示します\n\n`,
|
|
11
|
+
"ko-KR": `EPUBCheck v${EPUBCHECK_VERSION}\n\n유효성 검사를 실행하려면 경로를 포함한 파일명을 지정하십시요.\n\n유효성 검사를 위해 특정한 프로파일을 지정하려면 (특정한 EPUB3 혹은 확장된 사양 등) -profile 옵션을 사용합니다 :\n\n지원하는 유효성 검사 프로파일 : \n--profile default = 기본 검증용 프로파일을 사용합니다.\n--profile dict = EPUB Dictionaries and Glossaries 사양에 대해 확인합니다.\n--profile edupub = EDUPUB profile에 대해 확인합니다.\n--profile idx = EPUB Indexes 사양에 대해 확인합니다.\n--profile preview = ePUB Previews 사양에 대해 확인합니다\n\n비 epub 파일을 확인할 때 -v 옵션에서 epub 버전을 -mode 옵션에서 파일 유형을 지정합니다.\n기본 버전 : 3.0.\n\n지원 mode와 version :\n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = 미디어 오버레이 검증시\n--mode exp = EPUB 아카이브 확장시\n\n다음 옵션을 사용할 수 있습니다:\n--save = 확장 된 epub 경로에 생성 된 epub 파일을 저장합니다.\n--out <file> = 유효성 검사 결과를 XML 문서로 출력 합니다 (콘솔 출력은 -을 사용)\n--xmp <file> = 유효성 검사 결과를 XMP 문서로 출력합니다 (콘솔 출력은 -을 사용)\n--json <file> = 유효성 검사 결과를 JSON 문서로 출력합니다 (콘솔 출력은 -을 사용)\n-m <file> = --mode와 같음\n-p <profile> = --profile과 같음\n-o <file> = --out과 같음\n-x <file> = --xmp와 같음\n-j <file> = --json과 같음\n--failonwarnings = 유효성 검사를 완료한 후 오류가 검출되면 1을 오류가 없으면 0을 반환합니다.\n --failonwarnings 옵션을 지정하면 경고 또는 오류가있는 경우 1을 모두 없을 경우에만 0을 반환합니다.\n-q, --quiet = 오류를 제외하고 화면에 메시지를 출력하지 않습니다.\n-f, --fatal = 심각한 오류 메시지만 출력 파일에 표시합니다.\n-e, --error = 오류와 심각한 오류 메시지를 출력 파일에 표시합니다.\n-w, --warn = 경고, 오류, 심각한 오류 메시지를 출력 파일에 표시합니다.\n-u, --usage = epub 이용법 정보를 출력합니다.(기본값 : OFF) ON으로 지정한 경우 이용법 정보가 출력 파일에 포함됩니다.\n--locale <locale> = output localized messages according to the provided IETF BCP 47 language tag string.\n-l, --listChecks [<file>] = 메시지 ID와 심각도 레벨을 출력 파일 <file> 또는 콘솔에 출력합니다 \n-c, --customMessages [<file>] = 출력 파일 <file>에서 메시지 심각도 레벨을 덮어 씁니다\n\n--version = EPUBCheck의 버전을 표시합니다.\n\n-h -? or --help = 도움말 메시지를 표시합니다.\n\n`,
|
|
12
|
+
"nl": `EPUBCheck v${EPUBCHECK_VERSION}\n\nBij het starten van dit programma wordt als eerste argument de bestandsnaam\n(inclusief directorypad) van het te controleren bestand verwacht.\n\nOm een validatieprofiel te specificeren (om te checken tegen een specifiek ePub 3 profiel\nof extensiespecificatie), gebruikt u de -profile optie:\n\nOndersteunde validatieprofielen:\n--profile default = het standaard validatieprofiel\n--profile dict = valideert tegen de ePub Dictionaries & Glossaries specificatie\n--profile edupub = valideert tegen de EDUPUB specificatie\n--profile idx = valideert tegen de ePub Indexes specificatie\n--profile preview = valideert tegen de ePub Previews specificatie\n\nAls u een bestand wilt controleren dat geen epub is moet de epub-versie worden\ngespecificeerd met gebruik van -v en het type bestand met gebruik van -mode.\nDe standaardversie is 3.0.\n\nDe ondersteunde modes en versies:\n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = Voor het valideren van Media Overlays\n--mode exp = Voor uitgepakte epub structuren\n\nDit programma accepteert ook de volgende optionele instellingen:\n--save = slaat een epub op vanuit de uitgepakte epub structuur\n--out <file> = geeft een XML bestand met het resultaat van de check\n (- gebruiken om naar de console uit te voeren)\n--xmp <file> = geeft een XMP bestand met het resultaat van de check\n (- gebruiken om naar de console uit te voeren)\n--json <file> = geeft een JSON bestand met het resultaat van de check\n (- gebruiken om naar de console uit te voeren)\n-m <file> = gelijk aan --mode\n-p <profile> = gelijk aan --profile\n-o <file> = gelijk aan --out\n-x <file> = gelijk aan --xmp\n-j <file> = gelijk aan --json\n--failonwarnings. = standaard geeft het programma een waarde van 1 als er fouten worden gedetecteerd\n en een waarde van 0 als alles OK is.\n Gebruik --failonwarnings als u wilt dat er een waarde van 1 wordt teruggegeven als er fouten \n OF waarschuwingen worden ontdekt. \n Een waarde van 0 betekent dat er fouten noch waarschuwingen gedetecteerd zijn.\n-q, --quiet = geen berichten in de console, afgezien van eventuele foutmeldingen. In de output vindt u wel alles terug.\n-f, --fatal = meldt alleen fatale fouten in de output\n-e, --error = meldt alleen foutmeldingen en berichten met fatale afloop in de output\n-w, --warn = zowel fatale, foutmeldingen en waarschuwingen in de output\n-u, --usage = vermeldt de instellingen van dit programma in de output\n (standaard staat dit OFF); wanneer dit op ON staat wordt deze\n informatie altijd weergegeven in het outputbestand.\n--locale <locale> = output localized messages according to the provided IETF BCP 47 language tag string.\n-l, --listChecks [<file>] = geeft bericht IDs en zwaartegraden weer in het berichtenbestand\n met de naam <file> of het console. \n-c, --customMessages [<file>] = gebruikt de zwaartegraden uit het aparte berichtenbestand\n met de naam <file>\n\n--version = geeft de EPUBCheck-versie weer\n\n-h, -? of --help = geeft dit hulpbestand weer\n\n`,
|
|
13
|
+
"pt-BR": `EPUBCheck v${EPUBCHECK_VERSION}\n\nAo executar esta ferramenta, o primeiro argumento deve ser o nome (com o caminho)\ndo arquivo a ser verificado.\n\nPara especificar um perfil de validação (para verificações sob um perfil específico do EPUB 3\nou especificação de extensão), use a opção -profile:\n\nPerfis de validação suportados:\n--profile default = o perfil de validação padrão\n--profile dict = valida sob a especificação de Dicionários e Glossários EPUB\n--profile edupub = valida sob o Perfil EDUPUB\n--profile idx = valida sob a especificação de Índices EPUB\n--profile preview = valida sob a especificação de Amostras EPUB\n\nSe estiver verificando um arquivo que não seja epub, a versão epub do arquivo deve\nser especificada usando -v e o tipo do arquivo usando -mode.\nA versão padrão é: 3.0.\n\nModos e versão suportadas: \n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = para validação de Media Overlays\n--mode exp = para arquivos EPUB expandidos\n\nEsta ferramenta também aceita as seguintes opções:\n--save = salva o epub criado a partir do epub expandido\n--out <arquivo> = gera um arquivo de avaliação no formato XML (uso - para exibir no console)\n--xmp <arquivo> = gera um arquivo de avaliação no formato XMP (uso - para exibir no console)\n--json <arquivo> = gera um arquivo de avaliação no formato JSON (uso - para exibir no console)\n-m <arquivo> = o mesmo que --mode\n-p <perfil> = o mesmo que --profile\n-o <arquivo> = o mesmo que --out\n-x <arquivo> = o mesmo que --xmp\n-j <arquivo> = o mesmo que --json\n--failonwarnings = Por padrão, a ferramenta retorna 1 se erros forem encontrados no arquivo ou 0 se não forem\n encontrados erros. Usar --failonwarnings irá fazer com que o processo finalize com o status de\n 1 se houver tanto advertências como falhas presentes e 0 apenas quando não houver erros nem advertências.\n-q, --quiet = nenhuma mensagem no console, exceto erros, apenas na saída\n-f, --fatal = incluir apenas erros fatais na saída\n-e, --error = incluir apenas mensagens com severidade de erro e erro fatal na saída\n-w, --warn = incluir apenas mensagens com severidade de erro fatal, erro, e advertência na saída\n-u, --usage = incluir informação sobre o uso de recursos ePub na saída\n (o padrão é desligado); se habilitato, a informação sobre o uso será\n sempre incluída no arquivo de saída\n--locale <idioma> = gera mensagens no idioma local, de acordo com o código de linguagem fornecido pela norma IETF BCP 47.\n-l, --listChecks [<arquivo>] = lista ids de mensagem e o nível de severidade para o arquivo de mensagem personalizada de nome <arquivo>\n ou no console\n-c, --customMessages [<arquivo>] = sobrescreve os níveis de severidade das mensagens como definido no arquivo de mensagem personalizada de nome <arquivo>\n\n--version = exibe a versão do EPUBCheck\n\n-h, -? ou --help = exibe esta mensagem de ajuda\n\n`,
|
|
14
|
+
"zh-TW": `EPUB檢查器 ${EPUBCHECK_VERSION}版\n\n當使用本工具時,第一個變數需是要檢查的檔案名稱(包含路徑)。\n\n要指定驗證Profile(以檢查特定的EPUB Profile或者延伸規格),請使用 -profile 選項如下:\n\n驗證Profile支援如下:\n--profile default = 以預設profile驗證\n--profile dict = 以EPUB 字典與詞彙表規格進行驗證\n--profile edupub = 以EDUPUB Profile進行驗證\n--profile idx = 以EPUB 索引規格進行驗證\n--profile preview = 以EPUB預覽規格進行驗證\n\n如果檢查的不是EPUB檔案,則必須使用 -mode 來指定檔案種類,以及使用 -v 來指定版本。\n預設版本為:3.0。\n\n支援的檔案種類與版本如下:\n--mode opf -v 2.0\n--mode opf -v 3.0\n--mode xhtml -v 2.0\n--mode xhtml -v 3.0\n--mode svg -v 2.0\n--mode svg -v 3.0\n--mode nav -v 3.0\n--mode mo -v 3.0 = 供檢查Media Overlays功能使用\n--mode exp = 供擴張的EPUB檔案使用\n\n本工具也接受下列項目:\n--save = 另由擴張的EPUB中儲存EPUB\n--out<file> = 輸出結果為XML格式的檔案(使用 - 以輸出到終端機)\n--xmp <file> = 輸出結果為XMP格式的檔案(使用 - 以輸出到終端機)\n--json <file> = 輸出結果為XMP格式的檔案(使用 - 以輸出到終端機)\n-m <file> = 和 --mode 相同\n-p <profile> = 和 --profile 相同\n-o <file> = 和 --out 相同\n-x <file> = 和 --xmp 相同\n-j <file> = 和 --json 相同\n--failonwarnings = 預設上,當發現錯誤時回報值為 1 或者沒有錯誤時回報值為 0。使用 --failonwarnings 將會使得處理程序終止,狀態為 1 並且有警告訊息或者錯誤需要顯示亦然,而只會在沒有錯誤與警告訊息時才會回傳 0。\n-q, --quiet = 除了錯誤以外不會在終端機上顯示訊息,但僅限於結果\n-f, --fatal = 結果僅包含致命錯誤\n-e, --error = 結果僅包含錯誤以及致命錯誤\n-w, --warn = 結果包含致命錯誤、錯誤與警告訊息\n-u, --usage = 結果包含EPUB中使用的功能訊息(預設為關閉);若開啟,使用的功能資訊將會持續出現在結果檔案中\n--locale <locale> = 根據所提供的IETF BCP 47語言標籤字串輸出在地化的訊息\n-l, --listChecks [<file>] = 列出訊息ID以及重要層級到指定的輸出訊息檔案<file>\n或者終端機\n-c, --customMessages [<file>] = 忽視指定的輸出訊息檔案<file>中的訊息重要層級\n\n--version = 顯示EPUB檢查器版本\n\n-h, -? 或 --help = 顯示輔助說明訊息\n\n`
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { HELP_OUTPUT_BY_LOCALE as n, HELP_OUTPUT as t };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=help-text-CvNP4Zt6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"help-text-CvNP4Zt6.js","names":[],"sources":["../../src/help-text.ts"],"sourcesContent":["// AUTO-GENERATED by scripts/generate-cli-data.ts from the official epubcheck\n// CLI `--help` output. Do not edit by hand; re-run `npm run generate:cli-data`\n// after an epubcheck upgrade.\n//\n// HELP_OUTPUT and HELP_OUTPUT_BY_LOCALE are the VERBATIM text the upstream\n// CLI prints for default and localized `--help` invocations, respectively\n// (source: com/adobe/epubcheck/util/messages.properties key `help_text`, plus\n// the trailing newline outWriter.println adds), kept as exact bytes so the CLI\n// is byte-identical to the real tool. The ONLY substitution is the version in\n// the header line, interpolated from the library's EPUBCHECK_VERSION so an\n// epubcheck upgrade regenerates it with no hand-edit here.\nimport { EPUBCHECK_VERSION } from \"epubcheck-standalone\";\n\nexport const HELP_OUTPUT = `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nWhen running this tool, the first argument should be the name (with the path)\\nof the file to check.\\n\\nTo specify a validation profile (to run checks against a specific EPUB 3 profile\\nor extension specification), use the -profile option:\\n\\nValidation profiles supported:\\n--profile default = the default validation profile\\n--profile dict = validates against the EPUB Dictionaries and Glossaries specification\\n--profile edupub = validates against the EDUPUB Profile\\n--profile idx = validates against the EPUB Indexes specification\\n--profile preview = validates against the EPUB Previews specification\\n\\nIf checking a non-epub file, the epub version of the file must\\nbe specified using -v and the type of the file using -mode.\\nThe default version is: 3.0.\\n\\nModes and versions supported:\\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = for Media Overlays validation\\n--mode exp = for expanded EPUB archives\\n\\nThis tool also accepts the following options:\\n--save = saves the epub created from the expanded epub\\n--out <file> = output an assessment XML document file (use - to output to console)\\n--xmp <file> = output an assessment XMP document file (use - to output to console)\\n--json <file> = output an assessment JSON document file (use - to output to console)\\n-m <file> = same as --mode\\n-p <profile> = same as --profile\\n-o <file> = same as --out\\n-x <file> = same as --xmp\\n-j <file> = same as --json\\n--maxOfEachMessage NUM = limit the number of messages reported for each message-ID-and-text combination to NUM.\\n This option only applies when producing a report in one of the JSON or XML formats.\\n By default, if this option is not set, the report will only include a maximum of 25\\n messages for each message-ID-and-text combination.\\n The keyword 'unlimited' or a negative value can be used to unset the limit and include\\n all the messages to the report.\\n\\n--failonwarnings = By default, the tool returns a 1 if errors are found in the file or 0 if no errors\\n are found. Using --failonwarnings will cause the process to exit with a status of\\n 1 if either warnings or errors are present and 0 only when there are no errors or warnings.\\n-q, --quiet = no message on console, except errors, only in the output\\n-f, --fatal = include only fatal errors in the output\\n-e, --error = include only error and fatal severity messages in ouput\\n-w, --warn = include fatal, error, and warn severity messages in output\\n-u, --usage = include ePub feature usage information in output\\n (default is OFF); if enabled, usage information will\\n always be included in the output file\\n--locale <locale> = output localized messages according to the provided IETF BCP 47 language tag string.\\n\\n-l, --listChecks [<file>] = list message ids and severity levels to the custom message file named <file>\\n or the console\\n-c, --customMessages [<file>] = override message severity levels as defined in the custom message file named <file>\\n\\n--version = displays the EPUBCheck version\\n\\n-h, -? or --help = displays this help message\\n\\n`;\n\nexport const HELP_OUTPUT_BY_LOCALE: Record<string, string> = {\n \"da\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nDet første parameter, der skal sendes til dette værktøj, skal være filstien til den fil,\\ndu vil kontrollere.\\n\\nFor at angive en valideringsprofil (og kontrollere op imod en bestemt EPUB 3 profil\\neller udvidet specifikation), skal du anvende en -profil-indstilling:\\n\\nValideringsprofiler som understøttes:\\n--profile default = standardvalideringsprofilen\\n--profile dict = valideret op imod \"EPUB Dictionaries and Glossaries\"-specifikationen\\n--profile edupub = valideret op imod \"EDUPUB Profile\"\\n--profile idx = valideret op imod \"EPUB Indexes\"-specifikationen\\n--profile preview = valideret op imod \"EPUB Previews\"-specifikationen\\n\\nHvis der kontrolleres en fil, som ikke er en zippet EPUB, skal EPUB versionsnummeret, som der skal kontrolleres imod, angives med parameteret -v, samt Typen af filen med parameteret --mode\\nStandardversion til validering er: 3.0.\\n\\nModus og versioner som understøttes:\\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = til Media Overlays version 3.0\\n--mode exp = til udpakkede EPUB-arkiver\\n\\nEPUBCheck accepterer disse ekstra muligheder:\\n--save = genererer en EPUB ud fra den udpakkede mappe\\n--out <file> = gemmer resultatet af validering i XML-format (brug - for at skrive til konsol)\\n--xmp <file> = gemmer resultatet af valideringen i XMP-format (brug - for at skrive til konsol)\\n--json <file> = gemmer resultatet af validering i JSON-format (brug - for at skrive til konsol)\\n-m = synonym for --mode\\n-p <profile> = synonym for --profile\\n-o <file> = synonym for --out\\n-x <file> = synonym for --xmp\\n-j <file> = synonym for --json\\n--failonwarnings = som standard afsluttes EPUBCheck med ExitCode 1 hvis der blev fundet fejl i filen, og med ExitCode 0 hvis der ikke blev fundet fejl.\\n Ved brug af --failonwarnings vil EPUBCheck blive klar til afslutning\\n med ExitCode 1 når der er advarsler, og ExitCode 0 ved ingen fejl eller mangler.\\n-q, --quiet = kun fejl udsendes på konsollen\\n-f, --fatal = brug kun fatale fejl\\n-e, --error = vis kun fatale fejl og fejl\\n-w, --warn = fatale fejl, fejl og advarsler\\n-u, --usage = output information om brug af specifikke EPUB-funktioner \\n (deaktiveret som standard); hvis aktiveret, er informationen\\n altid inkluderet i outputfilen\\n--locale <locale> = information af resultaterne i det givne sprog, hvis en oversættelse er tilgængelig (i henhold til IETF BCP 47-standarden).\\n\\n-l, --listChecks [<file>] = output af alle meddelelses-id\"<file>er og fejlniveauer i en brugerdefineret fil<file>\\n eller på konsollen\\n-c, --customMessages [<file>] = overstyrer fejlniveauet for EPUBCheck som angivet i den brugerdefinerede fil <file>\\n\\n--version = viser EPUBCheck versionsnummer\\n\\n-h, -? eller --help = viser denne hjælp\\n\\n`,\n \"de\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nDer erste Parameter der an dieses Tool übergeben werden sollte,\\nsollte der Dateipfad der zu prüfenden Datei sein.\\n\\nUm ein Validierungsprofil anzugeben, verwende den Parameter --profile\\nValidierungsprofile können verwendet werden, um gegen ein spezielles EPUB 3-Profil\\noder eine erweiterte Spezifikation zu validieren.\\n\\nUnterstützte Validierungsprofile:\\n--profile default = Das Standard-Validierungsprofil\\n--profile dict = Validiert gegen die \"EPUB Dictionaries and Glossaries\"-Spezifikation\\n--profile edupub = Validiert gegen das \"EDUPUB\"-Profil\\n--profile idx = Validiert gegen die \"EPUB Indexes\"-Spezifikation\\n--profile preview = Validiert gegen die \"EPUB Previews\"-Spezifikation\\n\\nWenn eine Datei geprüft wird die kein gezipptes EPUB ist,\\ndann muss die EPUB-Versionsnummer gegen die geprüft werden soll\\nmit dem Parameter -v angegeben werden, sowie der Typ der Datei\\nmit dem Parameter --mode\\nDie Standard-Version zur Validierung ist 3.0\\n\\nUnterstützte Werte für die Parameter --mode und -v:\\n--mode opf -v 2.0 = Für OPF-Dateien der Version 2.0\\n--mode opf -v 3.0 = Für OPF-Dateien der Version 3.0\\n--mode xhtml -v 2.0 = Für XHTML-Dateien der Version 2.0\\n--mode xhtml -v 3.0 = Für XHTML-Dateien der Version 3.0\\n--mode svg -v 2.0 = Für SVG-Dateien der Version 2.0\\n--mode svg -v 3.0 = Für SVG-Dateien der Version 3.0\\n--mode nav -v 3.0 = Für EPUB-Navigationsdokumente der Version 3.0\\n--mode mo -v 3.0 = Für EPUB-MediaOverlays der Version 3.0\\n--mode exp = Für entpackte EPUB-Archive\\n\\nEPUBCheck akzeptiert diese weiteren Optionen:\\n--save = generiert ein EPUB aus dem entpackten Ordner\\n--out <datei> = speichert das Ergebnis der Validierung im XML-Format\\n--xmp <datei> = speichert das Ergebnis der Validierung im XMP-Format\\n--json <datei> = speichert das Ergebnis der Validierung im JSON-Format\\n-m <datei> = Synonym zu --mode\\n-p <profile> = Synonym zu --profile\\n-o <datei> = Synonym zu --out\\n-x <datei> = Synonym zu --xmp\\n-j <datei> = Synonym zu --json\\n--failonwarnings = Standardmäßig wird EPUBCheck mit ExitCode 1 beendet falls Fehler im EPUB gefunden wurden\\n und mit ExitCode 0, falls keine Fehler gefunden wurden. Bei Nutzung von --failonwarnings\\n wird EPUBCheck auch bereits bei Auftreten von Warnungen mit ExitCode 1 beendet.\\n-q, --quiet = Nur Fehler werden auf der Konsole ausgegeben\\n-f, --fatal = Nur Fatale Fehler ausgeben\\n-e, --error = Nur Fatale Fehler und Fehler ausgeben\\n-w, --warn = Fatale Fehler, Fehler und Warnungen ausgeben\\n-u, --usage = Informationen zur Nutzung bestimmter EPUB-Features ausgeben (standardmäßig deaktiviert);\\n wenn aktiviert, dann werden Informationen immer auch in die Ausgabedatei aufgenommen.\\n\\n--locale <sprache> = Ausgabe der Ergebnisse in der angegebenen Sprache, sofern eine Übersetzung verfügbar ist\\n (Angabe nach IETF BCP 47 Standard)\\n\\n-l, --listChecks [<datei>] = Ausgabe aller Message-ID's und Fehler-Level in eine\\n benutzerdefinierte Datei <datei> oder auf der Konsole.\\n-c, --customMessages [<datei>] = Überschreibt die Fehler-Level von EPUBCheck wie in der\\n benutzerdefinierten Datei <datei> angegeben.\\n\\n--version = Zeigt die EPUBCheck-Versionsnummer an\\n\\n-h, -? oder --help = Zeigt diese Hilfe an\\n\\n`,\n \"es\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nPara ejecutar EPUBCheck el primer argumento debe ser el nombre (y la ruta)\\ndel archivo que se valida.\\n\\nPara especificar un perfil de validación (ejecuta comprobaciones sobre un perfil\\nEPUB 3 específico o una especificación), use la opción -profile:\\n\\nPerfiles de validación soportados:\\n--profile default = perfil de validación por defecto\\n--profile dict = valida sobre la especificación EPUB Diccionarios y Glosarios\\n--profile edupub = valida sobre el perfil EDUPUB \\n--profile idx = valida sobre la especificación EPUB Índices\\n--profile preview = valida sobre la especificación EPUB Vistas Previas\\n\\nSi se valida un archivo que no sea epub, la versión epub del archivo\\ndebe especificarse con -v y el tipo de archivo con -mode.\\nLa versión por defecto es: 3.0.\\n\\nModos y versiones soportados:\\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = Para la validación de Media Overlays\\n--mode exp = Para archivos EPUB expandidos\\n\\nEsta herramientas permite las siguientes opciones:\\n--save = guarda el epub creado a partir del epub expandido\\n--out <file> = extrae un fichero XML de validación\\n (utilice - para salida a la consola)\\n--xmp <file> = extrae un fichero XMP de validación\\n (utilice - para salida a la consola)\\n--json <file> = extrae un fichero JSON de validación\\n (utilice - para salida a la consola)\\n-m <file> = igual a --mode\\n-p <profile> = igual a --profile\\n-o <file> = igual a --out\\n-x <file> = igual a --xmp\\n-j <file> = igual a --json\\n--failonwarnings = Por defecto, la herramienta devuelve 1 si se encuentran errores en el archivo o 0 si no hay errores\\n Utilizar --failonwarnings provoca la detención del proceso con un resultado\\n de 1 si hay errores o advertencias y 0 cuando no los hay.\\n-q, --quiet = no hay mensajes en la consola; excepto errores, solo en la salida\\n-f, --fatal = incluye solo errores en la salida\\n-e, --error = incluye solo errores y errores graves en la salida\\n-w, --warn = incluye solo errores, errores graves y advertencias en la salida\\n-u, --usage = incluye información sobre el uso de ePub en la salida\\n (por defecto es OFF); si está activada, la información de uso será incluida\\n en el archivo de salida\\n--locale <locale> = output localized messages according to the provided IETF BCP 47 language tag string.\\n-l, --listChecks [<file>] = enumera los identificadores de mensaje y los niveles de gravedad en el archivo\\n personalizado de mensajes <file> o en la consola\\n-c, --customMessages [<file>] = sobreescribe los niveles de gravedad del mensaje según los parámetros del\\n archivo personalizado de mensajes <file>\\n\\n--version = displays the EPUBCheck version\\n\\n-h, -? or --help = muestra este texto de ayuda\\n\\n`,\n \"fr\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nPour utiliser cet outil, le premier argument doit être le nom (ou le chemin) du fichier à valider.\\n\\nPour spécifier un profil de validation (pour effectuer les vérifications spécifiques\\nà un profil ou une extension EPUB 3), utilisez l’option -profile.\\n\\nProfils de validation acceptés:\\n--profile default = le profil de validation par défaut\\n--profile dict = vérifie les règles de la spécification Dictionnaires et Glossaires EPUB\\n--profile edupub = vérifie les règles du profil EDUPUB\\n--profile idx = vérifie les règles de la spécification Indexes EPUB\\n--profile preview = vérifie les règles de la spécification Aperçus EPUB\\n\\nEn cas de vérification d’un fichier simple inclus dans un EPUB, la version de la\\nspécification EPUB à vérifier doit être spécifiée avec l’option -v et le type de \\nfichier avec l’option -mode.\\nLa version par défaut est 3.0.\\n\\nModes et versions acceptés: \\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = Pour une vérification des Media Overlays\\n--mode exp = Pour une vérification de répertoire EPUB non-compressé\\n\\nCet outil accepte également les options suivantes :\\n--save = sauvegarde un EPUB créé depuis un EPUB non-compressé\\n--out <file> = produit un rapport de validation XML\\n (utiliser - pour le produire sur la sortie standard)\\n--xmp <file> = produit un rapport de validation XMP\\n (utiliser - pour le produire sur la sortie standard)\\n--json <file> = produit un rapport de validation JSON\\n (utiliser - pour le produire sur la sortie standard)\\n-m <file> = identique à --mode\\n-p <profile> = identique à --profile\\n-o <file> = identique à --out\\n-x <file> = identique à --xmp\\n-j <file> = identique à --json\\n--failonwarnings = Par défaut, cet outil renvoie 1 si des erreurs sont trouvées ou 0 si le fichier\\n ne contient aucune erreur. En utilisant --failonwarnings, 1 sera renvoyé également\\n si des warnings ou des erreurs sont présents, et 0 ne sera renvoyés que si le fichier\\n ne contient ni erreurs ni warnings.\\n-q, --quiet = seuls les messages d’erreurs sont produits sur la sortie standard.\\n-f, --fatal = inclure uniquement les erreurs fatales dans la sortie.\\n-e, --error = inclure uniquement les erreurs et erreurs fatales dans la sortie.\\n-w, --warn = inclure uniquement les erreurs, erreurs fatales, et warnings dans la sortie.\\n-u, --usage = inclure les informations d’usage dans la sortie (OFF par défaut) ;\\n si cette option est activée, des informations d’usage apparaitront systématiquement\\n dans les rapports de validation.\\n--locale <locale> = sortir des messages localisés conformément à la chaîne de balises de langue IETF BCP 47 fournie\\n-l, --listChecks [<file>] = liste les identificateurs de message et les niveaux de sévérité dans le fichier\\n de sortie <file> ou sur la sortie standard.\\n-c, --customMessages [<file>] = remplace les niveaux de sévérité par défaut par ceux contenus\\n dans le fichier <file>\\n\\n--version = affiche la version EPUBCheck\\n\\n-h, -? ou --help = affiche cette aide\\n\\n`,\n \"it\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nIl primo argomento è il percorso completo del file da controllare.\\n\\nPer specificare un profilo di validazione (per eseguire i controlli rispetto ad uno specifico profilo EPUB 3\\no specifica dell'estensione), utilizzare l'opzione --profilo:\\n\\nProfili di convalida supportati:\\n--profile default = il profilo di convalida predefinito\\n--profile dict = convalida in base alle specifiche dei dizionari e dei glossari EPUB\\n--profile edupub = convalida in base al profilo EDUPUB\\n--profile idx = convalida in base alle specifiche degli indici EPUB\\n--profile preview = è valida rispetto alla specifica EPUB Anteprime EPUB\\n\\nSe non si controlla un file EPUB, la versione EPUB deve essere specificata\\nusando -v e il tipo di file usando --mode. La versione predefinita è la 3.0.\\n\\nTipi di controlli e corrispondenti versioni EPUB:\\n--mode exp = controlla file decompressi\\n--mode mo -v 3.0 = controlla Media Overlays\\n--mode nav -v 3.0 = controlla Navigation Document\\n--mode opf -v 2.0 = controlla file OPF\\n--mode opf -v 3.0 = controlla file OPF\\n--mode svg -v 2.0 = controlla file SVG\\n--mode svg -v 3.0 = controlla file SVG\\n--mode xhtml -v 2.0 = controlla file XHTML\\n--mode xhtml -v 3.0 = controlla file XHTML\\n\\nArgomenti opzionali:\\n--save = crea un EPUB compresso alla fine del controllo\\n--out <file> = produci un documento XML coi risultati\\n ('-' per l'output in console)\\n--xmp <file> = produci un documento XMP coi risultati\\n ('-' per l'output in console)\\n--json <file> = produci un documento JSON coi risultati\\n ('-' per l'output in console)\\n-m <tipo> = sinonimo di --mode\\n-p <profile> = same as --profile\\n-o <file> = sinonimo di --out\\n-x <file> = sinonimo di --xmp\\n-j <file> = sinonimo di --json\\n--failonwarnings = di norma, ritorna 1 se sono rilevati errori,\\n e 0 altrimenti.\\n Specificando --failonwarnings, sarà ritornato\\n 1 in presenza di errori o potenziali errori\\n e 0 altrimenti.\\n-q, --quiet = non stampa messaggi in console, salvo errori\\n-f, --fatal = includi solo gli errori fatali nell'output\\n-e, --error = includi gli errori (fatali e non) nell'output\\n-w, --warn = includi gli errori (fatali e non) e\\n i potenziali errori nell'output\\n-u, --usage = includi informazioni sull'uso delle\\n varie specifiche EPUB nell'output;\\n se abilitate, tali informazioni saranno\\n sempre incluse nell'output <file>\\n--locale <locale> = output localized messages according to the\\n provided IETF BCP 47 language tag string.\\n-l, --listChecks [<file>] = salva gli id e i livelli di errore nel\\n file personalizzato <file> o stampali\\n nella console (se <file> è omesso)\\n-c, --customMessages [<file>] = ridefinisci i livelli di errore come\\n specificato nel file personalizzato <file>\\n\\n--version = visualizza la versione EPUBCheck\\n\\n-h, -? o --help = mostra questa guida\\n\\n`,\n \"ja\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nこのツールを実行するには、最初の引数をチェックしたいファイルの(パスを含んだ)\\n名前にして下さい.\\n\\n(特定のEPUB 3 プロファイルや拡張仕様に対してチェックするため)検証用プロファイルを\\n指定するには, -profile オプションを使用します:\\n\\nサポートしている検証用プロファイル:\\n--profile default = デフォルトの検証用プロファイルを使用します\\n--profile dict = EPUB Dictionaries and Glossaries 仕様に対して検証します\\n--profile edupub = EDUPUB Profile に対して検証します\\n--profile idx = EPUB Indexes 仕様に対して検証します\\n--profile preview = EPUB Previews 仕様に対して検証します\\n\\n非epubファイルを検証する際は、-v オプションでepubのバージョンを、\\n-modeオプションでファイル種別を指定します.\\nデフォルトのバージョン: 3.0.\\n\\nサポートしている mode と version:\\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = メディアオーバーレイ検証用\\n--mode exp = 展開済みEPUBアーカイブ\\n\\n以下のオプションも受け付けます:\\n--save = 展開されたepubパスから生成されたepubファイルを保存します\\n--out <file> = 評価結果のXML文書ファイルを出力します (コンソールへの出力には - を使用)\\n--xmp <file> = 評価結果のXMP文書ファイルを出力します (コンソールへの出力には - を使用)\\n--json <file> = 評価結果のXJSON文書ファイルを出力します (コンソールへの出力には - を使用)\\n-m <file> = --mode と同様\\n-p <profile> = --profile と同様\\n-o <file> = --out と同様\\n-x <file> = --xmp と同様\\n-j <file> = --json と同様\\n--failonwarnings = デフォルトでは、終了ステータスコードとして、エラーが検出されれば1を、検出されなければ\\n 0を返します. --failonwarnings オプションを指定すると、警告かエラーがあれば1を、警告もエラーもどちらも\\n ない場合のみ0を返すようになります.\\n-q, --quiet = エラー以外のメッセージをコンソールに出力しないようにします\\n-f, --fatal = fatal レベルの深刻度のエラーメッセージのみを出力します\\n-e, --error = fatal レベルと error レベルの深刻度のエラーメッセージのみを出力します\\n-w, --warn = fatal、error、warn レベルの深刻度のエラーメッセージを出力します\\n-u, --usage = epubの利用法情報も出力します\\n (デフォルトは OFF です); 指定した場合、利用法情報は\\n 出力ファイルに常に含まれるようになります\\n--locale <locale> = 指定されたIETF BCP 47 言語タグ文字列に対応するローカライズメッセージを出力します.\\n-l, --listChecks [<file>] = メッセージIDと深刻度レベルをカスタムメッセージファイル <file> または\\n コンソールに出力します\\n-c, --customMessages [<file>] = カスタムメッセージファイル <file> でメッセージ深刻度レベルを上書きします\\n\\n--version = EPUBCheckのバージョンを表示します\\n\\n-h, -? or --help = ヘルプメッセージを表示します\\n\\n`,\n \"ko-KR\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\n유효성 검사를 실행하려면 경로를 포함한 파일명을 지정하십시요.\\n\\n유효성 검사를 위해 특정한 프로파일을 지정하려면 (특정한 EPUB3 혹은 확장된 사양 등) -profile 옵션을 사용합니다 :\\n\\n지원하는 유효성 검사 프로파일 : \\n--profile default = 기본 검증용 프로파일을 사용합니다.\\n--profile dict = EPUB Dictionaries and Glossaries 사양에 대해 확인합니다.\\n--profile edupub = EDUPUB profile에 대해 확인합니다.\\n--profile idx = EPUB Indexes 사양에 대해 확인합니다.\\n--profile preview = ePUB Previews 사양에 대해 확인합니다\\n\\n비 epub 파일을 확인할 때 -v 옵션에서 epub 버전을 -mode 옵션에서 파일 유형을 지정합니다.\\n기본 버전 : 3.0.\\n\\n지원 mode와 version :\\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = 미디어 오버레이 검증시\\n--mode exp = EPUB 아카이브 확장시\\n\\n다음 옵션을 사용할 수 있습니다:\\n--save = 확장 된 epub 경로에 생성 된 epub 파일을 저장합니다.\\n--out <file> = 유효성 검사 결과를 XML 문서로 출력 합니다 (콘솔 출력은 -을 사용)\\n--xmp <file> = 유효성 검사 결과를 XMP 문서로 출력합니다 (콘솔 출력은 -을 사용)\\n--json <file> = 유효성 검사 결과를 JSON 문서로 출력합니다 (콘솔 출력은 -을 사용)\\n-m <file> = --mode와 같음\\n-p <profile> = --profile과 같음\\n-o <file> = --out과 같음\\n-x <file> = --xmp와 같음\\n-j <file> = --json과 같음\\n--failonwarnings = 유효성 검사를 완료한 후 오류가 검출되면 1을 오류가 없으면 0을 반환합니다.\\n --failonwarnings 옵션을 지정하면 경고 또는 오류가있는 경우 1을 모두 없을 경우에만 0을 반환합니다.\\n-q, --quiet = 오류를 제외하고 화면에 메시지를 출력하지 않습니다.\\n-f, --fatal = 심각한 오류 메시지만 출력 파일에 표시합니다.\\n-e, --error = 오류와 심각한 오류 메시지를 출력 파일에 표시합니다.\\n-w, --warn = 경고, 오류, 심각한 오류 메시지를 출력 파일에 표시합니다.\\n-u, --usage = epub 이용법 정보를 출력합니다.(기본값 : OFF) ON으로 지정한 경우 이용법 정보가 출력 파일에 포함됩니다.\\n--locale <locale> = output localized messages according to the provided IETF BCP 47 language tag string.\\n-l, --listChecks [<file>] = 메시지 ID와 심각도 레벨을 출력 파일 <file> 또는 콘솔에 출력합니다 \\n-c, --customMessages [<file>] = 출력 파일 <file>에서 메시지 심각도 레벨을 덮어 씁니다\\n\\n--version = EPUBCheck의 버전을 표시합니다.\\n\\n-h -? or --help = 도움말 메시지를 표시합니다.\\n\\n`,\n \"nl\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nBij het starten van dit programma wordt als eerste argument de bestandsnaam\\n(inclusief directorypad) van het te controleren bestand verwacht.\\n\\nOm een validatieprofiel te specificeren (om te checken tegen een specifiek ePub 3 profiel\\nof extensiespecificatie), gebruikt u de -profile optie:\\n\\nOndersteunde validatieprofielen:\\n--profile default = het standaard validatieprofiel\\n--profile dict = valideert tegen de ePub Dictionaries & Glossaries specificatie\\n--profile edupub = valideert tegen de EDUPUB specificatie\\n--profile idx = valideert tegen de ePub Indexes specificatie\\n--profile preview = valideert tegen de ePub Previews specificatie\\n\\nAls u een bestand wilt controleren dat geen epub is moet de epub-versie worden\\ngespecificeerd met gebruik van -v en het type bestand met gebruik van -mode.\\nDe standaardversie is 3.0.\\n\\nDe ondersteunde modes en versies:\\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = Voor het valideren van Media Overlays\\n--mode exp = Voor uitgepakte epub structuren\\n\\nDit programma accepteert ook de volgende optionele instellingen:\\n--save = slaat een epub op vanuit de uitgepakte epub structuur\\n--out <file> = geeft een XML bestand met het resultaat van de check\\n (- gebruiken om naar de console uit te voeren)\\n--xmp <file> = geeft een XMP bestand met het resultaat van de check\\n (- gebruiken om naar de console uit te voeren)\\n--json <file> = geeft een JSON bestand met het resultaat van de check\\n (- gebruiken om naar de console uit te voeren)\\n-m <file> = gelijk aan --mode\\n-p <profile> = gelijk aan --profile\\n-o <file> = gelijk aan --out\\n-x <file> = gelijk aan --xmp\\n-j <file> = gelijk aan --json\\n--failonwarnings. = standaard geeft het programma een waarde van 1 als er fouten worden gedetecteerd\\n en een waarde van 0 als alles OK is.\\n Gebruik --failonwarnings als u wilt dat er een waarde van 1 wordt teruggegeven als er fouten \\n OF waarschuwingen worden ontdekt. \\n Een waarde van 0 betekent dat er fouten noch waarschuwingen gedetecteerd zijn.\\n-q, --quiet = geen berichten in de console, afgezien van eventuele foutmeldingen. In de output vindt u wel alles terug.\\n-f, --fatal = meldt alleen fatale fouten in de output\\n-e, --error = meldt alleen foutmeldingen en berichten met fatale afloop in de output\\n-w, --warn = zowel fatale, foutmeldingen en waarschuwingen in de output\\n-u, --usage = vermeldt de instellingen van dit programma in de output\\n (standaard staat dit OFF); wanneer dit op ON staat wordt deze\\n informatie altijd weergegeven in het outputbestand.\\n--locale <locale> = output localized messages according to the provided IETF BCP 47 language tag string.\\n-l, --listChecks [<file>] = geeft bericht IDs en zwaartegraden weer in het berichtenbestand\\n met de naam <file> of het console. \\n-c, --customMessages [<file>] = gebruikt de zwaartegraden uit het aparte berichtenbestand\\n met de naam <file>\\n\\n--version = geeft de EPUBCheck-versie weer\\n\\n-h, -? of --help = geeft dit hulpbestand weer\\n\\n`,\n \"pt-BR\": `EPUBCheck v${EPUBCHECK_VERSION}\\n\\nAo executar esta ferramenta, o primeiro argumento deve ser o nome (com o caminho)\\ndo arquivo a ser verificado.\\n\\nPara especificar um perfil de validação (para verificações sob um perfil específico do EPUB 3\\nou especificação de extensão), use a opção -profile:\\n\\nPerfis de validação suportados:\\n--profile default = o perfil de validação padrão\\n--profile dict = valida sob a especificação de Dicionários e Glossários EPUB\\n--profile edupub = valida sob o Perfil EDUPUB\\n--profile idx = valida sob a especificação de Índices EPUB\\n--profile preview = valida sob a especificação de Amostras EPUB\\n\\nSe estiver verificando um arquivo que não seja epub, a versão epub do arquivo deve\\nser especificada usando -v e o tipo do arquivo usando -mode.\\nA versão padrão é: 3.0.\\n\\nModos e versão suportadas: \\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = para validação de Media Overlays\\n--mode exp = para arquivos EPUB expandidos\\n\\nEsta ferramenta também aceita as seguintes opções:\\n--save = salva o epub criado a partir do epub expandido\\n--out <arquivo> = gera um arquivo de avaliação no formato XML (uso - para exibir no console)\\n--xmp <arquivo> = gera um arquivo de avaliação no formato XMP (uso - para exibir no console)\\n--json <arquivo> = gera um arquivo de avaliação no formato JSON (uso - para exibir no console)\\n-m <arquivo> = o mesmo que --mode\\n-p <perfil> = o mesmo que --profile\\n-o <arquivo> = o mesmo que --out\\n-x <arquivo> = o mesmo que --xmp\\n-j <arquivo> = o mesmo que --json\\n--failonwarnings = Por padrão, a ferramenta retorna 1 se erros forem encontrados no arquivo ou 0 se não forem\\n encontrados erros. Usar --failonwarnings irá fazer com que o processo finalize com o status de\\n 1 se houver tanto advertências como falhas presentes e 0 apenas quando não houver erros nem advertências.\\n-q, --quiet = nenhuma mensagem no console, exceto erros, apenas na saída\\n-f, --fatal = incluir apenas erros fatais na saída\\n-e, --error = incluir apenas mensagens com severidade de erro e erro fatal na saída\\n-w, --warn = incluir apenas mensagens com severidade de erro fatal, erro, e advertência na saída\\n-u, --usage = incluir informação sobre o uso de recursos ePub na saída\\n (o padrão é desligado); se habilitato, a informação sobre o uso será\\n sempre incluída no arquivo de saída\\n--locale <idioma> = gera mensagens no idioma local, de acordo com o código de linguagem fornecido pela norma IETF BCP 47.\\n-l, --listChecks [<arquivo>] = lista ids de mensagem e o nível de severidade para o arquivo de mensagem personalizada de nome <arquivo>\\n ou no console\\n-c, --customMessages [<arquivo>] = sobrescreve os níveis de severidade das mensagens como definido no arquivo de mensagem personalizada de nome <arquivo>\\n\\n--version = exibe a versão do EPUBCheck\\n\\n-h, -? ou --help = exibe esta mensagem de ajuda\\n\\n`,\n \"zh-TW\": `EPUB檢查器 ${EPUBCHECK_VERSION}版\\n\\n當使用本工具時,第一個變數需是要檢查的檔案名稱(包含路徑)。\\n\\n要指定驗證Profile(以檢查特定的EPUB Profile或者延伸規格),請使用 -profile 選項如下:\\n\\n驗證Profile支援如下:\\n--profile default = 以預設profile驗證\\n--profile dict = 以EPUB 字典與詞彙表規格進行驗證\\n--profile edupub = 以EDUPUB Profile進行驗證\\n--profile idx = 以EPUB 索引規格進行驗證\\n--profile preview = 以EPUB預覽規格進行驗證\\n\\n如果檢查的不是EPUB檔案,則必須使用 -mode 來指定檔案種類,以及使用 -v 來指定版本。\\n預設版本為:3.0。\\n\\n支援的檔案種類與版本如下:\\n--mode opf -v 2.0\\n--mode opf -v 3.0\\n--mode xhtml -v 2.0\\n--mode xhtml -v 3.0\\n--mode svg -v 2.0\\n--mode svg -v 3.0\\n--mode nav -v 3.0\\n--mode mo -v 3.0 = 供檢查Media Overlays功能使用\\n--mode exp = 供擴張的EPUB檔案使用\\n\\n本工具也接受下列項目:\\n--save = 另由擴張的EPUB中儲存EPUB\\n--out<file> = 輸出結果為XML格式的檔案(使用 - 以輸出到終端機)\\n--xmp <file> = 輸出結果為XMP格式的檔案(使用 - 以輸出到終端機)\\n--json <file> = 輸出結果為XMP格式的檔案(使用 - 以輸出到終端機)\\n-m <file> = 和 --mode 相同\\n-p <profile> = 和 --profile 相同\\n-o <file> = 和 --out 相同\\n-x <file> = 和 --xmp 相同\\n-j <file> = 和 --json 相同\\n--failonwarnings = 預設上,當發現錯誤時回報值為 1 或者沒有錯誤時回報值為 0。使用 --failonwarnings 將會使得處理程序終止,狀態為 1 並且有警告訊息或者錯誤需要顯示亦然,而只會在沒有錯誤與警告訊息時才會回傳 0。\\n-q, --quiet = 除了錯誤以外不會在終端機上顯示訊息,但僅限於結果\\n-f, --fatal = 結果僅包含致命錯誤\\n-e, --error = 結果僅包含錯誤以及致命錯誤\\n-w, --warn = 結果包含致命錯誤、錯誤與警告訊息\\n-u, --usage = 結果包含EPUB中使用的功能訊息(預設為關閉);若開啟,使用的功能資訊將會持續出現在結果檔案中\\n--locale <locale> = 根據所提供的IETF BCP 47語言標籤字串輸出在地化的訊息\\n-l, --listChecks [<file>] = 列出訊息ID以及重要層級到指定的輸出訊息檔案<file>\\n或者終端機\\n-c, --customMessages [<file>] = 忽視指定的輸出訊息檔案<file>中的訊息重要層級\\n\\n--version = 顯示EPUB檢查器版本\\n\\n-h, -? 或 --help = 顯示輔助說明訊息\\n\\n`,\n};\n"],"mappings":";;AAaA,MAAa,cAAc,cAAc,kBAAkB;AAE3D,MAAa,wBAAgD;CAC3D,MAAM,cAAc,kBAAkB;CACtC,MAAM,cAAc,kBAAkB;CACtC,MAAM,cAAc,kBAAkB;CACtC,MAAM,cAAc,kBAAkB;CACtC,MAAM,cAAc,kBAAkB;CACtC,MAAM,cAAc,kBAAkB;CACtC,SAAS,cAAc,kBAAkB;CACzC,MAAM,cAAc,kBAAkB;CACtC,SAAS,cAAc,kBAAkB;CACzC,SAAS,WAAW,kBAAkB;AACxC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/list-checks-data.ts
|
|
2
|
+
const LIST_CHECKS_TSV = "ID Severity Message Suggestion\nINF-001 INFO Rule %1$s is under review and its severity may change in a future release. See the discussion at %2$s \nACC-001 SUPPRESSED \nACC-002 SUPPRESSED \nACC-003 SUPPRESSED \nACC-004 SUPPRESSED Html \"a\" element must have text. \nACC-005 SUPPRESSED Table heading cells should be identified by \"th\" elements for accessibility. \nACC-006 SUPPRESSED Tables should include a \"thead\" element for accessibility. \nACC-007 SUPPRESSED Content Documents do not use \"epub:type\" attributes for semantic inflection. \nACC-008 SUPPRESSED \nACC-009 USAGE MathML should either have an \"alttext\" attribute or \"annotation-xml\" child element. \nACC-010 SUPPRESSED \nACC-011 USAGE SVG hyperlink has no accessible name \nACC-012 SUPPRESSED Table elements should include a caption element. \nACC-013 SUPPRESSED \nACC-014 SUPPRESSED \nACC-015 SUPPRESSED \nACC-016 SUPPRESSED \nACC-017 SUPPRESSED \nCHK-001 ERROR The custom message overrides file was not found. \nCHK-002 ERROR Unrecognized custom message id %1$s encountered in message overrides file \"%2$s\". \nCHK-003 ERROR Unrecognized custom message severity \"%1$s\" encountered in message overrides file \"%2$s\". \nCHK-004 ERROR The custom message contains too many parameters in message overrides file \"%1$s\". \nCHK-005 ERROR The custom suggestion contains too many parameters in message overrides file \"%1$s\". \nCHK-006 ERROR Unable to parse the custom format parameter in message overrides file \"%1$s\". \nCHK-007 ERROR Error encountered while processing custom message file \"%1$s\": \"%2$s\". \nCHK-008 ERROR Error encountered while processing an item \"%1$s\"; skip other checks for the item. \nCSS-001 ERROR The \"%1$s\" property must not be included in an EPUB Style Sheet. \nCSS-002 ERROR Empty or NULL reference found. \nCSS-003 WARNING CSS document is encoded in UTF-16. It should be encoded in UTF-8 instead. \nCSS-004 ERROR CSS documents must be encoded in UTF-8, detected %1$s; \nCSS-005 USAGE Conflicting alternate style tags found: %1$s. \nCSS-006 USAGE CSS selector specifies fixed position. \nCSS-007 INFO Font-face reference \"%1$s\" refers to non-standard font type \"%2$s\". \nCSS-008 ERROR An error occurred while parsing the CSS: %1$s. \nCSS-009 SUPPRESSED \nCSS-010 SUPPRESSED \nCSS-011 SUPPRESSED \nCSS-012 SUPPRESSED \nCSS-013 SUPPRESSED \nCSS-015 ERROR Alternative style sheets must have a title. \nCSS-016 SUPPRESSED \nCSS-017 SUPPRESSED \nCSS-019 WARNING CSS font-face declaration has no attributes. \nCSS-020 SUPPRESSED \nCSS-021 SUPPRESSED \nCSS-022 SUPPRESSED \nCSS-023 SUPPRESSED \nCSS-024 SUPPRESSED \nCSS-025 SUPPRESSED \nCSS-028 USAGE Use of Font-face declaration. \nCSS-029 USAGE Found CSS class name \"%1$s\" but no \"%2$s\" property was declared in the package document. \nCSS-030 ERROR The package document declares media overlays styling class names but no CSS was found in the content document. \nHTM-001 ERROR Any publication resource that is an XML-based media type must be a valid XML 1.0 document. XML version found: %1$s. \nHTM-002 WARNING The installed xml parser doesn’t support xml version verification. Xml files must be a valid XML 1.0 document. \nHTM-003 ERROR External entities are not allowed in EPUB v3 documents. External entity declaration found: %1$s. \nHTM-004 ERROR Irregular DOCTYPE: found \"%1$s\", expected \"%2$s\". \nHTM-005 USAGE An external reference was found. \nHTM-006 SUPPRESSED \nHTM-007 WARNING Empty or whitespace-only value of attribute ssml:ph. \nHTM-008 SUPPRESSED \nHTM-009 ERROR The DOCTYPE provided is obsolete or irregular and can be removed. \nHTM-010 USAGE Namespace \"%1$s\" is unusual for the prefix \"epub\". \nHTM-011 ERROR Entity is undeclared. Define the entity or use the numbered entity instead.\nHTM-012 SUPPRESSED \nHTM-013 SUPPRESSED \nHTM-014 SUPPRESSED \nHTM-014a SUPPRESSED \nHTM-015 SUPPRESSED \nHTM-016 SUPPRESSED \nHTM-017 SUPPRESSED \nHTM-018 SUPPRESSED \nHTM-019 SUPPRESSED \nHTM-020 SUPPRESSED \nHTM-021 SUPPRESSED \nHTM-022 SUPPRESSED \nHTM-023 SUPPRESSED \nHTM-024 SUPPRESSED \nHTM-025 WARNING Non-registered URI scheme type found in href. \nHTM-027 SUPPRESSED \nHTM-028 SUPPRESSED \nHTM-029 SUPPRESSED \nHTM-033 SUPPRESSED \nHTM-036 SUPPRESSED \nHTM-038 SUPPRESSED \nHTM-044 USAGE Namespace uri \"%1$s\" was included but not used. Remove unused Namespace URIs.\nHTM-045 USAGE Encountered empty href. Empty hrefs are valid self-references. These should be validated to ensure that this is the desired intent.\nHTM-046 ERROR Fixed layout document has no \"viewport\" meta element. \nHTM-047 ERROR Viewport metadata \"%1$s\" has a syntax error \nHTM-048 ERROR SVG Fixed-Layout Documents must have a \"viewBox\" attribute (on the outermost \"svg\" element). \nHTM-049 SUPPRESSED \nHTM-050 SUPPRESSED \nHTM-051 WARNING Found Microdata semantic enrichments but no RDFa. EDUPUB recommends using RDFa Lite. \nHTM-052 ERROR The property \"region-based\" is only allowed on nav elements in Data Navigation Documents. \nHTM_053 SUPPRESSED \nHTM_054 ERROR Custom attribute namespace (\"%1$s\") must not include the string \"%2$s\" in its domain. \nHTM_055 USAGE The \"%1$s\" element should not be used (discouraged construct) \nHTM_056 ERROR Viewport metadata has no \"%1$s\" dimension (both \"width\" and \"height\" properties are required) \nHTM_057 ERROR Viewport \"%1$s\" value must be a positive number or the keyword \"device-%1$s\" \nHTM_058 ERROR HTML documents must be encoded in UTF-8, but UTF-16 was detected. \nHTM_059 ERROR Viewport \"%1$s\" property must not be defined more than once, but found values [%2$s]. \nHTM_060a USAGE EPUB reading systems must ignore secondary viewport meta elements in fixed-layout documents; viewport declaration \"%1$s\" will be ignored. \nHTM_060b USAGE EPUB reading systems must ignore viewport meta elements in reflowable documents; viewport declaration \"%1$s\" will be ignored. \nHTM_061 ERROR \"%1$s\" is not a valid custom data attribute (it must have at least one character after the hyphen, be XML-compatible, and not contain ASCII uppercase letters). \nHTM_062 USAGE SVG \"xlink:href\" attribute is deprecated; an \"href\" attribute should be used instead. \nHTM_063 USAGE SVG \"xlink:href\" attribute value (\"%1$s\") should be equal to the \"href\" attribute value (\"%2$s\"). \nMED-001 SUPPRESSED \nMED-002 SUPPRESSED \nMED-003 ERROR Picture \"img\" elements must reference core media type resources, but found resource \"%1$s\" of type \"%2$s\". \nMED-004 ERROR Image file header may be corrupted. \nMED-005 ERROR Media Overlay audio reference %1$s to non-standard audio type %2$s found. \nMED_006 SUPPRESSED \nMED_007 ERROR Picture \"source\" elements must define a \"type\" attribute when they reference foreign resources; found resource \"%1$s\" of type \"%2$s\". \nMED-008 ERROR The time specified in the clipBegin attribute must not be after clipEnd. \nMED-009 ERROR The time specified in the clipBegin attribute must not be the same as clipEnd. \nMED_010 ERROR EPUB Content Documents referenced from a Media Overlay must specify the \"media-overlay\" attribute. \nMED_011 ERROR EPUB Content Document referenced from multiple Media Overlay Documents. \nMED_012 ERROR The \"media-overlay\" attribute does not match the ID of the Media Overlay that refers to this document. \nMED_013 ERROR Media Overlay Document referenced from the \"media-overlay\" attribute does not contain a reference to this Content Document. \nMED_014 ERROR Media overlay audio file URLs must not have a fragment, but found '#%1$s'. \nMED_015 USAGE Media overlay text references must be in reading order. Text target \"%1$s\" is before the previous link target in %2$s order. \nMED_016 WARNING Media Overlays total duration should be the sum of the durations of all Media Overlays documents. \nMED_017 WARNING URL fragment should indicate an element ID, but found '#%1$s'. \nMED_018 WARNING URL fragment should be an SVG fragment identifier, but found '#%1$s'. \nNAV-001 ERROR The nav file is not supported for EPUB v2. \nNAV-002 SUPPRESSED \nNAV-003 ERROR The Navigation Document must have a page list when content document(s) contain page breaks (epub:type=\"pagebreak\"). \nNAV-004 USAGE The Navigation Document should contain the full document heading hierarchy in EDUPUB. \nNAV-005 USAGE Content documents contain \"audio\" elements but the Navigation Document does not have a listing of audio clips (epub:type=\"loa\"). \nNAV-006 USAGE Content documents contain \"figure\" elements but the Navigation Document does not have a listing of figures (epub:type=\"loi\"). \nNAV-007 USAGE Content documents contain \"table\" elements but the Navigation Document does not have a listing of tables (epub:type=\"lot\"). \nNAV-008 USAGE Content documents contain \"video\" elements but the Navigation Document does not have a listing of video clips (epub:type=\"lov\"). \nNAV-009 ERROR Region-based navigation links must point to Fixed-Layout Documents. \nNAV-010 ERROR \"%1$s\" nav must not link to remote resources; found link to \"%2$s\". \nNAV-011 WARNING \"%1$s\" nav must be in reading order; link target \"%2$s\" is before the previous link’s target in %3$s order. \nNCX-001 ERROR NCX identifier (\"%1$s\") does not match OPF identifier (\"%2$s\"). \nNCX-002 SUPPRESSED \nNCX-003 SUPPRESSED \nNCX-004 USAGE NCX identifier (\"dtb:uid\" metadata) should not contain leading or trailing whitespace. \nNCX-005 SUPPRESSED \nNCX-006 USAGE Empty \"text\" label in the NCX document \nOBS-001 USAGE Usage of %1$s is outdated. \nOPF-001 ERROR There was an error when parsing the EPUB version: %1$s. \nOPF-002 FATAL The OPF file \"%1$s\" was not found in the EPUB. \nOPF-003 USAGE Item \"%1$s\" exists in the EPUB, but is not declared in the OPF manifest. \nOPF-004 WARNING Invalid prefix declaration: leading or trailing whitespace is not allowed. \nOPF-004a ERROR Invalid prefix declaration: found empty prefix. \nOPF-004b ERROR Invalid prefix \"%1$s\": must be a valid non-colonized name (aka \"NCName\"). \nOPF-004c ERROR Invalid prefix declaration: prefix \"%1$s\" must be immediately followed by a colon character (\":\"). \nOPF-004d ERROR Invalid prefix declaration: prefix \"%1$s\" must be separated by its URI with a space. \nOPF-004e WARNING Invalid prefix declaration: found illegal whitespace between prefix and URI. \nOPF-004f WARNING Invalid prefix declaration: found illegal whitespace between prefix mappings. \nOPF-005 ERROR Invalid prefix declaration: URI for prefix \"%1$s\" doesn’t exist. \nOPF-006 ERROR Invalid prefix declaration: URI \"%1$s\" is not a valid URI. \nOPF-007 WARNING Re-declaration of reserved prefix \"%1$s\". \nOPF-007a ERROR Invalid prefix mapping: prefix \"_\" must not be declared. \nOPF-007b ERROR Invalid prefix mapping: default vocabulary \"%1$s\" must not be re-declared. \nOPF-007c ERROR Invalid prefix mapping: a prefix to the Dublin Core /elements/1.1/ namespace must not be declared \nOPF-008 SUPPRESSED \nOPF-009 SUPPRESSED \nOPF-010 ERROR Error resolving reference: \"%1$s\". \nOPF-011 ERROR itemref can’t have both page-spread-right and page-spread-left properties. \nOPF-012 ERROR Item property \"%1$s\" is not defined for media type \"%2$s\". \nOPF-013 WARNING Resource \"%1$s\" is declared with MIME type \"%2$s\" in content, but has MIME type \"%3$s\" in the package document. \nOPF-014 ERROR The property \"%1$s\" should be declared in the OPF file. \nOPF-015 ERROR The property \"%1$s\" should not be declared in the OPF file. \nOPF-016 ERROR The element \"rootfile\" is missing its required attribute \"full-path\". \nOPF-017 ERROR The attribute \"full-path\" on element \"rootfile\" must not be empty. \nOPF-018 WARNING The \"remote-resources\" property was declared in the Package Document, but no reference to remote resources has been found. \nOPF-018b USAGE The \"remote-resources\" property was declared in the Package Document, but no reference to remote resources has been found; please check scripted content to make sure the property is legit. \nOPF-019 SUPPRESSED \nOPF-020 SUPPRESSED \nOPF-021 WARNING Use of non-registered URI scheme type in href: \"%1$s\". \nOPF-025 ERROR Property value list \"%1$s\" is not allowed, only one value must be specified. \nOPF-026 ERROR Found malformed property value: \"%1$s\". \nOPF-027 ERROR Undefined property: \"%1$s\". \nOPF-028 ERROR Undeclared prefix: \"%1$s\". \nOPF-029 ERROR The file \"%1$s\" does not appear to match the media type %2$s, as specified in the OPF file. \nOPF-030 ERROR The unique-identifier \"%1$s\" was not found. \nOPF-031 ERROR File listed in reference element in guide was not declared in OPF manifest: %1$s. \nOPF-032 ERROR Guide references \"%1$s\" which is not a valid \"OPS Content Document\". \nOPF-033 ERROR The spine contains no linear resources. \nOPF-034 ERROR The spine contains multiple references to the manifest item with id \"%1$s\". \nOPF-035 WARNING Media type \"text/html\" is not appropriate for XHTML/OPS. Use \"application/xhtml+xml\" instead.\nOPF-036 USAGE Video type \"%1$s\" might not be supported by reading systems Use \"video/mp4\", \"video/h264\" or \"video/webm\" instead.\nOPF-037 WARNING Found deprecated media-type \"%1$s\". \nOPF-038 WARNING Media type \"%1$s\" is not appropriate for an OEBPS 1.2 context; Use \"text/x-oeb1-document\" instead. \nOPF-039 WARNING Media-type \"%1$s\" is not appropriate in an OEBPS 1.2 context. Use \"text/x-oeb1-css\" instead. \nOPF-040 ERROR Fallback item with id \"%1$s\" could not be found. \nOPF-041 ERROR Fallback-style item with id \"%1$s\" could not be found. \nOPF-042 ERROR \"%1$s\" is not a permissible spine media-type. \nOPF-043 ERROR Spine item with non-standard media-type \"%1$s\" has no fallback. \nOPF-044 ERROR Spine item with non-standard media-type \"%1$s\" has no EPUB content document fallback. \nOPF-045 ERROR Encountered circular reference in fallback chain. \nOPF-046 SUPPRESSED \nOPF-047 USAGE OPF file is using OEBPS 1.2 syntax allowing backwards compatibility. \nOPF-048 ERROR Package tag is missing its required unique-identifier attribute and value. \nOPF-049 ERROR Item id \"%1$s\" was not found in the manifest. \nOPF-050 ERROR TOC attribute references resource with non-NCX mime type; \"application/x-dtbncx+xml\" is expected. \nOPF-051 SUPPRESSED Image dimensions exceed recommended size. \nOPF-052 ERROR Role value \"%1$s\" is not valid. \nOPF-053 WARNING Date value \"%1$s\" does not follow recommended syntax as per http://www.w3.org/TR/NOTE-datetime:%2$s. \nOPF-054 ERROR Date value \"%1$s\" is not valid as per http://www.w3.org/TR/NOTE-datetime:%2$s. \nOPF-055 WARNING %1$s tag is empty. \nOPF-056 SUPPRESSED \nOPF-057 SUPPRESSED Image file length exceeds recommended size. \nOPF-058 SUPPRESSED \nOPF-059 SUPPRESSED \nOPF-060 ERROR Duplicate entry in the ZIP file: \"%1$s\" (file names must be unique after Unicode canonical normalization and full case folding). \nOPF-062 USAGE Found Adobe page-map attribute on spine element in opf file. \nOPF-063 WARNING Referenced Adobe page-map item \"%1$s\" was not found in the manifest. \nOPF-064 INFO OPF declares type \"%1$s\", validating using profile \"%2$s\". \nOPF-065 ERROR Invalid metadata declaration, probably due to a cycle in \"refines\" metadata. \nOPF-066 ERROR Missing \"dc:source\" or \"source-of\" pagination metadata. The pagination source must be identified using the \"dc:source\" and \"source-of\" properties when the content includes page break markers. \nOPF-067 ERROR The resource \"%1$s\" must not be listed both as a \"link\" element in the package metadata and as a manifest item. \nOPF-068 SUPPRESSED \nOPF-069 SUPPRESSED \nOPF-070 WARNING Custom collection role \"%1$s\" is an invalid URL. \nOPF-071 ERROR Index collections must only contain resources pointing to XHTML Content Documents. \nOPF-072 USAGE Metadata element \"%1$s\" is empty. \nOPF-073 ERROR External identifiers must not appear in the document type declaration. \nOPF-074 ERROR Package resource \"%1$s\" is declared in several manifest items. \nOPF-075 ERROR Preview collections must only point to EPUB Content Documents. \nOPF-076 ERROR The URI of preview collections link elements must not include EPUB canonical fragment identifiers. \nOPF-077 WARNING A Data Navigation Document should not be included in the spine. \nOPF-078 ERROR An EPUB Dictionary must contain at least one Content Document with dictionary content (epub:type \"dictionary\"). \nOPF-079 WARNING Dictionary content was found (epub:type \"dictionary\"), the Package Document should declare the dc:type \"dictionary\". \nOPF-080 WARNING A Search Key Map document file name should have the extension \".xml\". \nOPF-081 ERROR Resource \"%1$s\" (referenced from an EPUB Dictionary collection) was not found. \nOPF-082 ERROR Found an EPUB Dictionary collection containing more than one Search Key Map Document. \nOPF-083 ERROR Found an EPUB Dictionary collection containing no Search Key Map Document. \nOPF-084 ERROR Found an EPUB Dictionary collection containing resource \"%1$s\" which is neither a Search Key Map Document nor an XHTML Content Document. \nOPF-085 WARNING \"dc:identifier\" value \"%1$s\" is marked as a UUID, but is an invalid UUID. \nOPF-086 WARNING Property \"%1$s\" is deprecated. Consider using %2$s instead. \nOPF-086b USAGE epub:type value \"%1$s\" is deprecated. Consider using %2$s instead. \nOPF-086c WARNING the \"%1$s\" reserved prefix is deprecated. \nOPF-087 USAGE epub:type value \"%1$s\" is not allowed on documents of type \"%2$s\". \nOPF-088 USAGE Unrecognized epub:type value \"%1$s\". \nOPF-089 ERROR The \"alternate\" link rel keyword cannot be paired with other keywords. \nOPF-090 USAGE It is encouraged to use MIME media type \"%1$s\" instead of \"%2$s\". \nOPF-091 ERROR The item href URL must not have a fragment identifier. \nOPF-092 ERROR Language tag \"%1$s\" is not well-formed: %2$s \nOPF-093 ERROR The \"media-type\" attribute is required for linked resources located in the EPUB container \nOPF-094 ERROR The \"media-type\" attribute is required for \"%1$s\" links. \nOPF-095 ERROR The \"media-type\" attribute of \"voicing\" links must be an audio MIME type, but found \"%1$s\". \nOPF-096 ERROR Non-linear content must be reachable, but found no hyperlink to \"%1$s\". \nOPF-096b USAGE No hyperlink was found to non-linear document \"%1$s\", please check that it can be reached from scripted content. \nOPF-097 USAGE Resource \"%1$s\" is listed in the manifest, but no reference to it was found in content documents. \nOPF-098 ERROR The \"href\" attribute must reference resources, not elements in the package document, but found URL \"%1$s\". \nOPF-099 ERROR The manifest must not list the package document. \nOPF-100 USAGE The \"%1$s\" property only applies to pre-paginated content. \nPKG-001 WARNING Validating the EPUB against version %1$s but detected version %2$s. \nPKG-003 ERROR Unable to read EPUB file header. This is likely a corrupted EPUB file. \nPKG-004 FATAL Corrupted EPUB ZIP header. \nPKG-005 ERROR The mimetype file has an extra field of length %1$s. The use of the extra field feature of the ZIP format is not permitted for the mimetype file. \nPKG-006 ERROR Mimetype file entry is missing or is not the first file in the archive. \nPKG-007 ERROR The content of the mimetype file must be the string \"application/epub+zip\"%1$s \nPKG-008 FATAL Unable to read file \"%1$s\". \nPKG-009 ERROR The file name \"%1$s\" contains characters that are not allowed in OCF file names: %2$s. \nPKG-010 WARNING The file name \"%1$s\" contains spaces, which may create interoperability issues with older reading systems. \nPKG-011 ERROR The file name \"%1$s\" is not allowed to end with \".\". \nPKG-012 USAGE The file name \"%1$s\" contains non-ASCII characters, which might create interoperability issues with older reading systems. \nPKG-013 ERROR The EPUB file includes multiple OPS renditions. \nPKG-014 WARNING The EPUB contains empty directory \"%1$s\". \nPKG-015 FATAL Unable to read EPUB contents: %1$s \nPKG-016 WARNING Use only lowercase characters for the EPUB file extension for maximum compatibility. For maximum compatibility, use \".epub\".\nPKG-017 WARNING Uncommon EPUB file extension. For maximum compatibility, use \".epub\".\nPKG-018 FATAL The EPUB file could not be found. \nPKG-020 ERROR OPF file \"%1$s\" could not be found. \nPKG-021 ERROR Corrupted image file encountered. \nPKG-022 WARNING Wrong file extension for image. The image is a \"%1$s\" file but has the file extension \"%2$s\". \nPKG-023 USAGE Validating the EPUB against version 2.0, default validation profile will be used. \nPKG-024 USAGE Uncommon EPUB file extension. For maximum compatibility, use \".epub\".\nPKG-025 ERROR Publication resource must not be located in the META-INF directory \nPKG-026 ERROR Obfuscated resource must be a Font Core Media Type (was declared as \"%1$s\" in \"%2$s\"). \nPKG-027 FATAL Could not extract EPUB ZIP content, probably due to file names not encoded in UTF-8. \nRSC-001 ERROR File \"%1$s\" could not be found. \nRSC-002 FATAL Required META-INF/container.xml resource could not be found. \nRSC-003 ERROR No rootfile tag with media type \"application/oebps-package+xml\" was found in the container. \nRSC-004 INFO File \"%1$s\" is encrypted, its content will not be checked. \nRSC-005 ERROR Error while parsing file: %1$s \nRSC-006 ERROR Remote resource reference is not allowed in this context; resource \"%1$s\" must be located in the EPUB container. \nRSC-006b USAGE Resource \"%1$s\" is located outside the EPUB Container; please check the resource is retrieved in scripted content. \nRSC-007 ERROR Referenced resource \"%1$s\" could not be found in the EPUB. \nRSC-007w WARNING Referenced resource \"%1$s\" could not be found in the EPUB. \nRSC-008 ERROR Referenced resource \"%1$s\" is not declared in the OPF manifest. \nRSC-009 WARNING A non-SVG image resource should not be defined with a fragment identifier. \nRSC-010 ERROR Reference to non-standard resource type found. \nRSC-011 ERROR Found a reference to a resource that is not a spine item. \nRSC-012 ERROR Fragment identifier is not defined. \nRSC-013 USAGE Fragment identifier is used in a reference to a stylesheet resource. \nRSC-014 USAGE Fragment identifier defines an incompatible resource type. \nRSC-015 USAGE A fragment identifier is required for svg use tag references. \nRSC-016 FATAL Fatal Error while parsing file: %1$s \nRSC-017 WARNING Warning while parsing file: %1$s \nRSC-018 SUPPRESSED \nRSC-019 WARNING EPUBs with Multiple Renditions should contain a META-INF/metadata.xml file. \nRSC-020 ERROR \"%1$s\" is not a valid URL (%2$s) \nRSC-021 ERROR A Search Key Map Document must point to Content Documents (\"%1$s\" was not found in the spine). \nRSC-022 INFO Cannot check image details (requires Java version 7 or higher). \nRSC-023 SUPPRESSED \nRSC-024 USAGE Informative parsing warning: %1$s \nRSC-025 USAGE Informative parsing error: %1$s \nRSC-026 ERROR URL \"%1$s\" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string) \nRSC-027 WARNING XML document is encoded in UTF-16. It should be encoded in UTF-8 instead. \nRSC-028 ERROR XML documents must be encoded in UTF-8, but %1$s was detected. \nRSC-029 ERROR Data URL is not allowed in this context. \nRSC-030 ERROR File URLs are not allowed in EPUB, but found \"%1$s\". \nRSC-031 WARNING Remote resource references should use HTTPS, but found \"%1$s\". \nRSC-032 ERROR Fallback must be provided for foreign resources, but found none for resource \"%1$s\" of type \"%2$s\". \nRSC-033 ERROR Relative URL strings must not have a query component, but found one in \"%1$s\". \nRSC-034 ERROR Scripts must have a JavaScript media type. \nRSC-035 USAGE \"%1$s\" is a legacy media type for JavaScript. Consider using 'text/javascript' instead. \nRSC-036 USAGE %1$s \nSCP-001 SUPPRESSED \nSCP-002 SUPPRESSED \nSCP-003 SUPPRESSED \nSCP-004 SUPPRESSED \nSCP-005 SUPPRESSED \nSCP-006 SUPPRESSED \nSCP-007 SUPPRESSED \nSCP-008 SUPPRESSED \nSCP-009 SUPPRESSED \nSCP-010 SUPPRESSED \n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { LIST_CHECKS_TSV as t };
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=list-checks-data-BbnWFkVn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-checks-data-BbnWFkVn.js","names":[],"sources":["../../src/list-checks-data.ts"],"sourcesContent":["// AUTO-GENERATED by scripts/generate-cli-data.ts from the official epubcheck\n// CLI `--listChecks` output. Do not edit by hand; re-run\n// `npm run generate:cli-data` after an epubcheck upgrade.\n//\n// LIST_CHECKS_TSV is the VERBATIM message dictionary `epubcheck --listChecks`\n// prints (default/English locale): a tab-separated table of every message id,\n// its default severity, message template, and suggestion (source:\n// com.adobe.epubcheck.tool.MessageDictionaryDumper over the default\n// MessageBundle). It is static per epubcheck version, embedded here to\n// reproduce --listChecks byte-for-byte without the JVM.\nexport const LIST_CHECKS_TSV = \"ID\\tSeverity\\tMessage\\tSuggestion\\nINF-001\\tINFO\\tRule %1$s is under review and its severity may change in a future release. See the discussion at %2$s\\t\\nACC-001\\tSUPPRESSED\\t\\t\\nACC-002\\tSUPPRESSED\\t\\t\\nACC-003\\tSUPPRESSED\\t\\t\\nACC-004\\tSUPPRESSED\\tHtml \\\"a\\\" element must have text.\\t\\nACC-005\\tSUPPRESSED\\tTable heading cells should be identified by \\\"th\\\" elements for accessibility.\\t\\nACC-006\\tSUPPRESSED\\tTables should include a \\\"thead\\\" element for accessibility.\\t\\nACC-007\\tSUPPRESSED\\tContent Documents do not use \\\"epub:type\\\" attributes for semantic inflection.\\t\\nACC-008\\tSUPPRESSED\\t\\t\\nACC-009\\tUSAGE\\tMathML should either have an \\\"alttext\\\" attribute or \\\"annotation-xml\\\" child element.\\t\\nACC-010\\tSUPPRESSED\\t\\t\\nACC-011\\tUSAGE\\tSVG hyperlink has no accessible name\\t\\nACC-012\\tSUPPRESSED\\tTable elements should include a caption element.\\t\\nACC-013\\tSUPPRESSED\\t\\t\\nACC-014\\tSUPPRESSED\\t\\t\\nACC-015\\tSUPPRESSED\\t\\t\\nACC-016\\tSUPPRESSED\\t\\t\\nACC-017\\tSUPPRESSED\\t\\t\\nCHK-001\\tERROR\\tThe custom message overrides file was not found.\\t\\nCHK-002\\tERROR\\tUnrecognized custom message id %1$s encountered in message overrides file \\\"%2$s\\\".\\t\\nCHK-003\\tERROR\\tUnrecognized custom message severity \\\"%1$s\\\" encountered in message overrides file \\\"%2$s\\\".\\t\\nCHK-004\\tERROR\\tThe custom message contains too many parameters in message overrides file \\\"%1$s\\\".\\t\\nCHK-005\\tERROR\\tThe custom suggestion contains too many parameters in message overrides file \\\"%1$s\\\".\\t\\nCHK-006\\tERROR\\tUnable to parse the custom format parameter in message overrides file \\\"%1$s\\\".\\t\\nCHK-007\\tERROR\\tError encountered while processing custom message file \\\"%1$s\\\": \\\"%2$s\\\".\\t\\nCHK-008\\tERROR\\tError encountered while processing an item \\\"%1$s\\\"; skip other checks for the item.\\t\\nCSS-001\\tERROR\\tThe \\\"%1$s\\\" property must not be included in an EPUB Style Sheet.\\t\\nCSS-002\\tERROR\\tEmpty or NULL reference found.\\t\\nCSS-003\\tWARNING\\tCSS document is encoded in UTF-16. It should be encoded in UTF-8 instead.\\t\\nCSS-004\\tERROR\\tCSS documents must be encoded in UTF-8, detected %1$s;\\t\\nCSS-005\\tUSAGE\\tConflicting alternate style tags found: %1$s.\\t\\nCSS-006\\tUSAGE\\tCSS selector specifies fixed position.\\t\\nCSS-007\\tINFO\\tFont-face reference \\\"%1$s\\\" refers to non-standard font type \\\"%2$s\\\".\\t\\nCSS-008\\tERROR\\tAn error occurred while parsing the CSS: %1$s.\\t\\nCSS-009\\tSUPPRESSED\\t\\t\\nCSS-010\\tSUPPRESSED\\t\\t\\nCSS-011\\tSUPPRESSED\\t\\t\\nCSS-012\\tSUPPRESSED\\t\\t\\nCSS-013\\tSUPPRESSED\\t\\t\\nCSS-015\\tERROR\\tAlternative style sheets must have a title.\\t\\nCSS-016\\tSUPPRESSED\\t\\t\\nCSS-017\\tSUPPRESSED\\t\\t\\nCSS-019\\tWARNING\\tCSS font-face declaration has no attributes.\\t\\nCSS-020\\tSUPPRESSED\\t\\t\\nCSS-021\\tSUPPRESSED\\t\\t\\nCSS-022\\tSUPPRESSED\\t\\t\\nCSS-023\\tSUPPRESSED\\t\\t\\nCSS-024\\tSUPPRESSED\\t\\t\\nCSS-025\\tSUPPRESSED\\t\\t\\nCSS-028\\tUSAGE\\tUse of Font-face declaration.\\t\\nCSS-029\\tUSAGE\\tFound CSS class name \\\"%1$s\\\" but no \\\"%2$s\\\" property was declared in the package document.\\t\\nCSS-030\\tERROR\\tThe package document declares media overlays styling class names but no CSS was found in the content document.\\t\\nHTM-001\\tERROR\\tAny publication resource that is an XML-based media type must be a valid XML 1.0 document. XML version found: %1$s.\\t\\nHTM-002\\tWARNING\\tThe installed xml parser doesn’t support xml version verification. Xml files must be a valid XML 1.0 document.\\t\\nHTM-003\\tERROR\\tExternal entities are not allowed in EPUB v3 documents. External entity declaration found: %1$s.\\t\\nHTM-004\\tERROR\\tIrregular DOCTYPE: found \\\"%1$s\\\", expected \\\"%2$s\\\".\\t\\nHTM-005\\tUSAGE\\tAn external reference was found.\\t\\nHTM-006\\tSUPPRESSED\\t\\t\\nHTM-007\\tWARNING\\tEmpty or whitespace-only value of attribute ssml:ph.\\t\\nHTM-008\\tSUPPRESSED\\t\\t\\nHTM-009\\tERROR\\tThe DOCTYPE provided is obsolete or irregular and can be removed.\\t\\nHTM-010\\tUSAGE\\tNamespace \\\"%1$s\\\" is unusual for the prefix \\\"epub\\\".\\t\\nHTM-011\\tERROR\\tEntity is undeclared.\\tDefine the entity or use the numbered entity instead.\\nHTM-012\\tSUPPRESSED\\t\\t\\nHTM-013\\tSUPPRESSED\\t\\t\\nHTM-014\\tSUPPRESSED\\t\\t\\nHTM-014a\\tSUPPRESSED\\t\\t\\nHTM-015\\tSUPPRESSED\\t\\t\\nHTM-016\\tSUPPRESSED\\t\\t\\nHTM-017\\tSUPPRESSED\\t\\t\\nHTM-018\\tSUPPRESSED\\t\\t\\nHTM-019\\tSUPPRESSED\\t\\t\\nHTM-020\\tSUPPRESSED\\t\\t\\nHTM-021\\tSUPPRESSED\\t\\t\\nHTM-022\\tSUPPRESSED\\t\\t\\nHTM-023\\tSUPPRESSED\\t\\t\\nHTM-024\\tSUPPRESSED\\t\\t\\nHTM-025\\tWARNING\\tNon-registered URI scheme type found in href.\\t\\nHTM-027\\tSUPPRESSED\\t\\t\\nHTM-028\\tSUPPRESSED\\t\\t\\nHTM-029\\tSUPPRESSED\\t\\t\\nHTM-033\\tSUPPRESSED\\t\\t\\nHTM-036\\tSUPPRESSED\\t\\t\\nHTM-038\\tSUPPRESSED\\t\\t\\nHTM-044\\tUSAGE\\tNamespace uri \\\"%1$s\\\" was included but not used.\\tRemove unused Namespace URIs.\\nHTM-045\\tUSAGE\\tEncountered empty href.\\tEmpty hrefs are valid self-references. These should be validated to ensure that this is the desired intent.\\nHTM-046\\tERROR\\tFixed layout document has no \\\"viewport\\\" meta element.\\t\\nHTM-047\\tERROR\\tViewport metadata \\\"%1$s\\\" has a syntax error\\t\\nHTM-048\\tERROR\\tSVG Fixed-Layout Documents must have a \\\"viewBox\\\" attribute (on the outermost \\\"svg\\\" element).\\t\\nHTM-049\\tSUPPRESSED\\t\\t\\nHTM-050\\tSUPPRESSED\\t\\t\\nHTM-051\\tWARNING\\tFound Microdata semantic enrichments but no RDFa. EDUPUB recommends using RDFa Lite.\\t\\nHTM-052\\tERROR\\tThe property \\\"region-based\\\" is only allowed on nav elements in Data Navigation Documents.\\t\\nHTM_053\\tSUPPRESSED\\t\\t\\nHTM_054\\tERROR\\tCustom attribute namespace (\\\"%1$s\\\") must not include the string \\\"%2$s\\\" in its domain.\\t\\nHTM_055\\tUSAGE\\tThe \\\"%1$s\\\" element should not be used (discouraged construct)\\t\\nHTM_056\\tERROR\\tViewport metadata has no \\\"%1$s\\\" dimension (both \\\"width\\\" and \\\"height\\\" properties are required)\\t\\nHTM_057\\tERROR\\tViewport \\\"%1$s\\\" value must be a positive number or the keyword \\\"device-%1$s\\\"\\t\\nHTM_058\\tERROR\\tHTML documents must be encoded in UTF-8, but UTF-16 was detected.\\t\\nHTM_059\\tERROR\\tViewport \\\"%1$s\\\" property must not be defined more than once, but found values [%2$s].\\t\\nHTM_060a\\tUSAGE\\tEPUB reading systems must ignore secondary viewport meta elements in fixed-layout documents; viewport declaration \\\"%1$s\\\" will be ignored. \\t\\nHTM_060b\\tUSAGE\\tEPUB reading systems must ignore viewport meta elements in reflowable documents; viewport declaration \\\"%1$s\\\" will be ignored.\\t\\nHTM_061\\tERROR\\t\\\"%1$s\\\" is not a valid custom data attribute (it must have at least one character after the hyphen, be XML-compatible, and not contain ASCII uppercase letters).\\t\\nHTM_062\\tUSAGE\\tSVG \\\"xlink:href\\\" attribute is deprecated; an \\\"href\\\" attribute should be used instead.\\t\\nHTM_063\\tUSAGE\\tSVG \\\"xlink:href\\\" attribute value (\\\"%1$s\\\") should be equal to the \\\"href\\\" attribute value (\\\"%2$s\\\").\\t\\nMED-001\\tSUPPRESSED\\t\\t\\nMED-002\\tSUPPRESSED\\t\\t\\nMED-003\\tERROR\\tPicture \\\"img\\\" elements must reference core media type resources, but found resource \\\"%1$s\\\" of type \\\"%2$s\\\".\\t\\nMED-004\\tERROR\\tImage file header may be corrupted.\\t\\nMED-005\\tERROR\\tMedia Overlay audio reference %1$s to non-standard audio type %2$s found.\\t\\nMED_006\\tSUPPRESSED\\t\\t\\nMED_007\\tERROR\\tPicture \\\"source\\\" elements must define a \\\"type\\\" attribute when they reference foreign resources; found resource \\\"%1$s\\\" of type \\\"%2$s\\\".\\t\\nMED-008\\tERROR\\tThe time specified in the clipBegin attribute must not be after clipEnd.\\t\\nMED-009\\tERROR\\tThe time specified in the clipBegin attribute must not be the same as clipEnd.\\t\\nMED_010\\tERROR\\tEPUB Content Documents referenced from a Media Overlay must specify the \\\"media-overlay\\\" attribute.\\t\\nMED_011\\tERROR\\tEPUB Content Document referenced from multiple Media Overlay Documents.\\t\\nMED_012\\tERROR\\tThe \\\"media-overlay\\\" attribute does not match the ID of the Media Overlay that refers to this document.\\t\\nMED_013\\tERROR\\tMedia Overlay Document referenced from the \\\"media-overlay\\\" attribute does not contain a reference to this Content Document.\\t\\nMED_014\\tERROR\\tMedia overlay audio file URLs must not have a fragment, but found '#%1$s'. \\t\\nMED_015\\tUSAGE\\tMedia overlay text references must be in reading order. Text target \\\"%1$s\\\" is before the previous link target in %2$s order.\\t\\nMED_016\\tWARNING\\tMedia Overlays total duration should be the sum of the durations of all Media Overlays documents.\\t\\nMED_017\\tWARNING\\tURL fragment should indicate an element ID, but found '#%1$s'.\\t\\nMED_018\\tWARNING\\tURL fragment should be an SVG fragment identifier, but found '#%1$s'.\\t\\nNAV-001\\tERROR\\tThe nav file is not supported for EPUB v2.\\t\\nNAV-002\\tSUPPRESSED\\t\\t\\nNAV-003\\tERROR\\tThe Navigation Document must have a page list when content document(s) contain page breaks (epub:type=\\\"pagebreak\\\").\\t\\nNAV-004\\tUSAGE\\tThe Navigation Document should contain the full document heading hierarchy in EDUPUB.\\t\\nNAV-005\\tUSAGE\\tContent documents contain \\\"audio\\\" elements but the Navigation Document does not have a listing of audio clips (epub:type=\\\"loa\\\").\\t\\nNAV-006\\tUSAGE\\tContent documents contain \\\"figure\\\" elements but the Navigation Document does not have a listing of figures (epub:type=\\\"loi\\\").\\t\\nNAV-007\\tUSAGE\\tContent documents contain \\\"table\\\" elements but the Navigation Document does not have a listing of tables (epub:type=\\\"lot\\\").\\t\\nNAV-008\\tUSAGE\\tContent documents contain \\\"video\\\" elements but the Navigation Document does not have a listing of video clips (epub:type=\\\"lov\\\").\\t\\nNAV-009\\tERROR\\tRegion-based navigation links must point to Fixed-Layout Documents.\\t\\nNAV-010\\tERROR\\t\\\"%1$s\\\" nav must not link to remote resources; found link to \\\"%2$s\\\".\\t\\nNAV-011\\tWARNING\\t\\\"%1$s\\\" nav must be in reading order; link target \\\"%2$s\\\" is before the previous link’s target in %3$s order.\\t\\nNCX-001\\tERROR\\tNCX identifier (\\\"%1$s\\\") does not match OPF identifier (\\\"%2$s\\\").\\t\\nNCX-002\\tSUPPRESSED\\t\\t\\nNCX-003\\tSUPPRESSED\\t\\t\\nNCX-004\\tUSAGE\\tNCX identifier (\\\"dtb:uid\\\" metadata) should not contain leading or trailing whitespace.\\t\\nNCX-005\\tSUPPRESSED\\t\\t\\nNCX-006\\tUSAGE\\tEmpty \\\"text\\\" label in the NCX document\\t\\nOBS-001\\tUSAGE\\tUsage of %1$s is outdated.\\t\\nOPF-001\\tERROR\\tThere was an error when parsing the EPUB version: %1$s.\\t\\nOPF-002\\tFATAL\\tThe OPF file \\\"%1$s\\\" was not found in the EPUB.\\t\\nOPF-003\\tUSAGE\\tItem \\\"%1$s\\\" exists in the EPUB, but is not declared in the OPF manifest.\\t\\nOPF-004\\tWARNING\\tInvalid prefix declaration: leading or trailing whitespace is not allowed.\\t\\nOPF-004a\\tERROR\\tInvalid prefix declaration: found empty prefix.\\t\\nOPF-004b\\tERROR\\tInvalid prefix \\\"%1$s\\\": must be a valid non-colonized name (aka \\\"NCName\\\").\\t\\nOPF-004c\\tERROR\\tInvalid prefix declaration: prefix \\\"%1$s\\\" must be immediately followed by a colon character (\\\":\\\").\\t\\nOPF-004d\\tERROR\\tInvalid prefix declaration: prefix \\\"%1$s\\\" must be separated by its URI with a space.\\t\\nOPF-004e\\tWARNING\\tInvalid prefix declaration: found illegal whitespace between prefix and URI.\\t\\nOPF-004f\\tWARNING\\tInvalid prefix declaration: found illegal whitespace between prefix mappings.\\t\\nOPF-005\\tERROR\\tInvalid prefix declaration: URI for prefix \\\"%1$s\\\" doesn’t exist.\\t\\nOPF-006\\tERROR\\tInvalid prefix declaration: URI \\\"%1$s\\\" is not a valid URI.\\t\\nOPF-007\\tWARNING\\tRe-declaration of reserved prefix \\\"%1$s\\\".\\t\\nOPF-007a\\tERROR\\tInvalid prefix mapping: prefix \\\"_\\\" must not be declared.\\t\\nOPF-007b\\tERROR\\tInvalid prefix mapping: default vocabulary \\\"%1$s\\\" must not be re-declared.\\t\\nOPF-007c\\tERROR\\tInvalid prefix mapping: a prefix to the Dublin Core /elements/1.1/ namespace must not be declared\\t\\nOPF-008\\tSUPPRESSED\\t\\t\\nOPF-009\\tSUPPRESSED\\t\\t\\nOPF-010\\tERROR\\tError resolving reference: \\\"%1$s\\\".\\t\\nOPF-011\\tERROR\\titemref can’t have both page-spread-right and page-spread-left properties.\\t\\nOPF-012\\tERROR\\tItem property \\\"%1$s\\\" is not defined for media type \\\"%2$s\\\".\\t\\nOPF-013\\tWARNING\\tResource \\\"%1$s\\\" is declared with MIME type \\\"%2$s\\\" in content, but has MIME type \\\"%3$s\\\" in the package document.\\t\\nOPF-014\\tERROR\\tThe property \\\"%1$s\\\" should be declared in the OPF file.\\t\\nOPF-015\\tERROR\\tThe property \\\"%1$s\\\" should not be declared in the OPF file.\\t\\nOPF-016\\tERROR\\tThe element \\\"rootfile\\\" is missing its required attribute \\\"full-path\\\".\\t\\nOPF-017\\tERROR\\tThe attribute \\\"full-path\\\" on element \\\"rootfile\\\" must not be empty.\\t\\nOPF-018\\tWARNING\\tThe \\\"remote-resources\\\" property was declared in the Package Document, but no reference to remote resources has been found.\\t\\nOPF-018b\\tUSAGE\\tThe \\\"remote-resources\\\" property was declared in the Package Document, but no reference to remote resources has been found; please check scripted content to make sure the property is legit. \\t\\nOPF-019\\tSUPPRESSED\\t\\t\\nOPF-020\\tSUPPRESSED\\t\\t\\nOPF-021\\tWARNING\\tUse of non-registered URI scheme type in href: \\\"%1$s\\\".\\t\\nOPF-025\\tERROR\\tProperty value list \\\"%1$s\\\" is not allowed, only one value must be specified.\\t\\nOPF-026\\tERROR\\tFound malformed property value: \\\"%1$s\\\".\\t\\nOPF-027\\tERROR\\tUndefined property: \\\"%1$s\\\".\\t\\nOPF-028\\tERROR\\tUndeclared prefix: \\\"%1$s\\\".\\t\\nOPF-029\\tERROR\\tThe file \\\"%1$s\\\" does not appear to match the media type %2$s, as specified in the OPF file.\\t\\nOPF-030\\tERROR\\tThe unique-identifier \\\"%1$s\\\" was not found.\\t\\nOPF-031\\tERROR\\tFile listed in reference element in guide was not declared in OPF manifest: %1$s.\\t\\nOPF-032\\tERROR\\tGuide references \\\"%1$s\\\" which is not a valid \\\"OPS Content Document\\\".\\t\\nOPF-033\\tERROR\\tThe spine contains no linear resources.\\t\\nOPF-034\\tERROR\\tThe spine contains multiple references to the manifest item with id \\\"%1$s\\\".\\t\\nOPF-035\\tWARNING\\tMedia type \\\"text/html\\\" is not appropriate for XHTML/OPS.\\tUse \\\"application/xhtml+xml\\\" instead.\\nOPF-036\\tUSAGE\\tVideo type \\\"%1$s\\\" might not be supported by reading systems\\tUse \\\"video/mp4\\\", \\\"video/h264\\\" or \\\"video/webm\\\" instead.\\nOPF-037\\tWARNING\\tFound deprecated media-type \\\"%1$s\\\".\\t\\nOPF-038\\tWARNING\\tMedia type \\\"%1$s\\\" is not appropriate for an OEBPS 1.2 context; Use \\\"text/x-oeb1-document\\\" instead.\\t\\nOPF-039\\tWARNING\\tMedia-type \\\"%1$s\\\" is not appropriate in an OEBPS 1.2 context. Use \\\"text/x-oeb1-css\\\" instead.\\t\\nOPF-040\\tERROR\\tFallback item with id \\\"%1$s\\\" could not be found.\\t\\nOPF-041\\tERROR\\tFallback-style item with id \\\"%1$s\\\" could not be found.\\t\\nOPF-042\\tERROR\\t\\\"%1$s\\\" is not a permissible spine media-type.\\t\\nOPF-043\\tERROR\\tSpine item with non-standard media-type \\\"%1$s\\\" has no fallback.\\t\\nOPF-044\\tERROR\\tSpine item with non-standard media-type \\\"%1$s\\\" has no EPUB content document fallback.\\t\\nOPF-045\\tERROR\\tEncountered circular reference in fallback chain.\\t\\nOPF-046\\tSUPPRESSED\\t\\t\\nOPF-047\\tUSAGE\\tOPF file is using OEBPS 1.2 syntax allowing backwards compatibility.\\t\\nOPF-048\\tERROR\\tPackage tag is missing its required unique-identifier attribute and value.\\t\\nOPF-049\\tERROR\\tItem id \\\"%1$s\\\" was not found in the manifest.\\t\\nOPF-050\\tERROR\\tTOC attribute references resource with non-NCX mime type; \\\"application/x-dtbncx+xml\\\" is expected.\\t\\nOPF-051\\tSUPPRESSED\\tImage dimensions exceed recommended size.\\t\\nOPF-052\\tERROR\\tRole value \\\"%1$s\\\" is not valid.\\t\\nOPF-053\\tWARNING\\tDate value \\\"%1$s\\\" does not follow recommended syntax as per http://www.w3.org/TR/NOTE-datetime:%2$s.\\t\\nOPF-054\\tERROR\\tDate value \\\"%1$s\\\" is not valid as per http://www.w3.org/TR/NOTE-datetime:%2$s.\\t\\nOPF-055\\tWARNING\\t%1$s tag is empty.\\t\\nOPF-056\\tSUPPRESSED\\t\\t\\nOPF-057\\tSUPPRESSED\\tImage file length exceeds recommended size.\\t\\nOPF-058\\tSUPPRESSED\\t\\t\\nOPF-059\\tSUPPRESSED\\t\\t\\nOPF-060\\tERROR\\tDuplicate entry in the ZIP file: \\\"%1$s\\\" (file names must be unique after Unicode canonical normalization and full case folding).\\t\\nOPF-062\\tUSAGE\\tFound Adobe page-map attribute on spine element in opf file.\\t\\nOPF-063\\tWARNING\\tReferenced Adobe page-map item \\\"%1$s\\\" was not found in the manifest.\\t\\nOPF-064\\tINFO\\tOPF declares type \\\"%1$s\\\", validating using profile \\\"%2$s\\\".\\t\\nOPF-065\\tERROR\\tInvalid metadata declaration, probably due to a cycle in \\\"refines\\\" metadata.\\t\\nOPF-066\\tERROR\\tMissing \\\"dc:source\\\" or \\\"source-of\\\" pagination metadata. The pagination source must be identified using the \\\"dc:source\\\" and \\\"source-of\\\" properties when the content includes page break markers.\\t\\nOPF-067\\tERROR\\tThe resource \\\"%1$s\\\" must not be listed both as a \\\"link\\\" element in the package metadata and as a manifest item.\\t\\nOPF-068\\tSUPPRESSED\\t\\t\\nOPF-069\\tSUPPRESSED\\t\\t\\nOPF-070\\tWARNING\\tCustom collection role \\\"%1$s\\\" is an invalid URL.\\t\\nOPF-071\\tERROR\\tIndex collections must only contain resources pointing to XHTML Content Documents.\\t\\nOPF-072\\tUSAGE\\tMetadata element \\\"%1$s\\\" is empty.\\t\\nOPF-073\\tERROR\\tExternal identifiers must not appear in the document type declaration.\\t\\nOPF-074\\tERROR\\tPackage resource \\\"%1$s\\\" is declared in several manifest items.\\t\\nOPF-075\\tERROR\\tPreview collections must only point to EPUB Content Documents.\\t\\nOPF-076\\tERROR\\tThe URI of preview collections link elements must not include EPUB canonical fragment identifiers.\\t\\nOPF-077\\tWARNING\\tA Data Navigation Document should not be included in the spine.\\t\\nOPF-078\\tERROR\\tAn EPUB Dictionary must contain at least one Content Document with dictionary content (epub:type \\\"dictionary\\\").\\t\\nOPF-079\\tWARNING\\tDictionary content was found (epub:type \\\"dictionary\\\"), the Package Document should declare the dc:type \\\"dictionary\\\".\\t\\nOPF-080\\tWARNING\\tA Search Key Map document file name should have the extension \\\".xml\\\".\\t\\nOPF-081\\tERROR\\tResource \\\"%1$s\\\" (referenced from an EPUB Dictionary collection) was not found.\\t\\nOPF-082\\tERROR\\tFound an EPUB Dictionary collection containing more than one Search Key Map Document.\\t\\nOPF-083\\tERROR\\tFound an EPUB Dictionary collection containing no Search Key Map Document.\\t\\nOPF-084\\tERROR\\tFound an EPUB Dictionary collection containing resource \\\"%1$s\\\" which is neither a Search Key Map Document nor an XHTML Content Document.\\t\\nOPF-085\\tWARNING\\t\\\"dc:identifier\\\" value \\\"%1$s\\\" is marked as a UUID, but is an invalid UUID.\\t\\nOPF-086\\tWARNING\\tProperty \\\"%1$s\\\" is deprecated. Consider using %2$s instead.\\t\\nOPF-086b\\tUSAGE\\tepub:type value \\\"%1$s\\\" is deprecated. Consider using %2$s instead.\\t\\nOPF-086c\\tWARNING\\tthe \\\"%1$s\\\" reserved prefix is deprecated.\\t\\nOPF-087\\tUSAGE\\tepub:type value \\\"%1$s\\\" is not allowed on documents of type \\\"%2$s\\\".\\t\\nOPF-088\\tUSAGE\\tUnrecognized epub:type value \\\"%1$s\\\".\\t\\nOPF-089\\tERROR\\tThe \\\"alternate\\\" link rel keyword cannot be paired with other keywords.\\t\\nOPF-090\\tUSAGE\\tIt is encouraged to use MIME media type \\\"%1$s\\\" instead of \\\"%2$s\\\".\\t\\nOPF-091\\tERROR\\tThe item href URL must not have a fragment identifier.\\t\\nOPF-092\\tERROR\\tLanguage tag \\\"%1$s\\\" is not well-formed: %2$s\\t\\nOPF-093\\tERROR\\tThe \\\"media-type\\\" attribute is required for linked resources located in the EPUB container\\t\\nOPF-094\\tERROR\\tThe \\\"media-type\\\" attribute is required for \\\"%1$s\\\" links.\\t\\nOPF-095\\tERROR\\tThe \\\"media-type\\\" attribute of \\\"voicing\\\" links must be an audio MIME type, but found \\\"%1$s\\\".\\t\\nOPF-096\\tERROR\\tNon-linear content must be reachable, but found no hyperlink to \\\"%1$s\\\".\\t\\nOPF-096b\\tUSAGE\\tNo hyperlink was found to non-linear document \\\"%1$s\\\", please check that it can be reached from scripted content.\\t\\nOPF-097\\tUSAGE\\tResource \\\"%1$s\\\" is listed in the manifest, but no reference to it was found in content documents.\\t\\nOPF-098\\tERROR\\tThe \\\"href\\\" attribute must reference resources, not elements in the package document, but found URL \\\"%1$s\\\".\\t\\nOPF-099\\tERROR\\tThe manifest must not list the package document.\\t\\nOPF-100\\tUSAGE\\tThe \\\"%1$s\\\" property only applies to pre-paginated content.\\t\\nPKG-001\\tWARNING\\tValidating the EPUB against version %1$s but detected version %2$s.\\t\\nPKG-003\\tERROR\\tUnable to read EPUB file header. This is likely a corrupted EPUB file.\\t\\nPKG-004\\tFATAL\\tCorrupted EPUB ZIP header.\\t\\nPKG-005\\tERROR\\tThe mimetype file has an extra field of length %1$s. The use of the extra field feature of the ZIP format is not permitted for the mimetype file.\\t\\nPKG-006\\tERROR\\tMimetype file entry is missing or is not the first file in the archive.\\t\\nPKG-007\\tERROR\\tThe content of the mimetype file must be the string \\\"application/epub+zip\\\"%1$s\\t\\nPKG-008\\tFATAL\\tUnable to read file \\\"%1$s\\\".\\t\\nPKG-009\\tERROR\\tThe file name \\\"%1$s\\\" contains characters that are not allowed in OCF file names: %2$s.\\t\\nPKG-010\\tWARNING\\tThe file name \\\"%1$s\\\" contains spaces, which may create interoperability issues with older reading systems.\\t\\nPKG-011\\tERROR\\tThe file name \\\"%1$s\\\" is not allowed to end with \\\".\\\".\\t\\nPKG-012\\tUSAGE\\tThe file name \\\"%1$s\\\" contains non-ASCII characters, which might create interoperability issues with older reading systems.\\t\\nPKG-013\\tERROR\\tThe EPUB file includes multiple OPS renditions.\\t\\nPKG-014\\tWARNING\\tThe EPUB contains empty directory \\\"%1$s\\\".\\t\\nPKG-015\\tFATAL\\tUnable to read EPUB contents: %1$s\\t\\nPKG-016\\tWARNING\\tUse only lowercase characters for the EPUB file extension for maximum compatibility.\\tFor maximum compatibility, use \\\".epub\\\".\\nPKG-017\\tWARNING\\tUncommon EPUB file extension.\\tFor maximum compatibility, use \\\".epub\\\".\\nPKG-018\\tFATAL\\tThe EPUB file could not be found.\\t\\nPKG-020\\tERROR\\tOPF file \\\"%1$s\\\" could not be found.\\t\\nPKG-021\\tERROR\\tCorrupted image file encountered.\\t\\nPKG-022\\tWARNING\\tWrong file extension for image. The image is a \\\"%1$s\\\" file but has the file extension \\\"%2$s\\\".\\t\\nPKG-023\\tUSAGE\\tValidating the EPUB against version 2.0, default validation profile will be used.\\t\\nPKG-024\\tUSAGE\\tUncommon EPUB file extension.\\tFor maximum compatibility, use \\\".epub\\\".\\nPKG-025\\tERROR\\tPublication resource must not be located in the META-INF directory\\t\\nPKG-026\\tERROR\\tObfuscated resource must be a Font Core Media Type (was declared as \\\"%1$s\\\" in \\\"%2$s\\\").\\t\\nPKG-027\\tFATAL\\tCould not extract EPUB ZIP content, probably due to file names not encoded in UTF-8. \\t\\nRSC-001\\tERROR\\tFile \\\"%1$s\\\" could not be found.\\t\\nRSC-002\\tFATAL\\tRequired META-INF/container.xml resource could not be found.\\t\\nRSC-003\\tERROR\\tNo rootfile tag with media type \\\"application/oebps-package+xml\\\" was found in the container.\\t\\nRSC-004\\tINFO\\tFile \\\"%1$s\\\" is encrypted, its content will not be checked.\\t\\nRSC-005\\tERROR\\tError while parsing file: %1$s\\t\\nRSC-006\\tERROR\\tRemote resource reference is not allowed in this context; resource \\\"%1$s\\\" must be located in the EPUB container.\\t\\nRSC-006b\\tUSAGE\\tResource \\\"%1$s\\\" is located outside the EPUB Container; please check the resource is retrieved in scripted content. \\t\\nRSC-007\\tERROR\\tReferenced resource \\\"%1$s\\\" could not be found in the EPUB.\\t\\nRSC-007w\\tWARNING\\tReferenced resource \\\"%1$s\\\" could not be found in the EPUB.\\t\\nRSC-008\\tERROR\\tReferenced resource \\\"%1$s\\\" is not declared in the OPF manifest.\\t\\nRSC-009\\tWARNING\\tA non-SVG image resource should not be defined with a fragment identifier.\\t\\nRSC-010\\tERROR\\tReference to non-standard resource type found.\\t\\nRSC-011\\tERROR\\tFound a reference to a resource that is not a spine item.\\t\\nRSC-012\\tERROR\\tFragment identifier is not defined.\\t\\nRSC-013\\tUSAGE\\tFragment identifier is used in a reference to a stylesheet resource.\\t\\nRSC-014\\tUSAGE\\tFragment identifier defines an incompatible resource type.\\t\\nRSC-015\\tUSAGE\\tA fragment identifier is required for svg use tag references.\\t\\nRSC-016\\tFATAL\\tFatal Error while parsing file: %1$s\\t\\nRSC-017\\tWARNING\\tWarning while parsing file: %1$s\\t\\nRSC-018\\tSUPPRESSED\\t\\t\\nRSC-019\\tWARNING\\tEPUBs with Multiple Renditions should contain a META-INF/metadata.xml file.\\t\\nRSC-020\\tERROR\\t\\\"%1$s\\\" is not a valid URL (%2$s)\\t\\nRSC-021\\tERROR\\tA Search Key Map Document must point to Content Documents (\\\"%1$s\\\" was not found in the spine).\\t\\nRSC-022\\tINFO\\tCannot check image details (requires Java version 7 or higher).\\t\\nRSC-023\\tSUPPRESSED\\t\\t\\nRSC-024\\tUSAGE\\tInformative parsing warning: %1$s\\t\\nRSC-025\\tUSAGE\\tInformative parsing error: %1$s\\t\\nRSC-026\\tERROR\\tURL \\\"%1$s\\\" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)\\t\\nRSC-027\\tWARNING\\tXML document is encoded in UTF-16. It should be encoded in UTF-8 instead.\\t\\nRSC-028\\tERROR\\tXML documents must be encoded in UTF-8, but %1$s was detected.\\t\\nRSC-029\\tERROR\\tData URL is not allowed in this context.\\t\\nRSC-030\\tERROR\\tFile URLs are not allowed in EPUB, but found \\\"%1$s\\\".\\t\\nRSC-031\\tWARNING\\tRemote resource references should use HTTPS, but found \\\"%1$s\\\".\\t\\nRSC-032\\tERROR\\tFallback must be provided for foreign resources, but found none for resource \\\"%1$s\\\" of type \\\"%2$s\\\".\\t\\nRSC-033\\tERROR\\tRelative URL strings must not have a query component, but found one in \\\"%1$s\\\".\\t\\nRSC-034\\tERROR\\tScripts must have a JavaScript media type.\\t\\nRSC-035\\tUSAGE\\t\\\"%1$s\\\" is a legacy media type for JavaScript. Consider using 'text/javascript' instead.\\t\\nRSC-036\\tUSAGE\\t%1$s\\t\\nSCP-001\\tSUPPRESSED\\t\\t\\nSCP-002\\tSUPPRESSED\\t\\t\\nSCP-003\\tSUPPRESSED\\t\\t\\nSCP-004\\tSUPPRESSED\\t\\t\\nSCP-005\\tSUPPRESSED\\t\\t\\nSCP-006\\tSUPPRESSED\\t\\t\\nSCP-007\\tSUPPRESSED\\t\\t\\nSCP-008\\tSUPPRESSED\\t\\t\\nSCP-009\\tSUPPRESSED\\t\\t\\nSCP-010\\tSUPPRESSED\\t\\t\\n\";\n"],"mappings":";AAUA,MAAa,kBAAkB"}
|