mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-07 08:56:58 +00:00
Refactor and fix some typos
This commit is contained in:
parent
ee573743cf
commit
301d7d6f6a
@ -466,7 +466,7 @@ export const ListOfGroupPromotions = () => {
|
|||||||
fontSize: '12px',
|
fontSize: '12px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t('group.action.add_promotion', {
|
{t('group:action.add_promotion', {
|
||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
})}
|
})}
|
||||||
</Button>
|
</Button>
|
||||||
@ -474,6 +474,7 @@ export const ListOfGroupPromotions = () => {
|
|||||||
|
|
||||||
<Spacer height="10px" />
|
<Spacer height="10px" />
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
bgcolor: 'background.paper',
|
bgcolor: 'background.paper',
|
||||||
@ -515,7 +516,7 @@ export const ListOfGroupPromotions = () => {
|
|||||||
color: 'rgba(255, 255, 255, 0.2)',
|
color: 'rgba(255, 255, 255, 0.2)',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t('group.message.generic.no_display', {
|
{t('group:message.generic.no_display', {
|
||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
})}
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
@ -927,7 +928,7 @@ export const ListOfGroupPromotions = () => {
|
|||||||
<Spacer height="20px" />
|
<Spacer height="20px" />
|
||||||
|
|
||||||
<TextField
|
<TextField
|
||||||
label={t('core:promotion_text', {
|
label={t('core:message.promotion_text', {
|
||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
})}
|
})}
|
||||||
variant="filled"
|
variant="filled"
|
||||||
|
@ -1,9 +1,17 @@
|
|||||||
import { Box, useTheme } from '@mui/material';
|
import { Box, CircularProgress, useTheme } from '@mui/material';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { TextP } from '../styles/App-styles';
|
import {
|
||||||
|
CustomButton,
|
||||||
|
CustomInput,
|
||||||
|
CustomLabel,
|
||||||
|
TextP,
|
||||||
|
} from '../styles/App-styles';
|
||||||
import { Spacer } from '../common/Spacer';
|
import { Spacer } from '../common/Spacer';
|
||||||
import { getFee } from '../background/background.ts';
|
import { getFee } from '../background/background.ts';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
import BoundedNumericTextField from '../common/BoundedNumericTextField.tsx';
|
||||||
|
import { PasswordField } from './PasswordField/PasswordField.tsx';
|
||||||
|
import { ErrorText } from './ErrorText/ErrorText.tsx';
|
||||||
|
|
||||||
export const QortPayment = ({ balance, show, onSuccess, defaultPaymentTo }) => {
|
export const QortPayment = ({ balance, show, onSuccess, defaultPaymentTo }) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
@ -215,7 +215,11 @@ export const RegisterName = ({
|
|||||||
aria-labelledby="alert-dialog-title"
|
aria-labelledby="alert-dialog-title"
|
||||||
aria-describedby="alert-dialog-description"
|
aria-describedby="alert-dialog-description"
|
||||||
>
|
>
|
||||||
<DialogTitle id="alert-dialog-title">{'Register name'}</DialogTitle>
|
<DialogTitle id="alert-dialog-title">
|
||||||
|
{t('core:action.register_name', {
|
||||||
|
postProcess: 'capitalizeAll',
|
||||||
|
})}
|
||||||
|
</DialogTitle>
|
||||||
|
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<Box
|
<Box
|
||||||
@ -236,6 +240,7 @@ export const RegisterName = ({
|
|||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
})}
|
})}
|
||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
<TextField
|
<TextField
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoFocus
|
autoFocus
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
"close": "chiudi",
|
"close": "chiudi",
|
||||||
"close_chat": "chiudi la chat diretta",
|
"close_chat": "chiudi la chat diretta",
|
||||||
"continue": "continua",
|
"continue": "continua",
|
||||||
"continue_logout": "continua a logout",
|
"continue_logout": "conferma il logout",
|
||||||
"copy_link": "copia link",
|
"copy_link": "copia link",
|
||||||
"create_apps": "crea app",
|
"create_apps": "crea app",
|
||||||
"create_file": "crea file",
|
"create_file": "crea file",
|
||||||
@ -90,7 +90,7 @@
|
|||||||
"start_minting": "inizia a mellire",
|
"start_minting": "inizia a mellire",
|
||||||
"start_typing": "inizia a digitare qui ...",
|
"start_typing": "inizia a digitare qui ...",
|
||||||
"trade_qort": "scambia qort",
|
"trade_qort": "scambia qort",
|
||||||
"transfer_qort": "trasferisci Qort",
|
"transfer_qort": "trasferisci QORT",
|
||||||
"unpin": "rimuovi pin",
|
"unpin": "rimuovi pin",
|
||||||
"unpin_app": "rimuovi pin app",
|
"unpin_app": "rimuovi pin app",
|
||||||
"unpin_from_dashboard": "rimuovi dalla dashboard",
|
"unpin_from_dashboard": "rimuovi dalla dashboard",
|
||||||
@ -285,7 +285,7 @@
|
|||||||
"promotion_text": "testo di promozione",
|
"promotion_text": "testo di promozione",
|
||||||
"question": {
|
"question": {
|
||||||
"accept_vote_on_poll": "accettate questa transazione vota_on_poll? I sondaggi sono pubblici!",
|
"accept_vote_on_poll": "accettate questa transazione vota_on_poll? I sondaggi sono pubblici!",
|
||||||
"logout": "sei sicuro di voler logout?",
|
"logout": "sei sicuro di voler fare logout?",
|
||||||
"new_user": "sei un nuovo utente?",
|
"new_user": "sei un nuovo utente?",
|
||||||
"delete_chat_image": "vorresti eliminare la tua immagine di chat precedente?",
|
"delete_chat_image": "vorresti eliminare la tua immagine di chat precedente?",
|
||||||
"perform_transaction": "would you like to perform a {{action}} transaction?",
|
"perform_transaction": "would you like to perform a {{action}} transaction?",
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
"private_key_copied": "copiata a chiave privata",
|
"private_key_copied": "copiata a chiave privata",
|
||||||
"provide_message": "si prega di fornire un primo messaggio al thread",
|
"provide_message": "si prega di fornire un primo messaggio al thread",
|
||||||
"secure_place": "mantieni la chiave privata in un luogo sicuro. Non condividerla!",
|
"secure_place": "mantieni la chiave privata in un luogo sicuro. Non condividerla!",
|
||||||
"setting_group": "impostazione del gruppo ... per favore aspetta."
|
"setting_group": "impostazione gruppo. Attendere, per favore."
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"access_name": "impossibile inviare un messaggio senza accesso al tuo nome",
|
"access_name": "impossibile inviare un messaggio senza accesso al tuo nome",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user