[postgis-tickets] [SCM] PostGIS branch main updated. 3.2.0-146-gcbcea8fe1
git at osgeo.org
git at osgeo.org
Mon Jan 10 16:56:00 PST 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, main has been updated
via cbcea8fe1429633f672c30b63ae31bdeda99ee21 (commit)
from 301f8df9b2687d4fd719ee7da3ae5f415599939d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cbcea8fe1429633f672c30b63ae31bdeda99ee21
Author: Sandro Santilli <strk at kbt.io>
Date: Tue Jan 11 01:54:19 2022 +0100
Add weblate commandline configuration and early instructions
diff --git a/doc/.weblate b/doc/.weblate
new file mode 100644
index 000000000..3b8892be2
--- /dev/null
+++ b/doc/.weblate
@@ -0,0 +1,2 @@
+[weblate]
+ url = https://weblate.osgeo.org/api/
diff --git a/doc/po/README b/doc/po/README
index e0c4950cf..6584bb8c9 100644
--- a/doc/po/README
+++ b/doc/po/README
@@ -31,9 +31,34 @@ NOTE: the recommended workflow is:
make pull-tx
do:
make html-localized || edit
- until success
+ until success
if edits:
make push-tx
make pull-tx
commit changes to repo
fi
+
+Using weblate [EXPERIMENTAL]
+----------------------------
+
+Weblate web-ui to translation was setup here:
+https://weblate.osgeo.org/projects/postgis
+
+Translations made via Weblate will automatically be pushed
+to the a configured repository (currently robe's fork) with
+'weblate' as a committer, see commit 2d5247b0c as an example.
+
+Changes to the templates should be automatically fetched by Weblate
+via webhook, see https://git.osgeo.org/gitea/postgis/postgis/settings/hooks
+(currently broken because the configured repository does not match the
+URL of the official repository)
+
+Local changes to the translation files can be uploaded manually
+to weblate with a command like the following:
+
+ wlc upload \
+ postgis/introductionxml/it \
+ --input po/it_IT/introduction.xml.po
+
+NOTE: wlc 1.2 is known to be not functional, while wlc 1.12
+ (current latest when installed via pip) seems fine
-----------------------------------------------------------------------
Summary of changes:
doc/.weblate | 2 ++
doc/po/README | 27 ++++++++++++++++++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 doc/.weblate
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list