Skip to content

crowdin github actions - update directory paths for source files #745

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-upload-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
# Monitor all .json files within the /i18n/locales/en/ directory.
Copy link
Preview

Copilot AI Jul 28, 2025

Choose a reason for hiding this comment

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

The comment still references the old directory path '/i18n/locales/en/' but the actual path has been updated to '/packages/web/public/i18n/locales/en/'. The comment should be updated to match the new path.

Suggested change
# Monitor all .json files within the /i18n/locales/en/ directory.
# Monitor all .json files within the /packages/web/public/i18n/locales/en/ directory.

Copilot uses AI. Check for mistakes.

# This ensures the workflow triggers if any the English namespace files are modified on the main branch.
paths:
- "/i18n/locales/en/*.json"
- "/packages/web/public/i18n/locales/en/*.json"
branches: [main]
workflow_dispatch: # Allow manual triggering

Expand Down
4 changes: 2 additions & 2 deletions packages/web/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ base_url: "https://meshtastic.crowdin.com/api/v2"
preserve_hierarchy: true

files:
- source: "/i18n/locales/en/*.json"
translation: "/i18n/locales/%locale%/%original_file_name%"
- source: "/public/i18n/locales/en/*.json"
translation: "/public/i18n/locales/%locale%/%original_file_name%"