git: 7e3c7de28d11 - stable/14 - tzsetup: be explicit about *timezone* abbreviation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Apr 2024 14:05:15 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=7e3c7de28d11c8e7070b492e692f45ae49bdeebb
commit 7e3c7de28d11c8e7070b492e692f45ae49bdeebb
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-03-25 20:25:23 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-04-18 14:05:01 +0000
tzsetup: be explicit about *timezone* abbreviation
During the install process tzsetup asks a question like
Does the abbreviation `EDT' look reasonable?
The installer asks lots of questions, some that relate to the previous
screen or topic and some that do not. A new user installed FreeBSD for
the first time and was confused by this question, not realizing that it
was asking whether the abbreviation is correct for the selected
timezone.
Reviewed by: bapt, brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44500
(cherry picked from commit 40b57cb616ca19aee3de104acd058da289c936bb)
---
usr.sbin/tzsetup/tzsetup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c
index f6440a0ea736..eca7358df1df 100644
--- a/usr.sbin/tzsetup/tzsetup.c
+++ b/usr.sbin/tzsetup/tzsetup.c
@@ -709,7 +709,7 @@ confirm_zone(const char *filename)
tm = localtime(&t);
snprintf(prompt, sizeof(prompt),
- "Does the abbreviation `%s' look reasonable?", tm->tm_zone);
+ "Does the timezone abbreviation `%s' look reasonable?", tm->tm_zone);
conf.title = "Confirmation";
rv = (bsddialog_yesno(&conf, prompt, 5, 72) == BSDDIALOG_YES);
return (rv);