From 6dfc36d6614db9378b2bb0cbc717f6e96198c6f8 Mon Sep 17 00:00:00 2001 From: Hakim Date: Sun, 14 Jan 2024 20:16:57 +0100 Subject: [PATCH] Add some tooltips to the export buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: RĂ©mi Verschelde --- editor/export/project_export.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp index b22f70b0fa77..db91cef86543 100644 --- a/editor/export/project_export.cpp +++ b/editor/export/project_export.cpp @@ -1395,12 +1395,14 @@ ProjectExportDialog::ProjectExportDialog() { set_cancel_button_text(TTR("Close")); set_ok_button_text(TTR("Export PCK/ZIP...")); + get_ok_button()->set_tooltip_text(TTR("Export the project resources as a PCK or ZIP package. This is not a playable build, only the project data without a Godot executable.")); get_ok_button()->set_disabled(true); #ifdef ANDROID_ENABLED export_button = memnew(Button); export_button->hide(); #else export_button = add_button(TTR("Export Project..."), !DisplayServer::get_singleton()->get_swap_cancel_ok(), "export"); + export_button->set_tooltip_text(TTR("Export the project as a playable build (Godot executable and project data) for the selected preset.")); #endif export_button->connect("pressed", callable_mp(this, &ProjectExportDialog::_export_project)); // Disable initially before we select a valid preset