mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
lang: Added German translation, improved language handling
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
namespace hex {
|
||||
|
||||
ViewInformation::ViewInformation() : View("hex.view.information.name"_lang) {
|
||||
ViewInformation::ViewInformation() : View("hex.view.information.name") {
|
||||
View::subscribeEvent(Events::DataChanged, [this](auto) {
|
||||
this->m_dataValid = false;
|
||||
this->m_highestBlockEntropy = 0;
|
||||
@@ -133,7 +133,7 @@ namespace hex {
|
||||
}
|
||||
|
||||
void ViewInformation::drawContent() {
|
||||
if (ImGui::Begin("hex.view.information.name"_lang, &this->getWindowOpenState(), ImGuiWindowFlags_NoCollapse)) {
|
||||
if (ImGui::Begin(View::toWindowName("hex.view.information.name").c_str(), &this->getWindowOpenState(), ImGuiWindowFlags_NoCollapse)) {
|
||||
ImGui::BeginChild("##scrolling", ImVec2(0, 0), false, ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoNav);
|
||||
|
||||
auto provider = SharedData::currentProvider;
|
||||
|
||||
Reference in New Issue
Block a user