[gnome-boxes/gnome-3-22] selection-toolbar: Fix printf format string



commit 15bfe9133f9d7ad74b54e45a7af9c8c0d7a78b42
Author: Jürg Billeter <j bitron ch>
Date:   Tue Nov 1 20:00:17 2016 +0100

    selection-toolbar: Fix printf format string

 src/selection-toolbar.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/selection-toolbar.vala b/src/selection-toolbar.vala
index b258047..261991f 100644
--- a/src/selection-toolbar.vala
+++ b/src/selection-toolbar.vala
@@ -43,7 +43,7 @@ private class Boxes.SelectionToolbar: HeaderBar {
         if (items > 0) {
             // This goes with the "Click on items to select them" string and is about selection of items 
(boxes)
             // when the main collection view is in selection mode.
-            menu_button_label.label = ngettext ("%d selected", "%d selected", items).printf (items);
+            menu_button_label.label = ngettext ("%u selected", "%u selected", items).printf (items);
         } else {
             menu_button_label.label = _("(Click on items to select them)");
         }


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