mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-05-15 22:26:58 +00:00
Translations for minting file
This commit is contained in:
parent
c5ff69b2f7
commit
d3ac43ab81
@ -740,7 +740,11 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
<Spacer height="10px" />
|
||||
|
||||
{mintingAccounts?.length > 0 && (
|
||||
<Typography>Node's minting accounts</Typography> // TODO translate
|
||||
<Typography>
|
||||
{t('group:message.generic.node_minting_account', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Typography>
|
||||
)}
|
||||
<Card
|
||||
sx={{
|
||||
@ -757,8 +761,9 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
}}
|
||||
>
|
||||
<Typography>
|
||||
You currently have a minting key for this account attached to
|
||||
this node
|
||||
{t('group:message.generic.node_minting_key', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Typography>
|
||||
</Box>
|
||||
)}
|
||||
@ -775,8 +780,12 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
}}
|
||||
>
|
||||
<Typography>
|
||||
Minting account: {handleNames(acct?.mintingAccount)}
|
||||
{t('group:message.generic.minting_account', {
|
||||
postProcess: 'capitalize',
|
||||
})}{' '}
|
||||
{handleNames(acct?.mintingAccount)}
|
||||
</Typography>
|
||||
|
||||
<Button
|
||||
size="small"
|
||||
sx={{
|
||||
@ -797,7 +806,9 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
}}
|
||||
variant="contained"
|
||||
>
|
||||
Remove minting account
|
||||
{t('group:action.remove_minting_account', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Button>
|
||||
|
||||
<Divider />
|
||||
@ -808,13 +819,15 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
|
||||
{mintingAccounts?.length > 1 && (
|
||||
<Typography>
|
||||
Only 2 minting keys are allowed per node. Please remove one if you
|
||||
would like to add a different account.
|
||||
{t('group:message.generic.minting_keys_per_node_different', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Typography>
|
||||
)}
|
||||
</Card>
|
||||
|
||||
<Spacer height="20px" />
|
||||
|
||||
{!isPartOfMintingGroup && (
|
||||
<Card
|
||||
sx={{
|
||||
@ -832,12 +845,19 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
}}
|
||||
>
|
||||
<Typography>
|
||||
You are currently not part of the MINTER group
|
||||
{t('group:message.generic.minter_group', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Typography>
|
||||
|
||||
<Typography>
|
||||
Visit the Q-Mintership app to apply to be a minter
|
||||
{t('group:message.generic.mintership_app', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Typography>
|
||||
|
||||
<Spacer height="10px" />
|
||||
|
||||
<Button
|
||||
size="small"
|
||||
sx={{
|
||||
@ -861,7 +881,9 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
}}
|
||||
variant="contained"
|
||||
>
|
||||
Visit Q-Mintership
|
||||
{t('group:action.visit_q_mintership', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Button>
|
||||
</Box>
|
||||
</Card>
|
||||
@ -880,13 +902,16 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
<DialogContent>
|
||||
{!isShowNext && (
|
||||
<Typography>
|
||||
Confirming creation of rewardshare on chain. Please be
|
||||
patient, this could take up to 90 seconds.
|
||||
{t('group:message.success.rewardshare_creation', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Typography>
|
||||
)}
|
||||
{isShowNext && (
|
||||
<Typography>
|
||||
Rewardshare confirmed. Please click Next.
|
||||
{t('group:message.success.rewardshare_confirmed', {
|
||||
postProcess: 'capitalize',
|
||||
})}
|
||||
</Typography>
|
||||
)}
|
||||
</DialogContent>
|
||||
@ -898,21 +923,23 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
||||
onClick={onOk}
|
||||
autoFocus
|
||||
>
|
||||
Next
|
||||
{t('core:page.next', { postProcess: 'capitalize' })}
|
||||
</Button>
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
)}
|
||||
</DialogContent>
|
||||
|
||||
<DialogActions>
|
||||
<Button
|
||||
// disabled={isLoadingPublish}
|
||||
variant="contained"
|
||||
onClick={() => setIsOpenMinting(false)}
|
||||
>
|
||||
Close
|
||||
{t('core:action.close', { postProcess: 'capitalize' })}
|
||||
</Button>
|
||||
</DialogActions>
|
||||
|
||||
<Snackbar
|
||||
anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}
|
||||
open={openSnack}
|
||||
|
@ -20,8 +20,10 @@
|
||||
"promote_group": "promote your group to non-members",
|
||||
"refetch_page": "refetch page",
|
||||
"remove_admin": "remove as admin",
|
||||
"remove_minting_account": "remove minting account",
|
||||
"return_to_thread": "return to threads",
|
||||
"select_group": "select a group"
|
||||
"select_group": "select a group",
|
||||
"visit_q_mintership": "visit Q-Mintership"
|
||||
},
|
||||
"advanced_options": "advanced options",
|
||||
"approval_threshold": "group Approval Threshold (number / percentage of Admins that must approve a transaction)",
|
||||
@ -61,11 +63,17 @@
|
||||
"invalid_data": "error loading content: Invalid Data",
|
||||
"latest_promotion": "only the latest promotion from the week will be shown for your group.",
|
||||
"loading_members": "loading member list with names... please wait.",
|
||||
"max_chars": " Max 200 characters. Publish Fee",
|
||||
"max_chars": "max 200 characters. Publish Fee",
|
||||
"manage_minting": "manage your minting",
|
||||
"minter_group": "you are currently not part of the MINTER group",
|
||||
"mintership_app": "visit the Q-Mintership app to apply to be a minter",
|
||||
"minting_account": "minting account:",
|
||||
"minting_keys_per_node": "only 2 minting keys are allowed per node. Please remove one if you would like to mint with this account.",
|
||||
"minting_keys_per_node_different": "only 2 minting keys are allowed per node. Please remove one if you would like to add a different account.",
|
||||
"next_level": "blocks remaining until next level:",
|
||||
"node_minting": "This node is minting:",
|
||||
"node_minting_account": "node's minting accounts",
|
||||
"node_minting_key": "you currently have a minting key for this account attached to this node",
|
||||
"no_display": "nothing to display",
|
||||
"no_selection": "no group selected",
|
||||
"not_part_group": "you are not part of the encrypted group of members. Wait until an admin re-encrypts the keys.",
|
||||
@ -112,6 +120,8 @@
|
||||
"post_creation": "successfully created post. It may take some time for the publish to propagate",
|
||||
"rewardshare_add": "add rewardshare: awaiting confirmation",
|
||||
"rewardshare_add_label": "add rewardshare: success!",
|
||||
"rewardshare_creation": "confirming creation of rewardshare on chain. Please be patient, this could take up to 90 seconds.",
|
||||
"rewardshare_confirmed": "rewardshare confirmed. Please click Next.",
|
||||
"rewardshare_remove": "remove rewardshare: awaiting confirmation",
|
||||
"rewardshare_remove_label": "remove rewardshare: success!",
|
||||
"thread_creation": "successfully created thread. It may take some time for the publish to propagate",
|
||||
|
Loading…
x
Reference in New Issue
Block a user