mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-06 16:36:58 +00:00
Add translation
This commit is contained in:
parent
37672c309b
commit
83d7e730d6
@ -63,11 +63,14 @@ export const BuyQortInformation = ({ balance }) => {
|
|||||||
maxWidth: '90vw',
|
maxWidth: '90vw',
|
||||||
padding: '10px',
|
padding: '10px',
|
||||||
width: '400px',
|
width: '400px',
|
||||||
}} // TODO translate
|
}}
|
||||||
>
|
>
|
||||||
<Typography>
|
<Typography>
|
||||||
Get QORT using Qortal's crosschain trade portal
|
{t('core:message.generic.get_qort_trade_portal', {
|
||||||
|
postProcess: 'capitalizeFirstChar',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
<ButtonBase
|
<ButtonBase
|
||||||
sx={{
|
sx={{
|
||||||
'&:hover': { backgroundColor: theme.palette.secondary.main },
|
'&:hover': { backgroundColor: theme.palette.secondary.main },
|
||||||
@ -96,7 +99,9 @@ export const BuyQortInformation = ({ balance }) => {
|
|||||||
fontSize: '1rem',
|
fontSize: '1rem',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Trade QORT
|
{t('core:action.trade_qort', {
|
||||||
|
postProcess: 'capitalizeFirstChar',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
</ButtonBase>
|
</ButtonBase>
|
||||||
|
|
||||||
@ -107,7 +112,9 @@ export const BuyQortInformation = ({ balance }) => {
|
|||||||
textDecoration: 'underline',
|
textDecoration: 'underline',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Benefits of having QORT
|
{t('core:message.generic.benefits_qort', {
|
||||||
|
postProcess: 'capitalizeFirstChar',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
<List
|
<List
|
||||||
sx={{
|
sx={{
|
||||||
|
@ -85,6 +85,7 @@
|
|||||||
"show_poll": "show poll",
|
"show_poll": "show poll",
|
||||||
"start_minting": "start minting",
|
"start_minting": "start minting",
|
||||||
"start_typing": "start typing here...",
|
"start_typing": "start typing here...",
|
||||||
|
"trade_qort": "trade QORT",
|
||||||
"transfer_qort": "Transfer QORT",
|
"transfer_qort": "Transfer QORT",
|
||||||
"unpin": "unpin",
|
"unpin": "unpin",
|
||||||
"unpin_app": "unpin app",
|
"unpin_app": "unpin app",
|
||||||
@ -209,6 +210,7 @@
|
|||||||
"generic": {
|
"generic": {
|
||||||
"already_voted": "you've already voted.",
|
"already_voted": "you've already voted.",
|
||||||
"avatar_size": "{{ size }} KB max. for GIFS",
|
"avatar_size": "{{ size }} KB max. for GIFS",
|
||||||
|
"benefits_qort": "benefits of having QORT",
|
||||||
"building": "building",
|
"building": "building",
|
||||||
"building_app": "building app",
|
"building_app": "building app",
|
||||||
"created_by": "created by {{ owner }}",
|
"created_by": "created by {{ owner }}",
|
||||||
@ -224,6 +226,7 @@
|
|||||||
"fee_qort": "fee: {{ message }} QORT",
|
"fee_qort": "fee: {{ message }} QORT",
|
||||||
"fetching_data": "fetching app data",
|
"fetching_data": "fetching app data",
|
||||||
"foreign_fee": "foreign fee: {{ message }}",
|
"foreign_fee": "foreign fee: {{ message }}",
|
||||||
|
"get_qort_trade_portal": "get QORT using Qortal's crosschain trade portal",
|
||||||
"mentioned": "mentioned",
|
"mentioned": "mentioned",
|
||||||
"message_with_image": "this message already has an image",
|
"message_with_image": "this message already has an image",
|
||||||
"most_recent_payment": "{{ count }} most recent payment",
|
"most_recent_payment": "{{ count }} most recent payment",
|
||||||
|
@ -544,7 +544,7 @@ export function decryptGroupData(
|
|||||||
encryptedDataEndPosition + count * 48
|
encryptedDataEndPosition + count * 48
|
||||||
);
|
);
|
||||||
if (!privateKey) {
|
if (!privateKey) {
|
||||||
throw new Error('Unable to retrieve keys');
|
throw new Error('Unable to retrieve keys'); // TODO translate
|
||||||
}
|
}
|
||||||
const decodedPrivateKey = Base58.decode(privateKey);
|
const decodedPrivateKey = Base58.decode(privateKey);
|
||||||
const convertedPrivateKey = ed2curve.convertSecretKey(decodedPrivateKey);
|
const convertedPrivateKey = ed2curve.convertSecretKey(decodedPrivateKey);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user