1 |
/* |
/* |
2 |
Copyright (c) MMXVII Christian Schoenebeck |
Copyright (c) MMXVII - MMXIX Christian Schoenebeck |
3 |
|
|
4 |
This file is part of "gigedit" and released under the terms of the |
This file is part of "gigedit" and released under the terms of the |
5 |
GNU General Public License version 2. |
GNU General Public License version 2. |
504 |
|
|
505 |
//gchar* msg = g_strdup_printf(_("Apply changes to macro \"%s\" before closing?"), |
//gchar* msg = g_strdup_printf(_("Apply changes to macro \"%s\" before closing?"), |
506 |
// m_macroOriginal->Name.c_str()); |
// m_macroOriginal->Name.c_str()); |
507 |
gchar* msg = g_strdup_printf(_("Apply changes to macro before closing?")); |
gchar* msg = g_strdup(_("Apply changes to macro before closing?")); |
508 |
Gtk::MessageDialog dialog(*this, msg, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE); |
Gtk::MessageDialog dialog(*this, msg, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_NONE); |
509 |
g_free(msg); |
g_free(msg); |
510 |
dialog.set_secondary_text(_("If you close without applying, your changes will be lost.")); |
dialog.set_secondary_text(_("If you close without applying, your changes will be lost.")); |