feat(web/flutter): expand error-copy map with auth + validation + 404 codes
This commit is contained in:
@@ -1,6 +1,34 @@
|
||||
{
|
||||
"unknown": "Something went wrong.",
|
||||
"unauthenticated": "Your session has ended. Please sign in again.",
|
||||
"auth_required": "You need to sign in to do that.",
|
||||
"forbidden": "You don't have permission to do that.",
|
||||
"not_authorized": "You don't have permission to do that.",
|
||||
"invalid_credentials": "Wrong username or password.",
|
||||
"wrong_password": "Current password is incorrect.",
|
||||
"password_too_short": "Password must be at least 8 characters.",
|
||||
"username_invalid": "That username isn't valid.",
|
||||
"username_taken": "That username is already taken.",
|
||||
"email_invalid": "Enter a valid email address.",
|
||||
"email_taken": "That email is already in use.",
|
||||
"invalid_token": "That link has expired or already been used. Request a new one.",
|
||||
"invite_invalid": "That invite has expired or already been used.",
|
||||
"invite_required": "An invite is required to register on this server.",
|
||||
"last_admin": "Can't demote or delete the last admin.",
|
||||
"no_email_on_file": "No email is associated with that account.",
|
||||
"not_configured": "This integration isn't set up yet.",
|
||||
"validation": "Some fields aren't valid. Check and try again.",
|
||||
"missing_fields": "Required fields are missing.",
|
||||
"missing_query": "Search needs at least one keyword.",
|
||||
"invalid_id": "Invalid identifier.",
|
||||
"invalid_body": "Couldn't read the request.",
|
||||
"bad_request": "Invalid request.",
|
||||
"bad_body": "Couldn't read the request.",
|
||||
"bad_kind": "Invalid request type.",
|
||||
"bad_paging": "Invalid page size or offset.",
|
||||
"bad_reason": "Invalid quarantine reason.",
|
||||
"mbid_required": "An MBID is required for this lookup.",
|
||||
"system_playlist_readonly": "System playlists can't be edited directly.",
|
||||
"connection_refused": "Couldn't reach the server. Check the URL and try again.",
|
||||
"lidarr_unreachable": "Lidarr is unreachable right now. Try again, or check Admin → Integrations.",
|
||||
"lidarr_disabled": "Lidarr integration is not enabled.",
|
||||
@@ -12,5 +40,9 @@
|
||||
"album_mbid_missing": "This track has no Lidarr album to remove.",
|
||||
"request_not_pending": "This request is no longer pending.",
|
||||
"request_not_found": "That request no longer exists.",
|
||||
"track_not_found": "That track no longer exists."
|
||||
"track_not_found": "That track no longer exists.",
|
||||
"album_not_found": "That album no longer exists.",
|
||||
"artist_not_found": "That artist no longer exists.",
|
||||
"playlist_not_found": "That playlist no longer exists.",
|
||||
"user_not_found": "That user no longer exists."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user