summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-25 21:37:43 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-25 22:50:03 -0400
commit5f9bcd0409d63243ef17b8be4a8c86d02e80aef0 (patch)
tree662b4d43f7a8176206fdb0197bd2ae3acf3b8c9e /gtk/gtkaccelgroup.c
parentbd3f4599edff3046260d020f3fbb22f4042c928d (diff)
downloadgtk+-5f9bcd0409d63243ef17b8be4a8c86d02e80aef0.tar.gz
accelgroup: Expand translator comment
Add details about the use of KP.
Diffstat (limited to 'gtk/gtkaccelgroup.c')
-rw-r--r--gtk/gtkaccelgroup.c5
1 files changed, 4 insertions, 1 deletions
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, " ");
}