babelfish/none_engine.lua
2017-02-03 22:20:27 +00:00

27 lines
575 B
Lua

-- (C) 2016 Tai "DuCake" Kedzierski
-- This code is conveyed to you under the terms
-- of the GNU Lesser General Public License v3.0
-- You should have received a copy of the license
-- in a LICENSE.txt file
-- If not, please see https://www.gnu.org/licenses/lgpl-3.0.html
babel.engine = "none"
local httpapi
function babel.register_http(hat)
httpapi = hat
end
babel.langcodes = {}
local serviceurl = "https://example.com"
function babel.validate_lang()
return "Not configured"
end
function babel.translate(self,phrase,lang)
babel.printresult("Not configured")
end