···30 if (str.includes('Bad token scope') || str.includes('Bad token method')) {
31 return t`This feature is not available while using an App Password. Please sign in with your main password.`
32 }
00000000000033 if (str.startsWith('Error: ')) {
34 return str.slice('Error: '.length)
35 }
···30 if (str.includes('Bad token scope') || str.includes('Bad token method')) {
31 return t`This feature is not available while using an App Password. Please sign in with your main password.`
32 }
33+ if (str.includes('Account has been suspended')) {
34+ return t`Account has been suspended`
35+ }
36+ if (str.includes('Account is deactivated')) {
37+ return t`Account is deactivated`
38+ }
39+ if (str.includes('Profile not found')) {
40+ return t`Profile not found`
41+ }
42+ if (str.includes('Unable to resolve handle')) {
43+ return t`Unable to resolve handle`
44+ }
45 if (str.startsWith('Error: ')) {
46 return str.slice('Error: '.length)
47 }