[shotwell/shotwell-0.30] flickr: Add required note from API TOS
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/shotwell-0.30] flickr: Add required note from API TOS
- Date: Wed, 30 Jan 2019 16:40:12 +0000 (UTC)
commit 04fd443b7600a37f4690a325e6058869210a6a77
Author: Jens Georg <mail jensge org>
Date: Wed Jan 23 15:12:10 2019 +0100
flickr: Add required note from API TOS
Currently deliberately not translatable. Request to Flickr ongoing
whether it should be translated and if there is any official wording for
that.
plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala
b/plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala
index c26f89c3..5188ed61 100644
--- a/plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala
+++ b/plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala
@@ -15,6 +15,7 @@ namespace Publishing.Authenticator.Shotwell.Flickr {
internal const string SERVICE_WELCOME_MESSAGE =
_("You are not currently logged into Flickr.\n\nClick Log in to log into Flickr in your Web browser.
You will have to authorize Shotwell Connect to link to your Flickr account.");
+ internal const string SERVICE_DISCLAIMER = "<b>This product uses the Flickr API but is not endorsed or
certified by SmugMug, Inc.</b>";
internal class AuthenticationRequestTransaction : Publishing.RESTSupport.OAuth1.Transaction {
public AuthenticationRequestTransaction(Publishing.RESTSupport.OAuth1.Session session) {
@@ -109,7 +110,7 @@ namespace Publishing.Authenticator.Shotwell.Flickr {
debug("ACTION: installing login welcome pane");
host.set_service_locked(false);
- host.install_welcome_pane(SERVICE_WELCOME_MESSAGE, on_welcome_pane_login_clicked);
+ host.install_welcome_pane("%s\n\n%s".printf(SERVICE_WELCOME_MESSAGE, SERVICE_DISCLAIMER),
on_welcome_pane_login_clicked);
}
private void on_welcome_pane_login_clicked() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]