From 4bafd03dffbca3551608e9a88aa582055829bc1b Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Thu, 11 Mar 2021 22:18:16 +0100 Subject: [PATCH] Consistent spelling of "PIN" (#47771) --- homeassistant/components/blink/services.yaml | 4 ++-- homeassistant/components/blink/strings.json | 2 +- homeassistant/components/ecobee/strings.json | 2 +- homeassistant/components/hangouts/strings.json | 4 ++-- homeassistant/components/nest/strings.json | 2 +- homeassistant/components/zwave/lock.py | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/blink/services.yaml b/homeassistant/components/blink/services.yaml index dc6491e2139..6ea4e2aa9ac 100644 --- a/homeassistant/components/blink/services.yaml +++ b/homeassistant/components/blink/services.yaml @@ -21,8 +21,8 @@ save_video: example: "/tmp/video.mp4" send_pin: - description: Send a new pin to blink for 2FA. + description: Send a new PIN to blink for 2FA. fields: pin: - description: Pin received from blink. Leave empty if you only received a verification email. + description: PIN received from blink. Leave empty if you only received a verification email. example: "abc123" diff --git a/homeassistant/components/blink/strings.json b/homeassistant/components/blink/strings.json index db9bdf96273..6e438b58590 100644 --- a/homeassistant/components/blink/strings.json +++ b/homeassistant/components/blink/strings.json @@ -11,7 +11,7 @@ "2fa": { "title": "Two-factor authentication", "data": { "2fa": "Two-factor code" }, - "description": "Enter the pin sent to your email" + "description": "Enter the PIN sent to your email" } }, "error": { diff --git a/homeassistant/components/ecobee/strings.json b/homeassistant/components/ecobee/strings.json index 78f0708134c..19f379de7d9 100644 --- a/homeassistant/components/ecobee/strings.json +++ b/homeassistant/components/ecobee/strings.json @@ -10,7 +10,7 @@ }, "authorize": { "title": "Authorize app on ecobee.com", - "description": "Please authorize this app at https://www.ecobee.com/consumerportal/index.html with pin code:\n\n{pin}\n\nThen, press Submit." + "description": "Please authorize this app at https://www.ecobee.com/consumerportal/index.html with PIN code:\n\n{pin}\n\nThen, press Submit." } }, "error": { diff --git a/homeassistant/components/hangouts/strings.json b/homeassistant/components/hangouts/strings.json index bed46e823d9..0128363a1ab 100644 --- a/homeassistant/components/hangouts/strings.json +++ b/homeassistant/components/hangouts/strings.json @@ -7,7 +7,7 @@ "error": { "invalid_login": "Invalid Login, please try again.", "invalid_2fa": "Invalid 2 Factor Authentication, please try again.", - "invalid_2fa_method": "Invalid 2FA Method (Verify on Phone)." + "invalid_2fa_method": "Invalid 2FA Method (verify on Phone)." }, "step": { "user": { @@ -20,7 +20,7 @@ }, "2fa": { "data": { - "2fa": "2FA Pin" + "2fa": "2FA PIN" }, "title": "2-Factor-Authentication" } diff --git a/homeassistant/components/nest/strings.json b/homeassistant/components/nest/strings.json index 6ce529621aa..26ec49c0d75 100644 --- a/homeassistant/components/nest/strings.json +++ b/homeassistant/components/nest/strings.json @@ -17,7 +17,7 @@ }, "link": { "title": "Link Nest Account", - "description": "To link your Nest account, [authorize your account]({url}).\n\nAfter authorization, copy-paste the provided pin code below.", + "description": "To link your Nest account, [authorize your account]({url}).\n\nAfter authorization, copy-paste the provided PIN code below.", "data": { "code": "[%key:common::config_flow::data::pin%]" } diff --git a/homeassistant/components/zwave/lock.py b/homeassistant/components/zwave/lock.py index 605a64ada5d..e6228a29334 100644 --- a/homeassistant/components/zwave/lock.py +++ b/homeassistant/components/zwave/lock.py @@ -95,7 +95,7 @@ LOCK_ALARM_TYPE = { "27": "Auto re-lock", "33": "User deleted: ", "112": "Master code changed or User added: ", - "113": "Duplicate Pin-code: ", + "113": "Duplicate PIN code: ", "130": "RF module, power restored", "144": "Unlocked by NFC Tag or Card by user ", "161": "Tamper Alarm: ",