Skip to content

Commit

Permalink
Fix text on mark_all_as_read button
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Chen <harry-chen@outlook.com>
  • Loading branch information
Harry-Chen committed Sep 27, 2023
1 parent 783213c commit 7c79aae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/constants/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const SETTINGS_FUNC_LIST = [
},
{
icon: <IconEnvelopeOpen />,
name: msg`标记为已读`,
name: msg`全部标记已读`,
handler: (dispatch: AppDispatch) => {
dispatch(markAllRead());
},
Expand Down
5 changes: 4 additions & 1 deletion src/locales/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ msgid "标记为未读"
msgstr "Mark as unread"

#: src/components/ContentCard.tsx:174
#: src/constants/ui.tsx:156
msgid "标记为已读"
msgstr "Mark as read"

Expand Down Expand Up @@ -540,6 +539,10 @@ msgstr "Discussion"
msgid "答疑"
msgstr "Q&A"

#: src/constants/ui.tsx:156
msgid "全部标记已读"
msgstr "Mark all as read"

#: src/constants/ui.tsx:163
msgid "手动刷新"
msgstr "Refresh"
Expand Down
5 changes: 4 additions & 1 deletion src/locales/zh.po
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ msgid "标记为未读"
msgstr "标记为未读"

#: src/components/ContentCard.tsx:174
#: src/constants/ui.tsx:156
msgid "标记为已读"
msgstr "标记为已读"

Expand Down Expand Up @@ -540,6 +539,10 @@ msgstr "讨论"
msgid "答疑"
msgstr "答疑"

#: src/constants/ui.tsx:156
msgid "全部标记已读"
msgstr "全部标记已读"

#: src/constants/ui.tsx:163
msgid "手动刷新"
msgstr "手动刷新"
Expand Down

0 comments on commit 7c79aae

Please sign in to comment.