From 6c448ae37ee9b7d8dec529c9fef2c5a2201d4b97 Mon Sep 17 00:00:00 2001
From: 0ko <0ko@noreply.codeberg.org>
Date: Thu, 12 Sep 2024 15:13:15 +0000
Subject: [PATCH] fix(email): add missing string for password reset email
 (#5305)

Fixes https://codeberg.org/forgejo/forgejo/issues/5293.

`mail.reset_password.text` has been deleted unintentionally in https://codeberg.org/forgejo/forgejo/commit/4383da91bdd6979f40730638fe6bbbeb9216765c#diff-05e7a0ff464b6cb2ab45b456433c872221d1f06a, however, it is still used in email template: https://codeberg.org/forgejo/forgejo/src/commit/fbbaecf25a0b4442bd1b8860b5a0c46583e2cbf0/templates/mail/auth/reset_passwd.tmpl#L11

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5305
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
---
 options/locale/locale_en-US.ini | 1 +
 1 file changed, 1 insertion(+)

diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 5f1d95b02a..1631c90ba2 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -497,6 +497,7 @@ register_notify.text_2 = You can sign into your account using your username: %s
 register_notify.text_3 = If someone else made this account for you, you will need to <a href="%s">set your password</a> first.
 
 reset_password = Recover your account
+reset_password.text = If this was you, please click the following link to recover your account within <b>%s</b>:
 
 password_change.subject = Your password has been changed
 password_change.text_1 = The password for your account was just changed.