basic email parsing

This commit is contained in:
2025-06-07 20:55:16 +03:00
parent 259b8543a4
commit 9da589839c
11 changed files with 205 additions and 239 deletions

View File

@@ -273,57 +273,65 @@
<translation>Could not start http server.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="161"/>
<location filename="../mainwindow.cpp" line="149"/>
<source>Selected image: </source>
<translation>Selected image: </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="194"/>
<source>This feature is under development. Wait it to appear in next updates.</source>
<translation>This feature is under development. Wait for it to appear in next updates.</translation>
<translation type="vanished">This feature is under development. Wait for it to appear in next updates.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="196"/>
<source>Under development</source>
<translation>Under development</translation>
<translation type="vanished">Under development</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="207"/>
<location filename="../mainwindow.cpp" line="168"/>
<source>Please, select an e-mail which contains QR code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="170"/>
<source>E-Mail was not selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="193"/>
<source>Please, add check(s) to parse</source>
<translation>Please, add check(s) to parse</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="209"/>
<location filename="../mainwindow.cpp" line="195"/>
<source>No checks to parse</source>
<translation>No checks to parse</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="275"/>
<location filename="../mainwindow.cpp" line="262"/>
<source>Captcha was not solved correctly!</source>
<translation>Captcha was not solved correctly!</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="277"/>
<location filename="../mainwindow.cpp" line="264"/>
<source>Captcha is incorrect</source>
<translation>Captcha is incorrect</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="282"/>
<location filename="../mainwindow.cpp" line="268"/>
<source>Internal server error. Please, try again later.</source>
<translation>Internal server error. Please, try again later.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="284"/>
<location filename="../mainwindow.cpp" line="270"/>
<source>Internal server error</source>
<translation>Internal server error</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="289"/>
<location filename="../mainwindow.cpp" line="274"/>
<source>Check not found. Please, ensure correctness of entered data.</source>
<translation>Check not found. Please, ensure correctness of entered data.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="291"/>
<location filename="../mainwindow.cpp" line="276"/>
<source>Check was not found</source>
<translation>Check was not found</translation>
</message>
@@ -336,12 +344,12 @@
<translation type="vanished">Error in parsing</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="154"/>
<location filename="../mainwindow.cpp" line="142"/>
<source>Please, select a picture where QR code that contains info about check is present</source>
<translation>Please, select a picture where QR code that contains info about check is present</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="156"/>
<location filename="../mainwindow.cpp" line="144"/>
<source>Picture was not selected</source>
<translation>Picture was not selected</translation>
</message>
@@ -653,7 +661,7 @@
<context>
<name>QObject</name>
<message>
<location filename="../main.cpp" line="64"/>
<location filename="../main.cpp" line="71"/>
<source>Using locale: </source>
<translation>Using locale: </translation>
</message>
@@ -661,17 +669,17 @@
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="26"/>
<location filename="../settingsdialog.cpp" line="24"/>
<source>Кто здесь?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="91"/>
<location filename="../settingsdialog.cpp" line="89"/>
<source>You need to restart program to apply language changes</source>
<translation>You need to restart program to apply language changes</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<location filename="../settingsdialog.cpp" line="91"/>
<source>Restart required</source>
<translation>Restart required</translation>
</message>

View File

@@ -261,57 +261,57 @@
<translation>Не получилось запустить HTTP сервер.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="161"/>
<location filename="../mainwindow.cpp" line="149"/>
<source>Selected image: </source>
<translation>Выбранное изображение: </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="194"/>
<source>This feature is under development. Wait it to appear in next updates.</source>
<location filename="../mainwindow.cpp" line="168"/>
<source>Please, select an e-mail which contains QR code</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="196"/>
<source>Under development</source>
<location filename="../mainwindow.cpp" line="170"/>
<source>E-Mail was not selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="207"/>
<location filename="../mainwindow.cpp" line="193"/>
<source>Please, add check(s) to parse</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="209"/>
<location filename="../mainwindow.cpp" line="195"/>
<source>No checks to parse</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="275"/>
<location filename="../mainwindow.cpp" line="262"/>
<source>Captcha was not solved correctly!</source>
<translation>Капча была решена неверно!</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="277"/>
<location filename="../mainwindow.cpp" line="264"/>
<source>Captcha is incorrect</source>
<translation>Капча введена неверно</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="282"/>
<location filename="../mainwindow.cpp" line="268"/>
<source>Internal server error. Please, try again later.</source>
<translation>Внутренняя ошибка сервера. Пожалуйста, попробуйте снова позже.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="284"/>
<location filename="../mainwindow.cpp" line="270"/>
<source>Internal server error</source>
<translation>Внутренняя ошибка сервера</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="289"/>
<location filename="../mainwindow.cpp" line="274"/>
<source>Check not found. Please, ensure correctness of entered data.</source>
<translation>Чек не найден. Пожалуйста, убедитесь в правильности введённых данных.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="291"/>
<location filename="../mainwindow.cpp" line="276"/>
<source>Check was not found</source>
<translation>Чек не найден</translation>
</message>
@@ -324,12 +324,12 @@
<translation type="vanished">Ошибка в парсинге</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="154"/>
<location filename="../mainwindow.cpp" line="142"/>
<source>Please, select a picture where QR code that contains info about check is present</source>
<translation>Пожалуйста, выберете изображение, содержащее QR код с информацией о чеке</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="156"/>
<location filename="../mainwindow.cpp" line="144"/>
<source>Picture was not selected</source>
<translation>Изображение не было выбрано</translation>
</message>
@@ -637,7 +637,7 @@
<context>
<name>QObject</name>
<message>
<location filename="../main.cpp" line="64"/>
<location filename="../main.cpp" line="71"/>
<source>Using locale: </source>
<translation>Использую локаль: </translation>
</message>
@@ -645,17 +645,17 @@
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settingsdialog.cpp" line="26"/>
<location filename="../settingsdialog.cpp" line="24"/>
<source>Кто здесь?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="91"/>
<location filename="../settingsdialog.cpp" line="89"/>
<source>You need to restart program to apply language changes</source>
<translation>Требуется перезагрузить программу, чтобы применить изменения языка</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="93"/>
<location filename="../settingsdialog.cpp" line="91"/>
<source>Restart required</source>
<translation>Требуется перезагрузка</translation>
</message>