You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
require "i18n"
|
|
require "util"
|
|
local uni = require 'ffi.unicode'
|
|
|
|
function _(str)
|
|
return i18n.gettext(str)
|
|
end
|
|
|
|
function __(str)
|
|
return uni.u2a(str)
|
|
end
|
|
|
|
i18n.textdomain("MainScript");
|
|
i18n.bindtextdomain("MainScript", fs.ydwe_path() / "share" / "locale")
|
|
|