From a5e94c1113ea367ecd58829c9568401e9da5d1e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sun, 19 Feb 2023 16:09:43 +0000 Subject: [PATCH] fdisk: document expected answers to quit message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Weißschuh --- disk-utils/fdisk-menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/disk-utils/fdisk-menu.c b/disk-utils/fdisk-menu.c index b41754b565..52282dde61 100644 --- a/disk-utils/fdisk-menu.c +++ b/disk-utils/fdisk-menu.c @@ -433,8 +433,10 @@ int process_fdisk_menu(struct fdisk_context **cxt0) /* Map ^C and ^D in main menu to 'q' */ if (is_interactive && fdisk_label_is_changed(fdisk_get_label(cxt, NULL))) { + /* TRANSLATORS: these yes no questions use rpmatch(), + * and should be translated. */ rc = get_user_reply( - _("\nAll unwritten changes will be lost, do you really want to quit? "), + _("\nAll unwritten changes will be lost, do you really want to quit? (y/n)"), buf, sizeof(buf)); if (rc || !rpmatch(buf)) return 0; -- 2.47.2