Merge branch 'mintsave' into 'main'

fix send/save english issue on mint list

See merge request soapbox-pub/soapbox!3371
merge-requests/3373/head
Alex Gleason 2025-05-08 18:33:02 +00:00
commit e1b3bd0719
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -16,7 +16,7 @@ const messages = defineMessages({
loadingError: { id: 'wallet.loading_error', defaultMessage: 'An unexpected error occurred while loading your wallet data.' }, loadingError: { id: 'wallet.loading_error', defaultMessage: 'An unexpected error occurred while loading your wallet data.' },
empty: { id: 'wallet.mints.empty', defaultMessage: 'At least one mint is required.' }, empty: { id: 'wallet.mints.empty', defaultMessage: 'At least one mint is required.' },
url: { id: 'wallet.invalid_url', defaultMessage: 'All strings must be valid URLs.' }, url: { id: 'wallet.invalid_url', defaultMessage: 'All strings must be valid URLs.' },
send: { id: 'common.send', defaultMessage: 'Send' }, save: { id: 'common.save', defaultMessage: 'Save' },
}); });
const WalletMints = () => { const WalletMints = () => {
@ -101,7 +101,7 @@ const WalletMints = () => {
<Stack space={2}> <Stack space={2}>
<MintEditor items={mints} setItems={setMints} /> <MintEditor items={mints} setItems={setMints} />
<Button className='w-full' theme='primary' onClick={handleClick} disabled={isLoading}> <Button className='w-full' theme='primary' onClick={handleClick} disabled={isLoading}>
{intl.formatMessage(messages.send)} {intl.formatMessage(messages.save)}
</Button> </Button>
</Stack> </Stack>
); );