epubcheck-standalone-cli 5.3.0-build2 → 5.4.0-build1
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.js +1 -1
- package/dist/cli.js +101 -28
- package/dist/help-text.d.ts +1 -0
- package/dist/help-text.js +15 -2
- package/dist/list-checks-data.d.ts +1 -1
- package/dist/list-checks-data.js +1 -1
- package/dist/list-checks-locale-data.js +10 -10
- package/dist/messages.d.ts +2 -0
- package/dist/messages.js +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -45,6 +45,7 @@ Same short and long forms as the official EPUBCheck CLI.
|
|
|
45
45
|
| `-j`, `--json <file>` | Write a JSON report to `<file>`. Use `-` for the console. |
|
|
46
46
|
| `-o`, `--out <file>` | Write an XML report to `<file>`. Use `-` for the console. |
|
|
47
47
|
| `-x`, `--xmp <file>` | Write an XMP report to `<file>`. Use `-` for the console. |
|
|
48
|
+
| `--maxOfEachMessage <number\|unlimited>` | Limit locations retained for each repeated message in JSON, XML, and XMP reports. Defaults to `25`; `unlimited` or a negative integer removes the limit. |
|
|
48
49
|
| `-q`, `--quiet` | Silence normal stdout. Message lines, the summary, and any requested report still print. |
|
|
49
50
|
| `-f`, `--fatal` | Show fatal messages only. |
|
|
50
51
|
| `-e`, `--error` | Show error and fatal messages. |
|
package/dist/archive.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Port of com.adobe.epubcheck.util.Archive
|
|
1
|
+
// Port of com.adobe.epubcheck.util.Archive for the CLI's
|
|
2
2
|
// `-s`/`--save` flag: package an expanded EPUB directory into
|
|
3
3
|
// `<canonical-parent>/<directory-name>.epub`, laid out the way the jar's
|
|
4
4
|
// commons-compress ZipArchiveOutputStream writes it.
|
package/dist/cli.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// epubcheck-standalone-cli -- a zero-Java command-line EPUB validator that mirrors the
|
|
3
|
-
// official epubcheck
|
|
3
|
+
// official epubcheck CLI (com.adobe.epubcheck.tool.EpubChecker /
|
|
4
4
|
// Checker) byte-for-byte, on top of the epubcheck-standalone engine.
|
|
5
5
|
//
|
|
6
|
-
// The behavior here is a faithful re-implementation of
|
|
6
|
+
// The behavior here is a faithful re-implementation of upstream's
|
|
7
7
|
// EpubChecker.processArguments / run / validateFile / processFile and
|
|
8
8
|
// DefaultReportImpl (see the source files named in the package README). Flags
|
|
9
9
|
// that change what the engine validates or which locale it speaks (--mode,
|
|
@@ -31,9 +31,9 @@ import { fs as fsSource, fsDir, url as urlSource } from "epubcheck-standalone/pl
|
|
|
31
31
|
// stdout/stderr stay byte-identical to the jar while still printing during the
|
|
32
32
|
// run. CLI-specific concerns (flag/--quiet handling, reporting-level selection,
|
|
33
33
|
// locale wiring, stream routing) stay here.
|
|
34
|
-
import { renderConsoleMessageLine, countConsoleSeverities, displayedConsoleCounts, renderConsoleSummaryLine, renderValidatingLine, severityReportingLevel, formatTemplate, } from "epubcheck-standalone/formatters";
|
|
35
|
-
import {
|
|
36
|
-
import { HELP_OUTPUT } from "./help-text.js";
|
|
34
|
+
import { DEFAULT_MAX_OF_EACH_MESSAGE, renderConsoleMessageLine, countConsoleSeverities, displayedConsoleCounts, renderConsoleSummaryLine, renderValidatingLine, severityReportingLevel, formatTemplate, } from "epubcheck-standalone/formatters";
|
|
35
|
+
import { messagesFor, resolveLocale, EPUBCHECK_VERSION, ReportingLevel, } from "./messages.js";
|
|
36
|
+
import { HELP_OUTPUT, HELP_OUTPUT_BY_LOCALE } from "./help-text.js";
|
|
37
37
|
import { createArchive } from "./archive.js";
|
|
38
38
|
import { LIST_CHECKS_TSV } from "./list-checks-data.js";
|
|
39
39
|
import { LIST_CHECKS_TSV_BY_LOCALE } from "./list-checks-locale-data.js";
|
|
@@ -94,6 +94,7 @@ export async function run(args) {
|
|
|
94
94
|
reportingLevel: ReportingLevel.Info,
|
|
95
95
|
quiet: false,
|
|
96
96
|
localeTag: null,
|
|
97
|
+
maxOfEachMessage: DEFAULT_MAX_OF_EACH_MESSAGE,
|
|
97
98
|
};
|
|
98
99
|
// Emit helpers. Everything that epubcheck routes through `outWriter` (stdout)
|
|
99
100
|
// is suppressed under --quiet; System.err and report bodies are not.
|
|
@@ -110,8 +111,12 @@ export async function run(args) {
|
|
|
110
111
|
const usageln = (s) => {
|
|
111
112
|
process.stdout.write(s + "\n");
|
|
112
113
|
};
|
|
113
|
-
const displayHelp = () =>
|
|
114
|
-
|
|
114
|
+
const displayHelp = () => {
|
|
115
|
+
const locale = st.localeTag === null ? null : resolveLocale(st.localeTag);
|
|
116
|
+
const output = (locale === null ? undefined : HELP_OUTPUT_BY_LOCALE[locale]) ?? HELP_OUTPUT;
|
|
117
|
+
outln(output.slice(0, -1)); // help output ends with the println newline
|
|
118
|
+
};
|
|
119
|
+
const displayVersion = () => outln(formatTemplate(messagesFor(st.localeTag).epubcheck_version_text, EPUBCHECK_VERSION));
|
|
115
120
|
// --- processArguments -------------------------------------------------------
|
|
116
121
|
let parsedOk = true;
|
|
117
122
|
try {
|
|
@@ -144,7 +149,6 @@ export async function run(args) {
|
|
|
144
149
|
// localized dump the SAME way a run resolves the locale (resolveLocale): a shipped
|
|
145
150
|
// non-English key -> its dump; English / an English-fallback tag -> the default.
|
|
146
151
|
if (st.listChecks) {
|
|
147
|
-
const listZero = { fatal: 0, error: 0, warning: 0, info: 0, usage: 0 };
|
|
148
152
|
const listKey = st.localeTag !== null ? resolveLocale(st.localeTag) : null;
|
|
149
153
|
const listTsv = (listKey !== null && LIST_CHECKS_TSV_BY_LOCALE[listKey]) || LIST_CHECKS_TSV;
|
|
150
154
|
if (st.listChecksOut === null) {
|
|
@@ -155,9 +159,8 @@ export async function run(args) {
|
|
|
155
159
|
else {
|
|
156
160
|
// EpubChecker.dumpMessageDictionary SWALLOWS a write failure: it prints the
|
|
157
161
|
// absolute path (listChecksOut.getAbsoluteFile()) + the IOException message
|
|
158
|
-
// to stderr, but run() still returns 0
|
|
159
|
-
//
|
|
160
|
-
// with the summary, NOT 1 without it.
|
|
162
|
+
// to stderr, but run() still returns 0. Upstream does not print a
|
|
163
|
+
// completion summary for either the successful or failed file-output path.
|
|
161
164
|
try {
|
|
162
165
|
await writeFile(st.listChecksOut, listTsv);
|
|
163
166
|
}
|
|
@@ -165,7 +168,6 @@ export async function run(args) {
|
|
|
165
168
|
errln(formatTemplate(msgs.error_creating_config_file, pathResolve(process.cwd(), st.listChecksOut)));
|
|
166
169
|
errln(javaIoErrorMessage(e, st.listChecksOut));
|
|
167
170
|
}
|
|
168
|
-
printCompleted(st, listZero, outln, msgs);
|
|
169
171
|
}
|
|
170
172
|
return 0;
|
|
171
173
|
}
|
|
@@ -188,7 +190,7 @@ export async function run(args) {
|
|
|
188
190
|
const isDir = exists && (await stat(absPath)).isDirectory();
|
|
189
191
|
const zeroCounts = { fatal: 0, error: 0, warning: 0, info: 0, usage: 0 };
|
|
190
192
|
// Expanded (directory / --mode exp) vs packaged/single-file routing, mirroring
|
|
191
|
-
//
|
|
193
|
+
// Upstream's EpubChecker: `-mode exp` (st.expanded) always means expanded
|
|
192
194
|
// validation, and a directory input with no single-file `-mode` is auto-detected
|
|
193
195
|
// as expanded too (a `.epub`-named directory, or a directory validated under a
|
|
194
196
|
// `--profile`). A single-file `-mode` (xhtml/opf/svg/mo/nav) is never expanded.
|
|
@@ -557,12 +559,62 @@ async function buildEngineOpts(st, cwd, forDirectory) {
|
|
|
557
559
|
reports.push("xmp");
|
|
558
560
|
if (reports.length > 0)
|
|
559
561
|
opts.reports = reports;
|
|
562
|
+
// Upstream applies this only to its JSON/XML-family report implementations;
|
|
563
|
+
// the engine tap and live console stream remain complete and uncapped.
|
|
564
|
+
if (reports.length > 0)
|
|
565
|
+
opts.maxOfEachMessage = st.maxOfEachMessage;
|
|
560
566
|
return opts;
|
|
561
567
|
}
|
|
568
|
+
// The BMP decimal-digit blocks accepted by Java 21's Character.digit(char, 10).
|
|
569
|
+
// Integer.parseInt iterates UTF-16 chars, so supplementary-plane decimal digits
|
|
570
|
+
// are deliberately rejected even though JavaScript can represent their code
|
|
571
|
+
// points. Each block contains ten contiguous digits starting at zero.
|
|
572
|
+
const JAVA_21_BMP_DECIMAL_ZEROES = [
|
|
573
|
+
0x0030, 0x0660, 0x06f0, 0x07c0, 0x0966, 0x09e6, 0x0a66, 0x0ae6, 0x0b66,
|
|
574
|
+
0x0be6, 0x0c66, 0x0ce6, 0x0d66, 0x0de6, 0x0e50, 0x0ed0, 0x0f20, 0x1040,
|
|
575
|
+
0x1090, 0x17e0, 0x1810, 0x1946, 0x19d0, 0x1a80, 0x1a90, 0x1b50, 0x1bb0,
|
|
576
|
+
0x1c40, 0x1c50, 0xa620, 0xa8d0, 0xa900, 0xa9d0, 0xa9f0, 0xaa50, 0xabf0,
|
|
577
|
+
0xff10,
|
|
578
|
+
];
|
|
579
|
+
function javaDecimalDigit(codeUnit) {
|
|
580
|
+
for (const zero of JAVA_21_BMP_DECIMAL_ZEROES) {
|
|
581
|
+
if (codeUnit >= zero && codeUnit <= zero + 9)
|
|
582
|
+
return codeUnit - zero;
|
|
583
|
+
}
|
|
584
|
+
return -1;
|
|
585
|
+
}
|
|
586
|
+
/** Match Java 21 Integer.parseInt(raw), including Character.digit and overflow. */
|
|
587
|
+
function parseJavaInt32(raw) {
|
|
588
|
+
if (raw.length === 0)
|
|
589
|
+
return null;
|
|
590
|
+
let index = 0;
|
|
591
|
+
let negative = false;
|
|
592
|
+
const first = raw.charCodeAt(0);
|
|
593
|
+
if (first === 0x2d || first === 0x2b) {
|
|
594
|
+
negative = first === 0x2d;
|
|
595
|
+
index = 1;
|
|
596
|
+
if (raw.length === 1)
|
|
597
|
+
return null;
|
|
598
|
+
}
|
|
599
|
+
const limit = negative ? -2147483648 : -2147483647;
|
|
600
|
+
const multmin = Math.trunc(limit / 10);
|
|
601
|
+
let result = 0;
|
|
602
|
+
for (; index < raw.length; index++) {
|
|
603
|
+
const digit = javaDecimalDigit(raw.charCodeAt(index));
|
|
604
|
+
if (digit < 0 || result < multmin)
|
|
605
|
+
return null;
|
|
606
|
+
result *= 10;
|
|
607
|
+
if (result < limit + digit)
|
|
608
|
+
return null;
|
|
609
|
+
result -= digit;
|
|
610
|
+
}
|
|
611
|
+
return negative ? result : -result;
|
|
612
|
+
}
|
|
562
613
|
/** Faithful port of EpubChecker.processArguments (returns false == exit 1). */
|
|
563
614
|
async function processArguments(args, st, e) {
|
|
615
|
+
const messages = () => messagesFor(st.localeTag);
|
|
564
616
|
if (args.length < 1) {
|
|
565
|
-
e.errln(
|
|
617
|
+
e.errln(messages().argument_needed);
|
|
566
618
|
return false;
|
|
567
619
|
}
|
|
568
620
|
// Env var pre-load (setCustomMessageFileFromEnvironment).
|
|
@@ -586,12 +638,12 @@ async function processArguments(args, st, e) {
|
|
|
586
638
|
else if (v === "3.0" || v === "3")
|
|
587
639
|
st.version = "3.0";
|
|
588
640
|
else {
|
|
589
|
-
e.outln(
|
|
641
|
+
e.outln(messages().display_help);
|
|
590
642
|
throw new ParseError("unsupported version");
|
|
591
643
|
}
|
|
592
644
|
}
|
|
593
645
|
else {
|
|
594
|
-
e.outln(
|
|
646
|
+
e.outln(messages().display_help);
|
|
595
647
|
throw new ParseError("version argument expected");
|
|
596
648
|
}
|
|
597
649
|
break;
|
|
@@ -602,7 +654,7 @@ async function processArguments(args, st, e) {
|
|
|
602
654
|
st.expanded = st.mode === "exp";
|
|
603
655
|
}
|
|
604
656
|
else {
|
|
605
|
-
e.outln(
|
|
657
|
+
e.outln(messages().display_help);
|
|
606
658
|
throw new ParseError("mode argument expected");
|
|
607
659
|
}
|
|
608
660
|
break;
|
|
@@ -617,12 +669,12 @@ async function processArguments(args, st, e) {
|
|
|
617
669
|
else {
|
|
618
670
|
// epubcheck prints the (mis-keyed) mode_version_ignored text and
|
|
619
671
|
// falls back to the default profile.
|
|
620
|
-
e.errln(
|
|
672
|
+
e.errln(messages().mode_version_ignored);
|
|
621
673
|
st.profile = "DEFAULT";
|
|
622
674
|
}
|
|
623
675
|
}
|
|
624
676
|
else {
|
|
625
|
-
e.outln(
|
|
677
|
+
e.outln(messages().display_help);
|
|
626
678
|
throw new ParseError("profile argument expected");
|
|
627
679
|
}
|
|
628
680
|
break;
|
|
@@ -694,7 +746,7 @@ async function processArguments(args, st, e) {
|
|
|
694
746
|
++i;
|
|
695
747
|
}
|
|
696
748
|
else {
|
|
697
|
-
e.errln(formatTemplate(
|
|
749
|
+
e.errln(formatTemplate(messages().expected_message_filename, fileName));
|
|
698
750
|
e.displayHelp();
|
|
699
751
|
return false;
|
|
700
752
|
}
|
|
@@ -715,7 +767,7 @@ async function processArguments(args, st, e) {
|
|
|
715
767
|
case "locale":
|
|
716
768
|
if (i + 1 < args.length) {
|
|
717
769
|
if (args[i + 1].startsWith("-")) {
|
|
718
|
-
e.errln(formatTemplate(
|
|
770
|
+
e.errln(formatTemplate(messages().incorrect_locale, args[i + 1]));
|
|
719
771
|
e.displayHelp();
|
|
720
772
|
return false;
|
|
721
773
|
}
|
|
@@ -724,11 +776,32 @@ async function processArguments(args, st, e) {
|
|
|
724
776
|
}
|
|
725
777
|
}
|
|
726
778
|
else {
|
|
727
|
-
e.errln(formatTemplate(
|
|
779
|
+
e.errln(formatTemplate(messages().missing_locale));
|
|
728
780
|
e.displayHelp();
|
|
729
781
|
return false;
|
|
730
782
|
}
|
|
731
783
|
break;
|
|
784
|
+
case "maxOfEachMessage":
|
|
785
|
+
case "maxofeachmessage": {
|
|
786
|
+
if (i + 1 >= args.length) {
|
|
787
|
+
e.errln(messages().missing_maxofeach);
|
|
788
|
+
e.displayHelp();
|
|
789
|
+
return false;
|
|
790
|
+
}
|
|
791
|
+
const maxValue = args[++i];
|
|
792
|
+
if (maxValue === "unlimited") {
|
|
793
|
+
st.maxOfEachMessage = -1;
|
|
794
|
+
break;
|
|
795
|
+
}
|
|
796
|
+
const max = parseJavaInt32(maxValue);
|
|
797
|
+
if (max === null) {
|
|
798
|
+
e.errln(formatTemplate(messages().incorrect_maxofeach, maxValue));
|
|
799
|
+
e.displayHelp();
|
|
800
|
+
return false;
|
|
801
|
+
}
|
|
802
|
+
st.maxOfEachMessage = max;
|
|
803
|
+
break;
|
|
804
|
+
}
|
|
732
805
|
case "h":
|
|
733
806
|
case "?":
|
|
734
807
|
case "help":
|
|
@@ -740,7 +813,7 @@ async function processArguments(args, st, e) {
|
|
|
740
813
|
st.displayVersion = true;
|
|
741
814
|
break;
|
|
742
815
|
default:
|
|
743
|
-
e.errln(formatTemplate(
|
|
816
|
+
e.errln(formatTemplate(messages().unrecognized_argument, arg));
|
|
744
817
|
e.displayHelp();
|
|
745
818
|
return false;
|
|
746
819
|
}
|
|
@@ -750,7 +823,7 @@ async function processArguments(args, st, e) {
|
|
|
750
823
|
st.path = arg;
|
|
751
824
|
}
|
|
752
825
|
else {
|
|
753
|
-
e.errln(formatTemplate(
|
|
826
|
+
e.errln(formatTemplate(messages().unrecognized_argument, arg));
|
|
754
827
|
e.displayHelp();
|
|
755
828
|
return false;
|
|
756
829
|
}
|
|
@@ -759,7 +832,7 @@ async function processArguments(args, st, e) {
|
|
|
759
832
|
if ((st.xmlOutput && st.xmpOutput) ||
|
|
760
833
|
(st.xmlOutput && st.jsonOutput) ||
|
|
761
834
|
(st.xmpOutput && st.jsonOutput)) {
|
|
762
|
-
e.errln(
|
|
835
|
+
e.errln(messages().output_type_conflict);
|
|
763
836
|
return false;
|
|
764
837
|
}
|
|
765
838
|
if (st.path !== null) {
|
|
@@ -769,17 +842,17 @@ async function processArguments(args, st, e) {
|
|
|
769
842
|
if (st.listChecks || st.displayHelp || st.displayVersion) {
|
|
770
843
|
return true;
|
|
771
844
|
}
|
|
772
|
-
e.errln(
|
|
845
|
+
e.errln(messages().no_file_specified);
|
|
773
846
|
return false;
|
|
774
847
|
}
|
|
775
848
|
else if (/^.+\.[Ee][Pp][Uu][Bb]$/.test(st.path)) {
|
|
776
849
|
if (st.mode !== null || st.version !== "3.0") {
|
|
777
|
-
e.errln(
|
|
850
|
+
e.errln(messages().mode_version_ignored);
|
|
778
851
|
st.mode = null;
|
|
779
852
|
}
|
|
780
853
|
}
|
|
781
854
|
else if (st.mode === null && st.profile === null) {
|
|
782
|
-
e.outln(
|
|
855
|
+
e.outln(messages().mode_required);
|
|
783
856
|
return false;
|
|
784
857
|
}
|
|
785
858
|
return true;
|
package/dist/help-text.d.ts
CHANGED
package/dist/help-text.js
CHANGED
|
@@ -2,11 +2,24 @@
|
|
|
2
2
|
// CLI `--help` output. Do not edit by hand; re-run `npm run generate:cli-data`
|
|
3
3
|
// after an epubcheck upgrade.
|
|
4
4
|
//
|
|
5
|
-
// HELP_OUTPUT
|
|
5
|
+
// HELP_OUTPUT and HELP_OUTPUT_BY_LOCALE are the VERBATIM text the upstream
|
|
6
|
+
// CLI prints for default and localized `--help` invocations, respectively
|
|
6
7
|
// (source: com/adobe/epubcheck/util/messages.properties key `help_text`, plus
|
|
7
8
|
// the trailing newline outWriter.println adds), kept as exact bytes so the CLI
|
|
8
9
|
// is byte-identical to the real tool. The ONLY substitution is the version in
|
|
9
10
|
// the header line, interpolated from the library's EPUBCHECK_VERSION so an
|
|
10
11
|
// epubcheck upgrade regenerates it with no hand-edit here.
|
|
11
12
|
import { EPUBCHECK_VERSION } from "epubcheck-standalone";
|
|
12
|
-
export 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--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`;
|
|
13
|
+
export 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`;
|
|
14
|
+
export const HELP_OUTPUT_BY_LOCALE = {
|
|
15
|
+
"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`,
|
|
16
|
+
"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`,
|
|
17
|
+
"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`,
|
|
18
|
+
"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`,
|
|
19
|
+
"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`,
|
|
20
|
+
"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`,
|
|
21
|
+
"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`,
|
|
22
|
+
"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`,
|
|
23
|
+
"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`,
|
|
24
|
+
"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`,
|
|
25
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare 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\u2019t 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\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\u2019s 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\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\u2019t 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\u2019t 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 item.\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-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\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\tMimetype file should only contain the string \"application/epub+zip\" and should not be compressed.\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\tERROR\tFragment identifier is used in a reference to a stylesheet resource.\t\nRSC-014\tERROR\tFragment identifier defines an incompatible resource type.\t\nRSC-015\tERROR\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\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";
|
|
1
|
+
export declare 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\u2019t 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\u2019s 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\u2019t 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\u2019t 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";
|