mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-28 20:51:24 +00:00
Merge remote-tracking branch 'qortal/develop' into feature/large-files-and-names
This commit is contained in:
@@ -84,7 +84,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
const [anchorEl, setAnchorEl] = useState(null);
|
||||
const { show } = useContext(MyContext);
|
||||
const theme = useTheme();
|
||||
const { t } = useTranslation(['core']);
|
||||
const { t } = useTranslation(['auth', 'core', 'group']);
|
||||
|
||||
const hasChanged = useMemo(() => {
|
||||
const newChanges = {
|
||||
@@ -156,7 +156,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
|
||||
await show({
|
||||
message: t('core:message.generic.publish_qnd', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
publishFee: fee.fee + ' QORT',
|
||||
});
|
||||
@@ -179,7 +179,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
rej(
|
||||
error.message ||
|
||||
t('core:message.error.generic', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})
|
||||
);
|
||||
});
|
||||
@@ -190,7 +190,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
setInfoSnack({
|
||||
type: 'success',
|
||||
message: t('core:message.success.published_qdn', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
});
|
||||
setOpenSnack(true);
|
||||
@@ -203,7 +203,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
message:
|
||||
error?.message ||
|
||||
t('core:message.error.save_qdn', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
});
|
||||
setOpenSnack(true);
|
||||
@@ -237,7 +237,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
<IconWrapper
|
||||
disableWidth={disableWidth}
|
||||
label={t('core:action.save', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
selected={false}
|
||||
color={
|
||||
@@ -308,7 +308,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.generic.settings', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</Typography>{' '}
|
||||
<Spacer height="40px" />
|
||||
@@ -337,7 +337,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.generic.qdn', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</Button>
|
||||
</Box>
|
||||
@@ -368,7 +368,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.generic.register_name', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</Typography>
|
||||
</Box>
|
||||
@@ -389,7 +389,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.generic.unsaved_changes', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</Typography>
|
||||
|
||||
@@ -413,7 +413,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
variant="contained"
|
||||
>
|
||||
{t('core:action.save_qdn', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</LoadingButton>
|
||||
<Spacer height="20px" />
|
||||
@@ -426,7 +426,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.question.reset_qdn', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</Typography>
|
||||
<Spacer height="10px" />
|
||||
@@ -448,7 +448,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.generic.revert_qdn', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</LoadingButton>
|
||||
</>
|
||||
@@ -463,7 +463,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
>
|
||||
{' '}
|
||||
{t('core:message.question.reset_pinned', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</Typography>
|
||||
<Spacer height="10px" />
|
||||
@@ -473,7 +473,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
variant="contained"
|
||||
>
|
||||
{t('core:message.generic.revert_default', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</LoadingButton>
|
||||
</>
|
||||
@@ -497,7 +497,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.question.overwrite_changes', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</Typography>
|
||||
<Spacer height="10px" />
|
||||
@@ -519,7 +519,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.generic.overwrite_qdn', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</LoadingButton>
|
||||
</Box>
|
||||
@@ -539,7 +539,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:message.generic.no_pinned_changes', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</Typography>
|
||||
</Box>
|
||||
@@ -596,7 +596,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:action.import', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</ButtonBase>
|
||||
|
||||
@@ -621,7 +621,7 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
||||
}}
|
||||
>
|
||||
{t('core:action.export', {
|
||||
postProcess: 'capitalizeFirst',
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})}
|
||||
</ButtonBase>
|
||||
</Box>
|
||||
|
Reference in New Issue
Block a user