From 929806c7eb189c36cfb6c40d0ce12a6416fd0832 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 1 Nov 2024 20:27:25 -0600 Subject: [PATCH] Initial Transifex configuratoin This adds configuration for the tx client and a pointer to the project. Later we might make use of the full Transifex/GitHub integration[1]. 1. https://help.transifex.com/en/articles/6265125-github-installation-and-configuration https://phabricator.endlessm.com/T35709 --- .tx/config | 8 ++++++++ addons/block_code/README.md | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .tx/config diff --git a/.tx/config b/.tx/config new file mode 100644 index 00000000..71af3289 --- /dev/null +++ b/.tx/config @@ -0,0 +1,8 @@ +[main] +host = https://www.transifex.com + +[o:endless-os:p:godot-block-coding:r:all] +source_file = addons/block_code/locale/godot_block_coding.pot +source_lang = en +file_filter = addons/block_code/locale/.po +type = PO diff --git a/addons/block_code/README.md b/addons/block_code/README.md index 5d328813..55a0e4d0 100644 --- a/addons/block_code/README.md +++ b/addons/block_code/README.md @@ -75,9 +75,11 @@ only work with Godot 4.4 or newer**. The gettext PO files are located in the `addons/block_code/locale` directory. See the Godot [documentation][godot-gettext] for instructions on working with -PO files. +PO files. You can also join our project on [Transifex][transifex-project] to +collaborate with others translating the Block Coding content. [godot-gettext]: https://docs.godotengine.org/en/stable/tutorials/i18n/localization_using_gettext.html +[transifex-project]: https://explore.transifex.com/endless-os/godot-block-coding/ For developers, a few things need to be done to keep the translatable strings up to date.