Browse Source

fix: update directory paths for source files (#745)

pull/746/head
Dan Ditomaso 10 months ago
committed by GitHub
parent
commit
4ab06abefe
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/crowdin-upload-sources.yml
  2. 4
      packages/web/crowdin.yml

2
.github/workflows/crowdin-upload-sources.yml

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

4
packages/web/crowdin.yml

@ -6,5 +6,5 @@ base_url: "https://meshtastic.crowdin.com/api/v2"
preserve_hierarchy: true preserve_hierarchy: true
files: files:
- source: "/i18n/locales/en/*.json" - source: "/public/i18n/locales/en/*.json"
translation: "/i18n/locales/%locale%/%original_file_name%" translation: "/public/i18n/locales/%locale%/%original_file_name%"

Loading…
Cancel
Save