nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 4b26308b6ae1f22cb8782a711ec28ed0fddf55c5
parent f5eeb92f40c6cc95b755d60baa476861716092a7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 13 May 2018 09:56:12 +0200

tweaks: put Yes/No/All in a consistent order (for the translators)

So that it matches the order of the preceding Yy/Nn/Aa.

Diffstat:
Msrc/prompt.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/prompt.c b/src/prompt.c @@ -696,16 +696,16 @@ int do_yesno_prompt(bool all, const char *msg) wmove(bottomwin, 1, 0); post_one_key(shortstr, _("Yes"), width); + shortstr[1] = nostr[0]; + wmove(bottomwin, 2, 0); + post_one_key(shortstr, _("No"), width); + if (all) { shortstr[1] = allstr[0]; wmove(bottomwin, 1, width); post_one_key(shortstr, _("All"), width); } - shortstr[1] = nostr[0]; - wmove(bottomwin, 2, 0); - post_one_key(shortstr, _("No"), width); - wmove(bottomwin, 2, width); post_one_key("^C", _("Cancel"), width); }