From 6b5d267d0f4fb01950fdb8246d3c6ff86ccf9873 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 15 Apr 2022 22:21:13 +0800 Subject: [PATCH] Improve chat menus (#107) This PR update all chat menus of other languages and also add QQ Qun link for Chinese because most of chinese cannot visit discord directly. Reviewed-on: https://gitea.com/gitea/website/pulls/107 Reviewed-by: wxiaoguang Reviewed-by: a1012112796 <1012112796@qq.com> --- config.yaml | 142 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 96 insertions(+), 46 deletions(-) diff --git a/config.yaml b/config.yaml index 3c1e4a2..c031a89 100644 --- a/config.yaml +++ b/config.yaml @@ -78,6 +78,11 @@ menu: weight: 110 pre: matrix-org parent: Chatroom + - name: QQ Group(Chinese) + url: https://qm.qq.com/cgi-bin/qm/qr?k=Ex-kCxSnTyxf-RM4oDihhPofPzLoDbXp&jump_from=webapi + weight: 110 + pre: qq-group + parent: Chatroom languages: en-us: @@ -122,11 +127,7 @@ languages: url: https://github.com/go-gitea/ weight: 60 pre: github - - name: Discord Chat - url: https://discord.gg/Gitea - weight: 70 - pre: comment - - name: Forum + - name: 论坛 url: https://discourse.gitea.io/ weight: 80 pre: group @@ -134,10 +135,24 @@ languages: url: https://twitter.com/giteaio weight: 90 pre: twitter + - name: 聊天室 + weight: 90 + pre: caret-down + - name: QQ群 + url: https://qm.qq.com/cgi-bin/qm/qr?k=Ex-kCxSnTyxf-RM4oDihhPofPzLoDbXp&jump_from=webapi + weight: 110 + pre: qq-group + parent: 聊天室 + - name: Discord 聊天室 + url: https://discord.gg/Gitea + weight: 100 + pre: comment + parent: 聊天室 - name: Matrix url: https://matrix.to/#/#gitea:matrix.org - weight: 100 + weight: 110 pre: matrix-org + parent: 聊天室 zh-tw: weight: 2 @@ -177,10 +192,6 @@ languages: url: https://github.com/go-gitea/ weight: 60 pre: github - - name: Discord 聊天室 - url: https://discord.gg/Gitea - weight: 70 - pre: comment - name: 討論區 url: https://discourse.gitea.io/ weight: 80 @@ -189,10 +200,24 @@ languages: url: https://twitter.com/giteaio weight: 90 pre: twitter + - name: 聊天室 + weight: 90 + pre: caret-down + - name: QQ群 + url: https://qm.qq.com/cgi-bin/qm/qr?k=Ex-kCxSnTyxf-RM4oDihhPofPzLoDbXp&jump_from=webapi + weight: 110 + pre: QQ + parent: 聊天室 + - name: Discord 聊天室 + url: https://discord.gg/Gitea + weight: 100 + pre: comment + parent: 聊天室 - name: Matrix url: https://matrix.to/#/#gitea:matrix.org - weight: 100 + weight: 110 pre: matrix-org + parent: 聊天室 pt-br: weight: 3 @@ -232,22 +257,27 @@ languages: url: https://github.com/go-gitea/ weight: 60 pre: github - - name: Chat no Discord - url: https://discord.gg/Gitea - weight: 70 - pre: comment - name: Forum url: https://discourse.gitea.io/ - weight: 80 + weight: 70 pre: group - name: Twitter url: https://twitter.com/giteaio - weight: 90 + weight: 80 pre: twitter + - name: Chatroom + weight: 90 + pre: caret-down + - name: Discord Chat + url: https://discord.gg/Gitea + weight: 100 + pre: comment + parent: Chatroom - name: Matrix url: https://matrix.to/#/#gitea:matrix.org - weight: 100 + weight: 110 pre: matrix-org + parent: Chatroom nl-nl: weight: 4 @@ -287,22 +317,27 @@ languages: 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 + weight: 70 pre: group - name: Twitter url: https://twitter.com/giteaio - weight: 90 + weight: 80 pre: twitter + - name: Chatroom + weight: 90 + pre: caret-down + - name: Discord Chat + url: https://discord.gg/Gitea + weight: 100 + pre: comment + parent: Chatroom - name: Matrix url: https://matrix.to/#/#gitea:matrix.org - weight: 100 + weight: 110 pre: matrix-org + parent: Chatroom ko-kr: weight: 5 @@ -342,22 +377,27 @@ languages: url: https://github.com/go-gitea/ weight: 60 pre: github - - name: Discord 채팅 - url: https://discord.gg/Gitea - weight: 70 - pre: comment - name: 포럼 url: https://discourse.gitea.io/ - weight: 80 + weight: 70 pre: group - name: Twitter url: https://twitter.com/giteaio - weight: 90 + weight: 80 pre: twitter + - name: Chatroom + weight: 90 + pre: caret-down + - name: Discord 채팅 + url: https://discord.gg/Gitea + weight: 100 + pre: comment + parent: Chatroom - name: Matrix url: https://matrix.to/#/#gitea:matrix.org - weight: 100 + weight: 110 pre: matrix-org + parent: Chatroom ja-jp: weight: 6 @@ -397,22 +437,27 @@ languages: url: https://github.com/go-gitea/ weight: 60 pre: github - - name: Discord チャット - url: https://discord.gg/Gitea - weight: 70 - pre: comment - name: フォーラム url: https://discourse.gitea.io/ - weight: 80 + weight: 70 pre: group - name: Twitter url: https://twitter.com/giteaio - weight: 90 + weight: 80 pre: twitter + - name: Chatroom + weight: 90 + pre: caret-down + - name: Discord チャット + url: https://discord.gg/Gitea + weight: 100 + pre: comment + parent: Chatroom - name: Matrix url: https://matrix.to/#/#gitea:matrix.org - weight: 100 + weight: 110 pre: matrix-org + parent: Chatroom ru-ru: weight: 7 @@ -452,19 +497,24 @@ languages: url: https://github.com/go-gitea/ weight: 60 pre: github - - name: Чат в Discord - url: https://discord.gg/Gitea - weight: 70 - pre: comment - name: Форум url: https://discourse.gitea.io/ - weight: 80 + weight: 70 pre: group - name: Twitter url: https://twitter.com/giteaio - weight: 90 + weight: 80 pre: twitter + - name: Chatroom + weight: 90 + pre: caret-down + - name: Чат в Discord + url: https://discord.gg/Gitea + weight: 100 + pre: comment + parent: Chatroom - name: Matrix url: https://matrix.to/#/#gitea:matrix.org - weight: 100 + weight: 110 pre: matrix-org + parent: Chatroom