remove direct of realpath(2), replace with canonical_path() which is a no-op on windows
[ardour.git] / libs / ardour / io.cc
index 38b5fc717d8d57e16bc37f2094d9f6704493548b..cdb8a4693cbb39cb0cdd5a0f0c7bf875b4bc7a69 100644 (file)
@@ -1342,9 +1342,9 @@ IO::build_legal_port_name (DataType type)
        string suffix;
 
        if (type == DataType::AUDIO) {
-               suffix = _("audio");
+               suffix = X_("audio");
        } else if (type == DataType::MIDI) {
-               suffix = _("midi");
+               suffix = X_("midi");
        } else {
                throw unknown_type();
        }