From b719e99e1b4247dc036e38f53624e744a5c77f94 Mon Sep 17 00:00:00 2001
From: Klaus Quibeldey-Cirkel <klaus.quibeldey-cirkel@mni.thm.de>
Date: Sat, 11 Sep 2021 10:31:44 +0200
Subject: [PATCH] shorten button labels for better responsive desugn

---
 .../_dialogs/deep-ldialog/deep-ldialog.component.scss     | 4 ++--
 .../_dialogs/spacy-dialog/spacy-dialog.component.scss     | 4 ++--
 .../topic-cloud-filter/topic-cloud-filter.component.scss  | 4 ++--
 .../shared/write-comment/write-comment.component.scss     | 5 ++---
 src/assets/i18n/creator/de.json                           | 2 +-
 src/assets/i18n/home/de.json                              | 4 ++--
 src/assets/i18n/home/en.json                              | 8 ++++----
 src/assets/i18n/participant/de.json                       | 2 +-
 8 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/src/app/components/shared/_dialogs/deep-ldialog/deep-ldialog.component.scss b/src/app/components/shared/_dialogs/deep-ldialog/deep-ldialog.component.scss
index d64765c9e..f9db8f1d8 100644
--- a/src/app/components/shared/_dialogs/deep-ldialog/deep-ldialog.component.scss
+++ b/src/app/components/shared/_dialogs/deep-ldialog/deep-ldialog.component.scss
@@ -24,8 +24,8 @@
 }
 
 .help-button {
-  background-color: var(--primary);
-  color: var(--on-primary);
+  background-color: var(--secondary);
+  color: var(--on-secondary);
   margin-top: 1rem;
 
   .mat-icon {
diff --git a/src/app/components/shared/_dialogs/spacy-dialog/spacy-dialog.component.scss b/src/app/components/shared/_dialogs/spacy-dialog/spacy-dialog.component.scss
index 23f0ad3d2..1597e65d5 100644
--- a/src/app/components/shared/_dialogs/spacy-dialog/spacy-dialog.component.scss
+++ b/src/app/components/shared/_dialogs/spacy-dialog/spacy-dialog.component.scss
@@ -140,8 +140,8 @@
 }
 
 .help-button {
-  background-color: var(--primary);
-  color: var(--on-primary);
+  background-color: var(--secondary);
+  color: var(--on-secondary);
   margin-top: 1rem;
 
   .mat-icon {
diff --git a/src/app/components/shared/_dialogs/topic-cloud-filter/topic-cloud-filter.component.scss b/src/app/components/shared/_dialogs/topic-cloud-filter/topic-cloud-filter.component.scss
index 083fb7904..37a168110 100644
--- a/src/app/components/shared/_dialogs/topic-cloud-filter/topic-cloud-filter.component.scss
+++ b/src/app/components/shared/_dialogs/topic-cloud-filter/topic-cloud-filter.component.scss
@@ -51,8 +51,8 @@ mat-radio-group {
 }
 
 .help-button {
-  background-color: var(--primary);
-  color: var(--on-primary);
+  background-color: var(--secondary);
+  color: var(--on-secondary);
   margin-top: 1rem;
 
   .mat-icon {
diff --git a/src/app/components/shared/write-comment/write-comment.component.scss b/src/app/components/shared/write-comment/write-comment.component.scss
index a54b280fe..cdbad1813 100644
--- a/src/app/components/shared/write-comment/write-comment.component.scss
+++ b/src/app/components/shared/write-comment/write-comment.component.scss
@@ -14,10 +14,9 @@ button {
 }
 
 .spell-button {
-  background-color: var(--primary);
-  color: var(--on-primary);
+  background-color: var(--secondary);
+  color: var(--on-secondary);
   margin-top: 1rem;
-  animation: shake 1.5s;
 }
 
 .spellcheck {
diff --git a/src/assets/i18n/creator/de.json b/src/assets/i18n/creator/de.json
index 786b6d0fb..32db47992 100644
--- a/src/assets/i18n/creator/de.json
+++ b/src/assets/i18n/creator/de.json
@@ -243,7 +243,7 @@
     "option-improved": "KI-Vorschlag:"
   },
   "explanation": {
-    "label": "Erklärung",
+    "label": "Warum?",
     "close": "Schließen",
     "deepl": "## Text optimieren \n\nUm deine Frage optimal lesbar und verständlich zu präsentieren, lassen wir sie mit dem KI-Übersetzungsprogramm [DeepL](https://www.deepl.com/translator) ins Englische und zurück ins Deutsche übersetzen. \n\nDie Rückübersetzung ist in fast allen Fällen besser als das Original in Bezug auf Rechtschreibung, Grammatik, Interpunktion und Sprachstil.",
     "spacy": "## Stichwörter \n\nMittels NLP (Natural Language Processing) wird deine Frage grammatikalisch analysiert. Die erkannten Substantive werden in ihre Grundform gebracht, d. h. lemmatisiert, und dir als Stichwörter vorgeschlagen. Für die Textanalyse verwenden wir die freie NLP-Software [spaCy](https://spacy.io/). \n\nDie Stichwörter können verwendet werden, um die Liste der Fragen zu filtern oder um eine Wortwolke zu erstellen.",
diff --git a/src/assets/i18n/home/de.json b/src/assets/i18n/home/de.json
index 0c5f12572..77d9300d0 100644
--- a/src/assets/i18n/home/de.json
+++ b/src/assets/i18n/home/de.json
@@ -57,10 +57,10 @@
     "tag-cloud-questions-current-filtered": "Fragenliste",
     "tag-cloud-questions-brainstorming": "Fragen, die ab jetzt gestellt werden (Brainstorming)",
     "tag-cloud-questions-brainstorming-short": "Brainstorming",
-    "tag-cloud-create": "Anzeigen"
+    "tag-cloud-create": "Weiter"
   },
   "explanation": {
-    "label": "Erklärung",
+    "label": "Warum?",
     "close": "Schließen",
     "deepl": "## Text optimieren \n\nUm deine Frage optimal lesbar und verständlich zu präsentieren, lassen wir sie mit dem KI-Übersetzungsprogramm [DeepL](https://www.deepl.com/translator) ins Englische und zurück ins Deutsche übersetzen. \n\nDie Rückübersetzung ist in fast allen Fällen besser als das Original in Bezug auf Rechtschreibung, Grammatik, Interpunktion und Sprachstil.",
     "spacy": "## Stichwörter \n\nMittels NLP (Natural Language Processing) wird deine Frage grammatikalisch analysiert. Die erkannten Substantive werden in ihre Grundform gebracht, d. h. lemmatisiert, und dir als Stichwörter vorgeschlagen. Für die Textanalyse verwenden wir die freie NLP-Software [spaCy](https://spacy.io/). \n\nDie Stichwörter können verwendet werden, um die Liste der Fragen zu filtern oder um eine Wortwolke zu erstellen.",
diff --git a/src/assets/i18n/home/en.json b/src/assets/i18n/home/en.json
index be91bb5d9..2bb8b409a 100644
--- a/src/assets/i18n/home/en.json
+++ b/src/assets/i18n/home/en.json
@@ -47,7 +47,7 @@
     "motd-mark-read": "Mark as read"
   },
   "explanation": {
-    "label": "Explanation",
+    "label": "Explain",
     "close": "Close",
     "deepl": "## Text optimization\n\nTo make your question as readable and understandable as possible, we have it translated into English and back into German using the translation program [DeepL] (https://www.deepl.com/translator). \n\nThe back translation is in almost all cases better than the original in terms of spelling, grammar, punctuation and language style.",
     "spacy": "## Text analysis\n\nUsing NLP (Natural Language Processing) your question will be analyzed grammatically. The recognized nouns are put into their basic form, i.e. lemmatized, and suggested to you as keywords. For the text analysis we use the free NLP software [spaCy] (https://spacy.io/). \n\nThe keywords can be used to filter the list of questions or to create a word cloud.",
@@ -156,11 +156,11 @@
     "tag-cloud-info": "The word cloud in »frag.jetzt« serves as a semantic filter: the larger the font, the more often the word was used grammatically in the questions or assigned as a keyword. The ratings of the questions also influence the font size.",
     "tag-cloud-questions-title": "Which questions should be included?",
     "tag-cloud-questions-all": "All questions",
-    "tag-cloud-questions-all-short": "All questions",
+    "tag-cloud-questions-all-short": "All",
     "tag-cloud-questions-current-filtered": "Question list",
-    "tag-cloud-questions-brainstorming": "Brain storming session: questions that will be asked from now on",
+    "tag-cloud-questions-brainstorming": "Brain storming session: questions from now on",
     "tag-cloud-questions-brainstorming-short": "Brain storming session",
-    "tag-cloud-create": "Create word cloud"
+    "tag-cloud-create": "Create"
   },
   "imprint": {
     "cancel": "Close",
diff --git a/src/assets/i18n/participant/de.json b/src/assets/i18n/participant/de.json
index 07a5d4d73..e11cd3b7b 100644
--- a/src/assets/i18n/participant/de.json
+++ b/src/assets/i18n/participant/de.json
@@ -171,7 +171,7 @@
     "option-improved": "KI-Vorschlag:"
   },
   "explanation": {
-    "label": "Erklärung",
+    "label": "Warum?",
     "close": "Schließen",
     "deepl": "## Text optimieren \n\nUm deine Frage optimal lesbar und verständlich zu präsentieren, lassen wir sie mit dem KI-Übersetzungsprogramm [DeepL](https://www.deepl.com/translator) ins Englische und zurück ins Deutsche übersetzen. \n\nDie Rückübersetzung ist in fast allen Fällen besser als das Original in Bezug auf Rechtschreibung, Grammatik, Interpunktion und Sprachstil.",
     "spacy": "## Stichwörter \n\nMittels NLP (Natural Language Processing) wird deine Frage grammatikalisch analysiert. Die erkannten Substantive werden in ihre Grundform gebracht, d. h. lemmatisiert, und dir als Stichwörter vorgeschlagen. Für die Textanalyse verwenden wir die freie NLP-Software [spaCy](https://spacy.io/). \n\nDie Stichwörter können verwendet werden, um die Liste der Fragen zu filtern oder um eine Wortwolke zu erstellen.",
-- 
GitLab