Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(crowdin): target GitHub-managed source context (#6713)

nynexman4464ca632c6594b0
diff --git a/.github/workflows/crowdin-upload.yml b/.github/workflows/crowdin-upload.yml
index 15f659cfe5..cabd0a4a37 100644
--- a/.github/workflows/crowdin-upload.yml
+++ b/.github/workflows/crowdin-upload.yml
@@ -1,10 +1,10 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
-# Crowdin file context — Crowdin's native GitHub integration now syncs
-# packages/core/locales/en.json to Crowdin on every push to main, so this
-# workflow no longer uploads sources itself (that would just duplicate the
-# native sync). It only keeps the source file's Crowdin context note current,
-# which the native integration has no setting for.
+# Crowdin file context — Crowdin's native GitHub integration syncs
+# packages/core/locales/en.json into Crowdin's `main` branch on every push to
+# main, so this workflow no longer uploads sources itself (that would just
+# duplicate the native sync). It only keeps that branch-managed source file's
+# Crowdin context note current, which the native integration has no setting for.
name: Crowdin Upload
on:
@@ -30,7 +30,8 @@ jobs:
env:
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- SOURCE_PATH: /packages/core/locales/en.json
+ # Crowdin prefixes file paths with the integration branch name.
+ SOURCE_PATH: /main/packages/core/locales/en.json
CONTEXT: >-
English source strings for Astryx's reusable React UI components.
They appear in product-neutral controls across many host