lang: Added some strings that went missing
This commit is contained in:
parent
9900a51757
commit
89643d1538
@ -123,6 +123,8 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.help.about.donations", "Donations" },
|
||||
{ "hex.view.help.about.thanks", "If you like my work, please consider donating to keep the project going. Thanks a lot <3" },
|
||||
{ "hex.view.help.about.libs", "Libraries used" },
|
||||
{ "hex.view.help.pattern_cheat_sheet", "Pattern Language Cheat Sheet"},
|
||||
{ "hex.view.help.calc_cheat_sheet", "Calculator Cheat Sheet" },
|
||||
|
||||
{ "hex.view.hexeditor.title", "Hex editor" },
|
||||
{ "hex.view.hexeditor.save_changes", "Save Changes" },
|
||||
@ -172,7 +174,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.hexeditor.goto.offset.begin", "Begin" },
|
||||
{ "hex.view.hexeditor.goto.offset.end", "End" },
|
||||
{ "hex.view.hexeditor.error.read_only", "Couldn't get write access. File opened in read-only mode." },
|
||||
{ "hex.view.hexeditor.error.open", "Filed to open file!" },
|
||||
{ "hex.view.hexeditor.error.open", "Failed to open file!" },
|
||||
{ "hex.view.hexeditor.menu.edit.copy", "Copy as..." },
|
||||
{ "hex.view.hexeditor.copy.bytes", "Bytes" },
|
||||
{ "hex.view.hexeditor.copy.hex", "Hex String" },
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
namespace hex {
|
||||
|
||||
ViewHelp::ViewHelp() : View("Help") {
|
||||
ViewHelp::ViewHelp() : View("hex.view.help.about.title"_lang) {
|
||||
}
|
||||
|
||||
ViewHelp::~ViewHelp() {
|
||||
@ -312,18 +312,18 @@ namespace hex {
|
||||
}
|
||||
|
||||
void ViewHelp::drawMenu() {
|
||||
if (ImGui::BeginMenu("Help")) {
|
||||
if (ImGui::MenuItem("About", "")) {
|
||||
View::doLater([] { ImGui::OpenPopup("About"); });
|
||||
if (ImGui::BeginMenu("hex.menu.help"_lang)) {
|
||||
if (ImGui::MenuItem("hex.view.help.about.title"_lang, "")) {
|
||||
View::doLater([] { ImGui::OpenPopup("hex.view.help.about.title"_lang); });
|
||||
this->m_aboutWindowOpen = true;
|
||||
this->getWindowOpenState() = true;
|
||||
}
|
||||
ImGui::Separator();
|
||||
if (ImGui::MenuItem("Pattern Language Cheat Sheet", "")) {
|
||||
if (ImGui::MenuItem("hex.view.help.pattern_cheat_sheet"_lang, "")) {
|
||||
this->m_patternHelpWindowOpen = true;
|
||||
this->getWindowOpenState() = true;
|
||||
}
|
||||
if (ImGui::MenuItem("Calculator Cheat Sheet", "")) {
|
||||
if (ImGui::MenuItem("hex.view.help.calc_cheat_sheet"_lang, "")) {
|
||||
this->m_mathHelpWindowOpen = true;
|
||||
this->getWindowOpenState() = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user