Combine both useLingui

This commit is contained in:
Lim Chee Aun 2025-03-03 11:55:03 +08:00
parent 0b29b3dabd
commit 333142aa67
2 changed files with 3 additions and 4 deletions

View file

@ -21,8 +21,7 @@ import Menu2 from './menu2';
import SubMenu2 from './submenu2';
function Shortcuts() {
const { t } = useLingui();
const { _ } = useLingui();
const { t, _ } = useLingui();
const { instance } = api();
const snapStates = useSnapshot(states);
const { shortcuts, settings } = snapStates;

4
src/locales/en.po generated
View file

@ -1486,7 +1486,7 @@ msgid "Lists"
msgstr ""
#: src/components/nav-menu.jsx:435
#: src/components/shortcuts.jsx:215
#: src/components/shortcuts.jsx:214
#: src/pages/list.jsx:134
msgid "All Lists"
msgstr ""
@ -1911,7 +1911,7 @@ msgid "Media only"
msgstr ""
#: src/components/shortcuts-settings.jsx:235
#: src/components/shortcuts.jsx:192
#: src/components/shortcuts.jsx:191
msgid "Shortcuts"
msgstr ""