diff --git a/web/src/components/config-form/theme/components/index.tsx b/web/src/components/config-form/theme/components/index.tsx index 85519313ef..2f8fe376ea 100644 --- a/web/src/components/config-form/theme/components/index.tsx +++ b/web/src/components/config-form/theme/components/index.tsx @@ -60,7 +60,9 @@ export function AddPropertyButton({ className="gap-2" > - {t("button.add", { ns: "common", defaultValue: "Add" })} + {typeof uiSchema?.["ui:options"]?.addButtonText === "string" + ? uiSchema["ui:options"].addButtonText + : t("button.add", { ns: "common", defaultValue: "Add" })} ); }