Przeglądaj źródła

Warn about browser plugins if PeerConnection fails (#46)

Danilo Bargen 8 lat temu
rodzic
commit
51f14fbdc4
3 zmienionych plików z 14 dodań i 2 usunięć
  1. 3 1
      public/i18n/de.json
  2. 3 1
      public/i18n/en.json
  3. 8 0
      src/partials/welcome.html

+ 3 - 1
public/i18n/de.json

@@ -45,7 +45,9 @@
         "APP_STARTED": "Ist die Threema-App gestartet?",
         "SESSION_DELETED": "Wurde diese Sitzung in der Threema-App gelöscht?",
         "PHONE_ONLINE": "Ist Ihr Mobilgerät mit dem Internet verbunden?",
-        "WEBCLIENT_ENABLED": "Ist Threema Web in der Threema-App aktiviert?"
+        "WEBCLIENT_ENABLED": "Ist Threema Web in der Threema-App aktiviert?",
+        "PLUGIN": "Ist in Ihrem Browser ein Plugin zum Blockieren von WebRTC installiert?",
+        "ADBLOCKER": "Ist in Ihrem Browser ein Ad-Blocker installiert?"
     },
     "common": {
         "YES": "Ja",

+ 3 - 1
public/i18n/en.json

@@ -46,7 +46,9 @@
         "APP_STARTED": "Is the Threema app started?",
         "SESSION_DELETED": "Did you delete this session on your phone?",
         "PHONE_ONLINE": "Is your phone connected to the internet?",
-        "WEBCLIENT_ENABLED": "Is Threema Web enabled in the Threema app?"
+        "WEBCLIENT_ENABLED": "Is Threema Web enabled in the Threema app?",
+        "PLUGIN": "Is a privacy plugin installed in your browser which blocks WebRTC communication?",
+        "ADBLOCKER": "Do you use an ad blocker which also blocks WebRTC communication?"
     },
     "common": {
         "YES": "Yes",

+ 8 - 0
src/partials/welcome.html

@@ -73,6 +73,14 @@
                                 <i class="material-icons md-dark md-14">help</i>
                                 <span translate>troubleshooting.SESSION_DELETED</span>
                             </li>
+                            <li ng-if="ctrl.state === 'peer_handshake'">
+                                <i class="material-icons md-dark md-14">help</i>
+                                <span translate>troubleshooting.PLUGIN</span>
+                            </li>
+                            <li ng-if="ctrl.state === 'peer_handshake'">
+                                <i class="material-icons md-dark md-14">help</i>
+                                <span translate>troubleshooting.ADBLOCKER</span>
+                            </li>
                         </ul>
                         <p class="forget" ng-if="ctrl.state === 'push'">
                             <span translate>welcome.IF_YOU_WANT</span>