Skip to content

Commit

Permalink
style: add translation for message search placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Nov 6, 2023
1 parent 6d42792 commit ed5ff61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/shared/i18n/langs/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"k32905632": "Unlimited invitation link",
"k32ccc323": "Invitation code has expired",
"k335c71bf": "OTP code cannot be empty",
"k3376f80c": "Please enter key words",
"k34b5e3ab": "Send Message",
"k34e357ee": "Group Summary",
"k35abe359": "Lobby",
Expand Down
1 change: 1 addition & 0 deletions client/shared/i18n/langs/zh-CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"k32905632": "不限时邀请链接",
"k32ccc323": "邀请码已过期",
"k335c71bf": "校验码不能为空",
"k3376f80c": "请输入关键字",
"k34b5e3ab": "发送消息",
"k34e357ee": "群组概述",
"k35abe359": "大厅",
Expand Down
2 changes: 1 addition & 1 deletion client/web/src/components/Panel/common/MessageSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const MessageSearchPanel: React.FC<{
<div className="p-2">
<Input.Search
className="mb-2"
placeholder="请输入关键字"
placeholder={t('请输入关键字')}
loading={loading}
onSearch={handleSearch}
/>
Expand Down

0 comments on commit ed5ff61

Please sign in to comment.