Module:Set local argument names

From faraghaib
Revision as of 22:35, May 25, 2025 by Admin (talk | contribs) (۱ نسخه واردشده)
Jump to navigation Jump to search

-- Intended to set local arguments in args table -- Useful for localizing modules and defining args in local language

return function(args_table, args) for k, v in pairs(args) do if args_table[v] then args_table[k] = args_table[v] end end end