Attempt to fix openmw issue #7906

l10n name is taken not from the ActionInfo/TriggerInfo's 'key' param,
but from the 'l10n' param when making the inputBinding setting renderer
pull/3235/head
trav5 1 month ago
parent 8e1d790919
commit b0008d22e6

@ -102,7 +102,7 @@ I.Settings.registerRenderer('inputBinding', function(id, set, arg)
local info = inputTypes[arg.type][arg.key]
if not info then print(string.format('inputBinding: %s %s not found', arg.type, arg.key)) return end
local l10n = core.l10n(info.key)
local l10n = core.l10n(info.l10n)
local name = {
template = I.MWUI.templates.textNormal,

Loading…
Cancel
Save