Pārlūkot izejas kodu

Translated meta description (#169)

Fixes #168
IndianaDschones 8 gadi atpakaļ
vecāks
revīzija
251cb1ca4c
3 mainītis faili ar 8 papildinājumiem un 1 dzēšanām
  1. 2 1
      index.html
  2. 3 0
      public/i18n/de.json
  3. 3 0
      public/i18n/en.json

+ 2 - 1
index.html

@@ -26,7 +26,8 @@
     <meta name="referrer" content="no-referrer">
 
     <title>Threema Web</title>
-    <meta name="description" content="Chat from your desktop with Threema Web and have full access to all chats, contacts and media files.">
+    <meta name="description" translate translate-attr-content="meta.DESCRIPTION"
+          content="Chat from your desktop with Threema Web and have full access to all chats, contacts and media files."/>
 
     <!-- Favicon -->
     <link rel="icon" href="img/favicon.ico?v=[[VERSION]]" type="image/x-icon"/>

+ 3 - 0
public/i18n/de.json

@@ -1,4 +1,7 @@
 {
+    "meta": {
+        "DESCRIPTION": "Mit Threema Web bequem vom PC aus chatten, mit vollem Zugriff auf Chats, Kontakte und Medien."
+    },
     "welcome": {
         "ABORT": "Abbrechen",
         "BROWSER_NOT_SUPPORTED_DETAILS": "Bitte verwenden Sie die aktuelle Version von <a href='https:\/\/www.google.com\/chrome\/browser\/desktop\/' target='_blank' rel='noopener noreferrer'>Google Chrome<\/a> oder <a href='https:\/\/www.mozilla.org\/' target='_blank' rel='noopener noreferrer'>Mozilla Firefox<\/a>, um den Webclient ohne Einschr\u00e4nkungen zu nutzen.",

+ 3 - 0
public/i18n/en.json

@@ -1,4 +1,7 @@
 {
+    "meta": {
+        "DESCRIPTION": "Chat from your desktop with Threema Web and have full access to all chats, contacts and media files."
+    },
     "welcome": {
         "ABORT": "Abort",
         "BROWSER_NOT_SUPPORTED_DETAILS": "Please use the latest version of <a href='https:\/\/www.google.com\/chrome\/browser\/desktop\/' target='_blank' rel='noopener noreferrer'>Google Chrome<\/a> or <a href='https:\/\/www.mozilla.org\/' target='_blank' rel='noopener noreferrer'>Mozilla Firefox<\/a>, otherwise the web client might not work properly.",