1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-12 13:13:27 +00:00

Merge branch 'l10n-input-binding' into 'master'

Attempt to fix #7906: l10n name for inputBinding setting renderer taken from action/trigger l10n, not key

Closes #7906

See merge request OpenMW/openmw!4007
This commit is contained in:
Alexei Kotov 2024-04-07 12:04:34 +00:00
commit 8027c1e662

View File

@ -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,