Skip to content

Commit

Permalink
Added Crowdin configuration and changed source files to .pot form…
Browse files Browse the repository at this point in the history
…at (#2165)

* Create crowdin.yml

* try fix yml

* Move files

* Revert "Move files"

This reverts commit 8d53826.

* Update crowdin.yml

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Changed to locale with underscore

* Changing folder for .pot files. And removing the useless sphinx-intl part.

* Updated .gitignore and crowdin configuration to follow the directory change.

* Renaming po to pot EFFECTIVELY

* Changed the file with the new (simpler) generation. Also added better display for `make i18n`

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Change to two letters code

* Correct extension

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mysaa <[email protected]>
Co-authored-by: Mysaa <[email protected]>
  • Loading branch information
4 people authored Oct 15, 2021
1 parent acd4d10 commit 1cd2489
Show file tree
Hide file tree
Showing 571 changed files with 29,022 additions and 41,753 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ docs/source/reference/
docs/source/_build/
docs/rendering_times.csv
#i18n
docs/i18n/.doctrees
docs/i18n/gettext/.doctrees
docs/i18n/**/*.mo
docs/i18n/gettext
docs/i18n/translatable.po
docs/i18n/untranslatable.po

Expand Down
3 changes: 3 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
files:
- source: /docs/i18n/gettext/**/*.pot
translation: /docs/i18n/%two_letters_code%/LC_MESSAGES/**/%file_name%.po
2 changes: 0 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ cleanall: clean
i18n:
cd source
$(SPHINXBUILD) -M gettext "$(SOURCEDIR)" ../i18n/ -t skip-manim $(SPHINXOPTS) $(O)
rm -rf ../i18n/en/
sphinx-intl update --language=en -p ../i18n/gettext/
cd ../i18n
bash stripUntranslatable.sh

Expand Down
15 changes: 0 additions & 15 deletions docs/i18n/en/LC_MESSAGES/changelog.po

This file was deleted.

178 changes: 0 additions & 178 deletions docs/i18n/en/LC_MESSAGES/changelog/0.1.1-changelog.po

This file was deleted.

Loading

0 comments on commit 1cd2489

Please sign in to comment.