Browse Source
🔧 Add pre-commit local script to fix language translations (#14683)
pull/14685/head
Sebastián Ramírez
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
0 deletions
-
.pre-commit-config.yaml
|
|
|
@ -58,3 +58,9 @@ repos: |
|
|
|
entry: uv run ./scripts/docs.py ensure-non-translated |
|
|
|
files: ^docs/(?!en/).*|^scripts/docs\.py$ |
|
|
|
pass_filenames: false |
|
|
|
|
|
|
|
- id: fix-translations |
|
|
|
language: unsupported |
|
|
|
name: fix translations |
|
|
|
entry: uv run ./scripts/translation_fixer.py fix-pages |
|
|
|
files: ^docs/(?!en/).*/docs/.*\.md$ |
|
|
|
|