Skip to content

Commit 58ea664

Browse files
committed
chore: rename unread behavior
1 parent 725b945 commit 58ea664

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/meteor/client/sidebar/categories/CategoryMenu.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const CategoryMenu = ({
130130
]
131131
: [];
132132

133-
const whenClosedItems: GenericMenuItemProps[] = [
133+
const collapsedItems: GenericMenuItemProps[] = [
134134
{
135135
id: 'show-unreads',
136136
icon: 'flag',
@@ -140,7 +140,7 @@ const CategoryMenu = ({
140140
},
141141
];
142142

143-
const whenOpenedItems: GenericMenuItemProps[] = [
143+
const expandedItems: GenericMenuItemProps[] = [
144144
{
145145
id: 'keep-unreads-on-top',
146146
icon: 'sort-amount-down',
@@ -153,8 +153,8 @@ const CategoryMenu = ({
153153
const sections = [
154154
{ items: orderItems },
155155
...(category ? [{ title: t('Manage'), items: manageItems }] : []),
156-
{ title: t('When_closed'), items: whenClosedItems },
157-
{ title: t('When_opened'), items: whenOpenedItems },
156+
{ title: t('When_collapsed'), items: collapsedItems },
157+
{ title: t('When_expanded'), items: expandedItems },
158158
];
159159

160160
return (

packages/i18n/src/locales/en.i18n.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7461,8 +7461,8 @@
74617461
"Move_up": "Move up",
74627462
"Move_down": "Move down",
74637463
"Move_to": "Move to",
7464-
"When_closed": "When closed",
7465-
"When_opened": "When opened",
7464+
"When_collapsed": "When collapsed",
7465+
"When_expanded": "When expanded",
74667466
"Keep_unreads_on_top": "Keep unreads on top",
74677467
"Show_unreads": "Show unreads",
74687468
"Rename": "Rename",

0 commit comments

Comments
 (0)