luci-base: dispatcher.uc: fix `N_()` fallback implementation
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Aug 2023 21:33:56 +0000 (23:33 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Aug 2023 22:14:23 +0000 (00:14 +0200)
commit526c60aea8d12bcd3df61ef874d5a97074164a0e
tree036bb80c7aa32e8ba0c33840b225f8fa9382cb5e
parentd1bf57ecd876c8ef83575247a631d24df6be466a
luci-base: dispatcher.uc: fix `N_()` fallback implementation

The fallback implementation of `N_()` accessed the wrong variable, a
global `n` instead of the local `args`. Adjust the expression to reference
the correct variable.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 107ed061a8b68f080df122770690d513f52eeed0)
modules/luci-base/ucode/dispatcher.uc