rust/build_pot is again very similar to web/build_pot except for the file finding details, the language, and the (so far implicit) keywords. Use `rust/build_pot --container` on older distros. `web/build_pot_container` is now just a shortcut for `web/build_pot --container`. The inlined container logic relies on a `devel/xgettext/run.sh` helper which calls `build.sh` before running its arguments. |
||
|---|---|---|
| .. | ||
| build.sh | ||
| Dockerfile | ||
| README.md | ||
| run.sh | ||
| xgettext.sh | ||
Xgettext Container
This directory contains the definition of a container containing the latest version of the GNU gettext from the openSUSE Tumbleweed distribution.
It can be used for extracting the translatable texts from the web frontend. That requires a newer GNU gettext which supports TSX input file format.
Building the container
To build the container run the ./build.sh script. It uses Podman so make sure
it is installed in the system.
Using the container
To run the container use the ./xgettext.sh script. All parameters are passed
to the xgettext tool inside the container.
Clean up
If you do not need the container anymore you can delete the image:
podman rmi agama-xgettext
The container is based on the openSUSE Tumbleweed base image. If you do not use it in other containers you can delete it as well:
podman rmi registry.opensuse.org/opensuse/tumbleweed:latest