From 67efcc462b9504c9b1731bdf9bafc7ca9867468a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20=C4=8Cernock=C3=BD?= Date: Tue, 3 May 2016 11:31:22 +0200 Subject: [PATCH] Fix handling plural forms https://bugzilla.gnome.org/show_bug.cgi?id=765929 --- lib/sp-profiler-menu-button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sp-profiler-menu-button.c b/lib/sp-profiler-menu-button.c index 288104ff..a8e695fc 100644 --- a/lib/sp-profiler-menu-button.c +++ b/lib/sp-profiler-menu-button.c @@ -137,7 +137,7 @@ sp_profiler_menu_button_update_label (SpProfilerMenuButton *self) return; } - str = g_strdup_printf (_("%u Processes"), n_pids); + str = g_strdup_printf (ngettext("%u Process", "%u Processes", n_pids), n_pids); gtk_label_set_label (priv->label, str); }