Skip to content

Commit

Permalink
update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass committed Aug 2, 2024
1 parent 6fac9c7 commit 17c0c0b
Show file tree
Hide file tree
Showing 16 changed files with 252 additions and 319 deletions.
73 changes: 48 additions & 25 deletions web/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,21 @@
},
"steps": {
"setup": {
"title": "Identity Creation"
"title": "Identity wallet setup"
},
"government": {
"title": "Government Interaction",
"title": "National Id Agency",
"processes": {
"signIn": "Sign In",
"issueCredential": "Claim Identity Credential"
"signIn": "Log In",
"issueCredential": "Claim national ID"
}
},
"company": {
"title": "Company Registrar Interaction",
"title": "Company registration agency",
"processes": {
"signIn": "Sign In",
"presentCredential": "Share Identity Credential",
"offerCredential": "Verify Identity Credential",
"signIn": "Log In",
"presentCredential": "Present National ID",
"offerCredential": "Enter company details",
"issueCredential": "Claim Company Credential"
}
},
Expand All @@ -139,12 +139,11 @@
"title": ""
},
"done": {
"title": "Ready for Business"
"title": "Ready for Business!"
}
},
"general": {
"Self Sovereign Identity": "Self-Sovereign Identity",
"selfSovereignity": "Self-Sovereignity",
"Demo": "Demo",
"The App": "The App",
"What it is": "Through Self-Sovereign Identity, people, organizations and things are empowered to collect and share their own verified data and digital identity.",
Expand Down Expand Up @@ -187,9 +186,6 @@
"advantage": "<0>But using IOTA Identity and our partner wallets, it will be <1>​quick and easy​.</1></0>",
"noteDesktop": "For the best experience, please use this demo website on a desktop computer."
},
"appDownloadQR": {
"onceDownloaded": "Once you’ve chosen and setup a wallet, click the button below."
},
"greatSuccess": {
"signedInDIDText": "You managed to sign into a website you never signed up for. At no point in the process you had to share your email address or a password with an arbitrary website.",
"receivedNewCredentialsText": "You became the owner of a company. From this point onwards, you would be able to prove your directorship position online, allowing you to act on behalf of the company. Overtime you can grow your Digital Identity profile by gathering further credentials from trusted third parties.",
Expand All @@ -208,33 +204,60 @@
"returnHome": "Return Home"
}
},
"walletSelect": {
"title": "Create your self-sovereign identity",
"subTitle": "Choose the wallet where you will save your identity and credentials",
"onceDownloaded": "Once you’ve chosen and setup a wallet, click the button below."
},
"government": {
"signIn": {
"subtitle": "Scan this QR code with your wallet app to log in to the National ID agency portal"
},
"signInConfirmation": {
"title": "Login successful",
"signInSuccess": "You have successfully logged in to the National ID agency portal without ever creating an account, and using only the identity on your wallet. No more need for endless account and password creation."
},
"receiveCredentials": {
"title": "Claim your government emitted National Id",
"subTitle": "Scan the QR code with your wallet app to receive the credential that represents your National ID"
},
"confirmation": {
"confirmation": "Your Identity Credential Was Sent To Your Wallet",
"title": "🎉",
"success": "Congratulations, You Claimed Your Identity!",
"confirmation": "National ID Claimed Successfully",
"success": "You have successfully claimed your government national ID. Your credential is now securely stored in your wallet app and can be used across various portals.",
"nextStep": "Next, Register your Company"
}
},
"company": {
"signIn": {
"subtitle": "Scan this QR code with your wallet app to log in to the Company Registration Agency portal"
},
"signInConfirmation": {
"title": "Login successful",
"signInSuccess": "You have successfully logged in to the Company registration agency"
},
"provideData": {
"title": "Present National ID to the Company Registration Agency",
"subTitle": "Scan the QR code with your wallet app to authenticate with your National ID in order to register your company"
},
"receiveCredentials": {
"title": "Company Registered Successfully",
"subTitle": "Your private limited company has been successfully registered. Scan the QR code with your wallet app to store your company credential."
},
"confirmation": {
"confirmation": "Your Company Credential Was Sent To Your Wallet",
"title": "🎉",
"success": "Congratulations, You Setup your Company!",
"nextStep": "Next, Claim Open a Bank Account"
"confirmation": "Company Registered Successfully",
"success": "Your private limited company has been successfully registered. Scan the QR code with your wallet app to store your company credential.",
"nextStep": "Next, Review the results"
},
"incorporatedCompanies": {
"newlyIncorporatedCompanies": "Newly Incorporated Companies"
},
"signInConfirmation": {
"signInSuccess": "You have now signed in <bold>using your DID {{DID}}</bold> without ever creating an account. No more need for endless account and password creation. In addition, you will be able to provide trustable information, which businesses can use without an expensive verification process. Verifying your data is nearly instant and completely free."
},
"companyData": {
"companyName": "Company Name",
"companyAddress": "Company Address",
"companyType": "Company Type",
"companyBusiness": "Nature of Business",
"setUpPrivateCompany": "Set up a Private Limited Company"
"setUpPrivateCompany": "Register Your Private Limited Company",
"subTitle": "Fill in Your Company Details to Complete the Registration"

}
},
Expand Down Expand Up @@ -283,7 +306,7 @@
"waitingForLogin": "Waiting for connection",
"proveIdentity": "Prove control over your Digital Identity",
"receiveCredentials": "Receive Credentials",
"provideCredentials": "Provide Your Digital Identity Credentials",
"provideCredentials": "Prove control over your Digital Identity",
"scanToContinue": "Scan this QR code with <1>your wallet</1> to continue"
},
"companyDetails": {
Expand Down
78 changes: 0 additions & 78 deletions web/src/pages/AppDownloadQR.tsx

This file was deleted.

5 changes: 3 additions & 2 deletions web/src/pages/AppPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ const AppPicker: React.FC = () => {
<React.Fragment>
<div className='app-picker__scroller'>

<h1 className='title'>{t("actions.downloadApp")}</h1>
<h1 className='title'>{t("pages.walletSelect.title")}</h1>
<h2 className='subTitle'>{t("pages.walletSelect.subTitle")}</h2>
<div className='apps'>
{randomOrderWallets.map(wallet => (
<div className="app">
Expand Down Expand Up @@ -92,7 +93,7 @@ const AppPicker: React.FC = () => {
<img src={avatar2} alt='' className='avatar2' />
</div>
<div className="cta-section" id='app-download'>
<p className='subtitle'>{t("pages.demo.appDownloadQR.onceDownloaded")}</p>
<p className='subtitle'>{t("pages.walletSelect.onceDownloaded")}</p>
<Link to={nextStep} className='cta'>
<Button>
{t("actions.continue")}
Expand Down
1 change: 1 addition & 0 deletions web/src/pages/Company/CompanyData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const CompanyData: React.FC = ({ history, match }: any) => {
<Layout>
<div className='company-data-page-wrapper'>
<h2>{t("pages.company.companyData.setUpPrivateCompany")}</h2>
<h3>{t("pages.company.companyData.subTitle")}</h3>
<section>
<h3 className='section-header'>{t("pages.insurance.insuranceData.businessOwner")}</h3>
{validatedDomains && (validatedDomains !== 'in-flight') && (
Expand Down
4 changes: 1 addition & 3 deletions web/src/pages/Company/ProveIdentity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ const ProveIdentity: React.FC = () => {
<div className='scan-qr-page-wrapper'>
<h2>{t("pages.general.proveIdentity.provideCredentials")}</h2>
<p>
<Trans i18nKey="pages.general.proveIdentity.scanToContinue">
Scan this QR code with <strong>Selv App</strong> to continue
</Trans>
<Trans i18nKey="pages.company.signIn.subtitle" />
</p>
<div className='qr-wrapper'>
{/* TODO: Handle loading state */}
Expand Down
6 changes: 2 additions & 4 deletions web/src/pages/Company/ProvideData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,9 @@ const ProvideData: React.FC = () => {
<Layout>
<RandomGraphicElement elements={5}>
<div className='scan-qr-page-wrapper'>
<h2>{t("pages.general.proveIdentity.provideCredentials")}</h2>
<h2>{t("pages.company.provideData.title")}</h2>
<p>
<Trans i18nKey="pages.general.proveIdentity.scanToContinue">
Scan this QR code with <strong>Selv App</strong> to continue
</Trans>
<Trans i18nKey="pages.company.provideData.subTitle" />
</p>
<div className='qr-wrapper'>
{/* TODO: Handle loading state */}
Expand Down
6 changes: 2 additions & 4 deletions web/src/pages/Company/ReceiveCredentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ const ReceiveCredentials: React.FC = () => {
<Layout>
<RandomGraphicElement elements={5}>
<div className='scan-qr-page-wrapper'>
<h2>{t("pages.general.proveIdentity.receiveCredentials")}</h2>
<h2>{t("pages.company.receiveCredentials.title")}</h2>
<p>
<Trans i18nKey="pages.general.proveIdentity.scanToContinue">
Scan this QR code with <strong>Selv App</strong> to continue
</Trans>
<Trans i18nKey="pages.company.receiveCredentials.subTitle" />
</p>
<div className='qr-wrapper'>
{/* TODO: Handle loading state */}
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/Company/SingInConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const SingInConfirmation: React.FC = () => {
<RandomGraphicElement elements={5}>
<div className='sign-in-confirmation'>
<img src={selv} alt='Selv app logo' />
<h2>{t("general.hello")}</h2>
<h2>{t("pages.company.signInConfirmation.title")}</h2>
<p>
<Trans
i18nKey="pages.company.signInConfirmation.signInSuccess"
Expand Down
1 change: 0 additions & 1 deletion web/src/pages/Government/Confirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const Confirmation: React.FC = () => {
<img src={selv} alt='Selv app logo' />
<h4>{t("pages.government.confirmation.confirmation")}</h4>
</div>
<h2>{t("pages.government.confirmation.title")}</h2>
<p>{t("pages.government.confirmation.success")}</p>
<Link to={nextStep}>
<Button>
Expand Down
4 changes: 1 addition & 3 deletions web/src/pages/Government/ProveIdentity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ const ProveIdentity: React.FC = () => {
<div className='scan-qr-page-wrapper'>
<h2>{t("pages.general.proveIdentity.proveIdentity")}</h2>
<p>
<Trans i18nKey="pages.general.proveIdentity.scanToContinue">
Scan this QR code with <strong>Selv App</strong> to continue
</Trans>
<Trans i18nKey="pages.government.signIn.subtitle" />
</p>
<div className='qr-wrapper'>
{/* TODO: Handle loading state */}
Expand Down
6 changes: 2 additions & 4 deletions web/src/pages/Government/ReceiveCredentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,9 @@ const ReceiveCredentials: React.FC = () => {
<Layout>
<RandomGraphicElement elements={5}>
<div className='scan-qr-page-wrapper'>
<h2>{t("pages.general.proveIdentity.receiveCredentials")}</h2>
<h2>{t("pages.government.receiveCredentials.title")}</h2>
<p>
<Trans i18nKey="pages.general.proveIdentity.scanToContinue">
Scan this QR code with <strong>Selv App</strong> to continue
</Trans>
<Trans i18nKey="pages.government.receiveCredentials.subTitle" />
</p>
<div className='qr-wrapper'>
{/* TODO: Handle loading state */}
Expand Down
4 changes: 2 additions & 2 deletions web/src/pages/Government/SingInConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const SingInConfirmation: React.FC = () => {
<RandomGraphicElement elements={5}>
<div className='sign-in-confirmation'>
<img src={selv} alt='Selv app logo' />
<h2>{t("general.hello")}</h2>
<h2>{t("pages.government.signInConfirmation.title")}</h2>
<p>
<Trans
i18nKey="pages.company.signInConfirmation.signInSuccess"
i18nKey="pages.government.signInConfirmation.signInSuccess"
values={{
DID: state.GOVERNMENT?.connectedDID
}}
Expand Down
2 changes: 0 additions & 2 deletions web/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Landing from './Landing';
import IntroShowTodos from './IntroShowTodos';
import IntroShowMobile from './IntroShowMobile';
import AppDownloadQR from './AppDownloadQR';
import BankData from './BankData';
import InsuranceData from './InsuranceData';
import GreatSuccess from './GreatSuccess';
Expand All @@ -13,7 +12,6 @@ export {
Landing,
IntroShowTodos,
IntroShowMobile,
AppDownloadQR,
AppPicker,
BankData,
InsuranceData,
Expand Down
1 change: 0 additions & 1 deletion web/src/steps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
Landing,
IntroShowTodos,
IntroShowMobile,
AppDownloadQR,
BankData,
InsuranceData,
GreatSuccess,
Expand Down
Loading

0 comments on commit 17c0c0b

Please sign in to comment.