style: 优化github订阅创建时的文案问题

pull/49/head
moonrailgun 3 years ago
parent bacfaf3ab6
commit 33d48cd203

@ -46,7 +46,7 @@ export const AddGroupSubscribeModal: React.FC<{
type: 'text', type: 'text',
name: 'repoName', name: 'repoName',
label: Translate.repoName, label: Translate.repoName,
placeholder: 'msgbyte/tailchat', placeholder: Translate.repoNamePlaceholder,
}, },
{ {
type: 'custom', type: 'custom',

@ -37,6 +37,10 @@ export const Translate = {
'zh-CN': '仓库名', 'zh-CN': '仓库名',
'en-US': 'Repo Name', 'en-US': 'Repo Name',
}), }),
repoNamePlaceholder: localTrans({
'zh-CN': '(示例: msgbyte/tailchat)',
'en-US': '(example: msgbyte/tailchat)',
}),
textPanel: localTrans({ textPanel: localTrans({
'zh-CN': '文本频道', 'zh-CN': '文本频道',
'en-US': 'Text Channel', 'en-US': 'Text Channel',

Loading…
Cancel
Save