X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fbundles%2FStringId.java;h=78b271dd529ed2f40212433fd8769549668f8c18;hp=39cb0b239f4d9df67c276881e0efa2fe433efff7;hb=f0608ab10e762c1aed9608720b97c1901b5e2614;hpb=08fe2e33007063e30fe22dc1d290f8afaa18eb1d diff --git a/src/be/nikiroo/fanfix/bundles/StringId.java b/src/be/nikiroo/fanfix/bundles/StringId.java index 39cb0b2..78b271d 100644 --- a/src/be/nikiroo/fanfix/bundles/StringId.java +++ b/src/be/nikiroo/fanfix/bundles/StringId.java @@ -3,8 +3,8 @@ package be.nikiroo.fanfix.bundles; import java.io.IOException; import java.io.Writer; +import be.nikiroo.utils.resources.Bundle; import be.nikiroo.utils.resources.Meta; -import be.nikiroo.utils.resources.bundles.Bundle; /** * The {@link Enum} representing textual information to be translated to the @@ -30,7 +30,9 @@ public enum StringId { * Use it when you need a real translation but still don't have a key. */ DUMMY, // - @Meta(what = "error message", where = "cli", format = "%s = supported input, %s = supported output", info = "syntax error message") + @Meta(what = "help message", where = "cli", format = "%s = supported input, %s = supported output", info = "help message for the syntax") + HELP_SYNTAX, // + @Meta(what = "error message", where = "cli", format = "", info = "syntax error message") ERR_SYNTAX, // @Meta(what = "error message", where = "cli", format = "%s = support name, %s = support desc", info = "an input or output support type description") ERR_SYNTAX_TYPE, // @@ -76,6 +78,8 @@ public enum StringId { INPUT_DESC_MANGAFOX, // @Meta(what = "input format description", where = "SupportType", format = "", info = "Description of this input type") INPUT_DESC_E621, // + @Meta(what = "input format description", where = "SupportType", format = "", info = "Description of this input type") + INPUT_DESC_E_HENTAI, // @Meta(what = "output format description", where = "OutputType", format = "%s = type", info = "Default description when the type is not known by i18n") OUTPUT_DESC, // @Meta(what = "output format description", where = "OutputType", format = "", info = "Description of this output type") @@ -87,9 +91,27 @@ public enum StringId { @Meta(what = "output format description", where = "OutputType", format = "", info = "Description of this output type") OUTPUT_DESC_CBZ, // @Meta(what = "output format description", where = "OutputType", format = "", info = "Description of this output type") - OUTPUT_DESC_LATEX, // + OUTPUT_DESC_HTML, // @Meta(what = "output format description", where = "OutputType", format = "", info = "Description of this output type") + OUTPUT_DESC_LATEX, // + @Meta(what = "short output format description", where = "OutputType", format = "", info = "Description of this output type") OUTPUT_DESC_SYSOUT, // + @Meta(what = "short output format description", where = "OutputType", format = "%s = type", info = "Default description when the type is not known by i18n") + OUTPUT_DESC_SHORT, // + @Meta(what = "short output format description", where = "OutputType", format = "", info = "Description of this output type") + OUTPUT_DESC_SHORT_EPUB, // + @Meta(what = "short output format description", where = "OutputType", format = "", info = "Description of this output type") + OUTPUT_DESC_SHORT_TEXT, // + @Meta(what = "short output format description", where = "OutputType", format = "", info = "Description of this output type") + OUTPUT_DESC_SHORT_INFO_TEXT, // + @Meta(what = "short output format description", where = "OutputType", format = "", info = "Description of this output type") + OUTPUT_DESC_SHORT_CBZ, // + @Meta(what = "short output format description", where = "OutputType", format = "", info = "Description of this output type") + OUTPUT_DESC_SHORT_LATEX, // + @Meta(what = "short output format description", where = "OutputType", format = "", info = "Description of this output type") + OUTPUT_DESC_SHORT_SYSOUT, // + @Meta(what = "short output format description", where = "OutputType", format = "", info = "Description of this output type") + OUTPUT_DESC_SHORT_HTML, // @Meta(what = "error message", where = "LaTeX", format = "%s = the unknown 2-code language", info = "Error message for unknown 2-letter LaTeX language code") LATEX_LANG_UNKNOWN, // @Meta(what = "'by' prefix before author name", where = "", format = "", info = "used to output the author, make sure it is covered by Config.BYS for input detection")