From: Thomas Weißschuh Date: Sun, 19 Feb 2023 16:09:43 +0000 (+0000) Subject: fdisk: document expected answers to quit message X-Git-Tag: v2.39-rc1~67^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5e94c1113ea367ecd58829c9568401e9da5d1e5;p=thirdparty%2Futil-linux.git fdisk: document expected answers to quit message Signed-off-by: Thomas Weißschuh --- 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;