Benny/gamemodes/benny/gamemode/language.lua

15 lines
387 B
Lua
Raw Permalink Normal View History

2024-03-07 22:34:29 -05:00
---------------------
-- Your Name is Benny
---------------------
Languages = {}
function l8( inp )
if inp[1] == "#" then inp = inp:Right(-2) else return "Untranslatable: '" .. inp .. "'" end
return Languages["en-us"][inp] or Languages["en-us"][inp] or ("No translation: '" .. inp .. "'")
2024-03-07 22:34:29 -05:00
end
local AD, IN = AddCSLuaFile, include
AD("languages/en-us.lua")
IN("languages/en-us.lua")