[shotwell] Split string in Gallery connector: Bug #736634



commit 229affac398704ee5376fa54203a193c79fd36dd
Author: Jim Nelson <jim yorba org>
Date:   Thu Sep 25 14:48:31 2014 -0700

    Split string in Gallery connector: Bug #736634

 .../GalleryConnector.vala                          |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plugins/shotwell-publishing-extras/GalleryConnector.vala 
b/plugins/shotwell-publishing-extras/GalleryConnector.vala
index 682aff0..8350d14 100644
--- a/plugins/shotwell-publishing-extras/GalleryConnector.vala
+++ b/plugins/shotwell-publishing-extras/GalleryConnector.vala
@@ -1019,9 +1019,10 @@ public class GalleryPublisher : Spit.Publishing.Publisher, GLib.Object {
             warning("Could not parse UI file! Error: %s.", e.message);
             host.post_error(
                 new Spit.Publishing.PublishingError.LOCAL_FILE_ERROR(
-                    _("A file required for publishing is " +
-                        "unavailable. Publishing to " + SERVICE_NAME +
-                        " can't continue.")));
+                    _("A file required for publishing is unavailable. Publishing to %s can't continue.")
+                        .printf(SERVICE_NAME)
+                )
+            );
             return;
         }
 


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