= ({
onMouseEnter={() => setIsBackHover(true)}
onMouseLeave={() => setIsBackHover(false)}
aria-label={
- isBackHover ? "Back to all tools" : indicatorTool.name
+ isBackHover
+ ? t("quickAccess.backToAllTools", "Back to all tools")
+ : indicatorTool.name
}
style={{
backgroundColor: isBackHover
diff --git a/frontend/editor/src/core/components/toast/ToastRenderer.tsx b/frontend/editor/src/core/components/toast/ToastRenderer.tsx
index d67e07ffd..7c8f40395 100644
--- a/frontend/editor/src/core/components/toast/ToastRenderer.tsx
+++ b/frontend/editor/src/core/components/toast/ToastRenderer.tsx
@@ -1,3 +1,4 @@
+import { useTranslation } from "react-i18next";
import { useToast } from "@app/components/toast/ToastContext";
import { ToastInstance, ToastLocation } from "@app/components/toast/types";
import { LocalIcon } from "@app/components/shared/LocalIcon";
@@ -38,6 +39,7 @@ function getDefaultIconName(t: ToastInstance): string {
}
export default function ToastRenderer() {
+ const { t: translate } = useTranslation();
const { toasts, dismiss } = useToast();
const grouped = toasts.reduce>(
@@ -88,7 +90,10 @@ export default function ToastRenderer() {
{t.expandable && (
)}
diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAdvancedSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAdvancedSection.tsx
index 5c48bf916..4450f9c18 100644
--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAdvancedSection.tsx
+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAdvancedSection.tsx
@@ -809,7 +809,10 @@ export default function AdminAdvancedSection() {
},
})
}
- placeholder="Default: java.io.tmpdir/stirling-pdf"
+ placeholder={t(
+ "admin.settings.advanced.tempFileManagement.baseTmpDir.placeholder",
+ "Default: java.io.tmpdir/stirling-pdf",
+ )}
disabled={!loginEnabled}
/>
@@ -834,7 +837,10 @@ export default function AdminAdvancedSection() {
},
})
}
- placeholder="Default: baseTmpDir/libreoffice"
+ placeholder={t(
+ "admin.settings.advanced.tempFileManagement.libreofficeDir.placeholder",
+ "Default: baseTmpDir/libreoffice",
+ )}
disabled={!loginEnabled}
/>
@@ -859,7 +865,10 @@ export default function AdminAdvancedSection() {
},
})
}
- placeholder="System temp directory path"
+ placeholder={t(
+ "admin.settings.advanced.tempFileManagement.systemTempDir.placeholder",
+ "System temp directory path",
+ )}
disabled={!loginEnabled}
/>
diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminDatabaseSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminDatabaseSection.tsx
index 68051b178..b8959c8ca 100644
--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminDatabaseSection.tsx
+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminDatabaseSection.tsx
@@ -698,7 +698,10 @@ export default function AdminDatabaseSection() {
onChange={(value) =>
setSettings({ ...settings, password: value })
}
- placeholder="Enter database password"
+ placeholder={t(
+ "admin.settings.database.password.placeholder",
+ "Enter database password",
+ )}
disabled={!loginEnabled}
/>
diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminEndpointsSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminEndpointsSection.tsx
index 07f8c1e77..887ff85b7 100644
--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminEndpointsSection.tsx
+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminEndpointsSection.tsx
@@ -296,7 +296,10 @@ export default function AdminEndpointsSection() {
}))}
searchable
clearable
- placeholder="Select endpoints to disable"
+ placeholder={t(
+ "admin.settings.endpoints.toRemove.placeholder",
+ "Select endpoints to disable",
+ )}
comboboxProps={{ zIndex: 1400 }}
disabled={!loginEnabled}
/>
@@ -330,7 +333,10 @@ export default function AdminEndpointsSection() {
}))}
searchable
clearable
- placeholder="Select groups to disable"
+ placeholder={t(
+ "admin.settings.endpoints.groupsToRemove.placeholder",
+ "Select groups to disable",
+ )}
comboboxProps={{ zIndex: 1400 }}
disabled={!loginEnabled}
/>
diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminMailSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminMailSection.tsx
index 402707bf7..c8df9eaea 100644
--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminMailSection.tsx
+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminMailSection.tsx
@@ -286,7 +286,10 @@ export default function AdminMailSection() {
onChange={(value) =>
setSettings({ ...settings, password: value })
}
- placeholder="Enter SMTP password"
+ placeholder={t(
+ "admin.settings.mail.password.placeholder",
+ "Enter SMTP password",
+ )}
/>
diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPlanSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPlanSection.tsx
index aa5f542b0..f683861e8 100644
--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPlanSection.tsx
+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPlanSection.tsx
@@ -183,8 +183,14 @@ const AdminPlanSection: React.FC = () => {
if (!plans || plans.length === 0) {
return (
-