added handler on internal server error

This commit is contained in:
2024-12-09 17:34:36 +03:00
parent baa8ae6e65
commit 22922aecaa
6 changed files with 47 additions and 18 deletions

View File

@@ -118,7 +118,7 @@
<location filename="../mainwindow.ui" line="333"/>
<source>Funds income</source>
<translatorcomment>Приход средств</translatorcomment>
<translation>Funds incode</translation>
<translation>Funds income</translation>
</message>
<message>
<location filename="../mainwindow.ui" line="338"/>
@@ -160,37 +160,47 @@
</message>
<message>
<location filename="../mainwindow.cpp" line="92"/>
<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="94"/>
<source>Internal server error</source>
<translation>Internal server error</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="99"/>
<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="94"/>
<location filename="../mainwindow.cpp" line="101"/>
<source>Check was not found</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="116"/>
<location filename="../mainwindow.cpp" line="123"/>
<source>An error has occured. Check was matched incorrectly. Vector sizes are different. Please, contact the developer.</source>
<translation>An error has occured. Check was matched incorrectly. Vector sizes are different. Please, contact the developer.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="118"/>
<location filename="../mainwindow.cpp" line="125"/>
<source>Error in parsing</source>
<translation>Error in parsing</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="149"/>
<location filename="../mainwindow.cpp" line="156"/>
<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="151"/>
<location filename="../mainwindow.cpp" line="197"/>
<location filename="../mainwindow.cpp" line="158"/>
<location filename="../mainwindow.cpp" line="204"/>
<source>Picture was not selected</source>
<translation>Picture was not selected</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="195"/>
<location filename="../mainwindow.cpp" line="202"/>
<source>Please, select a picture to scan</source>
<translation>Please, select a picture to scan</translation>
</message>