Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions data/plugins/language/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
local core = require "core"

local no_errors = true
local files = system.list_dir(EXEDIR .. "/data/plugins/language")
for _, filename in ipairs(files) do
local langname = filename:gsub(".lua$", "")
if langname ~= "init" then
local ok = core.try(require, "plugins.language." .. langname)
if ok then
core.log_quiet("Loaded language %q", langname)
else
no_errors = false
end
end
end
return no_errors
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.