This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun 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 215ff14d0d3 Add translation for version compare selection placeholder
(#59346)
215ff14d0d3 is described below
commit 215ff14d0d32ad3dc5d5fe5584b171ea208ffee4
Author: Yeonguk Choo <[email protected]>
AuthorDate: Tue Dec 16 23:13:35 2025 +0900
Add translation for version compare selection placeholder (#59346)
---
airflow-core/src/airflow/ui/public/i18n/locales/en/common.json | 1 +
airflow-core/src/airflow/ui/src/pages/Dag/Code/Code.tsx | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
b/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
index f8d123d4e83..4f55b2bc255 100644
--- a/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
+++ b/airflow-core/src/airflow/ui/public/i18n/locales/en/common.json
@@ -77,6 +77,7 @@
"diff": "Diff",
"diffCompareWith": "Compare with",
"diffExit": "Exit Diff",
+ "diffSelectVersionToCompare": "Select version to compare",
"direction": "Direction",
"docs": {
"documentation": "Documentation",
diff --git a/airflow-core/src/airflow/ui/src/pages/Dag/Code/Code.tsx
b/airflow-core/src/airflow/ui/src/pages/Dag/Code/Code.tsx
index d01fd5a5610..5cadb4da10a 100644
--- a/airflow-core/src/airflow/ui/src/pages/Dag/Code/Code.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/Dag/Code/Code.tsx
@@ -222,7 +222,7 @@ export const Code = () => {
<VersionCompareSelect
label={translate("common:diffCompareWith")}
onVersionChange={handleVersionChange}
- placeholder="Select version to compare"
+ placeholder={translate("common:diffSelectVersionToCompare")}
selectedVersionNumber={compareVersionNumber}
/>
</Box>