diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -23,8 +23,17 @@ flatpak. ### Flatpak +Build it with `make flatpak` + Since flatpak expects offline building, we use `flatpak-cargo-generator` to -generate the sources. +generate the sources. This will be done every time you run `make flatpak`. + +The project assumes `flatpak-cargo-generator.py` lives in +`~/projects/vendor/flatpak-builder-tools/cargo`, but you can override this with +the environment variable `flatpak_cargo_generator` (eg. +`make -e flatpak_cargo_generator=~/your/path/to/flatpak_cargo_generator`). It +expects this directory to have the poetry configuration, as it enables the +virtualenv using poetry. ## Localization / Internationalization @@ -35,6 +44,11 @@ with: make extract_strings ``` +This updates the available POTFILES by checking for the presence of the tr! +macro or `gettext`, and extracts the strings to the template file. + +You can then edit the strings using a tool like Poedit. + ## The wmap language Learn more about the language at [map.tranquil.systems][map]. |