From b60e7fbba0d7d79d28270c24f2001c96ea6a0d07 Mon Sep 17 00:00:00 2001 From: Shadi Naif Date: Wed, 31 Jan 2024 16:57:19 +0300 Subject: [PATCH] feat!: remove Transifex calls for FC-0012 - OEP-58 --- .tx/config | 8 -------- CHANGELOG.md | 5 +++++ Makefile | 8 -------- setup.py | 2 +- tox.ini | 7 ------- 5 files changed, 6 insertions(+), 24 deletions(-) delete mode 100644 .tx/config diff --git a/.tx/config b/.tx/config deleted file mode 100644 index 166ed26..0000000 --- a/.tx/config +++ /dev/null @@ -1,8 +0,0 @@ -[main] -host = https://www.transifex.com - -[stanford-openedx-xblocks.submit-and-compare] -file_filter = submit_and_compare/translations//LC_MESSAGES/django.po -source_file = submit_and_compare/translations/en/LC_MESSAGES/django.po -source_lang = en -type = PO diff --git a/CHANGELOG.md b/CHANGELOG.md index 1017b12..f91c15a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,3 +37,8 @@ Version 1.2.0 Version 1.3.0 Remove xblock-utils package and migrate to xblock.utils + +Version 2.0.0 + + Remove Transifex calls and bundled translation files for the OEP-58 proposal. + BREAKING CHANGE: This version breaks translations with Quince and earlier releases. diff --git a/Makefile b/Makefile index 289d3b8..4df35a1 100755 --- a/Makefile +++ b/Makefile @@ -92,14 +92,6 @@ translations: ## Update translation files @echo 'where `fr` is the language code.' @echo -.PHONY: translations_pull -translations_pull: ## Pull new translations from Transifex - tox -e transifex_pull - -.PHONY: translations_push -translations_push: ## Push translations to Transifex - tox -e transifex_push - COMMON_CONSTRAINTS_TXT=requirements/common_constraints.txt .PHONY: $(COMMON_CONSTRAINTS_TXT) $(COMMON_CONSTRAINTS_TXT): diff --git a/setup.py b/setup.py index 6c07ba9..ceaa235 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools import find_packages, setup -version = '1.3.0' +version = '2.0.0' description = __doc__.strip().split('\n')[0] this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.rst')) as file_in: diff --git a/tox.ini b/tox.ini index f754e90..50a5100 100644 --- a/tox.ini +++ b/tox.ini @@ -50,10 +50,3 @@ deps = commands = pycodestyle --max-line-length=120 submit_and_compare/ pylint --rcfile=pylintrc submit_and_compare/ - -[testenv:transifex] -deps = - transifex-client -commands = - tx push -s -