ui: Added proper localization for TTY Console

This commit is contained in:
WerWolv
2021-06-06 18:19:17 +02:00
parent be81a6dc34
commit eaacb4d102
5 changed files with 63 additions and 21 deletions

View File

@@ -4,8 +4,19 @@
#include "views/view_tty_console.hpp"
IMHEX_PLUGIN_SETUP("Windows", "WerWolv", "Windows-only features") {
ContentRegistry::Views::add<hex::ViewTTYConsole>();
namespace hex::plugin::windows {
void registerLanguageEnUS();
}
IMHEX_PLUGIN_SETUP("Windows", "WerWolv", "Windows-only features") {
using namespace hex::plugin::windows;
ContentRegistry::Views::add<ViewTTYConsole>();
registerLanguageEnUS();
}