From 58cba6a7c68272555e1477433a86bd8a2ed8cb01 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 2 Dec 2021 11:02:56 +0100 Subject: [PATCH] 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. --- src/nano.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index 441a2e4e..2ca30973 100644 --- 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)