Age | Commit message (Collapse) | Author | Files | Lines |
|
We build the project with 'meson' now instead of using custom
configure script + GNU Makefiles. To build the project, go to
the project root directory and use the following commands:
Building:
meson build
cd build
ninja
Update Language Files:
ninja shopsystem-pot
ninja shopsystem-update-po
Install:
DESTDIR=./tmp ninja install
|
|
This adds I18N support using standard gettext system together
with an initial German translation. This can be used to search
locales in some directory:
Intl.bindtextdomain("shopsystem", "/home/sre/src/serial-barcode-scanner");
And this can be used to switch language at runtime:
Intl.setlocale(LocaleCategory.ALL, "");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The new tool is written in vala and uses cairo
and pango to generate the invoice PDF. Thus a
full-blown latex install is no longer needed.
The new tool is also much fast than generating
the invoice with latex (ca. 10x speed improvement)
and generates files, which have only half of the
size pdflatex produces.
|