parent
4ccd963037
commit
fe977f4ba9
@ -138,7 +138,6 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.help.calc_cheat_sheet", "Rechner Cheat Sheet" },
|
||||
|
||||
{ "hex.view.hexeditor.name", "Hex editor" },
|
||||
{ "hex.view.hexeditor.save_changes", "Änderungen sichern" },
|
||||
{ "hex.view.hexeditor.open_file", "Datei öffnen" },
|
||||
{ "hex.view.hexeditor.open_project", "Projekt öffnen" },
|
||||
{ "hex.view.hexeditor.save_project", "Projekt speichern" },
|
||||
@ -147,8 +146,8 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.hexeditor.load_enconding_file", "Custom encoding Datei laden" },
|
||||
{ "hex.view.hexeditor.page", "Seite {0} / {1}" },
|
||||
{ "hex.view.hexeditor.save_as", "Speichern unter" },
|
||||
{ "hex.view.hexeditor.save_changes.title", "Änderung sichern" },
|
||||
{ "hex.view.hexeditor.save_changes.desc", "Es wurden ungespeicherte Änderungen an diesem Projekt vorgenommen\nBist du sicher, dass du ImHex schliessen willst?" },
|
||||
{ "hex.view.hexeditor.exit_application.title", "Applikation verlassen?" },
|
||||
{ "hex.view.hexeditor.exit_application.desc", "Es wurden ungespeicherte Änderungen an diesem Projekt vorgenommen\nBist du sicher, dass du ImHex schliessen willst?" },
|
||||
{ "hex.view.hexeditor.script.title", "Datei mit Loader Skript laden" },
|
||||
{ "hex.view.hexeditor.script.desc", "Lade eine Datei mit Hilfe eines Python Skriptes" },
|
||||
{ "hex.view.hexeditor.script.script", "Skript" },
|
||||
|
@ -138,7 +138,6 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.help.calc_cheat_sheet", "Calculator Cheat Sheet" },
|
||||
|
||||
{ "hex.view.hexeditor.name", "Hex editor" },
|
||||
{ "hex.view.hexeditor.save_changes", "Save Changes" },
|
||||
{ "hex.view.hexeditor.open_file", "Open File" },
|
||||
{ "hex.view.hexeditor.open_project", "Open Project" },
|
||||
{ "hex.view.hexeditor.save_project", "Save Project" },
|
||||
@ -147,8 +146,8 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.hexeditor.load_enconding_file", "Load custom encoding File" },
|
||||
{ "hex.view.hexeditor.page", "Page {0} / {1}" },
|
||||
{ "hex.view.hexeditor.save_as", "Save As" },
|
||||
{ "hex.view.hexeditor.save_changes.title", "Save Changes" },
|
||||
{ "hex.view.hexeditor.save_changes.desc", "You have unsaved changes made to your Project.\nAre you sure you want to exit?" },
|
||||
{ "hex.view.hexeditor.exit_application.title", "Exit Application?" },
|
||||
{ "hex.view.hexeditor.exit_application.desc", "You have unsaved changes made to your Project.\nAre you sure you want to exit?" },
|
||||
{ "hex.view.hexeditor.script.title", "Load File with Loader Script" },
|
||||
{ "hex.view.hexeditor.script.desc", "Load a file using a Python loader script." },
|
||||
{ "hex.view.hexeditor.script.script", "Script" },
|
||||
|
@ -138,7 +138,6 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.help.calc_cheat_sheet", "Calcolatrice Cheat Sheet" },
|
||||
|
||||
{ "hex.view.hexeditor.name", "Hex editor" },
|
||||
{ "hex.view.hexeditor.save_changes", "Salva le modifiche" },
|
||||
{ "hex.view.hexeditor.open_file", "Apri File" },
|
||||
{ "hex.view.hexeditor.menu.file.open_recent", "File recenti" },
|
||||
{ "hex.view.hexeditor.open_project", "Apri i Progetti" },
|
||||
@ -148,8 +147,8 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.view.hexeditor.load_enconding_file", "Carica un File di codfica personalizzato" },
|
||||
{ "hex.view.hexeditor.page", "Pagina {0} / {1}" },
|
||||
{ "hex.view.hexeditor.save_as", "Salva come" },
|
||||
{ "hex.view.hexeditor.save_changes.title", "Salva le modifiche" },
|
||||
{ "hex.view.hexeditor.save_changes.desc", "Hai delle modifiche non salvate nel tuo progetto.\nSei sicuro di voler uscire?" },
|
||||
{ "hex.view.hexeditor.exit_application.title", "Uscire dall'applicazione?" },
|
||||
{ "hex.view.hexeditor.exit_application.desc", "Hai delle modifiche non salvate nel tuo progetto.\nSei sicuro di voler uscire?" },
|
||||
{ "hex.view.hexeditor.script.title", "Carica un File tramite il Caricatore di Script" },
|
||||
{ "hex.view.hexeditor.script.desc", "Carica un file tramite il Caricatore di Script di Python." },
|
||||
{ "hex.view.hexeditor.script.script", "Script" },
|
||||
|
@ -154,7 +154,7 @@ namespace hex {
|
||||
EventManager::subscribe<EventWindowClosing>(this, [](GLFWwindow *window) {
|
||||
if (ProjectFile::hasUnsavedChanges()) {
|
||||
glfwSetWindowShouldClose(window, GLFW_FALSE);
|
||||
View::doLater([] { ImGui::OpenPopup("hex.view.hexeditor.save_changes.title"_lang); });
|
||||
View::doLater([] { ImGui::OpenPopup("hex.view.hexeditor.exit_application.title"_lang); });
|
||||
}
|
||||
});
|
||||
|
||||
@ -281,9 +281,9 @@ namespace hex {
|
||||
void ViewHexEditor::drawAlwaysVisible() {
|
||||
auto provider = SharedData::currentProvider;
|
||||
|
||||
if (ImGui::BeginPopupModal("hex.view.hexeditor.save_changes.title"_lang, nullptr, ImGuiWindowFlags_AlwaysAutoResize)) {
|
||||
if (ImGui::BeginPopupModal("hex.view.hexeditor.exit_application.title"_lang, nullptr, ImGuiWindowFlags_AlwaysAutoResize)) {
|
||||
ImGui::NewLine();
|
||||
ImGui::TextUnformatted("hex.view.hexeditor.save_changes.desc"_lang);
|
||||
ImGui::TextUnformatted("hex.view.hexeditor.exit_application.desc"_lang);
|
||||
ImGui::NewLine();
|
||||
|
||||
confirmButtons("hex.common.yes"_lang, "hex.common.no"_lang, [] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user