1
0
Fork
You've already forked glossaico
0
forked from dimkard/glossaico
Language learning application based on LibreLingo
  • Python 86.4%
  • QML 13.1%
  • Shell 0.3%
  • Makefile 0.2%
Codeberg Translate c298fe9f48
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: Glossaico/Application
Translate-URL: https://translate.codeberg.org/projects/glossaico/application/ 
2023年10月27日 12:57:05 +00:00
.reuse Streamline license consent 2023年08月29日 11:07:42 +03:00
glossaico Update translation files 2023年10月27日 12:57:05 +00:00
LICENSES Add missing licensing information 2022年11月02日 17:20:14 +02:00
screenshots Provide installation and development environment setup instructions 2022年11月02日 17:24:22 +02:00
tests Streamline license consent 2023年08月29日 11:07:42 +03:00
.gitignore Provide the translations template 2022年12月06日 17:23:58 +02:00
check_file.sh Add configuration files and utilities for code checking, code formatting and 2022年10月01日 13:41:36 +03:00
generate_pot.sh Build translations with setup tools 2023年02月24日 20:59:19 +02:00
LICENSE.txt Add metadata to setup tools configuration file 2021年10月20日 13:09:15 +03:00
Makefile Build translations with setup tools 2023年02月24日 20:59:19 +02:00
MANIFEST.in Build translations with setup tools 2023年02月24日 20:59:19 +02:00
mypy.ini Use a relational database for progress data 2022年10月13日 17:32:27 +03:00
org.codeberg.dimkard.glossaico.desktop Glossaico 1.2 release 2023年03月17日 15:08:02 +02:00
org.codeberg.dimkard.glossaico.desktop.license Rename app to Glossaico 2021年11月06日 15:43:53 +02:00
org.codeberg.dimkard.glossaico.metainfo.xml Glossaico 1.2 release 2023年03月17日 15:08:02 +02:00
org.codeberg.dimkard.glossaico.svg Rename app to Glossaico 2021年11月06日 15:43:53 +02:00
pyproject.toml Build translations with setup tools 2023年02月24日 20:59:19 +02:00
README.md Provide a more specific link for translations 2023年01月17日 10:50:08 +02:00
setup.cfg Update project dependencies 2023年03月03日 16:28:43 +02:00
setup.py Build translations with setup tools 2023年02月24日 20:59:19 +02:00

Glossaico

Glossaico is a language learning application based on LibreLingo.

Its primary target is Linux Mobile devices but it also runs on any environment where Python, Qt and Kirigami are available.

At the moment, it contains three language courses:

  • Spanish for English speakers
  • German for English speakers
  • Basque for English speakers

Install

Glossaico is available as a flatpak package and it can be installed from flathub. First, ensure that flatpak has been installed and the flathub repository has been added. Then, install Glossaico:

flatpak install org.codeberg.dimkard.glossaico

Contribute

  • Install the Kirigami UI components from the repository of your Linux distribution. E.g., on Ubuntu:

sudo apt install qml-module-org-kde-kirigami2

  • Ensure that sqlite is installed (most probably) on your system

  • Clone the repository and create a virtual environment:

python3 -m venv env/
  • Activate it using the activate script:
source env/bin/activate
  • Ensure that pip, wheel and setuptools exist:

python3 -m pip install --upgrade pip setuptools wheel

  • Install the PySide2 build dependencies

    • qtbase5-dev
    • qtdeclarative5-dev
    • qtdeclarative5-private-dev
    • llvm
    • libclang-dev

with the package manager of your distribution

  • Build and install PySide2:
wget https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.6-src/pyside-setup-opensource-src-5.15.6.tar.xz
tar xvf pyside-setup-opensource-src-5.15.6.tar.xz
cd pyside-setup-opensource-src-5.15.6
mkdir build
cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=../../env/ -DBUILD_SHARED_LIBS=True -DCMAKE_BUILD_TYPE=None -DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_TESTS=OFF ..
cmake --build build
cmake --install build
export LD_LIBRARY_PATH=/path/to/env/lib
  • Install the editable developer version of the application:
pip install -e ".[dev]"
  • Check the file(s) changed:
./check_file.sh NEW_OR_MODIFIED_FILE
  • Run the tests:
python -m pytest -sv tests/
  • Run the application
glossaico

Translate

You can translate Glossaico on the Weblate instance provided by Codeberg.

License

Glossaico is licensed under GPL v3+.