[gnome-photos/gnome-3-8] Use ngettext for plural forms
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-8] Use ngettext for plural forms
- Date: Mon, 15 Apr 2013 08:11:40 +0000 (UTC)
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]