FEATURE: Remove option for Google Plus sharing (#6864)

FEATURE: Remove option for Google Plus sharing (#6864)

  • Remove option for Google Plus sharing

  • remove google+ share translations

diff --git a/app/assets/javascripts/discourse/initializers/sharing-sources.js.es6 b/app/assets/javascripts/discourse/initializers/sharing-sources.js.es6
index 953aed8..b619969 100644
--- a/app/assets/javascripts/discourse/initializers/sharing-sources.js.es6
+++ b/app/assets/javascripts/discourse/initializers/sharing-sources.js.es6
@@ -36,17 +36,6 @@ export default {
     });
 
     Sharing.addSource({
-      id: "google+",
-      icon: "fab-google-plus-square",
-      title: I18n.t("share.google+"),
-      generateUrl: function(link) {
-        return "https://plus.google.com/share?url=" + encodeURIComponent(link);
-      },
-      shouldOpenInPopup: true,
-      popupHeight: 600
-    });
-
-    Sharing.addSource({
       id: "email",
       icon: "envelope-square",
       title: I18n.t("share.email"),
diff --git a/config/locales/client.ar.yml b/config/locales/client.ar.yml
index 0237414..152c644 100644
--- a/config/locales/client.ar.yml
+++ b/config/locales/client.ar.yml
@@ -180,7 +180,6 @@ ar:
       close: 'أغلق'
       twitter: 'شارك هذا الرابط علي تويتر'
       facebook: 'شارك هذا الرابط علي الفيسبوك'
-      google+: 'شارك هذا الرابط علي جوجل+'
       email: 'شارك هذا الرابط علي بريد إلكتروني'
     action_codes:
       public_topic: "أجعل هذا الموضوع عامًّا %{when}"
diff --git a/config/locales/client.bg.yml b/config/locales/client.bg.yml
index e2bd18a..4fd922a 100644
--- a/config/locales/client.bg.yml
+++ b/config/locales/client.bg.yml
@@ -108,7 +108,6 @@ bg:
       close: 'затвори'
       twitter: 'споделете тази връзка в Twitter'
       facebook: 'споделете тази връзка във Facebook'
-      google+: 'споделете тази връзка в Google+'
       email: 'изпратете тази връзка с имейл'
     action_codes:
       public_topic: "направи тази тема публична на %{when}"
diff --git a/config/locales/client.bs_BA.yml b/config/locales/client.bs_BA.yml
index 073af3c..08e6342 100644
--- a/config/locales/client.bs_BA.yml
+++ b/config/locales/client.bs_BA.yml
@@ -134,7 +134,6 @@ bs_BA:
       close: 'zatvori'
       twitter: 'podijeli link na Twitteru'
       facebook: 'podijeli link na Facebook-u'
-      google+: 'podijeli link na Google+'
       email: 'pošalji ovaj link na email'
     action_codes:
       public_topic: "postavio ovu temu kao javno %{when}"
diff --git a/config/locales/client.ca.yml b/config/locales/client.ca.yml
index 383e9d8..265b37d 100644
--- a/config/locales/client.ca.yml
+++ b/config/locales/client.ca.yml
@@ -114,7 +114,6 @@ ca:
       close: 'tanca'
       twitter: 'comparteix aquest enllaç a Twitter'
       facebook: 'comparteix aquest enllaç a Facebook'
-      google+: 'comparteix aquest enllaç a Google+'
       email: 'envia aquest enllaç per correu electrònic'
     action_codes:
       public_topic: "va fer públic aquest tema %{when}"
diff --git a/config/locales/client.cs.yml b/config/locales/client.cs.yml
index ef8d318..58a2dd6 100644
--- a/config/locales/client.cs.yml
+++ b/config/locales/client.cs.yml
@@ -154,7 +154,6 @@ cs:
       close: 'zavřít'
       twitter: 'sdílet odkaz na Twitteru'
       facebook: 'sdílet odkaz na Facebooku'
-      google+: 'sdílet odkaz na Google+'
       email: 'odeslat odkaz emailem'
     action_codes:
       public_topic: "Téma zveřejněno %{when}"
diff --git a/config/locales/client.da.yml b/config/locales/client.da.yml
index e175842..9289eb1 100644
--- a/config/locales/client.da.yml
+++ b/config/locales/client.da.yml
@@ -108,7 +108,6 @@ da:
       close: 'luk'
       twitter: 'del dette link på Twitter'
       facebook: 'del dette link på Facebook'
-      google+: 'del dette link på Google+'
       email: 'send dette link i en e-mail'
     action_codes:
       public_topic: "offentliggjorde dette emne %{when}"
diff --git a/config/locales/client.de.yml b/config/locales/client.de.yml
index c015825..f3f0046 100644
--- a/config/locales/client.de.yml
+++ b/config/locales/client.de.yml
@@ -114,7 +114,6 @@ de:
       close: 'Schließen'
       twitter: 'diesen Link auf Twitter teilen'
       facebook: 'diesen Link auf Facebook teilen'
-      google+: 'diesen Link auf Google+ teilen'
       email: 'diesen Link per E-Mail senden'
     action_codes:
       public_topic: "hat das Thema öffentlich gemacht, %{when}"
diff --git a/config/locales/client.el.yml b/config/locales/client.el.yml
index 321f093..a0b783d 100644
--- a/config/locales/client.el.yml
+++ b/config/locales/client.el.yml
@@ -114,7 +114,6 @@ el:
       close: 'κλείσιμο'
       twitter: 'κοινοποίησε τον σύνδεσμο στο Twitter'
       facebook: 'κοινοποίησε τον σύνδεσμο στο Facebook'
-      google+: 'κοινοποίησε τον σύνδεσμο στο Google+'
       email: 'στείλε αυτόν τον σύνδεσμο με email'
     action_codes:
       public_topic: "έκανε το νήμα δημόσιο στις %{when}"
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 979520d..ba301a6 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -140,7 +140,6 @@ en:
       close: 'close'
       twitter: 'share this link on Twitter'
       facebook: 'share this link on Facebook'
-      google+: 'share this link on Google+'
       email: 'send this link in an email'
 
     action_codes:
diff --git a/config/locales/client.es.yml b/config/locales/client.es.yml
index bfbdd17..25fff72 100644
--- a/config/locales/client.es.yml
+++ b/config/locales/client.es.yml
@@ -114,7 +114,6 @@ es:
       close: 'cerrar'
       twitter: 'comparte este enlace en Twitter'
       facebook: 'comparte este enlace en Facebook'
-      google+: 'comparte este enlace en Google+'
       email: 'comparte este enlace por email'
     action_codes:
       public_topic: "hizo este tema público %{when}"
diff --git a/config/locales/client.et.yml b/config/locales/client.et.yml
index deb744b..219912e 100644
--- a/config/locales/client.et.yml
+++ b/config/locales/client.et.yml
@@ -114,7 +114,6 @@ et:
       close: 'Sulge'
       twitter: 'Jaga seda viidet Twitteris'
       facebook: 'jaga seda viidet Facebookis'
-      google+: 'jaga seda viidet Google-plussis'
       email: 'Jaga viidet meiliga'
     action_codes:
       public_topic: "muutsin selle teema avalikuks %{when}"
diff --git a/config/locales/client.fa_IR.yml b/config/locales/client.fa_IR.yml
index b323fa4..727ad34 100644
--- a/config/locales/client.fa_IR.yml
+++ b/config/locales/client.fa_IR.yml
@@ -114,7 +114,6 @@ fa_IR:
       close: 'بسته'
       twitter: 'این پیوند را در توییتر به اشتراک بگذارید.'
       facebook: 'این پیوند را در فیسبوک به اشتراک بگذارید.'
-      google+: 'این پیوند را در Google+‎ به اشتراک بگذارید.'
       email: 'این پیوند را با ایمیل بفرستید'
     action_codes:
       public_topic: "این موضوع در %{when}  عمومی شده"
diff --git a/config/locales/client.fi.yml b/config/locales/client.fi.yml
index 3dc3919..c582650 100644
--- a/config/locales/client.fi.yml
+++ b/config/locales/client.fi.yml
@@ -114,7 +114,6 @@ fi:
       close: 'sulje'
       twitter: 'jaa tämä linkki Twitterissä'
       facebook: 'jaa tämä linkki Facebookissa'
-      google+: 'jaa tämä linkki Google+:ssa'
       email: 'lähetä tämä linkki sähköpostissa'
     action_codes:
       public_topic: "teki ketjusta julkisen %{when}"
diff --git a/config/locales/client.fr.yml b/config/locales/client.fr.yml
index ddbca91..8982b8c 100644
--- a/config/locales/client.fr.yml
+++ b/config/locales/client.fr.yml
@@ -114,7 +114,6 @@ fr:
       close: 'fermer'
       twitter: 'partager ce lien sur Twitter'
       facebook: 'partager ce lien sur Facebook'
-      google+: 'partager ce lien sur Google+'
       email: 'envoyer ce lien dans un courriel'
     action_codes:
       public_topic: "a rendu ce sujet public %{when}"
diff --git a/config/locales/client.gl.yml b/config/locales/client.gl.yml
index 43f11e8..8fcdb1c 100644
--- a/config/locales/client.gl.yml
+++ b/config/locales/client.gl.yml
@@ -108,7 +108,6 @@ gl:
       close: 'pechar'
       twitter: 'compartir esta ligazón no Twitter'
       facebook: 'compartir esta ligazón no Facebook'
-      google+: 'compartir esta ligazón no Google+'

[... diff too long, it was truncated ...]

GitHub sha: 27488225

A bug is not a feature ;oP

FIX: Remove google+ from share_links site setting