Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat(ui): secret blind index banner in secret main page and removed i18n translations for now by keeping en as only option
Akhil Mohane6a89fb9d041
diff --git a/frontend/src/i18n.ts b/frontend/src/i18n.tsindex 2ccfa2b8d4..8eed25a42d 100644--- a/frontend/src/i18n.ts+++ b/frontend/src/i18n.ts@@ -1,6 +1,6 @@import { initReactI18next } from "react-i18next";import i18n from "i18next";-import LanguageDetector from "i18next-browser-languagedetector";+// import LanguageDetector from "i18next-browser-languagedetector";import Backend from "i18next-http-backend";// don't want to use this?// have a look at the Quick start guide@@ -13,17 +13,18 @@ i18n.use(Backend)// detect user language// learn more: https://github.com/i18next/i18next-browser-languageDetector- .use(LanguageDetector)+ // .use(LanguageDetector)// pass the i18n instance to react-i18next..use(initReactI18next)// init i18next// for all options read: https://www.i18next.com/overview/configuration-options.init({+ lng:"en",fallbackLng: "en",- supportedLngs: ["en", "ko", "fr", "pt-BR", "pt-PT", "es"],+ // supportedLngs: ["en", "ko", "fr", "pt-BR", "pt-PT", "es"],debug: process.env.NODE_ENV === "development",detection: {- lookupLocalStorage: "lang"+ // lookupLocalStorage: "lang"},ns: ["translations"],interpolation: {diff --git a/frontend/src/views/SecretMainPage/SecretMainPage.tsx b/frontend/src/views/SecretMainPage/SecretMainPage.tsxindex f538a4c0ab..b0e34d507f 100644--- a/frontend/src/views/SecretMainPage/SecretMainPage.tsx+++ b/frontend/src/views/SecretMainPage/SecretMainPage.tsx@@ -27,6 +27,7 @@ import {useGetWsTags} from "@app/hooks/api";+import { ProjectIndexSecretsSection } from "../SecretOverviewPage/components/ProjectIndexSecretsSection";import { ActionBar } from "./components/ActionBar";import { CreateSecretForm } from "./components/CreateSecretForm";import { FolderListView } from "./components/FolderListView";@@ -219,6 +220,7 @@ export const SecretMainPage = () => {protectionPolicyName={boardPolicy?.name}/></div>+ <ProjectIndexSecretsSection decryptFileKey={decryptFileKey!} />{!isRollbackMode ? (<><ActionBardiff --git a/frontend/src/views/Settings/PersonalSettingsPage/PersonalGeneralTab/PersonalGeneralTab.tsx b/frontend/src/views/Settings/PersonalSettingsPage/PersonalGeneralTab/PersonalGeneralTab.tsxindex e5dced524f..6f82a9a7aa 100644--- a/frontend/src/views/Settings/PersonalSettingsPage/PersonalGeneralTab/PersonalGeneralTab.tsx+++ b/frontend/src/views/Settings/PersonalSettingsPage/PersonalGeneralTab/PersonalGeneralTab.tsx@@ -1,4 +1,3 @@-import { ChangeLanguageSection } from "../ChangeLanguageSection";import { DeleteAccountSection } from "../DeleteAccountSection";import { EmergencyKitSection } from "../EmergencyKitSection";import { SessionsSection } from "../SessionsSection";@@ -8,10 +7,9 @@ export const PersonalGeneralTab = () => {return (<div><UserNameSection />- <ChangeLanguageSection /><SessionsSection /><EmergencyKitSection /><DeleteAccountSection /></div>);-}\ No newline at end of file+}