From 3671c58b39fde0f1f2f8bb32cfe9b46700d55b30 Mon Sep 17 00:00:00 2001
From: Klaus Quibeldey-Cirkel <klaus-dieter.quibeldey-cirkel@mni.thm.de>
Date: Fri, 20 Aug 2021 11:51:24 +0200
Subject: [PATCH] do not offer onboarding tour for Safari

---
 src/app/components/shared/header/header.component.html | 2 +-
 src/assets/i18n/home/de.json                           | 6 +++---
 src/assets/i18n/home/en.json                           | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/app/components/shared/header/header.component.html b/src/app/components/shared/header/header.component.html
index 0e259e40f..cff82d13f 100644
--- a/src/app/components/shared/header/header.component.html
+++ b/src/app/components/shared/header/header.component.html
@@ -14,7 +14,7 @@
             mat-button
             aria-labelledby="tour-label"
             class="focus_button"
-            *ngIf="router.url.endsWith('/home')"
+            *ngIf="router.url.endsWith('/home') && isSafari === 'false'"
             (click)="startTour()">
       <mat-icon class="header-icons">flag</mat-icon>
       <span *ngIf="deviceType === 'desktop'">
diff --git a/src/assets/i18n/home/de.json b/src/assets/i18n/home/de.json
index a4fe29b45..0e7840db9 100644
--- a/src/assets/i18n/home/de.json
+++ b/src/assets/i18n/home/de.json
@@ -146,10 +146,10 @@
     "only-numbers": "Der Raum-Code ist alphanumerisch.",
     "please-enter": "Raum-Code eingeben",
     "room-name-input": "Gib hier den Namen der Sitzung ein, die du erstellen möchtest.",
-    "session-id": "Welcher Raum?",
+    "session-id": "Raum-Code …",
     "join-room": "Teilnehmen",
     "update-available": "Eine neue Version ist verfügbar.",
-    "custom-shortid": "Raum-Code selbst bestimmen",
+    "custom-shortid": "Raum-Code festlegen",
     "custom-shortid-placeholder": "Code aus: a-z, A-Z, 0-9, - , _ , . , ~ ",
     "invalid-shortid": "Der eingegebene Raum-Code ist nicht verfügbar.",
     "invalid-char-shortid": "Der Raum-Code enthält unzulässige Zeichen."
@@ -176,7 +176,7 @@
     "loginButtonHeaderTitle": "Muss ich mich registrieren?",
     "roomJoin": "Gib hier den Zugangscode für den Raum ein, um an der Veranstaltung teilzunehmen.",
     "roomJoinTitle": "Veranstaltung besuchen",
-    "createRoom": "Jeder kann einen Raum für eine Veranstaltung erstellen. Der Zugangscode wird entweder generiert oder du bestimmst ihn selbst.",
+    "createRoom": "Jeder kann einen Raum für eine Veranstaltung erstellen. Der Zugangscode wird entweder generiert oder du bestimmst ihn selbst. Bedenke, ohne Registrierung existiert der Raum mit allen Daten nur in diesem Browser.",
     "createRoomTitle": "Raum erstellen",
     "introduction": "Wenn du eigene Räume erstellen willst, dann informiere dich hier über das didaktische Konzept und die Einsatz-Szenarien von »frag.jetzt«.",
     "introductionTitle": "Einführung in »frag.jetzt«",
diff --git a/src/assets/i18n/home/en.json b/src/assets/i18n/home/en.json
index 6c95f7d8b..f7f50a126 100644
--- a/src/assets/i18n/home/en.json
+++ b/src/assets/i18n/home/en.json
@@ -133,7 +133,7 @@
     "only-numbers": "The key code is alphanumeric.",
     "please-enter": "Enter key code",
     "room-name-input": "Enter the name of the session you want to create.",
-    "session-id": "Which room?",
+    "session-id": "Key code …",
     "join-room": "Join meeting",
     "update-available": "An update is available.",
     "custom-shortid": "Set key code yourself",
@@ -177,7 +177,7 @@
     "loginButtonHeaderTitle": "Do I have to register?",
     "roomJoin": "Enter the access code for the room where the event you want to attend is taking place.",
     "roomJoinTitle": "Join an event",
-    "createRoom": "Everyone can create a room for an event. The access code is either generated or you determine it yourself.",
+    "createRoom": "Anyone can create a room for an event. The access code is either generated or you determine it yourself. Bear in mind that without registration, the room and all its data will only exist in this browser.",
     "createRoomTitle": "Create a room",
     "introduction": "If you want to create your own rooms, then find out about the didactic concept and the usage scenarios of »frag.jetzt«.",
     "introductionTitle": "Introduction to »frag.jetzt«",
-- 
GitLab