Combine both useLingui
This commit is contained in:
parent
0b29b3dabd
commit
333142aa67
2 changed files with 3 additions and 4 deletions
|
@ -21,8 +21,7 @@ import Menu2 from './menu2';
|
||||||
import SubMenu2 from './submenu2';
|
import SubMenu2 from './submenu2';
|
||||||
|
|
||||||
function Shortcuts() {
|
function Shortcuts() {
|
||||||
const { t } = useLingui();
|
const { t, _ } = useLingui();
|
||||||
const { _ } = useLingui();
|
|
||||||
const { instance } = api();
|
const { instance } = api();
|
||||||
const snapStates = useSnapshot(states);
|
const snapStates = useSnapshot(states);
|
||||||
const { shortcuts, settings } = snapStates;
|
const { shortcuts, settings } = snapStates;
|
||||||
|
|
4
src/locales/en.po
generated
4
src/locales/en.po
generated
|
@ -1486,7 +1486,7 @@ msgid "Lists"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/nav-menu.jsx:435
|
#: src/components/nav-menu.jsx:435
|
||||||
#: src/components/shortcuts.jsx:215
|
#: src/components/shortcuts.jsx:214
|
||||||
#: src/pages/list.jsx:134
|
#: src/pages/list.jsx:134
|
||||||
msgid "All Lists"
|
msgid "All Lists"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1911,7 +1911,7 @@ msgid "Media only"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/shortcuts-settings.jsx:235
|
#: src/components/shortcuts-settings.jsx:235
|
||||||
#: src/components/shortcuts.jsx:192
|
#: src/components/shortcuts.jsx:191
|
||||||
msgid "Shortcuts"
|
msgid "Shortcuts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue