This is an automated email from the ASF dual-hosted git repository.
shahar 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 0919b62f46a Change translation freeze setting to False (#56116)
0919b62f46a is described below
commit 0919b62f46a7dff902d407c5d4d50c319c42961f
Author: Shahar Epstein <[email protected]>
AuthorDate: Fri Sep 26 11:07:39 2025 +0300
Change translation freeze setting to False (#56116)
---
dev/breeze/src/airflow_breeze/utils/selective_checks.py | 2 +-
dev/breeze/tests/test_selective_checks.py | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index 5b92a89309a..bca72d3e28f 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -92,7 +92,7 @@ ALL_PROVIDERS_SELECTIVE_TEST_TYPES = (
)
# Set to True to enter a translation freeze period. Set to False to exit a
translation freeze period.
-FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED = True
+FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED = False
class FileGroupForCi(Enum):
diff --git a/dev/breeze/tests/test_selective_checks.py
b/dev/breeze/tests/test_selective_checks.py
index 154ad377ab1..5c00a026921 100644
--- a/dev/breeze/tests/test_selective_checks.py
+++ b/dev/breeze/tests/test_selective_checks.py
@@ -19,6 +19,7 @@ from __future__ import annotations
import json
import re
from typing import Any
+from unittest.mock import patch
import pytest
from rich.console import Console
@@ -2440,6 +2441,7 @@ def test_mypy_matches(
assert_outputs_are_printed(expected_outputs, str(stderr))
+@patch("airflow_breeze.utils.selective_checks.FAIL_WHEN_ENGLISH_TRANSLATION_CHANGED",
True)
def test_ui_english_translation_changed_fail_on_change():
translation_file =
"airflow-core/src/airflow/ui/public/i18n/locales/en/some_file.json"
with pytest.raises(SystemExit):