summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing-extras/GalleryConnector.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shotwell-publishing-extras/GalleryConnector.vala')
-rw-r--r--plugins/shotwell-publishing-extras/GalleryConnector.vala15
1 files changed, 9 insertions, 6 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;
}