From 1771f9e6b3627e31e06da34b2f5a5fe519195bc7 Mon Sep 17 00:00:00 2001 From: gardenapple Date: Thu, 4 Feb 2021 22:32:34 +0200 Subject: [PATCH] Add localization for --style option description --- index.js | 2 +- locales/en.json | 1 + locales/ru.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 846fd4e..8713699 100755 --- a/index.js +++ b/index.js @@ -227,7 +227,7 @@ let args = yargs .option("style", { alias: 's', type: "string", - desc: __`Specify .css file for stylesheet. If not specified, HTML will be adapted for Firefox desktop's Reader Mode.` + desc: __`Specify .css file for stylesheet. If not specified, HTML will be adapted for desktop Firefox's Reader Mode.` }) .option("url", { alias: 'u', diff --git a/locales/en.json b/locales/en.json index b3c2429..d97bbeb 100644 --- a/locales/en.json +++ b/locales/en.json @@ -8,6 +8,7 @@ "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", + "Specify .css file for stylesheet. If not specified, HTML will be adapted for desktop Firefox's Reader Mode.": "Specify .css file for stylesheet. If not specified, HTML will be adapted for desktop Firefox's Reader Mode.", "Don't sanitize HTML": "Don't sanitize HTML", "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", diff --git a/locales/ru.json b/locales/ru.json index 58404b0..7a5dfa3 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -8,6 +8,7 @@ "What to do if Readability.js is uncertain about what the core content actually is": "Что делать, когда Readability не может определить целевой контент", "Output specific properties of the parsed article": "Показать определённые характеристики текста", "Don't output extra information to stderr": "Не выдавать лишнюю информацию в стандартный вывод ошибок", + "Specify .css file for stylesheet. If not specified, HTML will be adapted for desktop Firefox's Reader Mode.": "Указать .css файл. Если ничего не указано, HTML будет адаптирован под режим читателя в Firefox.", "Don't sanitize HTML": "Не убирать \"опасные\" элементы из HTML", "Set the document URL when parsing standard input or a local file (this affects relative links)": "Указать URL документа при чтении из локального файла или стандартного ввода (влияет на относительные ссылки)", "(deprecated) alias for --base": "(устаревшый) синоним для --base",