diff --git a/server/plugins/com.msgbyte.github/web/plugins/com.msgbyte.github/src/GroupSubscribePanel/AddGroupSubscribeModal.tsx b/server/plugins/com.msgbyte.github/web/plugins/com.msgbyte.github/src/GroupSubscribePanel/AddGroupSubscribeModal.tsx index ab72074b..dbe166ea 100644 --- a/server/plugins/com.msgbyte.github/web/plugins/com.msgbyte.github/src/GroupSubscribePanel/AddGroupSubscribeModal.tsx +++ b/server/plugins/com.msgbyte.github/web/plugins/com.msgbyte.github/src/GroupSubscribePanel/AddGroupSubscribeModal.tsx @@ -46,7 +46,7 @@ export const AddGroupSubscribeModal: React.FC<{ type: 'text', name: 'repoName', label: Translate.repoName, - placeholder: 'msgbyte/tailchat', + placeholder: Translate.repoNamePlaceholder, }, { type: 'custom', diff --git a/server/plugins/com.msgbyte.github/web/plugins/com.msgbyte.github/src/translate.ts b/server/plugins/com.msgbyte.github/web/plugins/com.msgbyte.github/src/translate.ts index f50ece56..66fb30f7 100644 --- a/server/plugins/com.msgbyte.github/web/plugins/com.msgbyte.github/src/translate.ts +++ b/server/plugins/com.msgbyte.github/web/plugins/com.msgbyte.github/src/translate.ts @@ -37,6 +37,10 @@ export const Translate = { 'zh-CN': '仓库名', 'en-US': 'Repo Name', }), + repoNamePlaceholder: localTrans({ + 'zh-CN': '(示例: msgbyte/tailchat)', + 'en-US': '(example: msgbyte/tailchat)', + }), textPanel: localTrans({ 'zh-CN': '文本频道', 'en-US': 'Text Channel',