Update OwnTracks UI strings to reflect OwnTracks UI (#94476)

OwnTracks: update UI strings to reflect OwnTracks UI
This commit is contained in:
c0ffeeca7 2023-06-12 20:19:46 +02:00 committed by GitHub
parent c756c7aceb
commit 854c709332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -34,8 +34,8 @@ class OwnTracksFlow(config_entries.ConfigFlow, domain=DOMAIN):
if supports_encryption():
secret_desc = (
f"The encryption key is {secret} (on Android under preferences ->"
" advanced)"
f"The encryption key is {secret} (on Android under Preferences >"
" Advanced)"
)
else:
secret_desc = "Encryption is not supported because nacl is not installed."

View File

@ -11,7 +11,7 @@
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]"
},
"create_entry": {
"default": "\n\nOn Android, open [the OwnTracks app]({android_url}), go to preferences -> connection. Change the following settings:\n - Mode: Private HTTP\n - Host: {webhook_url}\n - Identification:\n - Username: `'<Your name>'`\n - Device ID: `'<Your device name>'`\n\nOn iOS, open [the OwnTracks app]({ios_url}), tap (i) icon in top left -> settings. Change the following settings:\n - Mode: HTTP\n - URL: {webhook_url}\n - Turn on authentication\n - UserID: `'<Your name>'`\n\n{secret}\n\nSee [the documentation]({docs_url}) for more information."
"default": "\n\nOn Android, open [the OwnTracks app]({android_url}), go to Preferences > Connection. Change the following settings:\n - Mode: HTTP\n - Host: {webhook_url}\n - Identification:\n - Username: `'<Your name>'`\n - Device ID: `'<Your device name>'`\n\nOn iOS, open [the OwnTracks app]({ios_url}), tap (i) icon in top left > Settings. Change the following settings:\n - Mode: HTTP\n - URL: {webhook_url}\n - Turn on authentication\n - UserID: `'<Your name>'`\n\n{secret}\n\nSee [the documentation]({docs_url}) for more information."
}
}
}