Add translations

This commit is contained in:
Nicola Benaglia 2025-05-22 21:13:17 +02:00
parent 83d7e730d6
commit e383e30505
3 changed files with 28 additions and 6 deletions

View File

@ -1560,7 +1560,9 @@ function App() {
executeEvent('open-apps-mode', {});
}}
>
{t('core:action.get_qort', { postProcess: 'capitalizeFirstChar' })}
{t('core:action.get_qort_trade', {
postProcess: 'capitalizeFirstChar',
})}
</TextP>
</AuthenticatedContainerInnerLeft>
);

View File

@ -50,7 +50,12 @@ export const BuyQortInformation = ({ balance }) => {
aria-labelledby="alert-dialog-title"
aria-describedby="alert-dialog-description"
>
<DialogTitle id="alert-dialog-title">{'Get QORT'}</DialogTitle>
<DialogTitle id="alert-dialog-title">
{t('core:action.get_qort', {
postProcess: 'capitalizeFirstChar',
})}
</DialogTitle>
<DialogContent>
<Box
sx={{
@ -116,6 +121,7 @@ export const BuyQortInformation = ({ balance }) => {
postProcess: 'capitalizeFirstChar',
})}
</Typography>
<List
sx={{
maxWidth: 360,
@ -129,17 +135,28 @@ export const BuyQortInformation = ({ balance }) => {
<ListItemIcon>
<RadioButtonCheckedIcon />
</ListItemIcon>
<ListItemText primary="Create transactions on the Qortal Blockchain" />
<ListItemText
primary={t('core:action.create_transaction', {
postProcess: 'capitalizeFirstChar',
})}
/>
</ListItem>
<ListItem disablePadding>
<ListItemIcon>
<RadioButtonCheckedIcon />
</ListItemIcon>
<ListItemText primary="Having at least 4 QORT in your balance allows you to send chat messages at near instant speed." />
<ListItemText
primary={t('core:message.generic.minimal_qort_balance', {
quantity: 4,
postProcess: 'capitalizeFirstChar',
})}
/>
</ListItem>
</List>
</Box>
</DialogContent>
<DialogActions>
<Button
variant="contained"
@ -147,7 +164,7 @@ export const BuyQortInformation = ({ balance }) => {
setIsOpen(false);
}}
>
Close
{t('core:action.close', { postProcess: 'capitalizeFirstChar' })}
</Button>
</DialogActions>
</Dialog>

View File

@ -27,6 +27,7 @@
"copy_link": "copy link",
"create_apps": "create apps",
"create_file": "create file",
"create_transaction": "create transactions on the Qortal Blockchain",
"create_thread": "create thread",
"decline": "decline",
"decrypt": "decrypt",
@ -38,7 +39,8 @@
"enable_dev_mode": "enable dev mode",
"enter_name": "enter a name",
"export": "export",
"get_qort": "get QORT at Q-Trade",
"get_qort": "get QORT",
"get_qort_trade": "get QORT at Q-Trade",
"hide": "hide",
"import": "import",
"import_theme": "import theme",
@ -227,6 +229,7 @@
"fetching_data": "fetching app data",
"foreign_fee": "foreign fee: {{ message }}",
"get_qort_trade_portal": "get QORT using Qortal's crosschain trade portal",
"minimal_qort_balance": "having at least {{ quantity }} QORT in your balance allows you to send chat messages at near instant speed.",
"mentioned": "mentioned",
"message_with_image": "this message already has an image",
"most_recent_payment": "{{ count }} most recent payment",