From 5f9bcd0409d63243ef17b8be4a8c86d02e80aef0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 25 May 2020 21:37:43 -0400 Subject: [PATCH] accelgroup: Expand translator comment Add details about the use of KP. --- gtk/gtkaccelgroup.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c index e551505e19..2a861d23d6 100644 --- a/gtk/gtkaccelgroup.c +++ b/gtk/gtkaccelgroup.c @@ -933,7 +933,10 @@ gtk_accelerator_print_label (GString *gstring, if (accelerator_key >= GDK_KEY_KP_Space && accelerator_key <= GDK_KEY_KP_Equal) { - /* Translators: "KP" means "numeric key pad" */ + /* Translators: "KP" means "numeric key pad". This string will + * be used in accelerators such as "Ctrl+Shift+KP 1" in menus, + * and therefore the translation needs to be very short. + */ g_string_append (gstring, C_("keyboard label", "KP")); g_string_append (gstring, " "); }