From 3a7414b37ccb5bdf6d202fd5b4ffc9d187a2a2c2 Mon Sep 17 00:00:00 2001 From: Omar Al-Ithawi Date: Sun, 19 Nov 2023 14:02:24 +0300 Subject: [PATCH] feat: add edx-platform resources to sync --- .github/workflows/sync-translations.yml | 44 +++++++++++++++++++++++++ scripts/sync_translations.py | 1 - 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-translations.yml b/.github/workflows/sync-translations.yml index 3f56ecb5b1d..19cdb3ffa53 100644 --- a/.github/workflows/sync-translations.yml +++ b/.github/workflows/sync-translations.yml @@ -56,6 +56,50 @@ jobs: old_slug: credentials old_project_slug: edx-platform + - new_slug: edx-platform + old_slug: django-partial + old_project_slug: edx-platform + + - new_slug: edx-platform + old_slug: django-studio + old_project_slug: edx-platform + + - new_slug: edx-platform + old_slug: edx_proctoring_proctortrack + old_project_slug: edx-platform + + - new_slug: edx-platform + old_slug: mako + old_project_slug: edx-platform + + - new_slug: edx-platform + old_slug: mako-studio + old_project_slug: edx-platform + + - new_slug: edx-platform + old_slug: wiki + old_project_slug: edx-platform + + - new_slug: edx-platform-js + old_slug: underscore + old_project_slug: edx-platform + + - new_slug: edx-platform-js + old_slug: djangojs-studio + old_project_slug: edx-platform + + - new_slug: edx-platform-js + old_slug: underscore-studio + old_project_slug: edx-platform + + - new_slug: edx-platform-js + old_slug: djangojs-account-settings-view + old_project_slug: edx-platform + + - new_slug: edx-platform-js + old_slug: djangojs-partial + old_project_slug: edx-platform + - new_slug: frontend-app-account old_slug: frontend-app-account old_project_slug: edx-platform diff --git a/scripts/sync_translations.py b/scripts/sync_translations.py index bf13fa81f51..d9e6bfcc078 100644 --- a/scripts/sync_translations.py +++ b/scripts/sync_translations.py @@ -148,7 +148,6 @@ def sync_translation_entry(self, translation_id, translation_from_old_project, n if updates: if newer_translation_found: print(translation_id, updates, '[Skipped: new project translation is more recent]') - import pdb; pdb.set_trace() else: print(translation_id, updates, '[Dry run]' if self.is_dry_run() else '') if not self.is_dry_run():