mirror of
https://github.com/home-assistant/core.git
synced 2026-06-06 15:36:51 +01:00
2846dcc035
Co-authored-by: Josef Zweck <josef@zweck.dev> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
191 lines
7.6 KiB
JSON
191 lines
7.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_implementation_unavailable": "[%key:common::config_flow::abort::oauth2_implementation_unavailable%]",
|
|
"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_creation_error": "Failed to create folder",
|
|
"folder_rename_error": "Failed to rename folder"
|
|
},
|
|
"initiate_flow": {
|
|
"user": "[%key:common::config_flow::initiate_flow::account%]"
|
|
},
|
|
"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"
|
|
},
|
|
"connection_error": {
|
|
"message": "[%key:component::onedrive::config::abort::connection_error%]"
|
|
},
|
|
"create_folder_error": {
|
|
"message": "Failed to create folder: {message}"
|
|
},
|
|
"delete_error": {
|
|
"message": "Failed to delete from OneDrive: {paths}"
|
|
},
|
|
"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})"
|
|
},
|
|
"filenames_do_not_exist": {
|
|
"message": "The following files do not exist: {filenames}"
|
|
},
|
|
"invalid_destination_path": {
|
|
"message": "Invalid destination path `{destination_path}`: must be non-empty, must not contain `:` or `..` path segments"
|
|
},
|
|
"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": {
|
|
"delete": {
|
|
"description": "Deletes one or more files from OneDrive.",
|
|
"fields": {
|
|
"config_entry_id": {
|
|
"description": "The config entry representing the OneDrive you want to delete from.",
|
|
"name": "Config entry ID"
|
|
},
|
|
"destination_path": {
|
|
"description": "One or more paths to files inside the OneDrive app folder (Apps/Home Assistant) to delete.",
|
|
"example": "[\"photos/snapshots/image.jpg\", \"photos/snapshots/image2.jpg\"]",
|
|
"name": "Destination paths"
|
|
}
|
|
},
|
|
"name": "Delete files"
|
|
},
|
|
"upload": {
|
|
"description": "Uploads one or more 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 OneDrive app folder (Apps/Home Assistant) you want to upload the files to. Will be created if it does not exist.",
|
|
"example": "photos/snapshots",
|
|
"name": "Destination folder"
|
|
},
|
|
"filename": {
|
|
"description": "One or more paths to files to upload.",
|
|
"example": "{example_image_path}",
|
|
"name": "Filenames"
|
|
}
|
|
},
|
|
"name": "Upload files"
|
|
}
|
|
}
|
|
}
|