enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
[ardour.git] / gtk2_ardour / session_option_editor.cc
index 769a94b6d7e3e7c2f11c212ad7f73805c4c97e74..baadcef795ff625c66f48bf26898358f3361e70c 100644 (file)
 #include "gui_thread.h"
 #include "session_option_editor.h"
 #include "search_path_option.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
 using namespace Timecode;
 
 SessionOptionEditor::SessionOptionEditor (Session* s)
-       : OptionEditor (&(s->config), _("Session Properties"))
+       : OptionEditorWindow (&(s->config), _("Session Properties"))
        , _session_config (&(s->config))
 {
        set_session (s);
@@ -196,7 +196,7 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
        hf->add (BWF, _("Broadcast WAVE (4GB size limit)"));
 #ifdef HAVE_RF64_RIFF
        hf->add (MBWF, _("Broadcast RF64"));
-#endif 
+#endif
        hf->add (WAVE, _("WAVE (4GB size limit)"));
        hf->add (WAVE64, _("WAVE-64"));
        hf->add (CAF, _("CAF"));
@@ -207,20 +207,20 @@ SessionOptionEditor::SessionOptionEditor (Session* s)
 
        add_option (_("Media"), hf);
 
-       add_option (_("Locations"), new OptionEditorHeading (_("File locations")));
+       add_option (S_("Files|Locations"), new OptionEditorHeading (_("File locations")));
 
         SearchPathOption* spo = new SearchPathOption ("audio-search-path", _("Search for audio files in:"),
                                                      _session->path(),
                                                       sigc::mem_fun (*_session_config, &SessionConfiguration::get_audio_search_path),
                                                       sigc::mem_fun (*_session_config, &SessionConfiguration::set_audio_search_path));
-        add_option (_("Locations"), spo);
+        add_option (S_("Files|Locations"), spo);
 
         spo = new SearchPathOption ("midi-search-path", _("Search for MIDI files in:"),
                                    _session->path(),
                                     sigc::mem_fun (*_session_config, &SessionConfiguration::get_midi_search_path),
                                     sigc::mem_fun (*_session_config, &SessionConfiguration::set_midi_search_path));
 
-        add_option (_("Locations"), spo);
+        add_option (S_("Files|Locations"), spo);
 
        /* File Naming  */