From 8c12b08718dd07e8e500c117253cfcd0d785ad7b 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

(cherry picked from commit 61eae5b105e374169fe23fbb150ce080f8f340ec)
(cherry picked from commit 8fdb43615cc6239c784d788842f9fb7b416cffb3)

Conflicts: https://codeberg.org/forgejo/forgejo/pulls/1016
	options/locale/locale_en-US.ini
---
 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 8aee3bebbc..e434226b63 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -279,6 +279,7 @@ invalid_admin_setting = Administrator account setting is invalid: %v
 invalid_log_root_path = The log path is invalid: %v
 default_keep_email_private = Hide Email Addresses by Default
 default_keep_email_private_popup = Hide email addresses of new user accounts by default.
+enable_update_checker_helper_forgejo = Periodically checks for new Forgejo versions by checking a DNS TXT record at release.forgejo.org.
 default_allow_create_organization = Allow Creation of Organizations by Default
 default_allow_create_organization_popup = Allow new user accounts to create organizations by default.
 default_enable_timetracking = Enable Time Tracking by Default
diff --git a/templates/install.tmpl b/templates/install.tmpl
index 24533e1a5c..3c0ff350ac 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -152,7 +152,7 @@
 							<label>{{.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>