From 5afd8e7e7ff68720010149fa24de054b55a96023 Mon Sep 17 00:00:00 2001 From: Gres Date: Fri, 1 May 2020 13:14:48 +0300 Subject: [PATCH] Add short help text --- share/translations/screentranslator_ru.ts | 17 ++++++++++++++++- src/settingseditor.cpp | 8 ++++++++ src/settingseditor.ui | 12 +++++++++++- 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/share/translations/screentranslator_ru.ts b/share/translations/screentranslator_ru.ts index 34ba44c..f0ebd3b 100644 --- a/share/translations/screentranslator_ru.ts +++ b/share/translations/screentranslator_ru.ts @@ -1067,7 +1067,22 @@ in %1 Текст для проверки - + + The program workflow consists of the following steps: +1. Selection on the screen area +2. Recognition of the selected area +3. Correction of the recognized text (optional) +4. Translation of the corrected text (optional) +Steps 2, 3 and 4 require additional data that can be downloaded from the updates page. + Процесс работы с программой состоит из следующих шагов: +1. Выделение области экрана +2. Распознавание выделенной области +3. Коррекция распознанного текста (не обязательно) +4. Перевод откорректированного текста (не обязательно) +Шаги 2,3 и 4 требуют дополнительных данных, которые можно скачать на странице обновлений. + + + Portable changed. Apply settings first Portable режиме изменени. Сначала применить настройки diff --git a/src/settingseditor.cpp b/src/settingseditor.cpp index 988e670..fd68917 100644 --- a/src/settingseditor.cpp +++ b/src/settingseditor.cpp @@ -111,6 +111,14 @@ SettingsEditor::SettingsEditor(Manager &manager, update::Loader &updater) ui->aboutLabel->setText(aboutText); ui->aboutLabel->setTextFormat(Qt::RichText); ui->aboutLabel->setOpenExternalLinks(true); + + ui->helpLabel->setText( + tr(R"(The program workflow consists of the following steps: +1. Selection on the screen area +2. Recognition of the selected area +3. Correction of the recognized text (optional) +4. Translation of the corrected text (optional) +Steps 2, 3 and 4 require additional data that can be downloaded from the updates page.)")); } new service::WidgetState(this); diff --git a/src/settingseditor.ui b/src/settingseditor.ui index 2eb26d9..99de894 100644 --- a/src/settingseditor.ui +++ b/src/settingseditor.ui @@ -7,7 +7,7 @@ 0 0 889 - 549 + 553 @@ -693,6 +693,16 @@ + + + + + + + true + + +