nano

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

commit 58cba6a7c68272555e1477433a86bd8a2ed8cb01
parent b55474788bd43fa21f48bcda665a36adc5e55589
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu,  2 Dec 2021 11:02:56 +0100

tweaks: move a translator hint to where xgettext will see it

A translator hint needs to be placed on the line directly before
the relevant string.

Diffstat:
Msrc/nano.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nano.c b/src/nano.c @@ -1284,8 +1284,8 @@ void unbound_key(int code) * (from the keyboard) that nano does not recognize. */ statusline(AHEM, _("Unknown sequence")); #ifndef NANO_TINY - /* TRANSLATORS: This refers to an unbound function key. */ else if (code > KEY_F0 && code < KEY_F0 + 25) + /* TRANSLATORS: This refers to an unbound function key. */ statusline(AHEM, _("Unbound key: F%i"), code - KEY_F0); #endif else if (code > 0x7F)