[nemiver/gtk2-branch] 659462 Handle plural form of a string



commit 7cdb67b4800c391c66fb87a01fd322ffc1d20fb9
Author: Fabien Parent <parent f gmail com>
Date:   Wed Oct 19 17:50:54 2011 +0200

    659462 Handle plural form of a string
    
    	* src/persp/dbgperspective/nmv-call-stack.cc
    	(CallStack::Priv::append_frames_to_tree_view): Handle plural form
    	of a string

 src/persp/dbgperspective/nmv-call-stack.cc |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-call-stack.cc b/src/persp/dbgperspective/nmv-call-stack.cc
index e8ef2d4..38bdb3c 100644
--- a/src/persp/dbgperspective/nmv-call-stack.cc
+++ b/src/persp/dbgperspective/nmv-call-stack.cc
@@ -720,8 +720,11 @@ struct CallStack::Priv {
         if (a_frames.size () >= nb_frames_expansion_chunk) {
             store_iter = store->append ();
             UString msg;
-            msg.printf (_("(Click here to see the next %d rows of the "
-                          "call stack)"),
+            msg.printf (ngettext ("(Click here to see the next %d row of the "
+                                  "call stack",
+                                  "(Click here to see the next %d rows of the "
+                                  "call stack)",
+                                  nb_frames_expansion_chunk),
                         nb_frames_expansion_chunk);
             (*store_iter)[columns ().frame_index_caption] = "...";
             (*store_iter)[columns ().location] = msg;



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