Fix potential bug in importing shortcuts

The `text` variable wasn't passing through Lingui, despite being a `msg`.
This commit is contained in:
Stefano Pigozzi 2024-12-09 05:23:13 +01:00
parent 299bcf9e91
commit 369935f3e5
No known key found for this signature in database
GPG key ID: 5ADA3868646C3FC0

View file

@ -939,7 +939,7 @@ function ImportExport({ shortcuts, onClose }) {
shortcut[name] ? (
<>
<span class="tag collapsed insignificant">
{text}:{' '}
{_(text)}:{' '}
{type === 'checkbox'
? shortcut[name] === 'on'
? '✅'