[grilo-plugins] dleyna: Do not use format constant



commit 07866a4d74f74a839992d05e68a9cc55d6c0bbd4
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Mon Jul 14 08:44:29 2014 +0000

    dleyna: Do not use format constant
    
    Make life easier for translators.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732016

 src/dleyna/grl-dleyna-source.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/dleyna/grl-dleyna-source.c b/src/dleyna/grl-dleyna-source.c
index 98c2ecb..2e43db0 100644
--- a/src/dleyna/grl-dleyna-source.c
+++ b/src/dleyna/grl-dleyna-source.c
@@ -377,8 +377,10 @@ grl_dleyna_source_store_upload_update_cb (GrlDleynaSource      *self,
 
   if (!g_str_equal (upload_status, "COMPLETED")) {
     error = g_error_new (GRL_CORE_ERROR, GRL_CORE_ERROR_STORE_FAILED,
-                          _("Upload failed, '%s', transferred %"G_GUINT64_FORMAT" bytes of 
%"G_GUINT64_FORMAT" bytes"),
-                          upload_status, length, total);
+                          _("Upload failed, '%s', transferred %lu of %lu bytes"),
+                          upload_status,
+                          (long unsigned int) length,
+                          (long unsigned int) total);
     GRL_WARNING ("%s error:%s", G_STRFUNC, error->message);
   }
 


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