From d1af0a3e4c111a819fee0718fc7e0d755335fe14 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 25 May 2023 12:07:25 -0400 Subject: [PATCH] Merge two translation contributing documents (#23939) (#24933) Backport #23939 by @lunny This PR also adjusts the weights. Co-authored-by: Lunny Xiao Co-authored-by: delvh --- .../contributing/guidelines-frontend.en-us.md | 4 ++-- .../guidelines-refactoring.en-us.md | 4 ++-- ...anslation.de-de.md => localization.de-de.md} | 5 +++-- .../doc/contributing/localization.en-us.md | 8 ++++++-- .../doc/contributing/localization.zh-cn.md | 4 ++-- .../doc/contributing/localization.zh-tw.md | 4 ++-- .../doc/contributing/translation.en-us.md | 17 ----------------- 7 files changed, 17 insertions(+), 29 deletions(-) rename docs/content/doc/contributing/{translation.de-de.md => localization.de-de.md} (96%) delete mode 100644 docs/content/doc/contributing/translation.en-us.md diff --git a/docs/content/doc/contributing/guidelines-frontend.en-us.md b/docs/content/doc/contributing/guidelines-frontend.en-us.md index f0234f942d1..3a98839c280 100644 --- a/docs/content/doc/contributing/guidelines-frontend.en-us.md +++ b/docs/content/doc/contributing/guidelines-frontend.en-us.md @@ -2,14 +2,14 @@ date: "2021-10-13T16:00:00+02:00" title: "Guidelines for Frontend Development" slug: "guidelines-frontend" -weight: 20 +weight: 30 toc: false draft: false menu: sidebar: parent: "contributing" name: "Guidelines for Frontend" - weight: 20 + weight: 30 identifier: "guidelines-frontend" --- diff --git a/docs/content/doc/contributing/guidelines-refactoring.en-us.md b/docs/content/doc/contributing/guidelines-refactoring.en-us.md index 913ce8d9bb5..aff744c5435 100644 --- a/docs/content/doc/contributing/guidelines-refactoring.en-us.md +++ b/docs/content/doc/contributing/guidelines-refactoring.en-us.md @@ -2,14 +2,14 @@ date: "2023-02-14T00:00:00+00:00" title: "Guidelines for Refactoring" slug: "guidelines-refactoring" -weight: 20 +weight: 40 toc: false draft: false menu: sidebar: parent: "contributing" name: "Guidelines for Refactoring" - weight: 20 + weight: 40 identifier: "guidelines-refactoring" --- diff --git a/docs/content/doc/contributing/translation.de-de.md b/docs/content/doc/contributing/localization.de-de.md similarity index 96% rename from docs/content/doc/contributing/translation.de-de.md rename to docs/content/doc/contributing/localization.de-de.md index abfc46e9fd2..c4dcb6cafa1 100644 --- a/docs/content/doc/contributing/translation.de-de.md +++ b/docs/content/doc/contributing/localization.de-de.md @@ -1,15 +1,16 @@ --- date: "2021-01-22T00:00:00+02:00" title: "Übersetzungs Richtlinien" +slug: "localization" weight: 70 -toc: true +toc: false draft: false menu: sidebar: parent: "contributing" name: "Übersetzungsrichtlinien" weight: 70 - identifier: "translation-guidelines" + identifier: "localization" --- ## Allgemeines diff --git a/docs/content/doc/contributing/localization.en-us.md b/docs/content/doc/contributing/localization.en-us.md index 3006ca599b5..7496fab3f53 100644 --- a/docs/content/doc/contributing/localization.en-us.md +++ b/docs/content/doc/contributing/localization.en-us.md @@ -2,14 +2,14 @@ date: "2016-12-01T16:00:00+02:00" title: "Localization" slug: "localization" -weight: 10 +weight: 70 toc: false draft: false menu: sidebar: parent: "contributing" name: "Localization" - weight: 20 + weight: 70 identifier: "localization" --- @@ -31,3 +31,7 @@ After a translation has been accepted, it will be reflected in the main reposito At the time of writing, this means that a changed translation may not appear until the following Gitea release. If you use a bleeding edge build, it should appear as soon as you update after the change is synced. + +# How to Contribute + +Different Languages have different translation guidelines. Please visit the respective page for more information. diff --git a/docs/content/doc/contributing/localization.zh-cn.md b/docs/content/doc/contributing/localization.zh-cn.md index d6c7fc11c2c..b0ae754edd9 100644 --- a/docs/content/doc/contributing/localization.zh-cn.md +++ b/docs/content/doc/contributing/localization.zh-cn.md @@ -2,14 +2,14 @@ date: "2016-12-01T16:00:00+02:00" title: "本地化" slug: "localization" -weight: 20 +weight: 70 toc: false draft: false menu: sidebar: parent: "contributing" name: "本地化" - weight: 20 + weight: 70 identifier: "localization" --- diff --git a/docs/content/doc/contributing/localization.zh-tw.md b/docs/content/doc/contributing/localization.zh-tw.md index 815fbc31191..d77f2391d88 100644 --- a/docs/content/doc/contributing/localization.zh-tw.md +++ b/docs/content/doc/contributing/localization.zh-tw.md @@ -2,14 +2,14 @@ date: "2016-12-01T16:00:00+02:00" title: "在地化" slug: "localization" -weight: 20 +weight: 70 toc: false draft: false menu: sidebar: parent: "contributing" name: "在地化" - weight: 20 + weight: 70 identifier: "localization" --- diff --git a/docs/content/doc/contributing/translation.en-us.md b/docs/content/doc/contributing/translation.en-us.md deleted file mode 100644 index 6459bcbcf49..00000000000 --- a/docs/content/doc/contributing/translation.en-us.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -date: "2021-01-22T00:00:00+02:00" -title: "Translation Guidelines" -weight: 70 -toc: true -draft: false -menu: - sidebar: - parent: "contributing" - name: "Translation Guidelines" - weight: 70 - identifier: "translation-guidelines" ---- - -This place is used to provide a common set of rules to make sure the translation is consistent. - -* [German](/de-de/übersetzungs-richtlinien/)