1
0
mirror of synced 2025-01-18 00:56:49 +01:00

impr: Added build date and time to about page

This commit is contained in:
WerWolv 2023-10-30 23:24:00 +01:00
parent 7002e3bbf3
commit c7cee59a77

View File

@ -68,7 +68,7 @@ namespace hex::plugin::builtin {
ImGui::TableNextColumn();
// Draw basic information about ImHex and its version
ImGui::TextFormatted("ImHex Hex Editor v{} by WerWolv - " ICON_FA_CODE_BRANCH, ImHexApi::System::getImHexVersion());
ImGui::TextFormatted("ImHex Hex Editor v{} by WerWolv " ICON_FA_CODE_BRANCH, ImHexApi::System::getImHexVersion());
ImGui::SameLine();
@ -76,6 +76,9 @@ namespace hex::plugin::builtin {
if (ImGui::Hyperlink(hex::format("{0}@{1}", ImHexApi::System::getCommitBranch(), ImHexApi::System::getCommitHash()).c_str()))
hex::openWebpage("https://github.com/WerWolv/ImHex/commit/" + ImHexApi::System::getCommitHash(true));
// Draw the build date and time
ImGui::TextFormatted(ICON_FA_BUILDING " {}, {}", __DATE__, __TIME__);
// Draw the author of the current translation
ImGui::TextUnformatted("hex.builtin.view.help.about.translator"_lang);