-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
translate(frontend): update namespaces
- Loading branch information
Showing
9 changed files
with
135 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,22 +29,22 @@ import useTranslation from "next-translate/useTranslation"; | |
const supportOptions = (t) => [ | ||
[ | ||
<FontAwesomeIcon className="text-lg pl-1.5 pr-3" icon={faSlack} />, | ||
t("common:nav.support.slack"), | ||
t("nav:support.slack"), | ||
"https://join.slack.com/t/infisical/shared_invite/zt-1dgg63ln8-G7PCNJdCymAT9YF3j1ewVA", | ||
], | ||
[ | ||
<FontAwesomeIcon className="text-lg pl-1.5 pr-3" icon={faBook} />, | ||
t("common:nav.support.docs"), | ||
t("nav:support.docs"), | ||
"https://infisical.com/docs/getting-started/introduction", | ||
], | ||
[ | ||
<FontAwesomeIcon className="text-lg pl-1.5 pr-3" icon={faGithub} />, | ||
t("common:nav.support.issue"), | ||
t("nav:support.issue"), | ||
"https://github.com/Infisical/infisical-cli/issues", | ||
], | ||
[ | ||
<FontAwesomeIcon className="text-lg pl-1.5 pr-3" icon={faEnvelope} />, | ||
t("common:nav.support.email"), | ||
t("nav:support.email"), | ||
"mailto:[email protected]", | ||
], | ||
]; | ||
|
@@ -55,7 +55,7 @@ export default function Navbar({ onButtonPressed }) { | |
const [orgs, setOrgs] = useState([]); | ||
const [currentOrg, setCurrentOrg] = useState([]); | ||
|
||
const { t } = useTranslation("common"); | ||
const { t } = useTranslation(""); | ||
|
||
const supportOptionsList = useMemo(() => supportOptions(t), [t]); | ||
|
||
|
@@ -152,7 +152,7 @@ export default function Navbar({ onButtonPressed }) { | |
<Menu.Items className="absolute right-0 mt-0.5 w-64 origin-top-right divide-y divide-gray-700 rounded-md bg-bunker border border-mineshaft-700 shadow-lg ring-1 ring-black z-20 ring-opacity-5 focus:outline-none"> | ||
<div className="px-1 py-1 "> | ||
<div className="text-gray-400 self-start ml-2 mt-2 text-xs font-semibold tracking-wide"> | ||
{t("common:nav.user.signed-in-as")} | ||
{t("nav:user.signed-in-as")} | ||
</div> | ||
<div | ||
onClick={() => | ||
|
@@ -187,7 +187,7 @@ export default function Navbar({ onButtonPressed }) { | |
</div> | ||
<div className="px-2 pt-2"> | ||
<div className="text-gray-400 self-start ml-2 mt-2 text-xs font-semibold tracking-wide"> | ||
{t("common:nav.user.current-organization")} | ||
{t("nav:user.current-organization")} | ||
</div> | ||
<div | ||
onClick={() => | ||
|
@@ -228,7 +228,7 @@ export default function Navbar({ onButtonPressed }) { | |
icon={faCoins} | ||
/> | ||
<div className="text-sm"> | ||
{t("common:nav.user.usage-billing")} | ||
{t("nav:user.usage-billing")} | ||
</div> | ||
</div> | ||
</button> | ||
|
@@ -253,17 +253,15 @@ export default function Navbar({ onButtonPressed }) { | |
/> | ||
</span> | ||
<div className="text-sm ml-1"> | ||
{t("common:nav.user.invite")} | ||
{t("nav:user.invite")} | ||
</div> | ||
</div> | ||
</button> | ||
</div> | ||
{orgs?.length > 1 && ( | ||
<div className="px-1 pt-1"> | ||
<div className="text-gray-400 self-start ml-2 mt-2 text-xs font-semibold tracking-wide"> | ||
{t( | ||
"common:nav.user.other-organizations" | ||
)} | ||
{t("nav:user.other-organizations")} | ||
</div> | ||
<div className="flex flex-col items-start px-1 mt-3 mb-2"> | ||
{orgs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"meta": { | ||
"login": { | ||
"title": "Login | Infiscal", | ||
"og-title": "Log In to Infisical", | ||
"og-description": "Infisical a simple end-to-end encrypted platform that enables teams to sync and manage their .env files." | ||
}, | ||
"signup": { | ||
"title": "Sign Up | Infiscal", | ||
"og-title": "Replace .env files with 1 line of code. Sign Up for Infisical in 3 minutes.", | ||
"og-description": "Infisical a simple end-to-end encrypted platform that enables teams to sync and manage API-keys and environemntal variables. Works with Node.js, Next.js, Gatsby, Nest.js..." | ||
} | ||
}, | ||
"login": "Log In", | ||
"signup": "Sign Up", | ||
"need-account": "Need an Infisical account?", | ||
"create-account": "Create an account", | ||
"already-have-account": "Have an account? Log in", | ||
"forgot-password": "Forgot your password?", | ||
"step1-start": "Let's get started", | ||
"step1-privacy": "By creating an account, you agree to our Terms and have read and acknowledged the Privacy Policy.", | ||
"step1-submit": "Get Started", | ||
"step2-message": "<wrapper>We've sent a verification email to</wrapper><email>{{email}}</email>", | ||
"step2-code-error": "Oops. Your code is wrong. Please try again.", | ||
"step2-spam-alert": "Make sure to check your spam inbox.", | ||
"step3-message": "Almost there!", | ||
"step4-message": "Save your Emergency Kit", | ||
"step4-description1": "If you get locked out of your account, your Emergency Kit is the only way to sign in.", | ||
"step4-description2": "We recommend you download it and keep it somewhere safe.", | ||
"step4-description3": "It contains your Secret Key which we cannot access or recover for you if you lose it.", | ||
"step4-download": "Download PDF" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"support": { | ||
"slack": "[NEW] Join Slack Forum", | ||
"docs": "Read Docs", | ||
"issue": "Open a Github Issue", | ||
"email": "Send us an Email" | ||
}, | ||
"user": { | ||
"signed-in-as": "SIGNED IN AS", | ||
"current-organization": "CURRENT ORGANIZATION", | ||
"usage-billing": "Usage & Billing", | ||
"invite": "Invite Members", | ||
"other-organizations": "OTHER ORGANIZATION" | ||
}, | ||
"menu": { | ||
"project": "PROJECT", | ||
"secrets": "Secrets", | ||
"members": "Members", | ||
"integrations": "Integrations", | ||
"project-settings": "Project Settings" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.