From baad104673e07da52b9a44575ce277e61be389b1 Mon Sep 17 00:00:00 2001
From: Yoshiyuki Tabata <34849594+y-tabata@users.noreply.github.com>
Date: Thu, 6 Jan 2022 04:04:50 +0900
Subject: [PATCH] KEYCLOAK-18880 change "look ahead window" to "look around
window" (#9341)
Closes #9340
---
.../base/admin/messages/admin-messages_en.properties | 4 +++-
.../base/admin/resources/partials/otp-policy.html | 12 ++++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/themes/src/main/resources/theme/base/admin/messages/admin-messages_en.properties b/themes/src/main/resources/theme/base/admin/messages/admin-messages_en.properties
index 5ab7de7e02..1e315e5024 100644
--- a/themes/src/main/resources/theme/base/admin/messages/admin-messages_en.properties
+++ b/themes/src/main/resources/theme/base/admin/messages/admin-messages_en.properties
@@ -1332,7 +1332,9 @@ otp-hash-algorithm.tooltip=What hashing algorithm should be used to generate the
number-of-digits=Number of Digits
otp.number-of-digits.tooltip=How many digits should the OTP have?
look-ahead-window=Look Ahead Window
-otp.look-ahead-window.tooltip=How far ahead should the server look just in case the token generator and server are out of time sync or counter sync?
+otp.look-ahead-window.tooltip=How far ahead should the server look just in case the token generator and server are out of counter sync?
+look-around-window=Look Around Window
+otp.look-around-window.tooltip=How far should the server look around just in case the token generator and server are out of time sync?
initial-counter=Initial Counter
otp.initial-counter.tooltip=What should the initial counter value be?
otp-token-period=OTP Token Period
diff --git a/themes/src/main/resources/theme/base/admin/resources/partials/otp-policy.html b/themes/src/main/resources/theme/base/admin/resources/partials/otp-policy.html
index 0fdb946935..843295ce8c 100755
--- a/themes/src/main/resources/theme/base/admin/resources/partials/otp-policy.html
+++ b/themes/src/main/resources/theme/base/admin/resources/partials/otp-policy.html
@@ -41,14 +41,22 @@