fix UI and translations
This commit is contained in:
parent
b135f8a94d
commit
2ebcf68838
|
@ -4,10 +4,7 @@ FROM archlinux
|
||||||
RUN pacman --noconfirm -Sy
|
RUN pacman --noconfirm -Sy
|
||||||
|
|
||||||
#Build dependencies
|
#Build dependencies
|
||||||
RUN pacman --noconfirm -S sudo cmake git coreutils base-devel eigen
|
RUN pacman --noconfirm -S sudo cmake git coreutils base-devel qt5-base
|
||||||
|
|
||||||
#Dependencies from repos
|
|
||||||
RUN pacman --noconfirm -S qt5-base mbedtls
|
|
||||||
|
|
||||||
RUN echo "MAKEFLAGS=\"-j${nproc}\"" >> /etc/makepkg.conf
|
RUN echo "MAKEFLAGS=\"-j${nproc}\"" >> /etc/makepkg.conf
|
||||||
|
|
||||||
|
@ -24,15 +21,13 @@ RUN git clone https://aur.archlinux.org/yay.git && \
|
||||||
makepkg -si --noconfirm && \
|
makepkg -si --noconfirm && \
|
||||||
cd .. && sudo rm -rf yay
|
cd .. && sudo rm -rf yay
|
||||||
|
|
||||||
RUN yay -Sy --noconfirm gtkglext
|
RUN yay -S opencv zbar nlohmann-json tesseract tesseract-data-rus
|
||||||
RUN yay -S --noconfirm cpr opencv opencv2 nlohmann-json tesseract tesseract-data-rus
|
|
||||||
|
|
||||||
#building
|
#building
|
||||||
WORKDIR /home/checks-parser
|
WORKDIR /home/checks-parser
|
||||||
RUN git clone https://git.foxarmy.org/leca/checks-parser && \
|
RUN git clone https://git.foxarmy.org/leca/checks-parser && \
|
||||||
cd checks-parser && \
|
cd checks-parser && \
|
||||||
mkdir build && cd build && \
|
cmake . && \
|
||||||
cmake .. && \
|
|
||||||
make -j ${nproc} && \
|
make -j ${nproc} && \
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>50</y>
|
<y>50</y>
|
||||||
<width>111</width>
|
<width>371</width>
|
||||||
<height>24</height>
|
<height>24</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>90</y>
|
<y>90</y>
|
||||||
<width>111</width>
|
<width>381</width>
|
||||||
<height>24</height>
|
<height>24</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
<location filename="../mainwindow.ui" line="108"/>
|
<location filename="../mainwindow.ui" line="108"/>
|
||||||
<source>OCR</source>
|
<source>OCR</source>
|
||||||
<translatorcomment>Оптическое Распознавание Символов</translatorcomment>
|
<translatorcomment>Оптическое Распознавание Символов</translatorcomment>
|
||||||
<translation>ОСР</translation>
|
<translation type="unfinished">ОРС</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../mainwindow.ui" line="120"/>
|
<location filename="../mainwindow.ui" line="120"/>
|
||||||
|
|
Loading…
Reference in New Issue