[sysprof] Fix handling plural forms
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] Fix handling plural forms
- Date: Tue, 3 May 2016 09:42:50 +0000 (UTC)
commit 67efcc462b9504c9b1731bdf9bafc7ca9867468a
Author: Marek Černocký <marek manet cz>
Date: Tue May 3 11:31:22 2016 +0200
Fix handling plural forms
https://bugzilla.gnome.org/show_bug.cgi?id=765929
lib/sp-profiler-menu-button.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/sp-profiler-menu-button.c b/lib/sp-profiler-menu-button.c
index 288104f..a8e695f 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]