summaryrefslogtreecommitdiff
path: root/muse2/muse/driver/jackmidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/driver/jackmidi.cpp')
-rw-r--r--muse2/muse/driver/jackmidi.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/muse2/muse/driver/jackmidi.cpp b/muse2/muse/driver/jackmidi.cpp
index c310462d..2d77af2f 100644
--- a/muse2/muse/driver/jackmidi.cpp
+++ b/muse2/muse/driver/jackmidi.cpp
@@ -707,12 +707,12 @@ void MidiJackDevice::writeRouting(int level, Xml& xml) const
//xml.strTag(level, "srcNode", r->name());
//xml.tag(level, "source type=\"%d\" name=\"%s\"/", r->type, r->name().toLatin1().constData());
- s = QT_TR_NOOP("source");
+ s = QT_TRANSLATE_NOOP("@default", "source");
if(r->type != Route::TRACK_ROUTE)
- s += QString(QT_TR_NOOP(" type=\"%1\"")).arg(r->type);
+ s += QString(QT_TRANSLATE_NOOP("@default", " type=\"%1\"")).arg(r->type);
- //s += QString(QT_TR_NOOP(" name=\"%1\"/")).arg(r->name());
- s += QString(QT_TR_NOOP(" name=\"%1\"/")).arg(Xml::xmlString(r->name()));
+ //s += QString(QT_TRANSLATE_NOOP("@default", " name=\"%1\"/")).arg(r->name());
+ s += QString(QT_TRANSLATE_NOOP("@default", " name=\"%1\"/")).arg(Xml::xmlString(r->name()));
xml.tag(level, s.toLatin1().constData());
//xml.strTag(level, "dstNode", name());
@@ -730,9 +730,9 @@ void MidiJackDevice::writeRouting(int level, Xml& xml) const
{
if(!r->name().isEmpty())
{
- s = QT_TR_NOOP("Route");
+ s = QT_TRANSLATE_NOOP("@default", "Route");
if(r->channel != -1)
- s += QString(QT_TR_NOOP(" channel=\"%1\"")).arg(r->channel);
+ s += QString(QT_TRANSLATE_NOOP("@default", " channel=\"%1\"")).arg(r->channel);
//xml.tag(level++, "Route");
xml.tag(level++, s.toLatin1().constData());
@@ -768,15 +768,15 @@ void MidiJackDevice::writeRouting(int level, Xml& xml) const
}
*/
- s = QT_TR_NOOP("dest");
+ s = QT_TRANSLATE_NOOP("@default", "dest");
if(r->type == Route::MIDI_DEVICE_ROUTE)
- s += QString(QT_TR_NOOP(" devtype=\"%1\"")).arg(r->device->deviceType());
+ s += QString(QT_TRANSLATE_NOOP("@default", " devtype=\"%1\"")).arg(r->device->deviceType());
else
if(r->type != Route::TRACK_ROUTE)
- s += QString(QT_TR_NOOP(" type=\"%1\"")).arg(r->type);
+ s += QString(QT_TRANSLATE_NOOP("@default", " type=\"%1\"")).arg(r->type);
- //s += QString(QT_TR_NOOP(" name=\"%1\"/")).arg(r->name());
- s += QString(QT_TR_NOOP(" name=\"%1\"/")).arg(Xml::xmlString(r->name()));
+ //s += QString(QT_TRANSLATE_NOOP("@default", " name=\"%1\"/")).arg(r->name());
+ s += QString(QT_TRANSLATE_NOOP("@default", " name=\"%1\"/")).arg(Xml::xmlString(r->name()));
xml.tag(level, s.toLatin1().constData());