mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-27 05:10:26 +00:00
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
This commit is contained in:
parent
8e1d790919
commit
b0008d22e6
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ I.Settings.registerRenderer('inputBinding', function(id, set, arg)
|
||||||
local info = inputTypes[arg.type][arg.key]
|
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
|
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 = {
|
local name = {
|
||||||
template = I.MWUI.templates.textNormal,
|
template = I.MWUI.templates.textNormal,
|
||||||
|
|
Loading…
Reference in a new issue