Set inspector window title from language files
This commit is contained in:
@@ -1462,6 +1462,7 @@ ICCPROFCREATOR_PROF_V4;ICC v4
|
||||
ICCPROFCREATOR_SAVEDIALOG_TITLE;Save ICC profile as...
|
||||
ICCPROFCREATOR_SLOPE;Slope
|
||||
ICCPROFCREATOR_TRC_PRESET;Tone response curve
|
||||
INSPECTOR_WINDOW_TITLE;Inspector
|
||||
IPTCPANEL_CATEGORY;Category
|
||||
IPTCPANEL_CATEGORYHINT;Identifies the subject of the image in the opinion of the provider.
|
||||
IPTCPANEL_CITY;City
|
||||
|
@@ -21,6 +21,7 @@
|
||||
#include <gtkmm.h>
|
||||
#include "cursormanager.h"
|
||||
#include "guiutils.h"
|
||||
#include "multilangmgr.h"
|
||||
#include "options.h"
|
||||
#include "pathutils.h"
|
||||
#include "rtscalable.h"
|
||||
@@ -91,7 +92,7 @@ Inspector::Inspector () : currImage(nullptr), scaled(false), scale(1.0), zoomSca
|
||||
}
|
||||
else {
|
||||
window = new Gtk::Window();
|
||||
window->set_title("RawTherapee Inspector");
|
||||
window->set_title("RawTherapee " + M("INSPECTOR_WINDOW_TITLE"));
|
||||
window->set_visible(false);
|
||||
window->add_events(Gdk::KEY_PRESS_MASK);
|
||||
window->signal_key_release_event().connect(sigc::mem_fun(*this, &Inspector::on_key_release));
|
||||
|
Reference in New Issue
Block a user