chore: standardize input box punctuation

This commit is contained in:
HimiCos 2023-03-29 19:31:34 +08:00
parent 525b5b8ee6
commit cac604aee3
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ const cn = {
Input: (submitKey: string) => { Input: (submitKey: string) => {
var inputHints = `输入消息,${submitKey} 发送`; var inputHints = `输入消息,${submitKey} 发送`;
if (submitKey === String(SubmitKey.Enter)) { if (submitKey === String(SubmitKey.Enter)) {
inputHints += ", Shift + Enter 换行"; inputHints += "Shift + Enter 换行";
} }
return inputHints; return inputHints;
}, },

View File

@ -23,7 +23,7 @@ const tw: LocaleType = {
Input: (submitKey: string) => { Input: (submitKey: string) => {
var inputHints = `輸入訊息後,按下 ${submitKey} 鍵即可發送`; var inputHints = `輸入訊息後,按下 ${submitKey} 鍵即可發送`;
if (submitKey === String(SubmitKey.Enter)) { if (submitKey === String(SubmitKey.Enter)) {
inputHints += ", Shift + Enter 鍵換行"; inputHints += "Shift + Enter 鍵換行";
} }
return inputHints; return inputHints;
}, },