Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This simplifies the datadir configuration and removes the expectation,
that the code is executed from the repository. It should now be possible
to install this into the system like any other common Linux application.
|
|
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, "");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|