[gnome-system-monitor] Multiple process actions should use ngettext (bgo #705429)



commit 30376eaef04821c54569a6168bfb8b28e3301147
Author: Robert Roth <robert roth off gmail com>
Date:   Sun Aug 4 12:12:24 2013 +0300

    Multiple process actions should use ngettext (bgo #705429)

 src/procdialogs.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/procdialogs.cpp b/src/procdialogs.cpp
index 2a1654e..493c090 100644
--- a/src/procdialogs.cpp
+++ b/src/procdialogs.cpp
@@ -88,11 +88,11 @@ procdialog_create_kill_dialog (ProcmanApp *app, int signal)
     } else {
         if (signal == SIGKILL) {
             /*xgettext: primary alert message for killing multiple processes*/
-            primary = g_strdup_printf (_("Are you sure you want to kill the %d selected processes?"),
+            primary = g_strdup_printf (ngettext("Are you sure you want to kill the selected process?", "Are 
you sure you want to kill the %d selected processes?", selected_count),
                                        selected_count);
         } else {
             /*xgettext: primary alert message for ending multiple processes*/
-            primary = g_strdup_printf (_("Are you sure you want to end the %d selected processes?"),
+            primary = g_strdup_printf (ngettext("Are you sure you want to end the selected process?", "Are 
you sure you want to end the %d selected processes?", selected_count),
                                        selected_count);
         }
     }
@@ -192,7 +192,7 @@ procdialog_create_renice_dialog (ProcmanApp *app)
         dialog_title = g_strdup_printf (_("Change Priority of Process ā€œ%sā€ (PID: %u)"),
                                         info->name, info->pid);
     } else {
-        dialog_title = g_strdup_printf (_("Change Priority of %d selected processes"),
+        dialog_title = g_strdup_printf (ngettext("Change Priority of the selected process", "Change Priority 
of %d selected processes", selected_count),
                                         selected_count);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]