From 4e98b24af959c2a52a549fe9e0c184ef037081c5 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 14 Jul 2019 20:46:26 +0200 Subject: [PATCH] Add explanation of functionality Signed-off-by: Knut Ahlers --- src/app.vue | 26 ++++++++++++++++++++++++++ src/langs/de.json | 11 +++++++++++ src/langs/en.json | 11 +++++++++++ 3 files changed, 48 insertions(+) diff --git a/src/app.vue b/src/app.vue index 461db07..a948c93 100644 --- a/src/app.vue +++ b/src/app.vue @@ -19,6 +19,9 @@ is-nav > + + {{ $t('btn-show-explanation') }} + {{ $t('btn-new-secret') }} @@ -40,6 +43,26 @@ + + + +
    +
  • + {{ explanation }} +
  • +
+
+ + + + Achtung: Du kannst das nur einmal ansehen! Sobald du die Seite neu lädst, ist das Secret verschwunden, also besser direkt kopieren und sicher abspeichern…", "text-powered-by": "Läuft mit", "text-pre-reveal-hint": "Um das Secret anzuzeigen klicke diesen Button aber denk dran, dass das Secret nur einmal angezeigt und dabei gelöscht wird.", "text-pre-url": "Dein Secret wurde angelegt und unter folgender URL gespeichert:", + "title-explanation": "So funktioniert es…", "title-new-secret": "Erstelle ein neues Secret", "title-reading-secret": "Secret auslesen…", "title-secret-created": "Secret erstellt!" diff --git a/src/langs/en.json b/src/langs/en.json index ce3b66c..92635a6 100644 --- a/src/langs/en.json +++ b/src/langs/en.json @@ -4,12 +4,23 @@ "btn-create-secret": "Create the secret!", "btn-new-secret": "New Secret", "btn-reveal-secret": "Show me the secret!", + "btn-show-explanation": "How does this work?", + "items-explanation": [ + "You put in a secret into the field on this page", + "Your browser encrypts the secret using a generated password", + "Only the encrypted secret is sent to the server (neither the plain secret nor the password are ever sent!)", + "The server stores the encrypted secret for a certain time", + "You pass the displayed URL containing the ID and the decryption password to the recipient", + "The recipient can view the secret exactly once: If they can't, the secret might have been viewed by someone else!", + "After the encrypted secret has been retrieved once it is deleted from the server" + ], "label-secret-data": "Secret data:", "text-burn-hint": "Please remember not to go to this URL yourself as that would destroy the secret. Just pass it to someone else!", "text-hint-burned": "Attention: You're only seeing this once. As soon as you reload the page the secret will be gone so maybe copy it now…", "text-powered-by": "Powered by", "text-pre-reveal-hint": "To reveal the secret click this button but be aware doing so will destroy the secret. You can only view it once!", "text-pre-url": "Your secret was created and stored using this URL:", + "title-explanation": "This is how it works…", "title-new-secret": "Create a new secret", "title-reading-secret": "Reading your secret…", "title-secret-created": "Secret created!"