1
0
mirror of synced 2024-11-27 09:00:52 +01:00
ImHex/plugins/windows/source/lang/en_US.cpp
WerWolv e74c0f5cf5 sys: Tons of long overdue cleanup
- std::string -> const std::string& where needed
- Added a FileIO abstraction class
- Fixed recent files not updating
- Removed localization file from global include
- Renamed lang to pattern_language/pl
- Renamed EventFileDropped to RequestFileOpen
2021-09-08 15:18:24 +02:00

30 lines
1.6 KiB
C++

#include <hex/api/content_registry.hpp>
#include <hex/helpers/lang.hpp>
namespace hex::plugin::windows {
void registerLanguageEnUS() {
ContentRegistry::Language::addLocalizations("en-US", {
{ "hex.windows.view.tty_console.name", "TTY Console" },
{ "hex.windows.view.tty_console.config", "Configuration"},
{ "hex.windows.view.tty_console.port", "Port" },
{ "hex.windows.view.tty_console.reload", "Reload" },
{ "hex.windows.view.tty_console.baud", "Baud rate" },
{ "hex.windows.view.tty_console.num_bits", "Data bits" },
{ "hex.windows.view.tty_console.stop_bits", "Stop bits" },
{ "hex.windows.view.tty_console.parity_bits", "Parity bit" },
{ "hex.windows.view.tty_console.cts", "Use CTS flow control" },
{ "hex.windows.view.tty_console.connect", "Connect" },
{ "hex.windows.view.tty_console.disconnect", "Disconnect" },
{ "hex.windows.view.tty_console.connect_error", "Failed to connect to COM Port!" },
{ "hex.windows.view.tty_console.clear", "Clear" },
{ "hex.windows.view.tty_console.auto_scroll", "Auto scroll" },
{ "hex.windows.view.tty_console.console", "Console" },
{ "hex.windows.view.tty_console.send_etx", "Send ETX" },
{ "hex.windows.view.tty_console.send_eot", "Send EOT" },
{ "hex.windows.view.tty_console.send_sub", "Send SUB" }
});
}
}