[shotwell] Fix split string in Gallery web connector: Bug #744539



commit 961f3d1fec14691675ef686d6af6165e07658867
Author: Jim Nelson <jim yorba org>
Date:   Tue Feb 17 11:49:02 2015 -0800

    Fix split string in Gallery web connector: Bug #744539

 .../GalleryConnector.vala                          |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/plugins/shotwell-publishing-extras/GalleryConnector.vala 
b/plugins/shotwell-publishing-extras/GalleryConnector.vala
index 8350d14..6eb5a3a 100644
--- a/plugins/shotwell-publishing-extras/GalleryConnector.vala
+++ b/plugins/shotwell-publishing-extras/GalleryConnector.vala
@@ -1772,9 +1772,11 @@ internal class CredentialsPane : Spit.Publishing.DialogPane, 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]