diff --git a/src/Wallets.tsx b/src/Wallets.tsx
index d2cf691..9fb153b 100644
--- a/src/Wallets.tsx
+++ b/src/Wallets.tsx
@@ -294,7 +294,7 @@ export const Wallets = ({ setExtState, setRawWallet, rawWallet }) => {
display: 'inline',
}}
>
- Add seed-phrase
+ {t('auth:action.add.seed_phrase', { postProcess: 'capitalize' })}
@@ -308,9 +308,9 @@ export const Wallets = ({ setExtState, setRawWallet, rawWallet }) => {
fontSize: '16px',
}}
>
- Use this option to connect additional Qortal wallets you've
- already made, in order to login with them afterwards. You will
- need access to your backup JSON file in order to do so.
+ {t('auth:tips.additional_wallet', {
+ postProcess: 'capitalize',
+ })}
}
@@ -322,7 +322,9 @@ export const Wallets = ({ setExtState, setRawWallet, rawWallet }) => {
{...getRootProps()}
>
- Add account
+ {t('auth:action.add.account', {
+ postProcess: 'capitalize',
+ })}
@@ -338,7 +340,9 @@ export const Wallets = ({ setExtState, setRawWallet, rawWallet }) => {
}}
>
- Type or paste in your seed-phrase
+ {t('auth:message.generic.type_seed', {
+ postProcess: 'capitalize',
+ })}
@@ -346,9 +350,13 @@ export const Wallets = ({ setExtState, setRawWallet, rawWallet }) => {
sx={{
display: 'flex',
flexDirection: 'column',
- }} // TODO translate
+ }}
>
-
+
{
-
+
{
-
+
{
/>
+
{
}}
autoFocus
>
- Add
+ {t('core:action.add', {
+ postProcess: 'capitalize',
+ })}
{
const [note, setNote] = useState('');
const [isEdit, setIsEdit] = useState(false);
const theme = useTheme();
+ const { t } = useTranslation(['core', 'auth']);
useEffect(() => {
if (wallet?.name) {
@@ -463,6 +485,7 @@ const WalletItem = ({ wallet, updateWalletItem, idx, setSelectedWallet }) => {
+
{
marginTop: '5px',
}}
>
- Login
+ {t('core:action.login', {
+ postProcess: 'capitalize',
+ })}
}
@@ -519,7 +544,11 @@ const WalletItem = ({ wallet, updateWalletItem, idx, setSelectedWallet }) => {
padding: '8px',
}}
>
-
+
{
-
+
{
variant="contained"
onClick={() => setIsEdit(false)}
>
- Close
+ {t('core:action.close', {
+ postProcess: 'capitalize',
+ })}
diff --git a/src/i18n/locales/en/auth.json b/src/i18n/locales/en/auth.json
index 09aae5f..8a514fa 100644
--- a/src/i18n/locales/en/auth.json
+++ b/src/i18n/locales/en/auth.json
@@ -6,9 +6,13 @@
"selected": "selected account"
},
"action": {
- "add_seed_phrase": "add seed-phrase",
+ "add": {
+ "account": "add account",
+ "seed_phrase": "add seed-phrase"
+ },
"authenticate": "authenticate",
"create_account": "create account",
+ "choose_password": "choose new password",
"download_account": "download account",
"return_to_list": "return to list"
},
@@ -29,9 +33,11 @@
"generic": {
"no_account": "No accounts saved",
"keep_secure": "keep your account file secure",
+ "type_seed": "type or paste in your seed-phrase",
"your_accounts": "your saved accounts"
}
},
+ "name": "name",
"node": {
"choose": "choose custom node",
"custom_many": "custom nodes",
@@ -40,9 +46,12 @@
"using": "using node",
"using_public": "using public node"
},
+ "note": "note",
"password": "password",
"password_confirmation": "confirm password",
+ "seed": "seed phrase",
"tips": {
+ "additional_wallet": "use this option to connect additional Qortal wallets you've already made, in order to login with them afterwards. You will need access to your backup JSON file in order to do so.",
"digital_id": "your wallet is like your digital ID on Qortal, and is how you will login to the Qortal User Interface. It holds your public address and the Qortal name you will eventually choose. Every transaction you make is linked to your ID, and this is where you manage all your QORT and other tradeable cryptocurrencies on Qortal.",
"existing_account": "already have a Qortal account? Enter your secret backup phrase here to access it. This phrase is one of the ways to recover your account.",
"new_account": "creating an account means creating a new wallet and digital ID to start using Qortal. Once you have made your account, you can start doing things like obtaining some QORT, buying a name and avatar, publishing videos and blogs, and much more.",
diff --git a/src/i18n/locales/en/core.json b/src/i18n/locales/en/core.json
index 6114abc..41ff3c0 100644
--- a/src/i18n/locales/en/core.json
+++ b/src/i18n/locales/en/core.json
@@ -20,6 +20,7 @@
"import": "import",
"invite": "invite",
"join": "join",
+ "login": "login",
"logout": "logout",
"new": {
"post": "new post",
@@ -28,7 +29,9 @@
"notify": "notify",
"post": "post",
"post_message": "post message",
- "publish": "publish"
+ "publish": "publish",
+ "remove": "remove",
+ "save": "save"
},
"admin": "admin",
"core": {