Add short help text

This commit is contained in:
Gres 2020-05-01 13:14:48 +03:00
parent e1ec939862
commit 5afd8e7e7f
3 changed files with 35 additions and 2 deletions

View File

@ -1067,7 +1067,22 @@ in %1</source>
<translation>Текст для проверки</translation>
</message>
<message>
<location filename="../../src/settingseditor.cpp" line="325"/>
<location filename="../../src/settingseditor.cpp" line="116"/>
<source>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.</source>
<translation>Процесс работы с программой состоит из следующих шагов:
1. Выделение области экрана
2. Распознавание выделенной области
3. Коррекция распознанного текста (не обязательно)
4. Перевод откорректированного текста (не обязательно)
Шаги 2,3 и 4 требуют дополнительных данных, которые можно скачать на странице обновлений.</translation>
</message>
<message>
<location filename="../../src/settingseditor.cpp" line="333"/>
<source>Portable changed. Apply settings first</source>
<translation>Portable режиме изменени. Сначала применить настройки</translation>
</message>

View File

@ -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);

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>889</width>
<height>549</height>
<height>553</height>
</rect>
</property>
<property name="windowTitle">
@ -693,6 +693,16 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="helpLabel">
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">