feat(python): add locale script and more c deps#4
Merged
ReenigneArcher merged 4 commits intoJun 4, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 1 2 +1
Lines 14 163 +149
==========================================
+ Hits 14 163 +149
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Harness.
|
7dab75a to
b2e3916
Compare
b2e3916 to
c0cfc46
Compare
Add .github/workflows/localize.yml to run the shared locale extractor (.lizardbyte-common), sync uv, extract gettext/Babel strings, and open localization update PRs. Update README to document scripts/_locale.py, use of uv sync --locked, example workflow usage, and commands to run gettext extraction and tests.
Rename scripts/_locale.py to scripts/localize.py and update all references. Adjust README examples, the GitHub Actions workflow (.github/workflows/localize.yml) to call the new script path, and rename tests/unit/test_locale.py to tests/unit/test_localize.py with imports and constant references updated accordingly.
Add a step that extracts workflow_repository and workflow_sha from the job context (using jq on toJSON(job)), validates them, and exposes them as step outputs via GITHUB_OUTPUT. Update the subsequent actions/checkout for .lizardbyte-common to use those outputs (steps.shared-workflow.outputs.repository and .sha) instead of job.workflow_repository/job.workflow_sha. This ensures the reusable/shared workflow repository and commit are resolved reliably before performing the checkout.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Adds python _locale.py script. This should be the final thing necessary to drop individual python setups from c/c++ projects (LizardByte/roadmap#161).
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage