embeding translations into qrc

This commit is contained in:
leca 2024-12-05 03:48:20 +03:00
parent 7959bc5492
commit c478dcf8d4
6 changed files with 5 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 KiB

View File

@ -4,4 +4,3 @@ Exec=usr/bin/checks-parser
Icon=checks-parser
Type=Application
Categories=Utility;
X-AppImage-Version=41463c7

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 KiB

After

Width:  |  Height:  |  Size: 138 KiB

View File

@ -1,7 +0,0 @@
# Generated by linuxdeployqt
# https://github.com/probonopd/linuxdeployqt/
[Paths]
Prefix = ./
Plugins = plugins
Imports = qml
Qml2Imports = qml

View File

@ -1,7 +0,0 @@
# Generated by linuxdeployqt
# https://github.com/probonopd/linuxdeployqt/
[Paths]
Prefix = ../
Plugins = plugins
Imports = qml
Qml2Imports = qml

View File

@ -1,9 +1,14 @@
#!/usr/bin/env bash
rm -rf AppDir
mkdir -p AppDir
mkdir -p AppDir/usr/bin
mkdir -p AppDir/usr/lib
mkdir -p AppDir/usr/share/tesseract-ocr/4.00/tessdata
cp -r /usr/share/tesseract-ocr/4.00/tessdata/* AppDir/usr/share/tesseract-ocr/4.00/tessdata
cp ../../checks-parser AppDir/usr/bin
cp ../../en_US.qm AppDir/
cp ../../ru_RU.qm AppDir/
echo \
"[Desktop Entry]