Make error when last identity translatable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -48,6 +48,11 @@ export const errors: IError[] = [
|
||||
value: i18n.t("The current identity doesn't have any permission on this event. You should probably change it.") as string,
|
||||
suggestRefresh: false,
|
||||
},
|
||||
{
|
||||
match: /Cannot remove the last identity of a user/,
|
||||
value: i18n.t("You can't remove your last identity.") as string,
|
||||
suggestRefresh: false,
|
||||
},
|
||||
{
|
||||
match: /^No user with this email was found$/,
|
||||
value: null,
|
||||
|
||||
Reference in New Issue
Block a user