fix UI and translations

This commit is contained in:
leca 2024-12-09 16:27:30 +03:00
parent b135f8a94d
commit 2ebcf68838
3 changed files with 6 additions and 11 deletions

View File

@ -4,10 +4,7 @@ FROM archlinux
RUN pacman --noconfirm -Sy
#Build dependencies
RUN pacman --noconfirm -S sudo cmake git coreutils base-devel eigen
#Dependencies from repos
RUN pacman --noconfirm -S qt5-base mbedtls
RUN pacman --noconfirm -S sudo cmake git coreutils base-devel qt5-base
RUN echo "MAKEFLAGS=\"-j${nproc}\"" >> /etc/makepkg.conf
@ -24,15 +21,13 @@ RUN git clone https://aur.archlinux.org/yay.git && \
makepkg -si --noconfirm && \
cd .. && sudo rm -rf yay
RUN yay -Sy --noconfirm gtkglext
RUN yay -S --noconfirm cpr opencv opencv2 nlohmann-json tesseract tesseract-data-rus
RUN yay -S opencv zbar nlohmann-json tesseract tesseract-data-rus
#building
WORKDIR /home/checks-parser
RUN git clone https://git.foxarmy.org/leca/checks-parser && \
cd checks-parser && \
mkdir build && cd build && \
cmake .. && \
cmake . && \
make -j ${nproc} && \
sudo make install

View File

@ -60,7 +60,7 @@
<rect>
<x>10</x>
<y>50</y>
<width>111</width>
<width>371</width>
<height>24</height>
</rect>
</property>
@ -168,7 +168,7 @@
<rect>
<x>10</x>
<y>90</y>
<width>111</width>
<width>381</width>
<height>24</height>
</rect>
</property>

View File

@ -60,7 +60,7 @@
<location filename="../mainwindow.ui" line="108"/>
<source>OCR</source>
<translatorcomment>Оптическое Распознавание Символов</translatorcomment>
<translation>ОСР</translation>
<translation type="unfinished">ОРС</translation>
</message>
<message>
<location filename="../mainwindow.ui" line="120"/>