Fix wrong I18N keys

This commit is contained in:
Nicola Benaglia 2025-05-24 21:59:00 +02:00
parent 9e41ca7d33
commit a9fe9254f3

View File

@ -360,7 +360,7 @@ export const NotAuthenticated = ({
})
.catch((error) => {
console.error(
it('auth:message.error.set_apikey', {
t('auth:message.error.set_apikey', {
postProcess: 'capitalizeFirstChar',
}),
error.message ||
@ -399,7 +399,7 @@ export const NotAuthenticated = ({
})
.catch((error) => {
console.error(
it('auth:message.error.set_apikey', {
t('auth:message.error.set_apikey', {
postProcess: 'capitalizeFirstChar',
}),
error.message ||
@ -683,7 +683,7 @@ export const NotAuthenticated = ({
})
.catch((error) => {
console.error(
it('auth:message.error.set_apikey', {
t('auth:message.error.set_apikey', {
postProcess: 'capitalizeFirstChar',
}),
error.message ||
@ -772,7 +772,6 @@ export const NotAuthenticated = ({
fullWidth
>
<DialogTitle id="alert-dialog-title">
{' '}
{t('auth:node.custom_many', { postProcess: 'capitalizeFirstChar' })}
:
</DialogTitle>
@ -837,7 +836,7 @@ export const NotAuthenticated = ({
})
.catch((error) => {
console.error(
it('auth:message.error.set_apikey', {
t('auth:message.error.set_apikey', {
postProcess: 'capitalizeFirstChar',
}),
error.message ||
@ -873,6 +872,7 @@ export const NotAuthenticated = ({
>
{node?.url}
</Typography>
<Box
sx={{
display: 'flex',
@ -903,7 +903,7 @@ export const NotAuthenticated = ({
})
.catch((error) => {
console.error(
it('auth:message.error.set_apikey', {
t('auth:message.error.set_apikey', {
postProcess: 'capitalizeFirstChar',
}),
error.message ||
@ -945,7 +945,7 @@ export const NotAuthenticated = ({
}}
variant="contained"
>
{t('core:remove', {
{t('core:action.remove', {
postProcess: 'capitalizeFirstChar',
})}
</Button>
@ -955,6 +955,7 @@ export const NotAuthenticated = ({
})}
</Box>
)}
{mode === 'add-node' && (
<Box
sx={{
@ -973,6 +974,7 @@ export const NotAuthenticated = ({
setUrl(e.target.value);
}}
/>
<Input
placeholder={t('auth:apikey.key', {
postProcess: 'capitalizeFirstChar',
@ -1030,7 +1032,9 @@ export const NotAuthenticated = ({
onClick={() => saveCustomNodes(customNodes)}
autoFocus
>
{t('core:save', { postProcess: 'capitalizeFirstChar' })}
{t('core:action.save', {
postProcess: 'capitalizeFirstChar',
})}
</Button>
</>
)}
@ -1124,7 +1128,7 @@ export const NotAuthenticated = ({
}}
autoFocus
>
{t('core:save', { postProcess: 'capitalizeFirstChar' })}
{t('core:action.save', { postProcess: 'capitalizeFirstChar' })}
</Button>
<Button
@ -1139,6 +1143,7 @@ export const NotAuthenticated = ({
</DialogActions>
</Dialog>
)}
<ButtonBase
onClick={() => {
showTutorial('create-account', true);
@ -1157,6 +1162,7 @@ export const NotAuthenticated = ({
</ButtonBase>
<LanguageSelector />
<ThemeSelector />
</>
);