[gnome-builder] project-tree: fix string usage for notification body



commit 51dbb4c274d5996e0e285490d007fc12c8d31e95
Author: Christian Hergert <chergert redhat com>
Date:   Fri Mar 1 10:17:03 2019 -0800

    project-tree: fix string usage for notification body
    
    Fixes #774

 src/plugins/project-tree/gbp-project-tree-addin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/project-tree/gbp-project-tree-addin.c 
b/src/plugins/project-tree/gbp-project-tree-addin.c
index 8e9a673ee..4e2018302 100644
--- a/src/plugins/project-tree/gbp-project-tree-addin.c
+++ b/src/plugins/project-tree/gbp-project-tree-addin.c
@@ -723,7 +723,7 @@ gbp_project_tree_addin_transfer_cb (GObject      *object,
       dzl_file_transfer_stat (transfer, &stbuf);
       g_snprintf (count, sizeof count, "%"G_GINT64_FORMAT, stbuf.n_files_total);
       format = g_strdup_printf (ngettext ("Copied %s file", "Copied %s files", stbuf.n_files_total), count);
-      ide_notification_set_body (notif, _("Copied 1 file"));
+      ide_notification_set_body (notif, format);
 
       sources = g_object_get_data (G_OBJECT (task), "SOURCE_FILES");
 


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