diff --git a/messages/en-US.json b/messages/en-US.json index 7189af3c..dfe57c9c 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -1756,5 +1756,7 @@ "resourceHeaderAuthSetupTitle": "Set Header Authentication", "resourceHeaderAuthSetupTitleDescription": "Set the basic auth credentials (username and password) to protect this resource with HTTP Header Authentication. Leave both fields blank to remove existing header authentication.", "resourceHeaderAuthSubmit": "Set Header Authentication", - "actionSetResourceHeaderAuth": "Set Header Authentication" + "actionSetResourceHeaderAuth": "Set Header Authentication", + "priority": "Priority", + "priorityDescription": "Higher priority routes are evaluated first. Priority = 100 means automatic ordering (system decides). Use another number to enforce manual priority." } diff --git a/src/app/[orgId]/settings/resources/[niceId]/proxy/page.tsx b/src/app/[orgId]/settings/resources/[niceId]/proxy/page.tsx index 92e02aa2..00893b61 100644 --- a/src/app/[orgId]/settings/resources/[niceId]/proxy/page.tsx +++ b/src/app/[orgId]/settings/resources/[niceId]/proxy/page.tsx @@ -819,7 +819,7 @@ export default function ReverseProxyTargets(props: { id: "priority", header: () => (
- Priority + {t("priority")} @@ -827,10 +827,7 @@ export default function ReverseProxyTargets(props: {

- Higher priority routes are evaluated first. - Priority = 100 means automatic ordering - (system decides). Use another number to - enforce manual priority. + {t("priorityDescription")}

diff --git a/src/app/[orgId]/settings/resources/create/page.tsx b/src/app/[orgId]/settings/resources/create/page.tsx index 809e7ac1..e12da03a 100644 --- a/src/app/[orgId]/settings/resources/create/page.tsx +++ b/src/app/[orgId]/settings/resources/create/page.tsx @@ -229,7 +229,7 @@ export default function Page() { const [isAdvancedMode, setIsAdvancedMode] = useState(() => { if (typeof window !== "undefined") { - const saved = localStorage.getItem("proxy-advanced-mode"); + const saved = localStorage.getItem("create-advanced-mode"); return saved === "true"; } return false; @@ -705,7 +705,7 @@ export default function Page() { id: "priority", header: () => (
- Priority + {t("priority")} @@ -713,10 +713,7 @@ export default function Page() {

- Higher priority routes are evaluated first. - Priority = 100 means automatic ordering - (system decides). Use another number to - enforce manual priority. + {t("priorityDescription")}