[rygel] core: Correctly handle string involving plurals



commit 90095419cf0852e47367b954a1e4825dae8a01b6
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Aug 11 17:37:02 2010 +0300

    core: Correctly handle string involving plurals

 src/rygel/rygel-main.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index f41b5c2..10d4ffe 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -77,7 +77,9 @@ public class Rygel.Main : Object {
 
         Timeout.add_seconds (PLUGIN_TIMEOUT, () => {
             if (this.plugin_loader.list_plugins ().size == 0) {
-                warning (_("No plugins found in %d seconds, giving up.."),
+                warning (ngettext ("No plugins found in %d second, giving up..",
+                                   "No plugins found in %d seconds, giving up..",
+                                   PLUGIN_TIMEOUT),
                          PLUGIN_TIMEOUT);
 
                 this.exit (-82);



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