mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-22 20:26:50 +00:00
Refactor unable_ from auth
This commit is contained in:
@@ -162,7 +162,7 @@ export const AdminSpaceInner = ({
|
||||
type: 'error',
|
||||
message:
|
||||
response?.error ||
|
||||
t('auth:message.error.unable_reencrypt_secret_key', {
|
||||
t('auth:message.error.reencrypt_secret_key', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
});
|
||||
@@ -173,7 +173,7 @@ export const AdminSpaceInner = ({
|
||||
type: 'error',
|
||||
message:
|
||||
error?.message ||
|
||||
t('auth:message.error.unable_reencrypt_secret_key', {
|
||||
t('auth:message.error.reencrypt_secret_key', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
});
|
||||
|
@@ -85,7 +85,7 @@ export const AttachmentCard = ({
|
||||
}
|
||||
} catch (error) {
|
||||
throw new Error(
|
||||
t('auth:message.error.unable_decrypt', {
|
||||
t('auth:message.error.decrypt', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})
|
||||
);
|
||||
|
@@ -180,7 +180,7 @@ export const Embed = ({ embedLink }) => {
|
||||
}
|
||||
} catch (error) {
|
||||
throw new Error(
|
||||
t('auth:message.error.unable_decrypt', {
|
||||
t('auth:message.error.decrypt', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
})
|
||||
);
|
||||
|
@@ -141,7 +141,7 @@ export const BlockedUsersModal = () => {
|
||||
type: 'error',
|
||||
message:
|
||||
error?.message ||
|
||||
t('auth:message.error.unable_block_user', {
|
||||
t('auth:message.error.block_user', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
});
|
||||
|
@@ -359,7 +359,7 @@ export const NotAuthenticated = ({
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(
|
||||
it('auth:message.error.unable_set_apikey', {
|
||||
it('auth:message.error.set_apikey', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
error.message ||
|
||||
@@ -398,7 +398,7 @@ export const NotAuthenticated = ({
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(
|
||||
it('auth:message.error.unable_set_apikey', {
|
||||
it('auth:message.error.set_apikey', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
error.message ||
|
||||
@@ -682,7 +682,7 @@ export const NotAuthenticated = ({
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(
|
||||
it('auth:message.error.unable_set_apikey', {
|
||||
it('auth:message.error.set_apikey', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
error.message ||
|
||||
@@ -836,7 +836,7 @@ export const NotAuthenticated = ({
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(
|
||||
it('auth:message.error.unable_set_apikey', {
|
||||
it('auth:message.error.set_apikey', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
error.message ||
|
||||
@@ -902,7 +902,7 @@ export const NotAuthenticated = ({
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(
|
||||
it('auth:message.error.unable_set_apikey', {
|
||||
it('auth:message.error.set_apikey', {
|
||||
postProcess: 'capitalizeFirstChar',
|
||||
}),
|
||||
error.message ||
|
||||
|
Reference in New Issue
Block a user