From 7aa96cb396a84cf7a2818a23efb7f80d82a6fbbe Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 16 Oct 2020 02:17:09 +0200 Subject: [pkg] rename to make-installer --- docs/branding.rst | 6 +++--- docs/build.windows.rst | 4 ++-- docs/i18n-howto.rst | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 docs/i18n-howto.rst (limited to 'docs') diff --git a/docs/branding.rst b/docs/branding.rst index 6c7a0d9..80ca748 100644 --- a/docs/branding.rst +++ b/docs/branding.rst @@ -53,11 +53,11 @@ Then you can build the binaries for some quick manual testing:: Now you can build the installer for your host platform:: - make build_installer + make installer Previously we had a cross-compilation setup in place. Cross compilation will be added back in the future. For debian and snap packages (FIXME -- WORK IN PROGRESS): - make debian - make snap + make package_debian + make package_snap diff --git a/docs/build.windows.rst b/docs/build.windows.rst index 818f813..27edcbc 100644 --- a/docs/build.windows.rst +++ b/docs/build.windows.rst @@ -13,5 +13,5 @@ For the installer, install QtIFW for windows (tested with version 3.2.2). Assuming you have the vendor path in place and correctly configured, all you need to do is `make build_installer`:: export PATH="/c/Qt/Qt5/bin/":"/c/Qt/QtIFW-3.2.2/bin":$PATH - VENDOR_PATH=providers/ - make build_installer + export VENDOR_PATH=providers + make vendor && make installer diff --git a/docs/i18n-howto.rst b/docs/i18n-howto.rst new file mode 100644 index 0000000..337c2e6 --- /dev/null +++ b/docs/i18n-howto.rst @@ -0,0 +1,21 @@ +Howto i18n +---------- + +The translations are done in transifex. To help us contribute your translations there and/or review the existing +ones: +https://www.transifex.com/otf/bitmask/RiseupVPN/ + +When a string has being modified you need to regenerate the locales: +``` + make generate_locales +``` + + +To fetch the translations from transifex and rebuild the catalog.go (API\_TOKEN is the transifex API token): +``` + API_TOKEN='xxxxxxxxxxx' make locales +``` +There is some bug on gotext and the catalog.go generated doesn't have a package, you will need to edit +cmd/bitmask-vpn/catalog.go and to have a `package main` at the beginning of the file. + +If you want to add a new language create the folder `locales/$lang` before running `make locales`. -- cgit v1.2.3