[gnome-photos/gnome-3-8] Use ngettext for plural forms



commit 567f1cefe691ec3609693edf73b8328a51359741
Author: Khaled Hosny <khaledhosny eglug org>
Date:   Mon Apr 15 04:00:05 2013 +0200

    Use ngettext for plural forms

 src/photos-main-toolbar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index 5a76a20..6650c07 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -99,7 +99,7 @@ photos_main_toolbar_set_toolbar_title (PhotosMainToolbar *self)
           if (length == 0)
             label = g_strdup(_("Click on items to select them"));
           else
-            label = g_strdup_printf (_("%d selected"), length);
+            label = g_strdup_printf (ngettext ("%d selected", "%d selected", length), length);
 
           if (active_collection != NULL)
             {


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