Skip to content

Commit 2d37b8b

Browse files
authored
feat!: remove Transifex calls for OEP-58 (#1085)
1 parent 05c2caa commit 2d37b8b

27 files changed

Lines changed: 2 additions & 2793 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ temp/babel-plugin-react-intl
1818
*~
1919
/temp
2020
/.vscode
21+
src/i18n/messages

.tx/config

Lines changed: 0 additions & 9 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
export TRANSIFEX_RESOURCE = frontend-app-authn
2-
transifex_langs = "ar,de,de_DE,es_419,fa_IR,fr,fr_CA,hi,it,it_IT,pt,pt_PT,ru,uk,zh_CN"
3-
41
intl_imports = ./node_modules/.bin/intl-imports.js
52
transifex_utils = ./node_modules/.bin/transifex-utils.js
63
i18n = ./src/i18n
@@ -32,23 +29,6 @@ detect_changed_source_translations:
3229
# Checking for changed translations...
3330
git diff --exit-code $(i18n)
3431

35-
# Pushes translations to Transifex. You must run make extract_translations first.
36-
push_translations:
37-
# Pushing strings to Transifex...
38-
tx push -s
39-
# Fetching hashes from Transifex...
40-
./node_modules/@edx/reactifex/bash_scripts/get_hashed_strings_v3.sh
41-
# Writing out comments to file...
42-
$(transifex_utils) $(transifex_temp) --comments --v3-scripts-path
43-
# Pushing comments to Transifex...
44-
./node_modules/@edx/reactifex/bash_scripts/put_comments_v3.sh
45-
46-
ifeq ($(OPENEDX_ATLAS_PULL),)
47-
# Pulls translations from Transifex.
48-
pull_translations:
49-
tx pull -t -f --mode reviewed --languages=$(transifex_langs)
50-
else
51-
# Experimental: OEP-58 Pulls translations using atlas
5232
pull_translations:
5333
rm -rf src/i18n/messages
5434
mkdir src/i18n/messages
@@ -59,7 +39,6 @@ pull_translations:
5939
translations/frontend-app-authn/src/i18n/messages:frontend-app-authn
6040

6141
$(intl_imports) paragon frontend-platform frontend-app-authn
62-
endif
6342

6443
# This target is used by Travis.
6544
validate-no-uncommitted-package-lock-changes:

src/i18n/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default [];

src/i18n/index.jsx

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/i18n/messages/ar.json

Lines changed: 0 additions & 181 deletions
This file was deleted.

src/i18n/messages/ca.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/i18n/messages/de.json

Lines changed: 0 additions & 181 deletions
This file was deleted.

0 commit comments

Comments
 (0)