This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 9fbd7f89432 Fix reset button text in pools dialog (#55991)
9fbd7f89432 is described below
commit 9fbd7f8943244bcc3d409c091e92a8a9d24b4107
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
(cherry picked from commit f3d2752cc486312b6f1e9183fe63705a72d58a6f)
---
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 />