These menus need spans

This commit is contained in:
Lim Chee Aun 2024-08-16 13:46:17 +08:00
parent 05f488ce40
commit 8ec951d1fc
2 changed files with 27 additions and 20 deletions

View file

@ -305,8 +305,10 @@ function NavMenu(props) {
<MenuDivider />
{supports('@mastodon/filters') && (
<MenuLink to="/ft">
<Icon icon="filters" size="l" />
<Trans>Filters</Trans>
<Icon icon="filters" size="l" />{' '}
<span>
<Trans>Filters</Trans>
</span>
</MenuLink>
)}
<MenuItem
@ -319,7 +321,10 @@ function NavMenu(props) {
};
}}
>
<Icon icon="mute" size="l" /> <Trans>Muted users</Trans>
<Icon icon="mute" size="l" />{' '}
<span>
<Trans>Muted users</Trans>
</span>
</MenuItem>
<MenuItem
onClick={() => {
@ -331,8 +336,10 @@ function NavMenu(props) {
};
}}
>
<Icon icon="block" size="l" />
<Trans>Blocked users</Trans>
<Icon icon="block" size="l" />{' '}
<span>
<Trans>Blocked users</Trans>
</span>
</MenuItem>{' '}
</SubMenu2>
<MenuDivider />

View file

@ -961,7 +961,7 @@ msgid "The end."
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:43
#: src/components/nav-menu.jsx:398
#: src/components/nav-menu.jsx:405
#: src/pages/catchup.jsx:1586
msgid "Keyboard shortcuts"
msgstr ""
@ -1050,7 +1050,7 @@ msgid "<0>Ctrl</0> + <1>Enter</1> or <2>⌘</2> + <3>Enter</3>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:139
#: src/components/nav-menu.jsx:367
#: src/components/nav-menu.jsx:374
#: src/components/search-form.jsx:72
#: src/components/shortcuts-settings.jsx:52
#: src/components/shortcuts-settings.jsx:176
@ -1307,7 +1307,7 @@ msgstr ""
msgid "Followed Hashtags"
msgstr ""
#: src/components/nav-menu.jsx:309
#: src/components/nav-menu.jsx:310
#: src/pages/account-statuses.jsx:331
#: src/pages/filters.jsx:54
#: src/pages/filters.jsx:93
@ -1315,56 +1315,56 @@ msgstr ""
msgid "Filters"
msgstr ""
#: src/components/nav-menu.jsx:316
#: src/components/nav-menu.jsx:318
msgid "Muted users"
msgstr ""
#: src/components/nav-menu.jsx:322
#: src/components/nav-menu.jsx:326
msgid "Muted users…"
msgstr ""
#: src/components/nav-menu.jsx:328
#: src/components/nav-menu.jsx:333
msgid "Blocked users"
msgstr ""
#: src/components/nav-menu.jsx:335
#: src/components/nav-menu.jsx:341
msgid "Blocked users…"
msgstr ""
#: src/components/nav-menu.jsx:346
#: src/components/nav-menu.jsx:353
msgid "Accounts…"
msgstr ""
#: src/components/nav-menu.jsx:356
#: src/components/nav-menu.jsx:363
#: src/pages/login.jsx:142
#: src/pages/status.jsx:792
#: src/pages/welcome.jsx:64
msgid "Log in"
msgstr ""
#: src/components/nav-menu.jsx:373
#: src/components/nav-menu.jsx:380
#: src/components/shortcuts-settings.jsx:57
#: src/components/shortcuts-settings.jsx:169
#: src/pages/trending.jsx:407
msgid "Trending"
msgstr ""
#: src/components/nav-menu.jsx:379
#: src/components/nav-menu.jsx:386
#: src/components/shortcuts-settings.jsx:162
msgid "Local"
msgstr ""
#: src/components/nav-menu.jsx:385
#: src/components/nav-menu.jsx:392
#: src/components/shortcuts-settings.jsx:162
msgid "Federated"
msgstr ""
#: src/components/nav-menu.jsx:408
#: src/components/nav-menu.jsx:415
msgid "Shortcuts / Columns…"
msgstr ""
#: src/components/nav-menu.jsx:418
#: src/components/nav-menu.jsx:432
#: src/components/nav-menu.jsx:425
#: src/components/nav-menu.jsx:439
msgid "Settings…"
msgstr ""