From 76d34831b4686b6df85ef6dc8499bf7ea45f66fa Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Wed, 2 Jul 2025 16:10:37 -0400 Subject: [PATCH] chore: more logging --- .github/crowdin.yml | 10 +++++----- .github/workflows/crowdin-upload.yml | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/crowdin.yml b/.github/crowdin.yml index 9ed13201d..b4216f0a5 100644 --- a/.github/crowdin.yml +++ b/.github/crowdin.yml @@ -1,10 +1,10 @@ project_id_env: CROWDIN_PROJECT_ID api_token_env: CROWDIN_PERSONAL_TOKEN -base_path: . +base_path: "." preserve_hierarchy: true files: - - source: .github/translations/*.po - translation: emhttp/languages/%locale%/*.po - - source: emhttp/languages/en_US/*.txt - translation: emhttp/languages/%locale%/*.txt \ No newline at end of file + - source: ".github/translations/*.po" + translation: "emhttp/languages/%locale%/*.po" + - source: "emhttp/languages/en_US/*.txt" + translation: "emhttp/languages/%locale%/*.txt" \ No newline at end of file diff --git a/.github/workflows/crowdin-upload.yml b/.github/workflows/crowdin-upload.yml index ed6cc4b53..dcb9f30ac 100644 --- a/.github/workflows/crowdin-upload.yml +++ b/.github/workflows/crowdin-upload.yml @@ -39,6 +39,20 @@ jobs: echo "Files generated:" ls -la .github/translations/*.po || echo "No .po files found" + - name: Debug file structure for Crowdin + run: | + echo "=== Current working directory ===" + pwd + echo "=== Full directory structure ===" + find . -name "*.po" -o -name "*.txt" | head -20 + echo "=== Specific paths Crowdin will look for ===" + echo "Looking for: .github/translations/*.po" + ls -la .github/translations/*.po 2>/dev/null || echo "Pattern .github/translations/*.po not found" + echo "Looking for: emhttp/languages/en_US/*.txt" + ls -la emhttp/languages/en_US/*.txt 2>/dev/null || echo "Pattern emhttp/languages/en_US/*.txt not found" + echo "=== Crowdin config file ===" + cat .github/crowdin.yml + - name: Upload to Crowdin # Only upload to Crowdin on pushes to main/master branches uses: crowdin/github-action@v2