79 lines
3.1 KiB
JSON
79 lines
3.1 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"pick_implementation": {
|
|
"title": "[%key:common::config_flow::title::oauth2_pick_implementation%]"
|
|
},
|
|
"reauth_confirm": {
|
|
"title": "[%key:common::config_flow::title::reauth%]",
|
|
"description": "The OneDrive integration needs to re-authenticate your account"
|
|
}
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
|
|
"oauth_error": "[%key:common::config_flow::abort::oauth2_error%]",
|
|
"oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]",
|
|
"oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]",
|
|
"oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]",
|
|
"missing_configuration": "[%key:common::config_flow::abort::oauth2_missing_configuration%]",
|
|
"authorize_url_timeout": "[%key:common::config_flow::abort::oauth2_authorize_url_timeout%]",
|
|
"no_url_available": "[%key:common::config_flow::abort::oauth2_no_url_available%]",
|
|
"user_rejected_authorize": "[%key:common::config_flow::abort::oauth2_user_rejected_authorize%]",
|
|
"connection_error": "Failed to connect to OneDrive.",
|
|
"wrong_drive": "New account does not contain previously configured OneDrive.",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
},
|
|
"create_entry": {
|
|
"default": "[%key:common::config_flow::create_entry::authenticated%]"
|
|
}
|
|
},
|
|
"issues": {
|
|
"drive_full": {
|
|
"title": "OneDrive data cap exceeded",
|
|
"description": "Your OneDrive has exceeded your quota limit. This means your next backup will fail. Please free up some space or upgrade your OneDrive plan. Currently using {used} GiB of {total} GiB."
|
|
},
|
|
"drive_almost_full": {
|
|
"title": "OneDrive near data cap",
|
|
"description": "Your OneDrive is near your quota limit. If you go over this limit your drive will be temporarily frozen and your backups will start failing. Please free up some space or upgrade your OneDrive plan. Currently using {used} GiB of {total} GiB."
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"authentication_failed": {
|
|
"message": "Authentication failed"
|
|
},
|
|
"failed_to_get_folder": {
|
|
"message": "Failed to get {folder} folder"
|
|
},
|
|
"failed_to_migrate_files": {
|
|
"message": "Failed to migrate metadata to separate files"
|
|
},
|
|
"update_failed": {
|
|
"message": "Failed to update drive state"
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"total_size": {
|
|
"name": "Total available storage"
|
|
},
|
|
"used_size": {
|
|
"name": "Used storage"
|
|
},
|
|
"remaining_size": {
|
|
"name": "Remaining storage"
|
|
},
|
|
"drive_state": {
|
|
"name": "Drive state",
|
|
"state": {
|
|
"normal": "Normal",
|
|
"nearing": "Nearing limit",
|
|
"critical": "Critical",
|
|
"exceeded": "Exceeded"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|