mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Console command reloadlua
also reloads l10n used by Lua scripts
This commit is contained in:
parent
aac32f2de5
commit
1240b60a24
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ namespace LuaUtil
|
|||
public:
|
||||
L10nManager(const VFS::Manager* vfs, LuaState* lua) : mVFS(vfs), mLua(lua) {}
|
||||
void init();
|
||||
void clear() { mContexts.clear(); }
|
||||
|
||||
void setPreferredLocales(const std::vector<std::string>& locales);
|
||||
const std::vector<icu::Locale>& getPreferredLocales() const { return mPreferredLocales; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue