Skip to content

Commit b3f2c22

Browse files
authored
dx: Modify i18n hook and reorganize translations (#246)
1 parent aa365f1 commit b3f2c22

44 files changed

Lines changed: 9552 additions & 9076 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Ž.husky/pre-commitβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4+
# Run linting and formatting on staged files
45
pnpm lint-staged
6+
7+
# Sync i18n: scan for new strings β†’ update en.json β†’ push to Crowdin β†’ pre-translate β†’ pull all locales
8+
node scripts/sync-i18n.mjs
9+
10+
# Stage any locale files updated by the sync
11+
git add locales/

β€Žlocales/ach.jsonβ€Ž

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

β€Žlocales/af.jsonβ€Ž

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

β€Žlocales/ar.jsonβ€Ž

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

β€Žlocales/bg.jsonβ€Ž

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

β€Žlocales/bn.jsonβ€Ž

Lines changed: 295 additions & 295 deletions
Large diffs are not rendered by default.

β€Žlocales/ca.jsonβ€Ž

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

β€Žlocales/cs.jsonβ€Ž

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

β€Žlocales/da.jsonβ€Ž

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

β€Žlocales/de.jsonβ€Ž

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
Β (0)