Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove unused translations Make targets #1186

Conversation

MichaelRoytman
Copy link
Contributor

@MichaelRoytman MichaelRoytman commented Feb 9, 2024

Description:

The edx-proctoring translations job has been removed. This commit removes the push_translations and pull_translations Make targets, which are no longer in use.

Please see OEP-58.

JIRA: COSMO-162

Pre-Merge Checklist:

  • Updated the version number in edx_proctoring/__init__.py and package.json if these changes are to be released.
  • Described your changes in CHANGELOG.rst
  • Confirmed Github reports all automated tests/checks are passing.
  • Approved by at least one additional reviewer.

Post-Merge:

  • Create a tag matching the new version number.

@@ -122,22 +122,16 @@ diff_cover: test

## Localization targets

extract_translations: ## extract strings to be translated, outputting .mo files
extract_translations: ## extract strings to be translated, outputting .po files
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this pair of comments is incorrect. makemessages generates .po files, and compilemessages runs over the .po files and generates .mo files.

cd edx_proctoring && django-admin compilemessages

detect_changed_source_translations:
cd edx_proctoring && i18n_tool changed

pull_translations: ## pull translations from Transifex
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to only be being used by the push and pull Transifex ecommerce scripts.

@@ -3,4 +3,4 @@
"""

# Be sure to update the version number in edx_proctoring/package.json
__version__ = '4.16.1'
__version__ = '4.16.2'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we're version bumping, can you put this in the changelog so there's an entry for 4.16.2? (alternatively we could just not version this)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I forgot to save and commit the CHANGELOG, but I'll just not version this change.

The edx-proctoring translations job has been removed. This commit removes the push_translations and pull_translations Make targets, which are no longer in use.

Please see OEP-58: https://docs.openedx.org/en/latest/developers/concepts/oep58.html.
@MichaelRoytman MichaelRoytman force-pushed the michaelroytman/COSMO-162-translations-job-removal-clean-up branch from d3cb9c9 to 9a7e084 Compare February 13, 2024 15:29
@MichaelRoytman MichaelRoytman merged commit b73cf9f into master Feb 13, 2024
16 checks passed
@MichaelRoytman MichaelRoytman deleted the michaelroytman/COSMO-162-translations-job-removal-clean-up branch February 13, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants