diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.json index 9878a44cb..9dec7b048 100644 --- a/web/public/locales/en/common.json +++ b/web/public/locales/en/common.json @@ -158,7 +158,8 @@ "resetToGlobal": "Reset to Global", "resetToDefault": "Reset to Default", "saveAll": "Save All", - "savingAll": "Saving All…" + "savingAll": "Saving All…", + "undoAll": "Undo All" }, "menu": { "system": "System", diff --git a/web/src/components/config-form/sections/BaseSection.tsx b/web/src/components/config-form/sections/BaseSection.tsx index bde48dcca..bc0eeffad 100644 --- a/web/src/components/config-form/sections/BaseSection.tsx +++ b/web/src/components/config-form/sections/BaseSection.tsx @@ -824,7 +824,7 @@ export function ConfigSection({ disabled={isSaving || disabled} className="flex min-w-36 flex-1 gap-2" > - {t("undo", { ns: "common", defaultValue: "Undo" })} + {t("button.undo", { ns: "common", defaultValue: "Undo" })} )} - {t("undo", { ns: "common", defaultValue: "Undo" })} + {t("button.undoAll", { + ns: "common", + defaultValue: "Undo All", + })} {t("menu.settings", { ns: "common" })} - + {hasPendingChanges && ( - - {isSavingAll ? ( - <> - - {t("button.savingAll", { ns: "common" })} - > - ) : ( - t("button.saveAll", { ns: "common" }) - )} - + + + {t("button.undoAll", { + ns: "common", + defaultValue: "Undo All", + })} + + + {isSavingAll ? ( + <> + + {t("button.savingAll", { ns: "common" })} + > + ) : ( + t("button.saveAll", { ns: "common" }) + )} + + )} {CAMERA_SELECT_BUTTON_PAGES.includes(page) && ( <>