mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 00:10:02 -05:00
i18n: more zh_CN, fix: crashes when connecting with no COM port, feat: remove View suffix for view menu (#305)
* fix: crashes when connecting with no COM port * feat: remove `View` suffix for view menu * i18n: add more to Chinese(Simplified) * Revert "Merge branch 'master' of github.com:xtexChooser/ImHex" This reverts commit8afcfe8f9d, reversing changes made to7651ad6661.
This commit is contained in:
@@ -337,7 +337,7 @@ namespace hex {
|
||||
if (ImGui::BeginMenu("hex.menu.view"_lang)) {
|
||||
for (auto &view : ContentRegistry::Views::getEntries()) {
|
||||
if (view->hasViewMenuItemEntry())
|
||||
ImGui::MenuItem((LangEntry(view->getUnlocalizedName()) + " " + "hex.menu.view"_lang).c_str(), "", &view->getWindowOpenState());
|
||||
ImGui::MenuItem(LangEntry(view->getUnlocalizedName()), "", &view->getWindowOpenState());
|
||||
}
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user