[TASK] Add configuration for Crowdin 46/61846/4
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 26 Sep 2019 20:26:44 +0000 (22:26 +0200)
committerBenjamin Franzke <bfr@qbus.de>
Wed, 2 Oct 2019 13:06:48 +0000 (15:06 +0200)
Crowdin requires a basic configuration which defines where the
XLIFF files and their translations are located. The configuration is used
by the GitHub integration which is offered by Crowdin itself.
See https://support.crowdin.com/github-integration/ for more information
about that.

Even though the translations will not be pushed back to the GitHub
repository of TYPO3 (as pull requests), the "translation" property is
required as the manual export of translations will use it.

Resolves: #89281
Releases: master, 9.5
Change-Id: I1a5f94b416a0652081976bcdbd9ea7d61fb202dc
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61846
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Benjamin Franzke <bfr@qbus.de>
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
.crowdin.yaml [new file with mode: 0644]
.gitattributes

diff --git a/.crowdin.yaml b/.crowdin.yaml
new file mode 100644 (file)
index 0000000..5d368b9
--- /dev/null
@@ -0,0 +1,3 @@
+files:
+  - source: /typo3/sysext/*/Resources/Private/Language/
+    translation: '%original_path%/%two_letters_code%.%original_file_name%'
index 9c5195c..a8ef10d 100644 (file)
@@ -1,3 +1,4 @@
+/.crowdin.yaml export-ignore
 /.editorconfig export-ignore
 /.gitattributes export-ignore
 /.gitreview export-ignore