From f87ecd3c6af9bf7e0d42b5e8d71366a06ae10553 Mon Sep 17 00:00:00 2001
From: kolaente <k@knt.li>
Date: Thu, 7 Jan 2021 22:41:35 +0100
Subject: [PATCH 1/7] Add german translation guidelines

---
 .../translation-guidelines-german.md          | 65 +++++++++++++++++++
 1 file changed, 65 insertions(+)
 create mode 100644 docs/content/doc/developers/translation-guidelines-german.md

diff --git a/docs/content/doc/developers/translation-guidelines-german.md b/docs/content/doc/developers/translation-guidelines-german.md
new file mode 100644
index 0000000000000..837530d20adbf
--- /dev/null
+++ b/docs/content/doc/developers/translation-guidelines-german.md
@@ -0,0 +1,65 @@
+---
+date: "2016-11-08T16:00:00+02:00"
+title: "German Translation Guidelines"
+weight: 10
+toc: true
+draft: false
+menu:
+  sidebar:
+    parent: "developers"
+    name: "German Translation Guidelines"
+    weight: 70
+    identifier: "german-translation-guidelines"
+---
+
+# German Translation Guidelines
+
+> This document contains the guidelines for the german translation of gitea. 
+> It is used to provide a common set of rules to make sure the translation is consistent.
+> Because this is about specific parts of the german language, it is written in german.
+
+## Allgemeines
+
+Anrede: Wenig förmlich:
+* "Du"-Form
+* Keine "Amtsdeusch"-Umschreibungen, einfach so als ob man den Nutzer direkt persönlich ansprechen würde
+
+Genauer definiert:
+* "falsch" anstatt "nicht korrekt/inkorrekt"
+* Benutzerkonto oder Konto? Oder Account?
+* "Wende dich an ..." anstatt "kontaktiere ..."
+* In der selben Zeit übersetzen (sonst wird aus "is" "war")
+* Richtige Anführungszeichen verwenden. Also `"` statt `''` oder `'` oder \` oder `´`
+  * `„` für beginnende Anführungszeichen, `“` für schließende Anführungszeichen
+
+Es gelten Artikel und Worttrennungen aus dem Duden.
+
+## Formulierungen in Modals und Buttons
+
+Es sollten die gleichen Formulierungen auf Buttons und Modals verwendet werden.
+
+Beispiel: Wenn der Button mit `löschen` beschriftet ist, sollte im Modal die Frage lauten `Willst du das wirklich löschen?` und nicht `Willst du das wirklich entfernen?`. Gleiches gilt für Success/Errormeldungen nach der Aktion.
+
+## Trennungen
+
+* Pull-Request
+* Time-Tracker
+* E-Mail-Adresse (siehe Duden)
+
+## Artikeldefinitionen für Anglizismen
+
+* _Der_ Commit (m.)
+* _Der_ Branch (m.)
+* _Der_ Issue (m.)
+* _Der_ Fork (m.)
+* _Das_ Repository (n.)
+* _Der_ Pull-Request (m.)
+* _Das_ Token (n.)
+* _Das_ Review (n.)
+
+## Weiterführende Links
+
+Diese beiden Links sind sehr empfehlenswert:
+
+* http://docs.translatehouse.org/projects/localization-guide/en/latest/guide/translation_guidelines_german.html
+* https://docs.qgis.org/2.18/en/docs/documentation_guidelines/do_translations.html

From 6110b2a66db4ee466bbf262aa454ee0b8b476503 Mon Sep 17 00:00:00 2001
From: 6543 <6543@obermui.de>
Date: Fri, 22 Jan 2021 18:49:04 +0100
Subject: [PATCH 2/7] Add German Language to Docs

---
 docs/config.yaml                 | 47 ++++++++++++++++++++++++++++++++
 docs/content/page/index.de-de.md | 36 ++++++++++++++++++++++++
 2 files changed, 83 insertions(+)
 create mode 100644 docs/content/page/index.de-de.md

diff --git a/docs/config.yaml b/docs/config.yaml
index 98d18c06c8255..d8282bb93571e 100644
--- a/docs/config.yaml
+++ b/docs/config.yaml
@@ -359,3 +359,50 @@ languages:
           url: https://discourse.gitea.io/
           weight: 80
           pre: group
+
+  de-de:
+    weight: 7
+    languageName: Deutsch
+    menu:
+      page:
+        - name: Webseite
+          url: https://gitea.io/en-us/
+          weight: 10
+          pre: home
+          post: active
+        - name: Dokumentation
+          url: /de-de/
+          weight: 20
+          pre: question
+        - name: API
+          url: https://try.gitea.io/api/swagger
+          weight: 45
+          pre: plug
+        - name: Blog
+          url: https://blog.gitea.io/
+          weight: 30
+          pre: rss
+        - name: Code
+          url: https://code.gitea.io/
+          weight: 40
+          pre: code
+        - name: Übersetzung
+          url: https://crowdin.com/project/gitea
+          weight: 41
+          pre: language
+        - name: Downloads
+          url: https://dl.gitea.io/
+          weight: 50
+          pre: download
+        - name: GitHub
+          url: https://github.com/go-gitea/
+          weight: 60
+          pre: github
+        - name: Discord Chat
+          url: https://discord.gg/Gitea
+          weight: 70
+          pre: comment
+        - name: Forum
+          url: https://discourse.gitea.io/
+          weight: 80
+          pre: group
diff --git a/docs/content/page/index.de-de.md b/docs/content/page/index.de-de.md
new file mode 100644
index 0000000000000..8b48a6bc44781
--- /dev/null
+++ b/docs/content/page/index.de-de.md
@@ -0,0 +1,36 @@
+---
+date: "2016-11-08T16:00:00+02:00"
+title: "Dokumentation"
+slug: "documentation"
+url: "/de-de/"
+weight: 10
+toc: false
+draft: false
+---
+
+# Was ist Gitea?
+
+Gitea ist ein einfacher, selbst gehosteter Git-Service. Änlich wie GitHub, Bitbucket oder GitLab.  
+Gitea ist ein [Gogs](http://gogs.io)-Fork.
+
+## Ziele
+
+ * Einfach zu installieren
+ * Plattformübergreifend
+ * Leichtgewichtig
+ * Quelloffen
+
+## System Voraussetzungen
+
+- A Raspberry Pi 3 is powerful enough to run Gitea for small workloads.
+- 2 CPU cores and 1GB RAM is typically sufficient for small teams/projects.
+- Gitea should be run with a dedicated non-root system account on UNIX-type systems.
+   - Note: Gitea manages the `~/.ssh/authorized_keys` file. Running Gitea as a regular user could break that user's ability to log in.
+- [Git](https://git-scm.com/) version 1.7.2 or later is required. Version 1.9.0 or later is recommended. Also please note:
+   - Git [large file storage](https://git-lfs.github.com/) will be available if enabled when git >= 2.1.2.
+   - Git commit-graph rendering will be enabled automatically when git >= 2.18.
+
+## Browser Unterstützung
+
+- Letzten 2 Versions von Chrome, Firefox, Safari, Edge (EdgeHTML) and Edge (Chromium)
+- Firefox ESR

From fff8f9c97d3e324d73550708c9c6e1f0977060d3 Mon Sep 17 00:00:00 2001
From: 6543 <6543@obermui.de>
Date: Fri, 22 Jan 2021 18:49:39 +0100
Subject: [PATCH 3/7] add Translation cateory & move guidelines into it

---
 docs/content/doc/translation.de-de.md            | 13 +++++++++++++
 docs/content/doc/translation.en-us.md            | 13 +++++++++++++
 .../guidelines.de-de.md}                         | 16 +++++-----------
 docs/content/doc/translation/guidelines.en-us.md | 15 +++++++++++++++
 4 files changed, 46 insertions(+), 11 deletions(-)
 create mode 100644 docs/content/doc/translation.de-de.md
 create mode 100644 docs/content/doc/translation.en-us.md
 rename docs/content/doc/{developers/translation-guidelines-german.md => translation/guidelines.de-de.md} (76%)
 create mode 100644 docs/content/doc/translation/guidelines.en-us.md

diff --git a/docs/content/doc/translation.de-de.md b/docs/content/doc/translation.de-de.md
new file mode 100644
index 0000000000000..585783a706256
--- /dev/null
+++ b/docs/content/doc/translation.de-de.md
@@ -0,0 +1,13 @@
+---
+date: "2021-01-22T00:00:00+02:00"
+title: "Übersetzung"
+slug: "translation"
+weight: 35
+toc: false
+draft: false
+menu:
+  sidebar:
+    name: "Übersetzung"
+    weight: 45
+    identifier: "translation"
+---
diff --git a/docs/content/doc/translation.en-us.md b/docs/content/doc/translation.en-us.md
new file mode 100644
index 0000000000000..208eb32ab8aa4
--- /dev/null
+++ b/docs/content/doc/translation.en-us.md
@@ -0,0 +1,13 @@
+---
+date: "2021-01-22T00:00:00+02:00"
+title: "Translation"
+slug: "translation"
+weight: 35
+toc: false
+draft: false
+menu:
+  sidebar:
+    name: "Translation"
+    weight: 45
+    identifier: "translation"
+---
diff --git a/docs/content/doc/developers/translation-guidelines-german.md b/docs/content/doc/translation/guidelines.de-de.md
similarity index 76%
rename from docs/content/doc/developers/translation-guidelines-german.md
rename to docs/content/doc/translation/guidelines.de-de.md
index 837530d20adbf..c9e3d8881de0d 100644
--- a/docs/content/doc/developers/translation-guidelines-german.md
+++ b/docs/content/doc/translation/guidelines.de-de.md
@@ -1,23 +1,17 @@
 ---
-date: "2016-11-08T16:00:00+02:00"
-title: "German Translation Guidelines"
+date: "2021-01-22T00:00:00+02:00"
+title: "Übersetzungs Richtlinien"
 weight: 10
 toc: true
 draft: false
 menu:
   sidebar:
-    parent: "developers"
-    name: "German Translation Guidelines"
+    parent: "translation"
+    name: "Übersetzungs Richtlinien"
     weight: 70
-    identifier: "german-translation-guidelines"
+    identifier: "translation-guidelines"
 ---
 
-# German Translation Guidelines
-
-> This document contains the guidelines for the german translation of gitea. 
-> It is used to provide a common set of rules to make sure the translation is consistent.
-> Because this is about specific parts of the german language, it is written in german.
-
 ## Allgemeines
 
 Anrede: Wenig förmlich:
diff --git a/docs/content/doc/translation/guidelines.en-us.md b/docs/content/doc/translation/guidelines.en-us.md
new file mode 100644
index 0000000000000..4915c6702b4b9
--- /dev/null
+++ b/docs/content/doc/translation/guidelines.en-us.md
@@ -0,0 +1,15 @@
+---
+date: "2021-01-22T00:00:00+02:00"
+title: "Translation Guidelines"
+weight: 10
+toc: true
+draft: false
+menu:
+  sidebar:
+    parent: "translation"
+    name: "Translation Guidelines"
+    weight: 70
+    identifier: "translation-guidelines"
+---
+
+It is used to provide a common set of rules to make sure the translation is consistent.

From b23e091df537375cf77857fa613d629d0e0ffa80 Mon Sep 17 00:00:00 2001
From: 6543 <6543@obermui.de>
Date: Fri, 22 Jan 2021 18:56:43 +0100
Subject: [PATCH 4/7] Apply suggestions from code review

---
 docs/content/doc/translation/guidelines.de-de.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/content/doc/translation/guidelines.de-de.md b/docs/content/doc/translation/guidelines.de-de.md
index c9e3d8881de0d..9025a2a7291f1 100644
--- a/docs/content/doc/translation/guidelines.de-de.md
+++ b/docs/content/doc/translation/guidelines.de-de.md
@@ -44,12 +44,14 @@ Beispiel: Wenn der Button mit `löschen` beschriftet ist, sollte im Modal die Fr
 
 * _Der_ Commit (m.)
 * _Der_ Branch (m.)
-* _Der_ Issue (m.)
+* _Das_ Issue (n.)
 * _Der_ Fork (m.)
 * _Das_ Repository (n.)
 * _Der_ Pull-Request (m.)
-* _Das_ Token (n.)
+* _Der_ Token (m.)
 * _Das_ Review (n.)
+* _Der_ Key (m.)
+* _Der_ Committer (m.)
 
 ## Weiterführende Links
 

From bad0d3f49a36b7041b8339f6858c00b4a4a25d8e Mon Sep 17 00:00:00 2001
From: 6543 <6543@obermui.de>
Date: Fri, 22 Jan 2021 19:26:35 +0100
Subject: [PATCH 5/7] Apply suggestions from code review

Co-authored-by: kolaente <k@knt.li>
---
 docs/content/doc/translation/guidelines.de-de.md | 2 +-
 docs/content/doc/translation/guidelines.en-us.md | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/content/doc/translation/guidelines.de-de.md b/docs/content/doc/translation/guidelines.de-de.md
index 9025a2a7291f1..9f4b84ca9b3ed 100644
--- a/docs/content/doc/translation/guidelines.de-de.md
+++ b/docs/content/doc/translation/guidelines.de-de.md
@@ -7,7 +7,7 @@ draft: false
 menu:
   sidebar:
     parent: "translation"
-    name: "Übersetzungs Richtlinien"
+    name: "Übersetzungsrichtlinien"
     weight: 70
     identifier: "translation-guidelines"
 ---
diff --git a/docs/content/doc/translation/guidelines.en-us.md b/docs/content/doc/translation/guidelines.en-us.md
index 4915c6702b4b9..5a4e259a53059 100644
--- a/docs/content/doc/translation/guidelines.en-us.md
+++ b/docs/content/doc/translation/guidelines.en-us.md
@@ -13,3 +13,5 @@ menu:
 ---
 
 It is used to provide a common set of rules to make sure the translation is consistent.
+
+* [German](https://docs.gitea.io/de-de/übersetzungs-richtlinien/)

From ba7c22ef2a40fed8fe7d148fdb6f3434e96ed6e7 Mon Sep 17 00:00:00 2001
From: 6543 <6543@obermui.de>
Date: Fri, 22 Jan 2021 19:26:47 +0100
Subject: [PATCH 6/7] Update docs/content/doc/translation/guidelines.en-us.md

Co-authored-by: kolaente <k@knt.li>
---
 docs/content/doc/translation/guidelines.en-us.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/content/doc/translation/guidelines.en-us.md b/docs/content/doc/translation/guidelines.en-us.md
index 5a4e259a53059..7bbffdf468b27 100644
--- a/docs/content/doc/translation/guidelines.en-us.md
+++ b/docs/content/doc/translation/guidelines.en-us.md
@@ -12,6 +12,6 @@ menu:
     identifier: "translation-guidelines"
 ---
 
-It is used to provide a common set of rules to make sure the translation is consistent.
+This place is used to provide a common set of rules to make sure the translation is consistent.
 
 * [German](https://docs.gitea.io/de-de/übersetzungs-richtlinien/)

From 379d4278e8fd95fbbb8973e1a9cf577c117d6ba6 Mon Sep 17 00:00:00 2001
From: 6543 <6543@obermui.de>
Date: Fri, 22 Jan 2021 19:29:05 +0100
Subject: [PATCH 7/7] Update docs/content/doc/translation/guidelines.en-us.md

---
 docs/content/doc/translation/guidelines.en-us.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/content/doc/translation/guidelines.en-us.md b/docs/content/doc/translation/guidelines.en-us.md
index 7bbffdf468b27..f995743627dbe 100644
--- a/docs/content/doc/translation/guidelines.en-us.md
+++ b/docs/content/doc/translation/guidelines.en-us.md
@@ -14,4 +14,4 @@ menu:
 
 This place is used to provide a common set of rules to make sure the translation is consistent.
 
-* [German](https://docs.gitea.io/de-de/übersetzungs-richtlinien/)
+* [German](/de-de/übersetzungs-richtlinien/)