mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
167 lines
6.6 KiB
JSON
167 lines
6.6 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
|
|
"authorize_url_timeout": "[%key:common::config_flow::abort::oauth2_authorize_url_timeout%]",
|
|
"connection_error": "Failed to connect to OneDrive.",
|
|
"missing_configuration": "[%key:common::config_flow::abort::oauth2_missing_configuration%]",
|
|
"no_url_available": "[%key:common::config_flow::abort::oauth2_no_url_available%]",
|
|
"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%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]",
|
|
"user_rejected_authorize": "[%key:common::config_flow::abort::oauth2_user_rejected_authorize%]",
|
|
"wrong_drive": "New account does not contain previously configured OneDrive."
|
|
},
|
|
"create_entry": {
|
|
"default": "[%key:common::config_flow::create_entry::authenticated%]"
|
|
},
|
|
"error": {
|
|
"folder_already_in_use": "Folder already used for backups from another Home Assistant instance",
|
|
"folder_creation_error": "Failed to create folder",
|
|
"folder_rename_error": "Failed to rename folder"
|
|
},
|
|
"step": {
|
|
"folder_name": {
|
|
"data": {
|
|
"folder_name": "Folder name"
|
|
},
|
|
"data_description": {
|
|
"folder_name": "Name of the folder"
|
|
},
|
|
"description": "This name will be used to create a folder that is specific for this Home Assistant instance. This folder will be created inside `{apps_folder}/{approot}`",
|
|
"title": "Pick a folder name"
|
|
},
|
|
"pick_implementation": {
|
|
"data": {
|
|
"implementation": "[%key:common::config_flow::data::implementation%]"
|
|
},
|
|
"data_description": {
|
|
"implementation": "[%key:common::config_flow::description::implementation%]"
|
|
},
|
|
"title": "[%key:common::config_flow::title::oauth2_pick_implementation%]"
|
|
},
|
|
"reauth_confirm": {
|
|
"description": "The OneDrive integration needs to re-authenticate your account",
|
|
"title": "[%key:common::config_flow::title::reauth%]"
|
|
},
|
|
"reconfigure_folder": {
|
|
"data": {
|
|
"folder_name": "[%key:component::onedrive::config::step::folder_name::data::folder_name%]"
|
|
},
|
|
"data_description": {
|
|
"folder_name": "[%key:component::onedrive::config::step::folder_name::data_description::folder_name%]"
|
|
},
|
|
"description": "Rename the instance specific folder inside `{apps_folder}/{approot}`. This will only rename the folder (and does not select another folder), so make sure the new name is not already in use.",
|
|
"title": "Change the folder name"
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"drive_state": {
|
|
"name": "Drive state",
|
|
"state": {
|
|
"critical": "Critical",
|
|
"exceeded": "Exceeded",
|
|
"nearing": "Nearing limit",
|
|
"normal": "[%key:common::state::normal%]"
|
|
}
|
|
},
|
|
"remaining_size": {
|
|
"name": "Remaining storage"
|
|
},
|
|
"total_size": {
|
|
"name": "Total available storage"
|
|
},
|
|
"used_size": {
|
|
"name": "Used storage"
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"authentication_failed": {
|
|
"message": "Authentication failed"
|
|
},
|
|
"create_folder_error": {
|
|
"message": "Failed to create folder: {message}"
|
|
},
|
|
"failed_to_get_folder": {
|
|
"message": "Failed to get {folder} folder"
|
|
},
|
|
"failed_to_migrate_files": {
|
|
"message": "Failed to migrate metadata to separate files"
|
|
},
|
|
"file_too_large": {
|
|
"message": "`{filename}` is too large ({size} > {limit})"
|
|
},
|
|
"filename_does_not_exist": {
|
|
"message": "`{filename}` does not exist"
|
|
},
|
|
"integration_not_found": {
|
|
"message": "Integration \"{target}\" not found in registry."
|
|
},
|
|
"no_access_to_path": {
|
|
"message": "Cannot read {filename}, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`"
|
|
},
|
|
"oauth2_implementation_unavailable": {
|
|
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
|
|
},
|
|
"update_failed": {
|
|
"message": "Failed to update drive state"
|
|
},
|
|
"upload_error": {
|
|
"message": "Failed to upload content: {message}"
|
|
}
|
|
},
|
|
"issues": {
|
|
"drive_almost_full": {
|
|
"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.",
|
|
"title": "OneDrive near data cap"
|
|
},
|
|
"drive_full": {
|
|
"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.",
|
|
"title": "OneDrive data cap exceeded"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"delete_permanently": "Delete files permanently"
|
|
},
|
|
"data_description": {
|
|
"delete_permanently": "Delete files without moving them to the Recycle Bin"
|
|
},
|
|
"description": "By default, files are put into the Recycle Bin when deleted, where they remain available for another 30 days. If you enable this option, files will be deleted immediately when they are cleaned up by the backup system."
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"upload": {
|
|
"description": "Uploads files to OneDrive.",
|
|
"fields": {
|
|
"config_entry_id": {
|
|
"description": "The config entry representing the OneDrive you want to upload to.",
|
|
"name": "Config entry ID"
|
|
},
|
|
"destination_folder": {
|
|
"description": "Folder inside the Home Assistant app folder (Apps/Home Assistant) you want to upload the file to. Will be created if it does not exist.",
|
|
"example": "photos/snapshots",
|
|
"name": "Destination folder"
|
|
},
|
|
"filename": {
|
|
"description": "Path to the file to upload.",
|
|
"example": "{example_image_path}",
|
|
"name": "Filename"
|
|
}
|
|
},
|
|
"name": "Upload file"
|
|
}
|
|
}
|
|
}
|