From b974ddc016dae32704db98df9bd6d3255a749348 Mon Sep 17 00:00:00 2001
From: nixiesquid <audu817@gmail.com>
Date: Fri, 31 Jul 2020 23:52:58 +0900
Subject: [PATCH] add German translation

---
 public/locales/de/translation.json | 52 ++++++++++++++++++++++++++++++
 src/components/Footer.tsx          |  3 ++
 src/util/i18n.ts                   |  1 +
 3 files changed, 56 insertions(+)
 create mode 100644 public/locales/de/translation.json

diff --git a/public/locales/de/translation.json b/public/locales/de/translation.json
new file mode 100644
index 0000000..8b1010b
--- /dev/null
+++ b/public/locales/de/translation.json
@@ -0,0 +1,52 @@
+{
+  "title": "Schnapp dir einen guten Namen für deine neue App",
+  "description": "Überprüfen Sie sofort die Verfügbarkeit Ihres neuen Anwendungsnamens in allen wichtigen Registern.",
+  "placeholder": "suchen",
+  "providers": {
+    "domains": "Domänen",
+    "github": "GitHub Organisation",
+    "gitlab": "GitLab",
+    "npm": "npm",
+    "pypi": "PyPI",
+    "rubygems": "RubyGems",
+    "rust": "Rust",
+    "homebrew": "Homebrew",
+    "linux": "Linux",
+    "instagram": "Instagram",
+    "twitter": "Twitter",
+    "slack": "Slack",
+    "s3": "AWS S3",
+    "jsorg": "js.org",
+    "githubSearch": "GitHub Repository",
+    "appStore": "App Store",
+    "google": "Google-Suche",
+    "spectrum": "Spectrum",
+    "heroku": "Heroku",
+    "now": "Vercel",
+    "netlify": "Netlify",
+    "nta": "Company (JP)",
+    "ocaml": "OCaml",
+    "firebase": "Firebase"
+  },
+  "uniqueness": {
+    "high": "Ziemlich einzigartig",
+    "moderate": "Mäßig einzigartig",
+    "low": "Typisch",
+    "description": "UNIQ zeigt, wie eindeutig der Name ist (0 bis 100)"
+  },
+  "countryCode": "de",
+  "try": "Wie wäre es mit?",
+  "showMore": "Zeig mehr",
+  "noResult": "Kein Ergebnis",
+  "gettingStarted": "Fertig werden",
+  "gettingStartedWithExample": "Untersuche namae",
+  "pressEnterToSearch": "Drücken Sie die Eingabetaste, um zu suchen",
+  "available": "Verfügbar",
+  "unavailable": "Nicht verfügbar",
+  "language": "Sprache",
+  "community": "Gemeinschaft",
+  "about": "Zusammenfassung",
+  "contributors": "Mitwirkende",
+  "issues": "Issues",
+  "blog": "Blog-Artikel"
+}
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx
index 92b8577..c3f9198 100644
--- a/src/components/Footer.tsx
+++ b/src/components/Footer.tsx
@@ -38,6 +38,9 @@ const Languages = () => {
         <li>
           <a href="/?lng=zh-Hant">繁體中文</a>
         </li>
+        <li>
+          <a href="/?lng=de">Deutsch</a>
+        </li>
       </ul>
     </Pane>
   );
diff --git a/src/util/i18n.ts b/src/util/i18n.ts
index a8cc5ed..9ec582a 100644
--- a/src/util/i18n.ts
+++ b/src/util/i18n.ts
@@ -21,6 +21,7 @@ i18n
             ja: TRANSLATION_VERSION,
             'zh-Hans': TRANSLATION_VERSION,
             'zh-Hant': TRANSLATION_VERSION,
+            de: TRANSLATION_VERSION,
           },
         },
       ],