Better error handling, and beginning of i18n
parent
2362e45247
commit
86acd52b61
@ -0,0 +1,49 @@
|
||||
{
|
||||
"Process HTML input": "Process HTML input",
|
||||
"Print script for bash/zsh completion": "Print script for bash/zsh completion",
|
||||
"Print version": "Print version",
|
||||
"Show help": "Show help",
|
||||
"The file to which the result should be output": "The file to which the result should be output",
|
||||
"What to do if Readability.js is uncertain about what the core content actually is": "What to do if Readability.js is uncertain about what the core content actually is",
|
||||
"Output specific properties of the parsed article": "Output specific properties of the parsed article",
|
||||
"Don't output extra information to stderr": "Don't output extra information to stderr",
|
||||
"Set the document URL when parsing standard input or a local file (this affects relative links)": "Set the document URL when parsing standard input or a local file (this affects relative links)",
|
||||
"(deprecated) alias for --base": "(deprecated) alias for --base",
|
||||
"Interpret SOURCE as a file name rather than a URL": "Interpret SOURCE as a file name rather than a URL",
|
||||
"(deprecated) Interpret SOURCE as a URL rather than file name": "(deprecated) Interpret SOURCE as a URL rather than file name",
|
||||
"Output properties as a JSON payload": "Output properties as a JSON payload",
|
||||
"The --low-confidence option determines what should be done for documents where Readability can't tell what the core content is:\n": "The --low-confidence option determines what should be done for documents where Readability can't tell what the core content is:\n",
|
||||
" no-op When unsure, don't touch the HTML, output as-is. This is incompatible with the --properties option.\n": " no-op When unsure, don't touch the HTML, output as-is. This is incompatible with the --properties option.\n",
|
||||
" force Process the document even when unsure (may produce really bad output).\n": " force Process the document even when unsure (may produce really bad output).\n",
|
||||
" exit When unsure, exit with an error.\n": " exit When unsure, exit with an error.\n",
|
||||
"Default value is \"no-op\".\n": "Default value is \"no-op\".\n",
|
||||
"The --properties option accepts a comma-separated list of values (with no spaces in-between). Suitable values are:\n": "The --properties option accepts a comma-separated list of values (with no spaces in-between). Suitable values are:\n",
|
||||
" html-title Outputs the article's title, wrapped in an <h1> tag.\n": " html-title Outputs the article's title, wrapped in an <h1> tag.\n",
|
||||
" title Outputs the title in the format \"Title: $TITLE\".\n": " title Outputs the title in the format \"Title: $TITLE\".\n",
|
||||
" excerpt Article description, or short excerpt from the content, in the format \"Excerpt: $EXCERPT\"\n": " excerpt Article description, or short excerpt from the content, in the format \"Excerpt: $EXCERPT\"\n",
|
||||
" byline Author metadata, in the format \"Author: $AUTHOR\"\n": " byline Author metadata, in the format \"Author: $AUTHOR\"\n",
|
||||
" length Length of the article in characters, in the format \"Length: $LENGTH\"\n": " length Length of the article in characters, in the format \"Length: $LENGTH\"\n",
|
||||
" dir Content direction, is either \"Direction: ltr\" or \"Direction: rtl\"\n": " dir Content direction, is either \"Direction: ltr\" or \"Direction: rtl\"\n",
|
||||
" html-content Outputs the article's main content as HTML.\n": " html-content Outputs the article's main content as HTML.\n",
|
||||
" text-content Outputs the article's main content as plain text.\n": " text-content Outputs the article's main content as plain text.\n",
|
||||
"Text-content and Html-content are mutually exclusive, and are always printed last.\n": "Text-content and Html-content are mutually exclusive, and are always printed last.\n",
|
||||
"Default value is \"html-title,html-content\".\n": "Default value is \"html-title,html-content\".\n",
|
||||
"No input provided": "No input provided.",
|
||||
"Note: --is-url option is deprecated.": "Note: --is-url option is deprecated.",
|
||||
"Note: --url option is deprecated, please use --base instead.": "Note: --url option is deprecated, please use --base instead.",
|
||||
"Retrieving...": "Retrieving...",
|
||||
"Warning: piping input with unknown URL. This means that relative links will be broken. Supply the --base parameter to fix.": "Warning: piping input with unknown URL. This means that relative links will be broken. Supply the --base parameter to fix.",
|
||||
"Not sure if this document should be processed. Not processing": "Not sure if this document should be processed. Not processing",
|
||||
"Error while retrieving %s:": "Error while retrieving %s:",
|
||||
"Invalid URL: %s": "Invalid URL: %s",
|
||||
"Processing...": "Processing...",
|
||||
"Not sure if this document should be processed, exiting": "Not sure if this document should be processed, exiting",
|
||||
"Can't output properties": "Can't output properties",
|
||||
"Couldn't process document.": "Couldn't process document.",
|
||||
"Title: %s\n": "Title: %s\n",
|
||||
"Excerpt: %s\n": "Excerpt: %s\n",
|
||||
"Author: %s\n": "Author: %s\n",
|
||||
"Length: %s\n": "Length: %s\n",
|
||||
"Direction: %s\n": "Direction: %s\n",
|
||||
"Host not found: '%s'": "Host not found: '%s'"
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
{
|
||||
"Process HTML input": "Обработать входной HTML",
|
||||
"Print script for bash/zsh completion": "Print script for bash/zsh completion",
|
||||
"Print version": "Print version",
|
||||
"Show help": "Show help",
|
||||
"The file to which the result should be output": "The file to which the result should be output",
|
||||
"What to do if Readability.js is uncertain about what the core content actually is": "What to do if Readability.js is uncertain about what the core content actually is",
|
||||
"Output specific properties of the parsed article": "Output specific properties of the parsed article",
|
||||
"Don't output extra information to stderr": "Don't output extra information to stderr",
|
||||
"Set the document URL when parsing standard input or a local file (this affects relative links)": "Set the document URL when parsing standard input or a local file (this affects relative links)",
|
||||
"(deprecated) alias for --base": "(deprecated) alias for --base",
|
||||
"Interpret SOURCE as a file name rather than a URL": "Interpret SOURCE as a file name rather than a URL",
|
||||
"(deprecated) Interpret SOURCE as a URL rather than file name": "(deprecated) Interpret SOURCE as a URL rather than file name",
|
||||
"Output properties as a JSON payload": "Output properties as a JSON payload",
|
||||
"The --low-confidence option determines what should be done for documents where Readability can't tell what the core content is:\n": "The --low-confidence option determines what should be done for documents where Readability can't tell what the core content is:\n",
|
||||
" no-op When unsure, don't touch the HTML, output as-is. This is incompatible with the --properties option.\n": " no-op When unsure, don't touch the HTML, output as-is. This is incompatible with the --properties option.\n",
|
||||
" force Process the document even when unsure (may produce really bad output).\n": " force Process the document even when unsure (may produce really bad output).\n",
|
||||
" exit When unsure, exit with an error.\n": " exit When unsure, exit with an error.\n",
|
||||
"Default value is \"no-op\".\n": "Default value is \"no-op\".\n",
|
||||
"The --properties option accepts a comma-separated list of values (with no spaces in-between). Suitable values are:\n": "The --properties option accepts a comma-separated list of values (with no spaces in-between). Suitable values are:\n",
|
||||
" html-title Outputs the article's title, wrapped in an <h1> tag.\n": " html-title Outputs the article's title, wrapped in an <h1> tag.\n",
|
||||
" title Outputs the title in the format \"Title: $TITLE\".\n": " title Outputs the title in the format \"Title: $TITLE\".\n",
|
||||
" excerpt Article description, or short excerpt from the content, in the format \"Excerpt: $EXCERPT\"\n": " excerpt Article description, or short excerpt from the content, in the format \"Excerpt: $EXCERPT\"\n",
|
||||
" byline Author metadata, in the format \"Author: $AUTHOR\"\n": " byline Author metadata, in the format \"Author: $AUTHOR\"\n",
|
||||
" length Length of the article in characters, in the format \"Length: $LENGTH\"\n": " length Length of the article in characters, in the format \"Length: $LENGTH\"\n",
|
||||
" dir Content direction, is either \"Direction: ltr\" or \"Direction: rtl\"\n": " dir Content direction, is either \"Direction: ltr\" or \"Direction: rtl\"\n",
|
||||
" html-content Outputs the article's main content as HTML.\n": " html-content Outputs the article's main content as HTML.\n",
|
||||
" text-content Outputs the article's main content as plain text.\n": " text-content Outputs the article's main content as plain text.\n",
|
||||
"Text-content and Html-content are mutually exclusive, and are always printed last.\n": "Text-content and Html-content are mutually exclusive, and are always printed last.\n",
|
||||
"Default value is \"html-title,html-content\".\n": "Default value is \"html-title,html-content\".\n",
|
||||
"No input provided": "No input provided.",
|
||||
"Note: --is-url option is deprecated.": "Note: --is-url option is deprecated.",
|
||||
"Note: --url option is deprecated, please use --base instead.": "Note: --url option is deprecated, please use --base instead.",
|
||||
"Retrieving...": "Retrieving...",
|
||||
"Warning: piping input with unknown URL. This means that relative links will be broken. Supply the --base parameter to fix.": "Warning: piping input with unknown URL. This means that relative links will be broken. Supply the --base parameter to fix.",
|
||||
"Not sure if this document should be processed. Not processing": "Not sure if this document should be processed. Not processing",
|
||||
"Error while retrieving %s:": "Error while retrieving %s:",
|
||||
"Invalid URL: %s": "Invalid URL: %s",
|
||||
"Processing...": "Processing...",
|
||||
"Not sure if this document should be processed, exiting": "Not sure if this document should be processed, exiting",
|
||||
"Can't output properties": "Can't output properties",
|
||||
"Couldn't process document.": "Couldn't process document.",
|
||||
"Title: %s\n": "Title: %s\n",
|
||||
"Excerpt: %s\n": "Excerpt: %s\n",
|
||||
"Author: %s\n": "Author: %s\n",
|
||||
"Length: %s\n": "Length: %s\n",
|
||||
"Direction: %s\n": "Direction: %s\n",
|
||||
"Host not found: '%s'": "Host not found: '%s'"
|
||||
}
|
Loading…
Reference in New Issue