Oh boy!
[ardour.git] / libs / ardour / utils.cc
index eb4db99d87fc6f45ec17780d47b1849de767ef9e..8b891077484e2ea1859ce40a40c39287d13cd916 100644 (file)
@@ -41,7 +41,7 @@
 #include <errno.h>
 #include <regex.h>
 
-#include <pbd/gstdio_compat.h>
+#include "pbd/gstdio_compat.h"
 
 #include <glibmm/miscutils.h>
 #include <glibmm/fileutils.h>
@@ -57,7 +57,7 @@
 #include "ardour/utils.h"
 #include "ardour/rc_configuration.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 using namespace std;
@@ -139,7 +139,7 @@ ARDOUR::legalize_for_path_2X (const string& str)
        string::size_type pos;
        string legal_chars = "abcdefghijklmnopqrtsuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_+=: ";
         Glib::ustring legal;
-       
+
        /* this is the one place in Ardour where we need to iterate across
         * potential multibyte characters, and thus we need Glib::ustring
         */
@@ -475,27 +475,27 @@ ARDOUR::sync_source_to_string (SyncSource src, bool sh)
                /* no other backends offer sync for now ... deal with this if we
                 * ever have to.
                 */
-               return _("JACK");
+               return S_("SyncSource|JACK");
 
        case MTC:
                if (sh) {
-                       return _("MTC");
+                       return S_("SyncSource|MTC");
                } else {
                        return _("MIDI Timecode");
                }
 
        case MIDIClock:
                if (sh) {
-                       return _("M-Clock");
+                       return S_("SyncSource|M-Clk");
                } else {
                        return _("MIDI Clock");
                }
 
        case LTC:
-               return _("LTC");
+               return S_("SyncSource|LTC");
        }
        /* GRRRR .... stupid, stupid gcc - you can't get here from there, all enum values are handled */
-       return _("JACK");
+       return S_("SyncSource|JACK");
 }
 
 float
@@ -754,3 +754,4 @@ ARDOUR::slider_position_to_gain_with_max (double g, double max_gain)
 extern "C" {
        void c_stacktrace() { stacktrace (cerr); }
 }
+