From 61eae5b105e374169fe23fbb150ce080f8f340ec Mon Sep 17 00:00:00 2001
From: Gusted <postmaster@gusted.xyz>
Date: Sat, 24 Jun 2023 13:20:23 +0200
Subject: [PATCH] [PRIVACY]: Adjust update checker description

- Resolves #323
- Adjust the description of the update check function on the
installation page to describe the privacy method instead of the HTTP
method by checking gitea.io
---
 options/locale/locale_en-US.ini | 1 +
 templates/install.tmpl          | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 7845b1d521..e776f5b1f2 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -295,6 +295,7 @@ invalid_password_algorithm = Invalid password hash algorithm
 password_algorithm_helper = Set the password hashing algorithm. Algorithms have differing requirements and strength. The argon2 algorithm is rather secure but uses a lot of memory and may be inappropriate for small systems.
 enable_update_checker = Enable Update Checker
 enable_update_checker_helper = Checks for new version releases periodically by connecting to gitea.io.
+enable_update_checker_helper_forgejo = Periodically checks for new Forgejo versions by checking a DNS TXT record at release.forgejo.org.
 
 [home]
 uname_holder = Username or Email Address
diff --git a/templates/install.tmpl b/templates/install.tmpl
index 3df4455416..1177cb3ca3 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -152,7 +152,7 @@
 							<label for="enable_update_checker">{{.locale.Tr "install.enable_update_checker"}}</label>
 							<input name="enable_update_checker" type="checkbox">
 						</div>
-						<span class="help">{{.locale.Tr "install.enable_update_checker_helper"}}</span>
+						<span class="help">{{.locale.Tr "install.enable_update_checker_helper_forgejo"}}</span>
 					</div>