Module:LangVars: Difference between revisions

From Vintage Story Wiki
m (Sana moved page Module:LangArgs to Module:LangVars without leaving a redirect)
mNo edit summary
Line 1: Line 1:
local p = {}
local p = {}


local i18n = {
function p.processLang(f, code)
crafting = {
local langVars = require( 'Module:LangVars/' .. code )
itemStone = 'Stone',
return langVars
itemRock = 'Rock',
end
itemLog = 'Log',
 
itemPickaxeHead = 'Pickaxe head',
itemAxeHead = 'Axe head',
itemShovelHead = 'Shovel head',
},
any = 'Any',
}
return p
return p

Revision as of 22:58, 22 August 2022

Documentation for this module may be created at Module:LangVars/doc

local p = {}

function p.processLang(f, code)
	local langVars = require( 'Module:LangVars/' .. code )
	return langVars
end

return p