[byzanz] Change _ to ngettext for plural forms



commit e1cfd76fd6cccc487a56085daa545d78c90e72aa
Author: Marek Černocký <marek manet cz>
Date:   Wed Dec 9 09:32:44 2015 +0100

    Change _ to ngettext for plural forms

 src/record.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/record.c b/src/record.c
index 4c6b06d..4c16e5d 100644
--- a/src/record.c
+++ b/src/record.c
@@ -133,7 +133,10 @@ start_recording (gpointer session)
     verbose_print (_("Recording starts. Will record until child exits...\n"));
     g_child_watch_add (pid, child_exited, session);
   } else {
-    verbose_print (_("Recording starts. Will record %d seconds...\n"), duration / 1000);
+    verbose_print (ngettext("Recording starts. Will record %d second...\n", 
+                            "Recording starts. Will record %d seconds...\n", 
+                            duration / 1000),
+                   duration / 1000);
     g_timeout_add (duration, stop_recording, session);
   }
   byzanz_session_start (session);


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