This is an automated email from the ASF dual-hosted git repository.
kaxilnaik 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 f3d2752cc48 Fix reset button text in pools dialog (#55991)
f3d2752cc48 is described below
commit f3d2752cc486312b6f1e9183fe63705a72d58a6f
Author: Dheeraj Turaga <[email protected]>
AuthorDate: Tue Sep 23 09:50:21 2025 -0500
Fix reset button text in pools dialog (#55991)
Replace 'formActions.reset' with proper 'common:reset' translation key
---
airflow-core/src/airflow/ui/src/pages/Pools/PoolForm.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow-core/src/airflow/ui/src/pages/Pools/PoolForm.tsx
b/airflow-core/src/airflow/ui/src/pages/Pools/PoolForm.tsx
index ad53960d914..37260eca66e 100644
--- a/airflow-core/src/airflow/ui/src/pages/Pools/PoolForm.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/Pools/PoolForm.tsx
@@ -41,7 +41,7 @@ type PoolFormProps = {
};
const PoolForm = ({ error, initialPool, isPending, manageMutate, setError }:
PoolFormProps) => {
- const { t: translate } = useTranslation("admin");
+ const { t: translate } = useTranslation(["admin", "common"]);
const {
control,
formState: { isDirty, isValid },
@@ -122,7 +122,7 @@ const PoolForm = ({ error, initialPool, isPending,
manageMutate, setError }: Poo
<HStack w="full">
{isDirty ? (
<Button onClick={handleReset} variant="outline">
- {translate("formActions.reset")}
+ {translate("common:reset")}
</Button>
) : undefined}
<Spacer />