summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing-extras
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shotwell-publishing-extras')
-rw-r--r--plugins/shotwell-publishing-extras/GalleryConnector.vala15
-rw-r--r--plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala2
2 files changed, 10 insertions, 7 deletions
diff --git a/plugins/shotwell-publishing-extras/GalleryConnector.vala b/plugins/shotwell-publishing-extras/GalleryConnector.vala
index 682aff0..6eb5a3a 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;
}
@@ -1771,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;
}
diff --git a/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala b/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala
index c5e32ee..24f7ea2 100644
--- a/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala
+++ b/plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala
@@ -1,4 +1,4 @@
-/* Copyright 2011-2014 Yorba Foundation
+/* Copyright 2011-2015 Yorba Foundation
*
* This software is licensed under the GNU Lesser General Public License
* (version 2.1 or later). See the COPYING file in this distribution.