kopia lustrzana https://github.com/cheeaun/phanpy
Try fix "Uncompiled message detected" warnings from Lingui
rodzic
a53aa522d9
commit
b2515fd283
|
@ -58,12 +58,14 @@ function Shortcuts() {
|
|||
}
|
||||
if (typeof title === 'function') {
|
||||
title = title(data, i);
|
||||
} else {
|
||||
} else if (title?.id) {
|
||||
// Check if it's MessageDescriptor
|
||||
title = _(title);
|
||||
}
|
||||
if (typeof subtitle === 'function') {
|
||||
subtitle = subtitle(data, i);
|
||||
} else {
|
||||
} else if (subtitle?.id) {
|
||||
// Check if it's MessageDescriptor
|
||||
subtitle = _(subtitle);
|
||||
}
|
||||
if (typeof icon === 'function') {
|
||||
|
|
|
@ -1543,7 +1543,7 @@ msgid "Lists"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/nav-menu.jsx:440
|
||||
#: src/components/shortcuts.jsx:241
|
||||
#: src/components/shortcuts.jsx:243
|
||||
#: src/pages/list.jsx:139
|
||||
msgid "All Lists"
|
||||
msgstr ""
|
||||
|
@ -1991,7 +1991,7 @@ msgid "Media only"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/shortcuts-settings.jsx:235
|
||||
#: src/components/shortcuts.jsx:218
|
||||
#: src/components/shortcuts.jsx:220
|
||||
msgid "Shortcuts"
|
||||
msgstr ""
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue