This is an automated email from the ASF dual-hosted git repository.

shahar1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 9f1be063d49 Skip inclusive-language check for non-English UI 
translations (#75247)
9f1be063d49 is described below

commit 9f1be063d49d706f09351d3f45b8afd8ef37a647
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Oct 20 21:56:04 2026 +0200

    Skip inclusive-language check for non-English UI translations (#75247)
    
    The check's English word list matches by bytes, so in UTF-8 a non-ASCII
    letter counts as a word boundary: German "Erhöhe" trips the `\bhe\b`
    rule. Translations mirror the English source strings, which stay
    checked, so scanning them only produces false positives.
    
    Generated-by: Claude Opus 5
---
 .pre-commit-config.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 051518a39bd..da1fd112e58 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1018,7 +1018,7 @@ repos:
           ^airflow-core/src/airflow/ui/openapi-gen/|
           ^airflow-core/src/airflow/ui/pnpm-lock\.yaml$|
           
^providers/common/ai/src/airflow/providers/common/ai/plugins/www/pnpm-lock\.yaml$|
-          ^airflow-core/src/airflow/ui/public/i18n/locales/de/README\.md$|
+          ^airflow-core/src/airflow/ui/public/i18n/locales/(?!en/)|
           ^airflow-core/src/airflow/ui/src/i18n/config\.ts$|
           ^airflow-core/src/airflow/ui/src/i18n/dayjsLocale\.ts$|
           ^\.agents/skills/airflow-translations/|

Reply via email to