Merge pull request #158 from HimiCos/main

chore: standardize input box punctuation
This commit is contained in:
Yifei Zhang 2023-03-29 19:45:22 +08:00 committed by GitHub
commit f893f53b1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}, },